Scalable Multi-Stage Influence Function for Large Language Models via Eigenvalue-Corrected Kronecker-Factored Parameterization
Not on the map. Why?
Abstract (arXiv)
Pre-trained large language models (LLMs) are commonly fine-tuned to adapt to downstream tasks. Since the majority of knowledge is acquired during pre-training, attributing the predictions of fine-tuned LLMs to their pre-training data may provide valuable insights. Influence functions have been proposed as a means to explain model predictions based on training data. However, existing approaches fail to compute ``multi-stage'' influence and lack scalability to billion-scale LLMs. In this paper, we propose the multi-stage influence function to attribute the downstream predictions of fine-tuned LLMs to pre-training data under the full-parameter fine-tuning paradigm. To enhance the efficiency and practicality of our multi-stage influence function, we leverage Eigenvalue-corrected Kronecker-Factored (EK-FAC) parameterization for efficient approximation. Empirical results validate the superior scalability of EK-FAC approximation and the effectiveness of our multi-stage influence function. Additionally, case studies on a real-world LLM, dolly-v2-3b, demonstrate its interpretive power, with exemplars illustrating insights provided by multi-stage influence estimates. Our code is public at https://github.com/colored-dye/multi_stage_influence_function.
Key facts. No citing papers in the map yet (data through 13 Oct 2026). Builds on 27 of its 47 references that are in the map. First posted on arXiv 8 May 2025.
Builds on
27 of 47 references.
References · 27
- 2017Attention Is All You Needcited by 60,106
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,304
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,107
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,797
- 2022Locating and Editing Factual Associations in GPTcited by 2,650
- 2018Deep contextualized word representationscited by 2,286
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,978
- 2019Language Models as Knowledge Bases?cited by 1,931
- 2020mT5: A massively multilingual pre-trained text-to-text transformercited by 1,815
- 2017Understanding Black-box Predictions via Influence Functionscited by 1,729
- 2019Similarity of Neural Network Representations Revisitedcited by 1,719
- 2015Optimizing Neural Networks with Kronecker-factored Approximate Curvaturecited by 787
15 more
- 2020Estimating Training Data Influence by Tracing Gradient Descentcited by 572
- 2014New insights and perspectives on the natural gradient methodcited by 438
- 2023Studying Large Language Model Generalization with Influence Functionscited by 318
- 2023TRAK: Attributing Model Behavior at Scalecited by 279
- 2018Representer Point Selection for Explaining Deep Neural Networkscited by 187
- 2018Fast Approximate Natural Gradient Descent in a Kronecker-factored Eigenbasiscited by 144
- 2022If Influence Functions are the Answer, Then What is the Question?cited by 143
- 2022Training Data Influence Analysis and Estimation: A Surveycited by 134
- 2021Scaling Up Influence Functionscited by 131
- 2020FastIF: Scalable Influence Functions for Efficient Model Interpretation and Debuggingcited by 120
- 2021Input Similarity from the Neural Network Perspectivecited by 78
- 2023Kronecker-Factored Approximate Curvature for Modern Neural Network Architecturescited by 49
- 2024Training Data Attribution via Approximate Unrolled Differentiationcited by 33
- 2022Towards Tracing Factual Knowledge in Language Models Back to the Training Datacited by 21
- 2020Multi-Stage Influence Functioncited by 16
Built on by
Not cited yet.