dattri-LLM: A Unified and Efficient Library for Training Data Attribution at LLM Scale
Not on the map. Why?
Abstract (arXiv)
Training data attribution (TDA) estimates the contribution of individual training examples to model outputs. Most scalable TDA methods rely on per-example gradients, whose computation and use at LLM scale pose challenges in efficiency, compatibility, and extensibility. We introduce dattri-LLM, a TDA library that makes gradient-based attribution more practical at scale. For efficiency, dattri-LLM uses compact gradient representations and dynamically routes gradient operations based on a cost model. For compatibility, its capture mechanism collects per-example gradients from existing training loops that call backward(), without requiring changes to the loop or its configuration. This includes distributed training with DDP and FSDP and pipelines built with HuggingFace Transformers, TRL, and OLMo. For extensibility, dattri-LLM exposes reusable gradient operations and training-time callbacks for implementing attribution methods and applications. These interfaces support a variety of attribution methods, including gradient similarity, curvature-based influence, and trajectory-based methods, as well as applications that act on gradients during training, such as online data selection. On the same hardware and workload, dattri-LLM achieves 3.2x the throughput of the fastest competing library on average, scales multiple attribution methods to 110B-parameter models across four H200 GPUs, and offers superior attribution fidelity-cost trade-offs across a range of models with different model families and scales. The source code of dattri-LLM is available at https://github.com/TRAIS-Lab/dattri-llm.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 34 of its 49 references that are in the map. First posted on arXiv 30 Sep 2026.
Builds on
34 of 49 references.
References · 34
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
- 2017Understanding Black-box Predictions via Influence Functionscited by 1,741
- 2015Optimizing Neural Networks with Kronecker-factored Approximate Curvaturecited by 796
- 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 660
- 2019Data Shapley: Equitable Valuation of Data for Machine Learningcited by 629
- 2024OLMo: Accelerating the Science of Language Modelscited by 613
- 2020Estimating Training Data Influence by Tracing Gradient Descentcited by 580
- 2019SAMSum Corpus: A Human-annotated Dialogue Dataset for Abstractive Summarizationcited by 535
- 2024LESS: Selecting Influential Data for Targeted Instruction Tuningcited by 532
22 more
- 2021Large Language Models Can Be Strong Differentially Private Learnerscited by 412
- 2023Studying Large Language Model Generalization with Influence Functionscited by 326
- 2023TRAK: Attributing Model Behavior at Scalecited by 283
- 2019Towards Efficient Data Valuation Based on the Shapley Valuecited by 281
- 2018Representer Point Selection for Explaining Deep Neural Networkscited by 187
- 2021Beta Shapley: a Unified and Noise-reduced Data Valuation Framework for Machine Learningcited by 165
- 2018Fast Approximate Natural Gradient Descent in a Kronecker-factored Eigenbasiscited by 146
- 2021Scaling Up Influence Functionscited by 132
- 2023DataInf: Efficiently Estimating Data Influence in LoRA-tuned LLMs and Diffusion Modelscited by 123
- 2024What is Your Data Worth to GPT? LLM-Scale Data Valuation with Influence Functionscited by 94
- 2024Data Shapley in One Training Runcited by 81
- 2021Input Similarity from the Neural Network Perspectivecited by 79
- 2023OpenDataVal: a Unified Benchmark for Data Valuationcited by 55
- 2023Simfluence: Modeling the Influence of Individual Training Examples by Simulating Training Runscited by 53
- 2024Scalable Influence and Fact Tracing for Large Language Model Pretrainingcited by 42
- 2024Capturing the Temporal Dependence of Training Data Influencecited by 35
- 2025MAGIC: Near-Optimal Data Attribution for Deep Learningcited by 22
- 2024textttdattri: A Library for Efficient Data Attributioncited by 18
- 2025GraSS: Scalable Data Attribution with Gradient Sparsification and Sparse Projectioncited by 8
- 2026How Faithful Is Trajectory-Based Data Attribution? Error Sources, Remedies, and Practical Guidelinescited by 4
- 2026Bergson: An Open Source Library for Data Attributioncited by 3
- 2026Dr. Post-Training: A Data Regularization Perspective on LLM Post-Trainingcited by 1
Built on by
Not cited yet.