[Paper Review] TRAK: Attributing Model Behavior at Scale
TRAK is a data attribution method that is both scalable and effective for large-scale, differentiable models, achieving strong attribution with only a handful of trained models.
The goal of data attribution is to trace model predictions back to training data. Despite a long line of work towards this goal, existing approaches to data attribution tend to force users to choose between computational tractability and efficacy. That is, computationally tractable methods can struggle with accurately attributing model predictions in non-convex settings (e.g., in the context of deep neural networks), while methods that are effective in such regimes require training thousands of models, which makes them impractical for large models or datasets. In this work, we introduce TRAK (Tracing with the Randomly-projected After Kernel), a data attribution method that is both effective and computationally tractable for large-scale, differentiable models. In particular, by leveraging only a handful of trained models, TRAK can match the performance of attribution methods that require training thousands of models. We demonstrate the utility of TRAK across various modalities and scales: image classifiers trained on ImageNet, vision-language models (CLIP), and language models (BERT and mT5). We provide code for using TRAK (and reproducing our work) at https://github.com/MadryLab/trak .
Motivation & Objective
- Motivate the importance of tracing model predictions to training data.
- Identify the computational tradeoffs in existing data attribution methods.
- Introduce TRAK as a scalable, effective attribution approach for large-scale non-convex models.
- Demonstrate TRAK's effectiveness across multiple modalities and architectures.
Proposed method
- Introduce TRAK (Tracing with the Randomly-projected After Kernel) as a data attribution method.
- Leverage only a handful of trained models to perform attribution.
- Aim to match the performance of attribution methods that require training thousands of models.
- Apply TRAK to large-scale, differentiable models across various modalities.
- Provide code for using TRAK and reproducing results.
Experimental results
Research questions
- RQ1Can data attribution be both scalable and effective in large-scale non-convex settings?
- RQ2How does TRAK compare to existing attribution methods that require many trained models?
- RQ3Is TRAK effective across different modalities and model families (vision, vision-language, language)?
Key findings
- TRAK achieves effective data attribution with far fewer trained models compared to sampling-based baselines.
- In experiments, TRAK matches or closely approaches the performance of methods that train thousands of models.
- TRAK demonstrates utility across image classifiers (ImageNet), vision-language models (CLIP), and language models (BERT, mT5).
- The work provides code to reproduce results and apply TRAK to other models.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.