mlsanityData to 14 Oct 2026

Which Models have Perceptually-Aligned Gradients? An Explanation via Off-Manifold Robustness

arXiv 2305.19101 ↗First posted 30 May 2023cs.LG cs.CVcited by 20

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

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,177
  3. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
  4. 2017Axiomatic Attribution for Deep Networkscited by 3,384
  5. 2022Elucidating the Design Space of Diffusion-Based Generative Modelscited by 3,045
  6. 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,371
  7. 2019Certified Adversarial Robustness via Randomized Smoothingcited by 1,340
  8. 2018Sanity Checks for Saliency Mapscited by 1,156
  9. 2017SmoothGrad: removing noise by adding noisecited by 1,109
  10. 2018Robustness May Be at Odds with Accuracycited by 880
  11. 2020RobustBench: a standardized adversarial robustness benchmarkcited by 661
  12. 2019Your Classifier is Secretly an Energy Based Model and You Should Treat it Like Onecited by 405
13 more
  1. 2020Do Adversarially Robust ImageNet Models Transfer Better?cited by 316
  2. 2017The Riemannian Geometry of Deep Generative Modelscited by 82
  3. 2022Which Explanation Should I Choose? A Function Approximation Perspective to Characterizing Post Hoc Explanationscited by 77
  4. 2018Knowledge Transfer with Jacobian Matchingcited by 76
  5. 2020Fairwashing Explanations with Off-Manifold Detergentcited by 72
  6. 2021Have We Learned to Explain?: How Interpretability Methods Can Learn to Encode Predictions in their Interpretationscited by 59
  7. 2021Do Input Gradients Highlight Discriminative Features?cited by 52
  8. 2019Are Perceptually-Aligned Gradients a General Property of Robust Classifiers?cited by 43
  9. 2022Enhancing Diffusion-Based Image Synthesis with Robust Classifier Guidancecited by 33
  10. 2021Towards Understanding the Generative Capability of Adversarially Robust Classifierscited by 26
  11. 2022The Manifold Hypothesis for Gradient-Based Explanationscited by 16
  12. 2020On the Benefits of Models with Perceptually-Aligned Gradientscited by 13
  13. 2023Class-Conditioned Transformation for Enhanced Robust Image Classificationcited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 4; 2024: 5; 2025: 7; 2026: 4.

20 papers.

Sort:

By area:

  1. 2023Manifold Preserving Guided Diffusioncited by 157
  2. 2024Manifold Integrated Gradients: Riemannian Geometry for Feature Attributioncited by 21
  3. 2025Adversarial Examples Are Not Bugs, They Are Superpositioncited by 13
  4. 2023CLIPAG: Towards Generator-Free Text-to-Image Generationcited by 12
  5. 2024Adversarial Representation Engineering: A General Model Editing Framework for Large Language Modelscited by 12
  6. 2025Adversarial Attacks Leverage Interference Between Features in Superpositioncited by 8
  7. 2023Indirect Gradient Matching for Adversarial Robust Distillationcited by 6
  8. 2024Characterizing Model Robustness via Natural Input Gradientscited by 6
  9. 2023Characterizing Data Point Vulnerability via Average-Case Robustnesscited by 3
  10. 2024Geometric Remove-and-Retrain (GOAR): Coordinate-Invariant eXplainable AI Assessmentcited by 3
  11. 2025Adversarially Pretrained Transformers May Be Universally Robust In-Context Learnerscited by 3
  12. 2025Latent Guidance in Diffusion Models for Perceptual Evaluationscited by 2
8 more
  1. 2025Informative Post-Hoc Explanations Only Exist for Simple Functionscited by 2
  2. 2026Counterfactual Explanations on Robust Perceptual Geodesicscited by 2
  3. 2026Riemannian Metric Matching for Scalable Geometric Modeling of Distributionscited by 2
  4. 2025Generative Model Inversion Through the Lens of the Manifold Hypothesiscited by 1
  5. 2024Towards White Box Deep Learningcited by 0
  6. 2025Pulling Back the Curtain on Deep Networkscited by 0
  7. 2026Let the Carrier Carry the Attack: Preserving the Subject in Adversarial Image Generationcited by 0
  8. 2026Does Target Alignment Mean Target Recovery? An Evidence-Ladder Study of Adversarial Claims on Contrastive Encoderscited by 0