Discretized Integrated Gradients for Explaining Language Models
Not on the map. Why?
Abstract (arXiv)
As a prominent attribution-based explanation algorithm, Integrated Gradients (IG) is widely adopted due to its desirable explanation axioms and the ease of gradient computation. It measures feature importance by averaging the model's output gradient interpolated along a straight-line path in the input data space. However, such straight-line interpolated points are not representative of text data due to the inherent discreteness of the word embedding space. This questions the faithfulness of the gradients computed at the interpolated points and consequently, the quality of the generated explanations. Here we propose Discretized Integrated Gradients (DIG), which allows effective attribution along non-linear interpolation paths. We develop two interpolation strategies for the discrete word embedding space that generates interpolation points that lie close to actual words in the embedding space, yielding more faithful gradient computation. We demonstrate the effectiveness of DIG over IG through experimental and human evaluations on multiple sentiment classification datasets. We provide the source code of DIG to encourage reproducible research.
Key facts. Cited by 45 papers in the map (data through 7 Oct 2026). Builds on 18 of its 33 references that are in the map. First posted on arXiv 31 Aug 2021.
Builds on
18 of 33 references.
References · 18
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2017Axiomatic Attribution for Deep Networkscited by 3,350
- 2017Learning Important Features Through Propagating Activation Differencescited by 1,454
- 2017Towards A Rigorous Science of Interpretable Machine Learningcited by 1,400
- 2019ERASER: A Benchmark to Evaluate Rationalized NLP Modelscited by 523
- 2018Explaining Explanations: An Overview of Interpretability of Machine Learningcited by 508
- 2016Not Just a Black Box: Learning Important Features Through Propagating Activation Differencescited by 295
6 more
- 2016Understanding Neural Networks through Representation Erasurecited by 223
- 2016Layer-wise Relevance Propagation for Neural Networks with Local Renormalization Layerscited by 197
- 2018Beyond Word Importance: Contextual Decomposition to Extract Interactions from LSTMscited by 67
- 2018Hierarchical interpretations for neural network predictionscited by 66
- 2020Investigating Saturation Effects in Integrated Gradientscited by 22
- 2019Generalized Integrated Gradients: A practical method for explaining diverse ensemblescited by 7
Built on by
Citing papers per year: 2021: 1; 2022: 7; 2023: 10; 2024: 12; 2025: 7; 2026: 8.
45 papers.
Sort:
By area:
- 2023Explainability for Large Language Models: A Surveycited by 331
- 2023Inseq: An Interpretability Toolkit for Sequence Generation Modelscited by 78
- 2023Journey to the Center of the Knowledge Neurons: Discoveries of Language-Independent Knowledge Neurons and Degenerate Knowledge Neuronscited by 56
- 2023Sequential Integrated Gradients: a simple but effective method for explaining language modelscited by 52
- 2022SBERT studies Meaning Representations: Decomposing Sentence Embeddings into Explainable Semantic Featurescited by 33
- 2021UNIREX: A Unified Learning Framework for Language Model Rationale Extractioncited by 32
- 2024Backward Lens: Projecting Language Model Gradients into the Vocabulary Spacecited by 30
- 2022FaiRR: Faithful and Robust Deductive Reasoning over Natural Languagecited by 29
- 2022ferret: a Framework for Benchmarking Explainers on Transformerscited by 26
- 2024AttriBoT: A Bag of Tricks for Efficiently Approximating Leave-One-Out Context Attributioncited by 23
- 2025Why and How LLMs Hallucinate: Connecting the Dots with Subsequence Associationscited by 14
- 2024Knowledge Localization: Mission Not Accomplished? Enter Query Localization!cited by 13
33 more
- 2024Hard to Explain: On the Computational Hardness of In-Distribution Model Interpretationcited by 11
- 2022FRAME: Evaluating Rationale-Label Consistency Metrics for Free-Text Rationalescited by 10
- 2023An Attribution Method for Siamese Encoderscited by 8
- 2023Explaining Speech Classification Models via Word-Level Audio Segments and Paralinguistic Featurescited by 7
- 2022ER-Test: Evaluating Explanation Regularization Methods for Language Modelscited by 6
- 2023Token-wise Decomposition of Autoregressive Language Model Hidden States for Analyzing Model Predictionscited by 6
- 2025Reasoning-Grounded Natural Language Explanations for Language Modelscited by 4
- 2026Jacobian Scopes: token-level causal attributions in LLMscited by 4
- 2022Comparing Baseline Shapley and Integrated Gradients for Local Explanation: Some Additional Insightscited by 3
- 2023Time Interpret: a Unified Model Interpretability Library for Time Seriescited by 3
- 2024Counterfactuals As a Means for Evaluating Faithfulness of Attribution Methods in Autoregressive Language Modelscited by 3
- 2024Explaining Caption-Image Interactions in CLIP Models with Second-Order Attributionscited by 3
- 2024One Mind, Many Tongues: A Deep Dive into Language-Agnostic Knowledge Neurons in Large Language Modelscited by 3
- 2023Identification of Knowledge Neurons in Protein Language Modelscited by 2
- 2024"Sorry, Come Again?" Prompting -- Enhancing Comprehension and Diminishing Hallucination with [PAUSE]-injected Optimal Paraphrasingcited by 2
- 2024Uniform Discretized Integrated Gradients: An effective attribution based method for explaining large language modelscited by 2
- 2022Generalizability Analysis of Graph-based Trajectory Predictor with Vectorized Representationcited by 1
- 2024Integrated Gradient Correlation: a Dataset-wise Attribution Methodcited by 1
- 2025XAI-Units: Benchmarking Explainability Methods with Unit Testscited by 1
- 2026Hessian-Enhanced Token Attribution (HETA): Interpreting Autoregressive LLMscited by 1
- 2023CIDR: A Cooperative Integrated Dynamic Refining Method for Minimal Feature Removal Problemcited by 0
- 2024PE: A Poincare Explanation Method for Fast Text Hierarchy Generationcited by 0
- 2024Advancing Fairness in Natural Language Processing: From Traditional Methods to Explainabilitycited by 0
- 2025Application of integrated gradients explainability to sociopsychological semantic markerscited by 0
- 2025Graph-based Integrated Gradients for Explaining Graph Neural Networkscited by 0
- 2025Evaluation Framework for Highlight Explanations of Context Utilisation in Language Modelscited by 0
- 2025HEMERA: A Human-Explainable Transformer Model for Estimating Lung Cancer Risk using GWAS Datacited by 0
- 2026The Attribution Contract for Generative Language Modelscited by 0
- 2026Explaining Black-Box Language Models: Learning to Optimize Linguistically-Structured Word Subsetscited by 0
- 2026LIG: Layer-wise Integrated Gradients for Within-Layer Flow Analysis in Transformerscited by 0
- 2026XU-RS: Explaining Credal Width in Random-Set Language Modelscited by 0
- 2026WOMBAT: Whitebox Oracle for Molecular Benchmarking and Attribution Testingcited by 0
- 2026Temporally-Resolved Token Attribution Reveals the Generation Dynamics of Diffusion Language Modelscited by 0
- 2026Temporally-Resolved Token Attribution Reveals the Generation Dynamics of Diffusion Language Models1 Oct 2026
- 2026WOMBAT: Whitebox Oracle for Molecular Benchmarking and Attribution Testing30 Sep 2026
- 2026XU-RS: Explaining Credal Width in Random-Set Language Models29 Sep 2026
- 2026LIG: Layer-wise Integrated Gradients for Within-Layer Flow Analysis in Transformers19 Jun 2026
- 2026Explaining Black-Box Language Models: Learning to Optimize Linguistically-Structured Word Subsets7 Jun 2026
- 2026The Attribution Contract for Generative Language Models21 May 2026
- 2026Hessian-Enhanced Token Attribution (HETA): Interpreting Autoregressive LLMs14 Apr 2026
- 2026Jacobian Scopes: token-level causal attributions in LLMs23 Jan 2026
- 2025HEMERA: A Human-Explainable Transformer Model for Estimating Lung Cancer Risk using GWAS Data8 Oct 2025
- 2025Evaluation Framework for Highlight Explanations of Context Utilisation in Language Models3 Oct 2025
- 2025Graph-based Integrated Gradients for Explaining Graph Neural Networks9 Sep 2025
- 2025XAI-Units: Benchmarking Explainability Methods with Unit Tests1 Jun 2025
33 more
- 2025Why and How LLMs Hallucinate: Connecting the Dots with Subsequence Associations17 Apr 2025
- 2025Reasoning-Grounded Natural Language Explanations for Language Models14 Mar 2025
- 2025Application of integrated gradients explainability to sociopsychological semantic markers6 Mar 2025
- 2024Uniform Discretized Integrated Gradients: An effective attribution based method for explaining large language models5 Dec 2024
- 2024One Mind, Many Tongues: A Deep Dive into Language-Agnostic Knowledge Neurons in Large Language Models26 Nov 2024
- 2024AttriBoT: A Bag of Tricks for Efficiently Approximating Leave-One-Out Context Attribution22 Nov 2024
- 2024Advancing Fairness in Natural Language Processing: From Traditional Methods to Explainability16 Oct 2024
- 2024Explaining Caption-Image Interactions in CLIP Models with Second-Order Attributions26 Aug 2024
- 2024Counterfactuals As a Means for Evaluating Faithfulness of Attribution Methods in Autoregressive Language Models21 Aug 2024
- 2024Hard to Explain: On the Computational Hardness of In-Distribution Model Interpretation7 Aug 2024
- 2024Knowledge Localization: Mission Not Accomplished? Enter Query Localization!23 May 2024
- 2024Integrated Gradient Correlation: a Dataset-wise Attribution Method22 Apr 2024
- 2024"Sorry, Come Again?" Prompting -- Enhancing Comprehension and Diminishing Hallucination with [PAUSE]-injected Optimal Paraphrasing27 Mar 2024
- 2024PE: A Poincare Explanation Method for Fast Text Hierarchy Generation25 Mar 2024
- 2024Backward Lens: Projecting Language Model Gradients into the Vocabulary Space20 Feb 2024
- 2023Identification of Knowledge Neurons in Protein Language Models17 Dec 2023
- 2023CIDR: A Cooperative Integrated Dynamic Refining Method for Minimal Feature Removal Problem13 Dec 2023
- 2023An Attribution Method for Siamese Encoders9 Oct 2023
- 2023Explaining Speech Classification Models via Word-Level Audio Segments and Paralinguistic Features14 Sep 2023
- 2023Explainability for Large Language Models: A Survey2 Sep 2023
- 2023Journey to the Center of the Knowledge Neurons: Discoveries of Language-Independent Knowledge Neurons and Degenerate Knowledge Neurons25 Aug 2023
- 2023Time Interpret: a Unified Model Interpretability Library for Time Series5 Jun 2023
- 2023Sequential Integrated Gradients: a simple but effective method for explaining language models25 May 2023
- 2023Token-wise Decomposition of Autoregressive Language Model Hidden States for Analyzing Model Predictions17 May 2023
- 2023Inseq: An Interpretability Toolkit for Sequence Generation Models27 Feb 2023
- 2022Comparing Baseline Shapley and Integrated Gradients for Local Explanation: Some Additional Insights12 Aug 2022
- 2022Generalizability Analysis of Graph-based Trajectory Predictor with Vectorized Representation6 Aug 2022
- 2022ferret: a Framework for Benchmarking Explainers on Transformers2 Aug 2022
- 2022FRAME: Evaluating Rationale-Label Consistency Metrics for Free-Text Rationales2 Jul 2022
- 2022SBERT studies Meaning Representations: Decomposing Sentence Embeddings into Explainable Semantic Features14 Jun 2022
- 2022ER-Test: Evaluating Explanation Regularization Methods for Language Models25 May 2022
- 2022FaiRR: Faithful and Robust Deductive Reasoning over Natural Language19 Mar 2022
- 2021UNIREX: A Unified Learning Framework for Language Model Rationale Extraction16 Dec 2021
- 2026The Attribution Contract for Generative Language Modelscited by 0
- 2026The Attribution Contract for Generative Language Models21 May 2026
- 2023Explainability for Large Language Models: A Surveycited by 331
- 2023Inseq: An Interpretability Toolkit for Sequence Generation Modelscited by 78
- 2023Journey to the Center of the Knowledge Neurons: Discoveries of Language-Independent Knowledge Neurons and Degenerate Knowledge Neuronscited by 56
- 2023Sequential Integrated Gradients: a simple but effective method for explaining language modelscited by 52
- 2022SBERT studies Meaning Representations: Decomposing Sentence Embeddings into Explainable Semantic Featurescited by 33
- 2021UNIREX: A Unified Learning Framework for Language Model Rationale Extractioncited by 32
- 2024Backward Lens: Projecting Language Model Gradients into the Vocabulary Spacecited by 30
- 2022ferret: a Framework for Benchmarking Explainers on Transformerscited by 26
- 2024AttriBoT: A Bag of Tricks for Efficiently Approximating Leave-One-Out Context Attributioncited by 23
- 2025Why and How LLMs Hallucinate: Connecting the Dots with Subsequence Associationscited by 14
- 2024Knowledge Localization: Mission Not Accomplished? Enter Query Localization!cited by 13
- 2024Hard to Explain: On the Computational Hardness of In-Distribution Model Interpretationcited by 11
12 most cited of 41 All 41 (JSON)
- 2026WOMBAT: Whitebox Oracle for Molecular Benchmarking and Attribution Testing30 Sep 2026
- 2026XU-RS: Explaining Credal Width in Random-Set Language Models29 Sep 2026
- 2026LIG: Layer-wise Integrated Gradients for Within-Layer Flow Analysis in Transformers19 Jun 2026
- 2026Explaining Black-Box Language Models: Learning to Optimize Linguistically-Structured Word Subsets7 Jun 2026
- 2026Hessian-Enhanced Token Attribution (HETA): Interpreting Autoregressive LLMs14 Apr 2026
- 2026Jacobian Scopes: token-level causal attributions in LLMs23 Jan 2026
- 2025HEMERA: A Human-Explainable Transformer Model for Estimating Lung Cancer Risk using GWAS Data8 Oct 2025
- 2025Evaluation Framework for Highlight Explanations of Context Utilisation in Language Models3 Oct 2025
- 2025Graph-based Integrated Gradients for Explaining Graph Neural Networks9 Sep 2025
- 2025XAI-Units: Benchmarking Explainability Methods with Unit Tests1 Jun 2025
- 2025Why and How LLMs Hallucinate: Connecting the Dots with Subsequence Associations17 Apr 2025
- 2025Application of integrated gradients explainability to sociopsychological semantic markers6 Mar 2025
12 newest of 41 All 41 (JSON)