mlsanityData to 13 Oct 2026

Scalable Multi-Stage Influence Function for Large Language Models via Eigenvalue-Corrected Kronecker-Factored Parameterization

arXiv 2505.05017 ↗First posted 8 May 2025cs.CLcited by 0

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

  1. 2017Attention Is All You Needcited by 60,106
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,304
  3. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,107
  4. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,797
  5. 2022Locating and Editing Factual Associations in GPTcited by 2,650
  6. 2018Deep contextualized word representationscited by 2,286
  7. 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,978
  8. 2019Language Models as Knowledge Bases?cited by 1,931
  9. 2020mT5: A massively multilingual pre-trained text-to-text transformercited by 1,815
  10. 2017Understanding Black-box Predictions via Influence Functionscited by 1,729
  11. 2019Similarity of Neural Network Representations Revisitedcited by 1,719
  12. 2015Optimizing Neural Networks with Kronecker-factored Approximate Curvaturecited by 787
15 more
  1. 2020Estimating Training Data Influence by Tracing Gradient Descentcited by 572
  2. 2014New insights and perspectives on the natural gradient methodcited by 438
  3. 2023Studying Large Language Model Generalization with Influence Functionscited by 318
  4. 2023TRAK: Attributing Model Behavior at Scalecited by 279
  5. 2018Representer Point Selection for Explaining Deep Neural Networkscited by 187
  6. 2018Fast Approximate Natural Gradient Descent in a Kronecker-factored Eigenbasiscited by 144
  7. 2022If Influence Functions are the Answer, Then What is the Question?cited by 143
  8. 2022Training Data Influence Analysis and Estimation: A Surveycited by 134
  9. 2021Scaling Up Influence Functionscited by 131
  10. 2020FastIF: Scalable Influence Functions for Efficient Model Interpretation and Debuggingcited by 120
  11. 2021Input Similarity from the Neural Network Perspectivecited by 78
  12. 2023Kronecker-Factored Approximate Curvature for Modern Neural Network Architecturescited by 49
  13. 2024Training Data Attribution via Approximate Unrolled Differentiationcited by 33
  14. 2022Towards Tracing Factual Knowledge in Language Models Back to the Training Datacited by 21
  15. 2020Multi-Stage Influence Functioncited by 16

Built on by

Not cited yet.