paper-with-me

Papers

FastIF: Scalable Influence Functions for Efficient Model Interpretation and Debugging

2020-12-31 · EMNLP 2021 11 · Han Guo, Nazneen Fatema Rajani, Peter Hase, Mohit Bansal, Caiming Xiong

Influence functions approximate the "influences" of training data-points for test predictions and have a wide variety of applications. Despite the popularity, their computational cost does not scale well with model and training data size. We present FastIF, a set of simple modifications to influence functions that significantly improves their run-time. We use k-Nearest Neighbors (kNN) to narrow the search space down to a subset of good candidate data points, identify the configurations that best balance the speed-quality trade-off in estimating the inverse Hessian-vector product, and introduce a fast parallel variant. Our proposed method achieves about 80X speedup while being highly correlated with the original influence values. With the availability of the fast influence functions, we demonstrate their usefulness in four applications. First, we examine whether influential data-points can "explain" test time behavior using the framework of simulatability. Second, we visualize the influence interactions between training and test data-points. Third, we show that we can correct model errors by additional fine-tuning on certain influential data-points, improving the accuracy of a trained MultiNLI model by 2.5% on the HANS dataset. Finally, we experiment with a similar setup but fine-tuning on datapoints not seen during training, improving the model accuracy by 2.8% and 1.7% on HANS and ANLI datasets respectively. Overall, our fast influence functions can be efficiently applied to large models and datasets, and our experiments demonstrate the potential of influence functions in model interpretation and correcting model errors. Code is available at https://github.com/salesforce/fast-influence-functions

📄 PDF Abstract BibTeX arXiv:2012.15781

Code (1)

salesforce/fast-influence-functions 공식 구현 pytorch

Tasks

Data Augmentation

Similar Papers 제목 키워드 기반

HILDIF: Interactive Debugging of NLI Models Using Influence Functions

2021-08-01 · ACL (InterNLP) 2021 8 · Hugo Zylberajch, Piyawat Lertvittayakumjorn, Francesca Toni

Biases and artifacts in training data can cause unwelcome behavior in text classifiers (such as shallow pattern matching), leading to lack of generalizability. One solution to this problem is to include users in the loop…

Natural Language Inference

Understanding Black-box Predictions via Influence Functions

2017-03-14 · ICML 2017 8 · Pang Wei Koh, Percy Liang

How can we explain the predictions of a black-box model? In this paper, we use influence functions -- a classic technique from robust statistics -- to trace a model's prediction through the learning algorithm and back to…

Daunce: Data Attribution through Uncertainty Estimation

2025-05-29 · Xingyuan Pan, Chenlu Ye, Joseph Melkonian, Jiaqi W. Ma 외

Training data attribution (TDA) methods aim to identify which training examples influence a model's predictions on specific test data most. By quantifying these influences, TDA supports critical applications such as data…

CLIF: Concept-Level Influence Functions for Transparent Bottleneck Models

2026-05-19 · Yike Sun, Mingkun Xu, Mu You, Zhongzhi He 외 arxiv

In recent years, the black-box nature of deep learning models has limited their application in high-stakes domains such as medical diagnosis and finance, where interpretability is essential. To address this, we propose a…

Medical Diagnosis

Revisiting Data Attribution for Influence Functions

2025-08-10 · Hongbo Zhu, Angelo Cangelosi arxiv

The goal of data attribution is to trace the model's predictions through the learning algorithm and back to its training data. thereby identifying the most influential training samples and understanding how the model's b…