Uniform Discretized Integrated Gradients: An effective attribution based method for explaining large language models
Not on the map. Why?
Abstract (arXiv)
Integrated Gradients is a well-known technique for explaining deep learning models. It calculates feature importance scores by employing a gradient based approach computing gradients of the model output with respect to input features and accumulating them along a linear path. While this works well for continuous features spaces, it may not be the most optimal way to deal with discrete spaces like word embeddings. For interpreting LLMs (Large Language Models), there exists a need for a non-linear path where intermediate points, whose gradients are to be computed, lie close to actual words in the embedding space. In this paper, we propose a method called Uniform Discretized Integrated Gradients (UDIG) based on a new interpolation strategy where we choose a favorable nonlinear path for computing attribution scores suitable for predictive language models. We evaluate our method on two types of NLP tasks- Sentiment Classification and Question Answering against three metrics viz Log odds, Comprehensiveness and Sufficiency. For sentiment classification, we have used the SST2, IMDb and Rotten Tomatoes datasets for benchmarking and for Question Answering, we have used the fine-tuned BERT model on SQuAD dataset. Our approach outperforms the existing methods in almost all the metrics.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 9 of its 14 references that are in the map. First posted on arXiv 5 Dec 2024.
Builds on
9 of 14 references.
References · 9
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,070
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
- 2017Axiomatic Attribution for Deep Networkscited by 3,384
- 2017Learning Important Features Through Propagating Activation Differencescited by 1,458
- 2016Not Just a Black Box: Learning Important Features Through Propagating Activation Differencescited by 297
- 2021Discretized Integrated Gradients for Explaining Language Modelscited by 46
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.