mlsanityData to 7 Oct 2026

Do Input Gradients Highlight Discriminative Features?

arXiv 2102.12781 ↗First posted 25 Feb 2021cs.LG cs.AI cs.CVcited by 52

Not on the map. Why?

Abstract (arXiv)

Post-hoc gradient-based interpretability methods [Simonyan et al., 2013, Smilkov et al., 2017] that provide instance-specific explanations of model predictions are often based on assumption (A): magnitude of input gradients -- gradients of logits with respect to input -- noisily highlight discriminative task-relevant features. In this work, we test the validity of assumption (A) using a three-pronged approach. First, we develop an evaluation framework, DiffROAR, to test assumption (A) on four image classification benchmarks. Our results suggest that (i) input gradients of standard models (i.e., trained on original data) may grossly violate (A), whereas (ii) input gradients of adversarially robust models satisfy (A). Second, we introduce BlockMNIST, an MNIST-based semi-real dataset, that by design encodes a priori knowledge of discriminative features. Our analysis on BlockMNIST leverages this information to validate as well as characterize differences between input gradient attributions of standard and robust models. Finally, we theoretically prove that our empirical findings hold on a simplified version of the BlockMNIST dataset. Specifically, we prove that input gradients of standard one-hidden-layer MLPs trained on this dataset do not highlight instance-specific signal coordinates, thus grossly violating assumption (A). Our findings motivate the need to formalize and test common assumptions in interpretability in a falsifiable manner [Leavitt and Morcos, 2020]. We believe that the DiffROAR evaluation framework and BlockMNIST-based datasets can serve as sanity checks to audit instance-specific interpretability methods; code and data available at https://github.com/harshays/inputgradients.

Key facts. Cited by 52 papers in the map (data through 7 Oct 2026). Builds on 58 of its 74 references that are in the map. First posted on arXiv 25 Feb 2021.

Builds on

58 of 74 references.

References · 58

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  3. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  4. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  5. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
  6. 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,283
  7. 2017Axiomatic Attribution for Deep Networkscited by 3,350
  8. 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,348
  9. 2013Visualizing and Understanding Convolutional Networkscited by 2,278
  10. 2017Learning Important Features Through Propagating Activation Differencescited by 1,454
  11. 2018Sanity Checks for Saliency Mapscited by 1,149
  12. 2017SmoothGrad: removing noise by adding noisecited by 1,097
38 more
  1. 2014Striving for Simplicity: The All Convolutional Netcited by 983
  2. 2019Adversarial Examples Are Not Bugs, They Are Featurescited by 950
  3. 2018On Lazy Training in Differentiable Programmingcited by 671
  4. 2017The Implicit Bias of Gradient Descent on Separable Datacited by 649
  5. 2020On Adaptive Attacks to Adversarial Example Defensescited by 547
  6. 2018A Benchmark for Interpretability Methods in Deep Neural Networkscited by 467
  7. 2018A Mean Field View of the Landscape of Two-Layers Neural Networkscited by 463
  8. 2017Interpretation of Neural Networks is Fragilecited by 443
  9. 2018On the Global Convergence of Gradient Descent for Over-parameterized Models using Optimal Transportcited by 422
  10. 2015Evaluating the visualization of what a Deep Neural Network has learnedcited by 416
  11. 2018Confounding variables can degrade generalization performance of radiological deep learning modelscited by 374
  12. 2020The Pitfalls of Simplicity Bias in Neural Networkscited by 349
  13. 2017The (Un)reliability of saliency methodscited by 331
  14. 2020Do Adversarially Robust ImageNet Models Transfer Better?cited by 315
  15. 2019On the (In)fidelity and Sensitivity for Explanationscited by 309
  16. 2019Interpretable machine learning: definitions, methods, and applicationscited by 303
  17. 2020Kernel and Rich Regimes in Overparametrized Modelscited by 302
  18. 2016Not Just a Black Box: Learning Important Features Through Propagating Activation Differencescited by 295
  19. 2020Implicit Bias of Gradient Descent for Wide Two-layer Neural Networks Trained with the Logistic Losscited by 267
  20. 2018Manipulating and Measuring Model Interpretabilitycited by 256
  21. 2017Improving the Adversarial Robustness and Interpretability of Deep Neural Networks by Regularizing their Input Gradientscited by 236
  22. 2015Convergent Learning: Do different neural networks learn the same representations?cited by 215
  23. 2019Explanations can be manipulated and geometry is to blamecited by 215
  24. 2019SGD on Neural Networks Learns Functions of Increasing Complexitycited by 203
  25. 2020Debugging Tests for Model Explanationscited by 146
  26. 2020On Translation Invariance in CNNs: Convolutional Layers can Exploit Absolute Spatial Locationcited by 141
  27. 2019Sanity Checks for Saliency Metricscited by 119
  28. 2018Are adversarial examples inevitable?cited by 113
  29. 2019Fooling Neural Network Interpretations via Adversarial Model Manipulationcited by 112
  30. 2018Trainability and Accuracy of Neural Networks: An Interacting Particle System Approachcited by 105
  31. 2020Evaluating Explanations: How much do explanations from the teacher aid students?cited by 94
  32. 2019When Explanations Lie: Why Many Modified BP Attributions Failcited by 92
  33. 2019Benchmarking Attribution Methods with Relative Feature Importancecited by 89
  34. 2018Adversarial examples from computational constraintscited by 79
  35. 2020Interpretability of machine learning based prediction models in healthcarecited by 75
  36. 2016A Boundary Tilting Persepective on the Phenomenon of Adversarial Examplescited by 70
  37. 2019Let's Agree to Agree: Neural Networks Share Classification Order on Real Datasetscited by 55
  38. 2020Towards falsifiable interpretability researchcited by 53

