textttdattri: A Library for Efficient Data Attribution
Not on the map. Why?
Abstract (arXiv)
Data attribution methods aim to quantify the influence of individual training samples on the prediction of artificial intelligence (AI) models. As training data plays an increasingly crucial role in the modern development of large-scale AI models, data attribution has found broad applications in improving AI performance and safety. However, despite a surge of new data attribution methods being developed recently, there lacks a comprehensive library that facilitates the development, benchmarking, and deployment of different data attribution methods. In this work, we introduce textttdattri, an open-source data attribution library that addresses the above needs. Specifically, textttdattri highlights three novel design features. Firstly, textttdattri proposes a unified and easy-to-use API, allowing users to integrate different data attribution methods into their PyTorch-based machine learning pipeline with a few lines of code changed. Secondly, textttdattri modularizes low-level utility functions that are commonly used in data attribution methods, such as Hessian-vector product, inverse-Hessian-vector product or random projection, making it easier for researchers to develop new data attribution methods. Thirdly, textttdattri provides a comprehensive benchmark framework with pre-trained models and ground truth annotations for a variety of benchmark settings, including generative AI settings. We have implemented a variety of state-of-the-art efficient data attribution methods that can be applied to large-scale neural network models, and will continuously update the library in the future. Using the developed textttdattri library, we are able to perform a comprehensive and fair benchmark analysis across a wide range of data attribution methods. The source code of textttdattri is available at https://github.com/TRAIS-Lab/dattri.
Key facts. Cited by 18 papers in the map (data through 7 Oct 2026). Builds on 24 of its 44 references that are in the map. First posted on arXiv 6 Oct 2024.
Builds on
24 of 44 references.
References · 24
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2017Understanding Black-box Predictions via Influence Functionscited by 1,714
- 2019Data Shapley: Equitable Valuation of Data for Machine Learningcited by 617
- 2020Estimating Training Data Influence by Tracing Gradient Descentcited by 565
- 2020Captum: A unified and generic model interpretability library for PyTorchcited by 542
- 2018Explaining Explanations: An Overview of Interpretability of Machine Learningcited by 508
- 2019Towards Efficient Data Valuation Based on the Shapley Valuecited by 279
- 2023TRAK: Attributing Model Behavior at Scalecited by 273
- 2020Influence Functions in Deep Learning Are Fragilecited by 247
- 2018Enabling Factorized Piano Music Modeling and Generation with the MAESTRO Datasetcited by 215
- 2018Music Transformercited by 207
12 more
- 2018Representer Point Selection for Explaining Deep Neural Networkscited by 187
- 2022Datamodels: Predicting Predictions from Training Datacited by 186
- 2019Efficient Task-Specific Data Valuation for Nearest Neighbor Algorithmscited by 147
- 2022If Influence Functions are the Answer, Then What is the Question?cited by 142
- 2021Scaling Up Influence Functionscited by 130
- 2022Data Banzhaf: A Robust Data Valuation Framework for Machine Learningcited by 126
- 2024DsDm: Model-Aware Dataset Selection with Datamodelscited by 103
- 2021Input Similarity from the Neural Network Perspectivecited by 78
- 2023OpenDataVal: a Unified Benchmark for Data Valuationcited by 55
- 2021Revisiting Methods for Finding Influential Examplescited by 39
- 2024Rethinking Data Shapley for Data Selection Tasks: Misleads and Meritscited by 29
- 2024Efficient Ensembles Improve Training Data Attributioncited by 5
Built on by
Citing papers per year: 2025: 10; 2026: 8.
18 papers.
Sort:
By area:
- 2025Better Training Data Attribution via Better Inverse Hessian-Vector Productscited by 10
- 2025GraSS: Scalable Data Attribution with Gradient Sparsification and Sparse Projectioncited by 8
- 2025Do Large Language Models (Really) Need Statistical Foundations?cited by 5
- 2025Taming Hyperparameter Sensitivity in Data Attribution: Practical Selection Without Costly Retrainingcited by 4
- 2025Z0-Inf: Zeroth Order Approximation for Data Influencecited by 2
- 2026Position: Don't Just "Fix it in Post": A Science of AI Must Study Training Dynamicscited by 2
- 2026Bergson: An Open Source Library for Data Attributioncited by 2
- 2025Measuring Fine-Grained Relatedness in Multitask Learning via Data Attributioncited by 1
- 2026A Unified Theory of Random Projection for Influence Functionscited by 1
- 2026Analyzing Fairness of Neural Network Prediction via Counterfactual Dataset Generationcited by 1
- 2025ABE: A Unified Framework for Robust and Faithful Attribution-Based Explainabilitycited by 0
- 2025Integrated Influence: Data Attribution with Baselinecited by 0
6 more
- 2025Exploring Training Data Attribution under Limited Access Constraintscited by 0
- 2025Scalable Data Attribution via Forward-Only Test-Time Inferencecited by 0
- 2026Comparing Explanations is Not Enough, Explain the Change: New Standards are Needed to Explain Behavioral Shifts in Large Language Modelscited by 0
- 2026EvoSelect: Data-Efficient LLM Evolution for Targeted Task Adaptationcited by 0
- 2026Traceprop: Training Data Attribution in a Single Passcited by 0
- 2026dattri-LLM: A Unified and Efficient Library for Training Data Attribution at LLM Scalecited by 0
- 2026dattri-LLM: A Unified and Efficient Library for Training Data Attribution at LLM Scale30 Sep 2026
- 2026Traceprop: Training Data Attribution in a Single Pass26 Sep 2026
- 2026Bergson: An Open Source Library for Data Attribution10 Jun 2026
- 2026Position: Don't Just "Fix it in Post": A Science of AI Must Study Training Dynamics3 Jun 2026
- 2026EvoSelect: Data-Efficient LLM Evolution for Targeted Task Adaptation28 Apr 2026
- 2026Analyzing Fairness of Neural Network Prediction via Counterfactual Dataset Generation11 Feb 2026
- 2026A Unified Theory of Random Projection for Influence Functions11 Feb 2026
- 2026Comparing Explanations is Not Enough, Explain the Change: New Standards are Needed to Explain Behavioral Shifts in Large Language Models2 Feb 2026
- 2025Scalable Data Attribution via Forward-Only Test-Time Inference25 Nov 2025
- 2025Z0-Inf: Zeroth Order Approximation for Data Influence13 Oct 2025
- 2025Exploring Training Data Attribution under Limited Access Constraints16 Sep 2025
- 2025Integrated Influence: Data Attribution with Baseline7 Aug 2025
6 more
- 2025Better Training Data Attribution via Better Inverse Hessian-Vector Products19 Jul 2025
- 2025Taming Hyperparameter Sensitivity in Data Attribution: Practical Selection Without Costly Retraining30 May 2025
- 2025Measuring Fine-Grained Relatedness in Multitask Learning via Data Attribution27 May 2025
- 2025Do Large Language Models (Really) Need Statistical Foundations?25 May 2025
- 2025GraSS: Scalable Data Attribution with Gradient Sparsification and Sparse Projection25 May 2025
- 2025ABE: A Unified Framework for Robust and Faithful Attribution-Based Explainability3 May 2025
- 2025Better Training Data Attribution via Better Inverse Hessian-Vector Productscited by 10
- 2025GraSS: Scalable Data Attribution with Gradient Sparsification and Sparse Projectioncited by 8
- 2025Do Large Language Models (Really) Need Statistical Foundations?cited by 5
- 2025Taming Hyperparameter Sensitivity in Data Attribution: Practical Selection Without Costly Retrainingcited by 4
- 2025Z0-Inf: Zeroth Order Approximation for Data Influencecited by 2
- 2026Position: Don't Just "Fix it in Post": A Science of AI Must Study Training Dynamicscited by 2
- 2026Bergson: An Open Source Library for Data Attributioncited by 2
- 2025Measuring Fine-Grained Relatedness in Multitask Learning via Data Attributioncited by 1
- 2026A Unified Theory of Random Projection for Influence Functionscited by 1
- 2026Analyzing Fairness of Neural Network Prediction via Counterfactual Dataset Generationcited by 1
- 2025ABE: A Unified Framework for Robust and Faithful Attribution-Based Explainabilitycited by 0
- 2025Integrated Influence: Data Attribution with Baselinecited by 0
12 most cited of 17 All 17 (JSON)
- 2026dattri-LLM: A Unified and Efficient Library for Training Data Attribution at LLM Scale30 Sep 2026
- 2026Traceprop: Training Data Attribution in a Single Pass26 Sep 2026
- 2026Bergson: An Open Source Library for Data Attribution10 Jun 2026
- 2026Position: Don't Just "Fix it in Post": A Science of AI Must Study Training Dynamics3 Jun 2026
- 2026EvoSelect: Data-Efficient LLM Evolution for Targeted Task Adaptation28 Apr 2026
- 2026Analyzing Fairness of Neural Network Prediction via Counterfactual Dataset Generation11 Feb 2026
- 2026A Unified Theory of Random Projection for Influence Functions11 Feb 2026
- 2025Scalable Data Attribution via Forward-Only Test-Time Inference25 Nov 2025
- 2025Z0-Inf: Zeroth Order Approximation for Data Influence13 Oct 2025
- 2025Exploring Training Data Attribution under Limited Access Constraints16 Sep 2025
- 2025Integrated Influence: Data Attribution with Baseline7 Aug 2025
- 2025Better Training Data Attribution via Better Inverse Hessian-Vector Products19 Jul 2025
12 newest of 17 All 17 (JSON)