FastIF: Scalable Influence Functions for Efficient Model Interpretation and Debugging
Not on the map. Why?
Abstract (arXiv)
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
Key facts. Cited by 120 papers in the map (data through 7 Oct 2026). First posted on arXiv 31 Dec 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 7; 2022: 16; 2023: 22; 2024: 34; 2025: 27; 2026: 14.
120 papers.
Sort:
By area:
- 2023DataComp: In search of the next generation of multimodal datasetscited by 635
- 2023Explainability for Large Language Models: A Surveycited by 331
- 2021Machine Unlearning of Features and Labelscited by 223
- 2021Post-hoc Interpretability for Neural NLP: A Surveycited by 155
- 2022If Influence Functions are the Answer, Then What is the Question?cited by 142
- 2022Training Data Influence Analysis and Estimation: A Surveycited by 134
- 2021Scaling Up Influence Functionscited by 130
- 2023DataInf: Efficiently Estimating Data Influence in LoRA-tuned LLMs and Diffusion Modelscited by 121
- 2024What is Your Data Worth to GPT? LLM-Scale Data Valuation with Influence Functionscited by 88
- 2022Post hoc Explanations may be Ineffective for Detecting Unknown Spurious Correlationcited by 59
- 2021Explanation-Based Human Debugging of NLP Models: A Surveycited by 53
- 2022Leveraging Explanations in Interactive Machine Learning: An Overviewcited by 52
38 more
- 2023Simfluence: Modeling the Influence of Individual Training Examples by Simulating Training Runscited by 52
- 2021Interactive Label Cleaning with Example-based Explanationscited by 48
- 2023Evaluating Data Attribution for Text-to-Image Modelscited by 45
- 2024Usable XAI: 10 Strategies Towards Exploiting Explainability in the LLM Eracited by 45
- 2022ORCA: Interpreting Prompted Language Models via Locating Supporting Data Evidence in the Ocean of Pretraining Datacited by 34
- 2022Identifying a Training-Set Attack's Target Using Renormalized Influence Estimationcited by 32
- 2024Most Influential Subset Selection: Challenges, Promises, and Beyondcited by 31
- 2023Theoretical and Practical Perspectives on what Influence Functions Docited by 28
- 2022Human-Centered Concept Explanations for Neural Networkscited by 23
- 2022Understanding Influence Functions and Datamodels via Harmonic Analysiscited by 23
- 2024Editable Concept Bottleneck Modelscited by 22
- 2024Data Attribution for Text-to-Image Models by Unlearning Synthesized Imagescited by 22
- 2022An Empirical Study of Memorization in NLPcited by 21
- 2022Towards Tracing Factual Knowledge in Language Models Back to the Training Datacited by 21
- 2023Regularizing Second-Order Influences for Continual Learningcited by 21
- 2023Revisiting the Fragility of Influence Functionscited by 20
- 2024Do Influence Functions Work on Large Language Models?cited by 20
- 2021Interpreting Deep Learning Models in Natural Language Processing: A Reviewcited by 19
- 2024Token-wise Influential Training Data Retrieval for Large Language Modelscited by 19
- 2023Make Every Example Count: On the Stability and Utility of Self-Influence for Learning from Noisy NLP Datasetscited by 18
- 2024Unlearning Traces the Influential Training Data of Language Modelscited by 18
- 2024Evolving Interpretable Visual Classifiers with Large Language Modelscited by 18
- 2026OPUS: Towards Efficient and Principled Data Selection in Large Language Model Pre-training in Every Iterationcited by 17
- 2023How do languages influence each other? Studying cross-lingual data sharing during LM fine-tuningcited by 14
- 2023Examining Modularity in Multilingual LMs via Language-Specialized Subnetworkscited by 13
- 2024Helpful or Harmful Data? Fine-tuning-free Shapley Attribution for Explaining Language Model Predictionscited by 13
- 2022FairIF: Boosting Fairness in Deep Learning via Influence Functions with Validation Set Sensitive Attributescited by 12
- 2025LayerIF: Estimating Layer Quality for Large Language Models using Influence Functionscited by 12
- 2023A Bayesian Approach To Analysing Training Data Attribution In Deep Learningcited by 11
- 2023Selectivity Drives Productivity: Efficient Dataset Pruning for Enhanced Transfer Learningcited by 11
- 2025Understanding Impact of Human Feedback via Influence Functionscited by 11
- 2023Sample based Explanations via Generalized Representerscited by 10
- 2024Efficient Sketches for Training Data Attribution and Studying the Loss Landscapecited by 10
- 2024The Echoes of Multilinguality: Tracing Cultural Value Shifts during LM Fine-tuningcited by 10
- 2025Interpretation Meets Safety: A Survey on Interpretation Methods and Tools for Improving LLM Safetycited by 10
- 2022Causality-Inspired Taxonomy for Explainable Artificial Intelligencecited by 9
- 2022Influence Functions for Sequence Tagging Modelscited by 9
- 2024Towards Explainable Artificial Intelligence (XAI): A Data Mining Perspectivecited by 9
50 most cited of 120 All 120 (JSON)
- 2026Scaling Influence Functions in LLMs through Eigenbasis-Corrected One-Bit Gradient Projection29 Sep 2026
- 2026From Reweighting to Rewriting: Unlocking the Intervention Effects of Influential Samples in Training Data Attribution2 Sep 2026
- 2026Fisher Rank Inflation: A Spectral Signature of Memorization under Label Noise14 Jul 2026
- 2026Distill on a Diet: Efficient Knowledge Distillation via Learnable Data Pruning24 Jun 2026
- 2026Quantifying the Agreement Between Data-Influence and Data-Similarity to Understand LLM Behavior22 Jun 2026
- 2026TAKE: Trajectory-Aware Knowledge Estimation for Text Dataset Distillation13 Jun 2026
- 2026De-attribute to Forget for LLM Unlearning29 May 2026
- 2026Goal-Oriented Influence-Maximizing Data Acquisition for Learning and Optimization23 Feb 2026
- 2026Detecting labeling bias using influence functions22 Feb 2026
- 2026A Unified Theory of Random Projection for Influence Functions11 Feb 2026
- 2026OPUS: Towards Efficient and Principled Data Selection in Large Language Model Pre-training in Every Iteration5 Feb 2026
- 2026Select or Project? Evaluating Lower-dimensional Vectors for LLM Training Data Explanations23 Jan 2026
38 more
- 2026Influential Training Data Retrieval for Explaining Verbalized Confidence of LLMs15 Jan 2026
- 2026Controllable Concept Bottleneck Models1 Jan 2026
- 2025On the Accuracy of Newton Step and Influence Function Data Attributions14 Dec 2025
- 2025SG-OIF: A Stability-Guided Online Influence Framework for Reliable Vision Data21 Nov 2025
- 2025Fast Data Attribution for Text-to-Image Models13 Nov 2025
- 2025Faithful and Fast Influence Function via Advanced Sampling30 Oct 2025
- 2025Large Language Model Sourcing: A Survey11 Oct 2025
- 2025Sensitivity Analysis for Diffusion Models27 Sep 2025
- 2025Where Did It Go Wrong? Attributing Undesirable LLM Behaviors via Representation Gradient Tracing26 Sep 2025
- 2025Exploring Training Data Attribution under Limited Access Constraints16 Sep 2025
- 2025Revisiting Data Attribution for Influence Functions10 Aug 2025
- 2025DICE: Data Influence Cascade in Decentralized Learning9 Jul 2025
- 2025Interpretation Meets Safety: A Survey on Interpretation Methods and Tools for Improving LLM Safety5 Jun 2025
- 2025Fast-DataShapley: Neural Modeling for Training Data Valuation5 Jun 2025
- 2025UNO: Unlearning via Orthogonalization in Generative models5 Jun 2025
- 2025Influence Functions for Edge Edits in Non-Convex Graph Neural Networks5 Jun 2025
- 2025Daunce: Data Attribution through Uncertainty Estimation29 May 2025
- 2025Estimating the Effects of Sample Training Orders for Large Language Models without Retraining28 May 2025
- 2025LayerIF: Estimating Layer Quality for Large Language Models using Influence Functions27 May 2025
- 2025Measuring Fine-Grained Relatedness in Multitask Learning via Data Attribution27 May 2025
- 2025Towards Robust Influence Functions with Flat Validation Minima25 May 2025
- 2025Scalable Multi-Stage Influence Function for Large Language Models via Eigenvalue-Corrected Kronecker-Factored Parameterization8 May 2025
- 2025ALinFiK: Learning to Approximate Linearized Future Influence Kernel for Scalable Third-Party LLM Data Valuation2 Mar 2025
- 2025Conversational Explanations: Discussing Explainable AI with Non-AI Experts16 Feb 2025
- 2025Dynamic Influence Tracker: Measuring Time-Varying Sample Influence During Training15 Feb 2025
- 2025Delayed Feedback Modeling with Influence Functions1 Feb 2025
- 2025Towards Unified Attribution in Explainable AI, Data-Centric AI, and Mechanistic Interpretability31 Jan 2025
- 2025Understanding Impact of Human Feedback via Influence Functions10 Jan 2025
- 2025Unraveling Indirect In-Context Learning Using Influence Functions1 Jan 2025
- 2024LossVal: Efficient Data Valuation for Neural Networks5 Dec 2024
- 2024Final-Model-Only Data Attribution with a Unifying View of Gradient-Based Methods5 Dec 2024
- 2024A Versatile Influence Function for Data Attribution with Non-Decomposable Loss2 Dec 2024
- 2024Dissecting Representation Misalignment in Contrastive Learning via Influence Function18 Nov 2024
- 2024Data Quality Control in Federated Instruction-tuning of Large Language Models15 Oct 2024
- 2024Generalized Group Data Attribution13 Oct 2024
- 2024HyperINF: Unleashing the HyperPower of the Schulz's Method for Data Influence Estimation7 Oct 2024
- 2024Do Influence Functions Work on Large Language Models?30 Sep 2024
- 2024Most Influential Subset Selection: Challenges, Promises, and Beyond25 Sep 2024
50 newest of 120 All 120 (JSON)
- 2021Machine Unlearning of Features and Labelscited by 223
- 2024Data Attribution for Text-to-Image Models by Unlearning Synthesized Imagescited by 22
- 2024Unlearning Traces the Influential Training Data of Language Modelscited by 18
- 2025Interpretation Meets Safety: A Survey on Interpretation Methods and Tools for Improving LLM Safetycited by 10
- 2023Class-wise Federated Unlearning: Harnessing Active Forgetting with Teacher-Student Memory Generationcited by 6
- 2025Where Did It Go Wrong? Attributing Undesirable LLM Behaviors via Representation Gradient Tracingcited by 4
- 2025UNO: Unlearning via Orthogonalization in Generative modelscited by 0
- 2026De-attribute to Forget for LLM Unlearningcited by 0
- 2026De-attribute to Forget for LLM Unlearning29 May 2026
- 2025Where Did It Go Wrong? Attributing Undesirable LLM Behaviors via Representation Gradient Tracing26 Sep 2025
- 2025Interpretation Meets Safety: A Survey on Interpretation Methods and Tools for Improving LLM Safety5 Jun 2025
- 2025UNO: Unlearning via Orthogonalization in Generative models5 Jun 2025
- 2024Data Attribution for Text-to-Image Models by Unlearning Synthesized Images13 Jun 2024
- 2024Unlearning Traces the Influential Training Data of Language Models26 Jan 2024
- 2023Class-wise Federated Unlearning: Harnessing Active Forgetting with Teacher-Student Memory Generation7 Jul 2023
- 2021Machine Unlearning of Features and Labels26 Aug 2021
- 2023DataComp: In search of the next generation of multimodal datasetscited by 635
- 2023DataInf: Efficiently Estimating Data Influence in LoRA-tuned LLMs and Diffusion Modelscited by 121
- 2025Fast Data Attribution for Text-to-Image Modelscited by 7
- 2025Sensitivity Analysis for Diffusion Modelscited by 1
- 2023Explainability for Large Language Models: A Surveycited by 331
- 2021Post-hoc Interpretability for Neural NLP: A Surveycited by 155
- 2022If Influence Functions are the Answer, Then What is the Question?cited by 142
- 2022Training Data Influence Analysis and Estimation: A Surveycited by 134
- 2021Scaling Up Influence Functionscited by 130
- 2024What is Your Data Worth to GPT? LLM-Scale Data Valuation with Influence Functionscited by 88
- 2022Post hoc Explanations may be Ineffective for Detecting Unknown Spurious Correlationcited by 59
- 2021Explanation-Based Human Debugging of NLP Models: A Surveycited by 53
- 2022Leveraging Explanations in Interactive Machine Learning: An Overviewcited by 52
- 2023Simfluence: Modeling the Influence of Individual Training Examples by Simulating Training Runscited by 52
- 2021Interactive Label Cleaning with Example-based Explanationscited by 48
- 2023Evaluating Data Attribution for Text-to-Image Modelscited by 45
12 most cited of 107 All 107 (JSON)
- 2026Scaling Influence Functions in LLMs through Eigenbasis-Corrected One-Bit Gradient Projection29 Sep 2026
- 2026From Reweighting to Rewriting: Unlocking the Intervention Effects of Influential Samples in Training Data Attribution2 Sep 2026
- 2026Fisher Rank Inflation: A Spectral Signature of Memorization under Label Noise14 Jul 2026
- 2026Distill on a Diet: Efficient Knowledge Distillation via Learnable Data Pruning24 Jun 2026
- 2026Quantifying the Agreement Between Data-Influence and Data-Similarity to Understand LLM Behavior22 Jun 2026
- 2026TAKE: Trajectory-Aware Knowledge Estimation for Text Dataset Distillation13 Jun 2026
- 2026Goal-Oriented Influence-Maximizing Data Acquisition for Learning and Optimization23 Feb 2026
- 2026Detecting labeling bias using influence functions22 Feb 2026
- 2026A Unified Theory of Random Projection for Influence Functions11 Feb 2026
- 2026OPUS: Towards Efficient and Principled Data Selection in Large Language Model Pre-training in Every Iteration5 Feb 2026
- 2026Select or Project? Evaluating Lower-dimensional Vectors for LLM Training Data Explanations23 Jan 2026
- 2026Influential Training Data Retrieval for Explaining Verbalized Confidence of LLMs15 Jan 2026
12 newest of 107 All 107 (JSON)