TL;DR
Tracing an AI model's prediction back to the exact training examples that caused it is computationally brutal, which is why fast approximation algorithms like TRAK have become wildly popular. In the first systematic theoretical analysis of TRAK, researchers show that while its mathematical shortcuts introduce massive errors—ruining exact point-by-point rankings—it still preserves the gap between highly influential and uninfluential data. As long as you don't compress the math too aggressively, TRAK gets the big picture right even when its exact numbers are wrong.
What Problem Does This Paper Address?
Imagine a massive neural network makes a bizarre prediction. To find out why, we use data attribution: asking how the model's output would change if we removed a single training sample and retrained from scratch. Doing this "leave-one-out" retraining for millions of data points is completely intractable.
Enter TRAK, a popular, scalable algorithm that bypasses retraining using three mathematical shortcuts:
- Linearization: Approximating the complex nonlinear model around its final weights with a simpler linear surrogate (essentially turning it into a kernel machine).
- Random Projection: Squishing high-dimensional parameter gradients ($d$) down into a much smaller dimension ($k$) to save compute.
- Approximate Leave-One-Out (ALO): Using a closed-form mathematical shortcut to estimate the leave-one-out effect without actually retraining.
Empirically, TRAK works great. However, nobody really knew why it works theoretically, how much error each shortcut introduces, or under what conditions the whole house of cards collapses.
Methods
Instead of proposing a new algorithm, the authors build a rigorous theoretical microscope—using high-dimensional $M$-estimation theory—to dissect the standard TRAK pipeline step by step.
Working in a regime where sample size ($n$), feature count ($p$), and parameter count ($d$) are all large, they derive sharp mathematical bounds on the errors introduced at each of TRAK’s three stages. To see if TRAK can tell signal from noise, they compare two distinct scenarios:
- The Correlated Case: The test point is identical (or strongly related) to a training point, meaning true influence should be huge.
- The Uncorrelated Case: The test point is completely independent of the training data, meaning true influence should be tiny.
Datasets
- Synthetic Simulations: Generated datasets (e.g., $n = 1024$ samples, $p = 100$ features, $d = 200$ parameters) evaluated on nonlinear 3-class classification, as well as binary classification and Poisson regression.
- Real-World Data: CIFAR-10 is used for additional empirical validation to ensure the theoretical takeaways hold up outside idealized data-generation assumptions. No new benchmarks are introduced.
Key Insights and Ideas
- Exact rankings are a lost cause, and that’s okay: Linearizing a nonlinear model introduces an absolute error of the exact same order of magnitude as the true influence itself ($\propto \|\boldsymbol{\beta}^*\|^2 / n$). You cannot trust TRAK's exact numerical values or fine-grained rankings. Yet, because uncorrelated points have a much smaller baseline influence ($\propto \|\boldsymbol{\beta}^*\| / n$), a massive order-of-magnitude gap remains. TRAK succeeds because it separates the "giants" from the "dwarfs."
- The ALO shortcut is shockingly benign: The Approximate Leave-One-Out step introduces practically zero distortion. Its error shrinks much faster ($\propto n^{-1.5}$) than the true influence ($\propto n^{-1}$), making it nearly exact in large-sample regimes.
- Random projection is the hidden danger zone: When you project $d$ parameters down to $k$ dimensions, correlated (high) influences shrink by a factor of $k/d$, whereas uncorrelated (noise) influences shrink much more slowly, by $\sqrt{k/d}$. Because $\sqrt{k/d}$ shrinks slower than $k/d$, squishing $k$ too far causes the signal to collapse right into the noise floor! To keep influential points separable, you must ensure $k \gg d / \|\boldsymbol{\beta}^*\|^2$.
Key Results
The simulations bring the math to life. In the 3-class nonlinear classification setup ($n=1024, d=200$):
- Linearization vs. ALO: As seen above, plotting linearized influence against true influence yields a slope of 1.733, visually confirming large absolute scale distortion—though correlation stays high (0.9969). Conversely, comparing ALO to the linearized step (in the paper's experiments) yields a correlation of 0.9999 and a slope of 0.995, proving ALO adds virtually zero error.
- The Projection Breakdown: To test if TRAK separates influential points from uninfluential ones, the authors measure the ratio between the bottom 5% of correlated influences and the top 95% of uncorrelated influences (a ratio $> 1$ means clean separation; $< 1$ means overlap).
- For True, Linear, and ALO influences, this ratio sits safely around 1.49–1.66.
- At projection $k = 0.75d$, the ratio holds at 1.42.
- At $k = 0.25d$, the ratio drops to 0.89—the regimes overlap! Correlation with true influence in the uncorrelated regime also plummets to 0.3972 (below). By $k = 0.1d$, the separation ratio hits 0.42, meaning aggressive projection actively destroys TRAK's ability to spot influential data.
Limitations and Future Work
The biggest caveat—which the authors state upfront—is that their main theorems are proved in the underparameterized regime ($d < n$), where there are more training samples than model parameters. Modern deep learning and LLMs live firmly in the overparameterized regime ($d > n$). While the authors sketch out a preliminary analysis using ridge regularization for $d > n$ in the appendix (and validate on CIFAR-10), a complete theoretical treatment of overparameterized neural networks remains an open frontier for future work.
Summary updated