paper-with-me

Papers

Uniform Discretized Integrated Gradients: An effective attribution based method for explaining large language models

2024-12-05 · Swarnava Sinha Roy, Ayan Kundu

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.

📄 PDF Abstract BibTeX arXiv:2412.03886

Code (0)

등록된 구현이 없습니다.

Tasks

BenchmarkingFeature ImportanceQuestion AnsweringSentiment AnalysisSentiment ClassificationWord Embeddings

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Linear Warmup With Linear Decay Linear Warmup With Linear Decay is a learning rate schedule in which we increase the learning rate linearly for $n$ updates and then linearly decay afterwards.
Multi-Head Attention 설명 없음
WordPiece 설명 없음
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…

Similar Papers 제목 키워드 기반

Discretized Integrated Gradients for Explaining Language Models

2021-08-31 · EMNLP 2021 11 · Soumya Sanyal, Xiang Ren

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 averagin…

Feature ImportanceSentiment AnalysisSentiment Classification

Path-Sampled Integrated Gradients

2026-04-15 · Firuz Kamalov, Fadi Thabtah, R. Sivaraj, Neda Abdelhamid arxiv

We introduce path-sampled integrated gradients (PS-IG), a framework that generalizes feature attribution by computing the expected value over baselines sampled along the linear interpolation path. We prove that PS-IG is …

Integrated Decision Gradients: Compute Your Attributions Where the Model Makes Its Decision

2023-05-31 · Chase Walker, Sumit Jha, Kenny Chen, Rickard Ewetz

Attribution algorithms are frequently employed to explain the decisions of neural network models. Integrated Gradients (IG) is an influential attribution method due to its strong axiomatic foundation. The algorithm is ba…

Exploring unfairness in Integrated Gradients based attribution methods

2021-09-29 · David Drakard, Rosanne Liu, Jason Yosinski

Numerous methods have attempted to explain and interpret predictions made by machine learning models in terms of their inputs. Known as “attribution methods” they notably include the Integrated Gradi…

Fairness

Compensated Integrated Gradients to Reliably Interpret EEG Classification

2018-11-21 · Kazuki Tachikawa, Yuji Kawai, Jihoon Park, Minoru Asada

Integrated gradients are widely employed to evaluate the contribution of input features in classification models because it satisfies the axioms for attribution of prediction. This method, however, requires an appropriat…

ClassificationEEGElectroencephalogram (EEG)General Classification