Training Data Attribution (TDA) estimates how much each training example contributes to a model's output, but existing libraries are slow and hard to integrate with large language model (LLM) pipelines. dattri-LLM solves this with a unified gradient interface that efficiently captures per-example gradients without modifying training loops, supports distributed training (DDP, FSDP), and works with HuggingFace, TRL, and OLMo. The library is 3.2x faster on average than the fastest competing library and scales to 110B-parameter models on four H200 GPUs. It offers multiple attribution methods (gradient similarity, influence, trajectory-based) and a callback system for online data selection during training.
A library that makes gradient-based training data attribution practical for large language models
dattri-LLM achieves 3.2x speedup over existing tools and scales to 110B-parameter models without modifying training pipelines
Big Tech
Shixuan Liu · Tongli Zhou · Junwei Deng · Pingbang Hu · Jiaqi W. Ma
University of Illinois at Urbana-Champaign · Google
Research Digest··2 min read
In one line
A library called dattri-LLM speeds gradient-based training data attribution by 3.2x and scales to 110B-parameter models.
Read it as
The authors introduce dattri-LLM, a library for training data attribution (TDA) at LLM scale.
The authors built dattri-LLM around two exact gradient representations (factorized and materialized) and a FLOP-aware cost model that selects the cheaper route per layer and operation, sharing kernels across attribution methods.
How it works
stage by stageThe Daily Edition
The front page in your inbox each weekday morning: the lead, the picks, and why each one earned its place.