A Bayesian Approach To Analysing Training Data Attribution In Deep Learning
Elisa Nguyen, Minjoon Seo, Seong Joon Oh
Abstract
Training data attribution (TDA) techniques find influential training data for the model's prediction on the test data of interest. They approximate the impact of down- or up-weighting a particular training sample. While conceptually useful, they are hardly applicable to deep models in practice, particularly because of their sensitivity to different model initialisation. In this paper, we introduce a Bayesian perspective on the TDA task, where the learned model is treated as a Bayesian posterior and the TDA estimates as random variables. From this novel viewpoint, we observe that the influence of an individual training sample is often overshadowed by the noise stemming from model initialisation and SGD batch composition. Based on this observation, we argue that TDA can only be reliably used for explaining deep model predictions that are consistently influenced by certain training data, independent of other noise factors. Our experiments demonstrate the rarity of such noise-independent training-test data pairs but confirm their existence. We recommend that future researchers and practitioners trust TDA estimates only in such cases. Further, we find a disagreement between ground truth and estimated TDA distributions and encourage future work to study this gap. Code is provided at https://github.com/ElisaNguyen/bayesian-tda.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
9 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- TuCo: Measuring the Contribution of Fine-Tuning to Individual Responses of LLMs cites Scaling Up Influence Functions
- TuCo: Measuring the Contribution of Fine-Tuning to Individual Responses of LLMs cites Estimating Training Data Influence by Tracing Gradient Descent
- Capturing the Temporal Dependence of Training Data Influence cites Training Data Attribution via Approximate Unrolling
- Capturing the Temporal Dependence of Training Data Influence cites If Influence Functions are the Answer, Then What is the Question?
- Capturing the Temporal Dependence of Training Data Influence cites Scaling Up Influence Functions
- Capturing the Temporal Dependence of Training Data Influence cites Estimating Training Data Influence by Tracing Gradient Descent
- Training Data Attribution via Approximate Unrolling cites LoRA: Low-Rank Adaptation of Large Language Models
- Training Data Attribution via Approximate Unrolling cites If Influence Functions are the Answer, Then What is the Question?
- Training Data Attribution via Approximate Unrolling cites Scaling Up Influence Functions
- Training Data Attribution via Approximate Unrolling cites Estimating Training Data Influence by Tracing Gradient Descent
- Final-Model-Only Data Attribution with a Unifying View of Gradient-Based Methods cites Training Data Attribution via Approximate Unrolling
- Final-Model-Only Data Attribution with a Unifying View of Gradient-Based Methods cites If Influence Functions are the Answer, Then What is the Question?
- Final-Model-Only Data Attribution with a Unifying View of Gradient-Based Methods cites Scaling Up Influence Functions
- Final-Model-Only Data Attribution with a Unifying View of Gradient-Based Methods cites Estimating Training Data Influence by Tracing Gradient Descent
- If Influence Functions are the Answer, Then What is the Question? cites Scaling Up Influence Functions
- If Influence Functions are the Answer, Then What is the Question? cites Estimating Training Data Influence by Tracing Gradient Descent
- Scaling Up Influence Functions cites Estimating Training Data Influence by Tracing Gradient Descent
- Better Training Data Attribution via Better Inverse Hessian-Vector Products cites Capturing the Temporal Dependence of Training Data Influence
- Better Training Data Attribution via Better Inverse Hessian-Vector Products cites If Influence Functions are the Answer, Then What is the Question?
- Better Training Data Attribution via Better Inverse Hessian-Vector Products cites Scaling Up Influence Functions
- Better Training Data Attribution via Better Inverse Hessian-Vector Products cites Estimating Training Data Influence by Tracing Gradient Descent
Cited by top-tier papers9
- Training Data Attribution via Approximate UnrollingJuhan Bae, Wu Lin, Jonathan Lorraine, Roger B. GrosseNeurIPS 2024 · 41 citations
- Better Training Data Attribution via Better Inverse Hessian-Vector ProductsAndrew Wang, Elisa Nguyen, Runshi Yang, Juhan Bae et al.NeurIPS 2025 · 12 citations
- Final-Model-Only Data Attribution with a Unifying View of Gradient-Based MethodsDennis Wei, Inkit Padhi, Soumya Ghosh, Amit Dhurandhar et al.NeurIPS 2025 · 6 citations
- TuCo: Measuring the Contribution of Fine-Tuning to Individual Responses of LLMsFelipe Pinto Coelho Nuti, Tim Franzmeyer, João F. HenriquesICML 2025
- Capturing the Temporal Dependence of Training Data InfluenceJiachen T. Wang, Dawn Song, James Zou, Prateek Mittal et al.ICLR 2025
Builds on9
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu et al.ICLR 2022 · 18,833 citations
- Estimating Training Data Influence by Tracing Gradient DescentGarima Pruthi, Frederick Liu, Satyen Kale, Mukund SundararajanNeurIPS 2020 · 784 citations
- If Influence Functions are the Answer, Then What is the Question?Juhan Bae, Nathan Ng, Alston Lo, Marzyeh Ghassemi et al.NeurIPS 2022 · 185 citations
- Scaling Up Influence FunctionsAndrea Schioppa, Polina Zablotskaia, David Vilar, Artem SokolovAAAI 2022 · 149 citations
Related papers
- Distributional Training Data Attribution: What do Influence Functions Sample?Bruno Kacper Mlodozeniec, Isaac Reid, Sam Power, David Krueger et al.NeurIPS 2025
- Enhancing Training Data Attribution with Representational OptimizationWeiwei Sun, Haokun Liu, Nikhil Kandpal, Colin A. Raffel et al.NeurIPS 2025 · 9 citations
- PINNfluence: Interpreting PINNs through Influence FunctionsAleksander Krasowski, Jonas Naujoks, Moritz Weckbecker, Galip Yolcu et al.ICML 2026 · 1 citation
- Debugging Tests for Model ExplanationsJulius Adebayo, Michael Muelly, Ilaria Liccardi, Been KimNeurIPS 2020 · 209 citations
- Fourier-transform-based attribution priors improve the interpretability and stability of deep learning models for genomicsAlex Tseng, Avanti Shrikumar, Anshul KundajeNeurIPS 2020 · 38 citations
