# Revisiting Certified Defense with Differential Privacy on Vision Transformers

DevFeed: [Revisiting Certified Defense with Differential Privacy on Vision Transformers](<https://devfeed.tech/articles/revisiting-certified-defense-with-differential-privacy-on-vision-transformers-114005.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2609.31310>)

Author: Jun Yan, Weiquan Huang, Qixian Zhang, Yan Bai, Shutai Zhang

Published: 2026-11-03T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [Differential Privacy](<https://devfeed.tech/topics/differential-privacy.md>), [Transformer](<https://devfeed.tech/topics/transformer.md>), [Transformers](<https://devfeed.tech/topics/transformers.md>), [Computer vision](<https://devfeed.tech/topics/computer-vision.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Security & Privacy](<https://devfeed.tech/topics/security-privacy.md>)

Tags: [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [defense](<https://devfeed.tech/tags/defense.md>), [differential-privacy](<https://devfeed.tech/tags/differential-privacy.md>), [stat-ap](<https://devfeed.tech/tags/stat-ap.md>), [transformers](<https://devfeed.tech/tags/transformers.md>), [vision](<https://devfeed.tech/tags/vision.md>), [vision-transformers](<https://devfeed.tech/tags/vision-transformers.md>)

## AI overview

The abstract reports that PixelDP's inherited grouped ℓ1 sensitivity bound makes post-patch-embedding Laplace noise collapse Vision Transformer accuracy to chance, while the Gaussian mechanism remains trainable. It attributes the failure to sensitivity geometry: attenuation from the Δ1,1 projection grows with layer width and kernel size, at a random-matrix scale C/(√M+√N). A spectral-norm constraint avoids the reported collapse across datasets and architectures, but no longer meets the standard Laplace certificate's sensitivity condition. The authors address this by deriving a dimension-free (ε, δ)-privacy guarantee for Laplace noise under ℓ2 sensitivity using privacy-loss concentration.

## Source excerpt

arXiv:2609.31310v2 Announce Type: replace Abstract: Certified defenses that incorporate differential privacy have proven effective on Convolutional Neural Networks (CNNs), furnishing rigorous robustness guarantees against norm-bounded adversaries. However, the certified robustness behavior of Pixel Differential Privacy (PixelDP) remains largely unexplored with the self-attention architecture now dominating the deep-learning landscape. Given that the Transformer has a profound impact on our daily applications from the digital world to the physical world, it is crucial to study certified robustness through differential-privacy-style stability. To fill this research gap, we revisit this construction in Vision Transformers and identify a failure mode that is largely hidden in the convolutional setting. When noise is injected after the patch embedding, the Laplace mechanism with the inherited grouped $\ell_1$ sensitivity bound collapses to chance-level accuracy across noise scales, whereas the Gaussian mechanism remains trainable. This contrast isolates the source of failure: not the injected noise itself, but the geometry of the sensitivity constraint. We show that the attenuation induced by the inherited $\Delta_{1,1}$ projection increases with layer width and kernel size according to a random-matrix scale $C/(\sqrt{M}+\sqrt{N})$. Replacing the $\ell_1$-type constraint with a spectral-norm constraint eliminates the collapse across datasets and architectures, but creates a fundamental obstacle: the repaired models no longer satisfy the sensitivity condition required by the standard Laplace certificate. We resolve this mismatch by deriving a dimension-free $(\varepsilon,\ \delta)$-privacy guarantee for the Laplace mechanism under $\ell_2$ sensitivity through concentration of the privacy loss.