Which Models have Perceptually-Aligned Gradients? An Explanation via Off-Manifold Robustness
Not on the map. Why?
Abstract (arXiv)
One of the remarkable properties of robust computer vision models is that their input-gradients are often aligned with human perception, referred to in the literature as perceptually-aligned gradients (PAGs). Despite only being trained for classification, PAGs cause robust models to have rudimentary generative capabilities, including image generation, denoising, and in-painting. However, the underlying mechanisms behind these phenomena remain unknown. In this work, we provide a first explanation of PAGs via off-manifold robustness, which states that models must be more robust off- the data manifold than they are on-manifold. We first demonstrate theoretically that off-manifold robustness leads input gradients to lie approximately on the data manifold, explaining their perceptual alignment. We then show that Bayes optimal models satisfy off-manifold robustness, and confirm the same empirically for robust models trained via gradient norm regularization, randomized smoothing, and adversarial training with projected gradient descent. Quantifying the perceptual alignment of model gradients via their similarity with the gradients of generative models, we show that off-manifold robustness correlates well with perceptual alignment. Finally, based on the levels of on- and off-manifold robustness, we identify three different regimes of robustness that affect both perceptual alignment and model accuracy: weak robustness, bayes-aligned robustness, and excessive robustness. Code is available at urlhttps://github.com/tml-tuebingen/pags.
Key facts. Cited by 20 papers in the map (data through 14 Oct 2026). Builds on 25 of its 43 references that are in the map. First posted on arXiv 30 May 2023.
Builds on
25 of 43 references.
References · 25
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,177
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
- 2017Axiomatic Attribution for Deep Networkscited by 3,384
- 2022Elucidating the Design Space of Diffusion-Based Generative Modelscited by 3,045
- 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,371
- 2019Certified Adversarial Robustness via Randomized Smoothingcited by 1,340
- 2018Sanity Checks for Saliency Mapscited by 1,156
- 2017SmoothGrad: removing noise by adding noisecited by 1,109
- 2018Robustness May Be at Odds with Accuracycited by 880
- 2020RobustBench: a standardized adversarial robustness benchmarkcited by 661
- 2019Your Classifier is Secretly an Energy Based Model and You Should Treat it Like Onecited by 405
13 more
- 2020Do Adversarially Robust ImageNet Models Transfer Better?cited by 316
- 2017The Riemannian Geometry of Deep Generative Modelscited by 82
- 2022Which Explanation Should I Choose? A Function Approximation Perspective to Characterizing Post Hoc Explanationscited by 77
- 2018Knowledge Transfer with Jacobian Matchingcited by 76
- 2020Fairwashing Explanations with Off-Manifold Detergentcited by 72
- 2021Have We Learned to Explain?: How Interpretability Methods Can Learn to Encode Predictions in their Interpretationscited by 59
- 2021Do Input Gradients Highlight Discriminative Features?cited by 52
- 2019Are Perceptually-Aligned Gradients a General Property of Robust Classifiers?cited by 43
- 2022Enhancing Diffusion-Based Image Synthesis with Robust Classifier Guidancecited by 33
- 2021Towards Understanding the Generative Capability of Adversarially Robust Classifierscited by 26
- 2022The Manifold Hypothesis for Gradient-Based Explanationscited by 16
- 2020On the Benefits of Models with Perceptually-Aligned Gradientscited by 13
- 2023Class-Conditioned Transformation for Enhanced Robust Image Classificationcited by 5
Built on by
Citing papers per year: 2023: 4; 2024: 5; 2025: 7; 2026: 4.
20 papers.
Sort:
By area:
- 2023Manifold Preserving Guided Diffusioncited by 157
- 2024Manifold Integrated Gradients: Riemannian Geometry for Feature Attributioncited by 21
- 2025Adversarial Examples Are Not Bugs, They Are Superpositioncited by 13
- 2023CLIPAG: Towards Generator-Free Text-to-Image Generationcited by 12
- 2024Adversarial Representation Engineering: A General Model Editing Framework for Large Language Modelscited by 12
- 2025Adversarial Attacks Leverage Interference Between Features in Superpositioncited by 8
- 2023Indirect Gradient Matching for Adversarial Robust Distillationcited by 6
- 2024Characterizing Model Robustness via Natural Input Gradientscited by 6
- 2023Characterizing Data Point Vulnerability via Average-Case Robustnesscited by 3
- 2024Geometric Remove-and-Retrain (GOAR): Coordinate-Invariant eXplainable AI Assessmentcited by 3
- 2025Adversarially Pretrained Transformers May Be Universally Robust In-Context Learnerscited by 3
- 2025Latent Guidance in Diffusion Models for Perceptual Evaluationscited by 2
8 more
- 2025Informative Post-Hoc Explanations Only Exist for Simple Functionscited by 2
- 2026Counterfactual Explanations on Robust Perceptual Geodesicscited by 2
- 2026Riemannian Metric Matching for Scalable Geometric Modeling of Distributionscited by 2
- 2025Generative Model Inversion Through the Lens of the Manifold Hypothesiscited by 1
- 2024Towards White Box Deep Learningcited by 0
- 2025Pulling Back the Curtain on Deep Networkscited by 0
- 2026Let the Carrier Carry the Attack: Preserving the Subject in Adversarial Image Generationcited by 0
- 2026Does Target Alignment Mean Target Recovery? An Evidence-Ladder Study of Adversarial Claims on Contrastive Encoderscited by 0
- 2026Does Target Alignment Mean Target Recovery? An Evidence-Ladder Study of Adversarial Claims on Contrastive Encoders8 Oct 2026
- 2026Let the Carrier Carry the Attack: Preserving the Subject in Adversarial Image Generation30 Sep 2026
- 2026Riemannian Metric Matching for Scalable Geometric Modeling of Distributions12 Jun 2026
- 2026Counterfactual Explanations on Robust Perceptual Geodesics26 Jan 2026
- 2025Adversarial Attacks Leverage Interference Between Features in Superposition13 Oct 2025
- 2025Generative Model Inversion Through the Lens of the Manifold Hypothesis24 Sep 2025
- 2025Adversarial Examples Are Not Bugs, They Are Superposition24 Aug 2025
- 2025Informative Post-Hoc Explanations Only Exist for Simple Functions15 Aug 2025
- 2025Pulling Back the Curtain on Deep Networks30 Jul 2025
- 2025Latent Guidance in Diffusion Models for Perceptual Evaluations31 May 2025
- 2025Adversarially Pretrained Transformers May Be Universally Robust In-Context Learners20 May 2025
- 2024Characterizing Model Robustness via Natural Input Gradients30 Sep 2024
8 more
- 2024Geometric Remove-and-Retrain (GOAR): Coordinate-Invariant eXplainable AI Assessment17 Jul 2024
- 2024Manifold Integrated Gradients: Riemannian Geometry for Feature Attribution16 May 2024
- 2024Adversarial Representation Engineering: A General Model Editing Framework for Large Language Models21 Apr 2024
- 2024Towards White Box Deep Learning14 Mar 2024
- 2023Indirect Gradient Matching for Adversarial Robust Distillation6 Dec 2023
- 2023Manifold Preserving Guided Diffusion28 Nov 2023
- 2023Characterizing Data Point Vulnerability via Average-Case Robustness26 Jul 2023
- 2023CLIPAG: Towards Generator-Free Text-to-Image Generation29 Jun 2023
- 2023Manifold Preserving Guided Diffusioncited by 157
- 2025Latent Guidance in Diffusion Models for Perceptual Evaluationscited by 2
- 2025Latent Guidance in Diffusion Models for Perceptual Evaluations31 May 2025
- 2023Manifold Preserving Guided Diffusion28 Nov 2023
- 2024Manifold Integrated Gradients: Riemannian Geometry for Feature Attributioncited by 21
- 2025Adversarial Examples Are Not Bugs, They Are Superpositioncited by 13
- 2023CLIPAG: Towards Generator-Free Text-to-Image Generationcited by 12
- 2025Adversarial Attacks Leverage Interference Between Features in Superpositioncited by 8
- 2023Indirect Gradient Matching for Adversarial Robust Distillationcited by 6
- 2024Characterizing Model Robustness via Natural Input Gradientscited by 6
- 2023Characterizing Data Point Vulnerability via Average-Case Robustnesscited by 3
- 2024Geometric Remove-and-Retrain (GOAR): Coordinate-Invariant eXplainable AI Assessmentcited by 3
- 2025Adversarially Pretrained Transformers May Be Universally Robust In-Context Learnerscited by 3
- 2025Informative Post-Hoc Explanations Only Exist for Simple Functionscited by 2
- 2026Counterfactual Explanations on Robust Perceptual Geodesicscited by 2
- 2026Riemannian Metric Matching for Scalable Geometric Modeling of Distributionscited by 2
12 most cited of 16 All 16 (JSON)
- 2026Let the Carrier Carry the Attack: Preserving the Subject in Adversarial Image Generation30 Sep 2026
- 2026Riemannian Metric Matching for Scalable Geometric Modeling of Distributions12 Jun 2026
- 2026Counterfactual Explanations on Robust Perceptual Geodesics26 Jan 2026
- 2025Adversarial Attacks Leverage Interference Between Features in Superposition13 Oct 2025
- 2025Generative Model Inversion Through the Lens of the Manifold Hypothesis24 Sep 2025
- 2025Adversarial Examples Are Not Bugs, They Are Superposition24 Aug 2025
- 2025Informative Post-Hoc Explanations Only Exist for Simple Functions15 Aug 2025
- 2025Pulling Back the Curtain on Deep Networks30 Jul 2025
- 2025Adversarially Pretrained Transformers May Be Universally Robust In-Context Learners20 May 2025
- 2024Characterizing Model Robustness via Natural Input Gradients30 Sep 2024
- 2024Geometric Remove-and-Retrain (GOAR): Coordinate-Invariant eXplainable AI Assessment17 Jul 2024
- 2024Manifold Integrated Gradients: Riemannian Geometry for Feature Attribution16 May 2024
12 newest of 16 All 16 (JSON)