50 most cited of 58 All 58 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 2; 2022: 15; 2023: 15; 2024: 11; 2025: 3; 2026: 6.

52 papers.

Sort:

By area:

  1. 2023Protein Design with Guided Discrete Diffusioncited by 154
  2. 2022A Consistent and Efficient Evaluation Strategy for Attribution Methodscited by 100
  3. 2022B-cos Networks: Alignment is All We Need for Interpretabilitycited by 88
  4. 2022Post hoc Explanations may be Ineffective for Detecting Unknown Spurious Correlationcited by 59
  5. 2022Evaluation of post-hoc interpretability methods in time-series classificationcited by 53
  6. 2022MultiViz: Towards Visualizing and Understanding Multimodal Modelscited by 36
  7. 2023B-cos Alignment for Inherently Interpretable CNNs and Vision Transformerscited by 31
  8. 2022ModelDiff: A Framework for Comparing Learning Algorithmscited by 30
  9. 2022Towards Better Understanding Attribution Methodscited by 28
  10. 2022Interpretable by Design: Learning Predictors by Composing Interpretable Queriescited by 26
  11. 2023Variational Information Pursuit for Interpretable Predictionscited by 25
  12. 2023Which Models have Perceptually-Aligned Gradients? An Explanation via Off-Manifold Robustnesscited by 20
38 more
  1. 2024On the Faithfulness of Vision Transformer Explanationscited by 19
  2. 2024Decomposing and Editing Predictions by Modeling Model Computationcited by 19
  3. 2021Fast Hierarchical Games for Image Explanationscited by 15
  4. 2021Sanity Simulations for Saliency Methodscited by 15
  5. 2022The Manifold Hypothesis for Gradient-Based Explanationscited by 15
  6. 2024Concept Bottleneck Language Models For protein designcited by 15
  7. 2022When are Post-hoc Conceptual Explanations Identifiable?cited by 14
  8. 2022Interpretations Steered Network Pruning via Amortized Inferred Saliency Mapscited by 11
  9. 2023Discriminative Feature Attributions: Bridging Post Hoc Explainability and Inherent Interpretabilitycited by 10
  10. 2023Keep the Faith: Faithful Explanations in Convolutional Neural Networks for Case-Based Reasoningcited by 10
  11. 2024Regulating Model Reliance on Non-Robust Features by Smoothing Input Marginal Densitycited by 10
  12. 2023On the Impact of Knowledge Distillation for Model Interpretabilitycited by 8
  13. 2023Interpretability-Aware Vision Transformercited by 8
  14. 2023Negative Flux Aggregation to Estimate Feature Attributionscited by 7
  15. 20233VL: Using Trees to Improve Vision-Language Models' Interpretabilitycited by 7
  16. 2024Structured Gradient-based Interpretations via Norm-Regularized Adversarial Trainingcited by 7
  17. 2022A Unified Study of Machine Learning Explanation Evaluation Metricscited by 6
  18. 2022On the explainable properties of 1-Lipschitz Neural Networks: An Optimal Transport Perspectivecited by 6
  19. 2022SHAP-XRT: The Shapley Value Meets Conditional Independence Testingcited by 6
  20. 2023An Exact Kernel Equivalence for Finite Classification Modelscited by 5
  21. 2023Better Understanding Differences in Attribution Methods via Systematic Evaluationscited by 4
  22. 2024What Sketch Explainability Really Means for Downstream Taskscited by 4
  23. 2022A Rigorous Study Of The Deep Taylor Decompositioncited by 3
  24. 2024Persistent Classification: A New Approach to Stability of Data and Adversarial Examplescited by 3
  25. 2026Attribution-Guided Model Rectification of Unreliable Neural Network Behaviorscited by 3
  26. 2024A Backdoor-based Explainable AI Benchmark for High Fidelity Evaluation of Attributionscited by 2
  27. 2024Axiomatic Explainer Globalness via Optimal Transportcited by 2
  28. 2025Attribution Explanations for Deep Neural Networks: A Theoretical Perspectivecited by 2
  29. 2026Counterfactual Explanations on Robust Perceptual Geodesicscited by 2
  30. 2026Spectral Integrated Gradients for Coarse-to-Fine Feature Attributioncited by 2
  31. 2026Exploring SAIG Methods for an Objective Evaluation of XAIcited by 1
  32. 2026Decodability is Not Causality: Dissociating Probe Readouts from Behavioral Drivers via SAE Decompositioncited by 1
  33. 2023Contextual Reliability: When Different Features Matter in Different Contextscited by 0
  34. 2023On the Trade-offs between Adversarial Robustness and Actionable Explanationscited by 0
  35. 2023Explanation-based Training with Differentiable Insertion/Deletion Metric-aware Regularizerscited by 0
  36. 2024Unlearning-based Neural Interpretationscited by 0
  37. 2024Saliency Methods are Encoders: Analysing Logical Relations Towards Interpretationcited by 0
  38. 2025Machine Learning from Explanationscited by 0

50 most cited of 52 All 52 (JSON)