Introduction
Standard Influence Functions (IF) are the go-to tool for data attribution, but they consistently fail in high-dimensional settings by underestimating how much training data actually affects a model. This paper introduces Rescaled Influence Functions (RIF), a computationally efficient "drop-in" replacement that fixes this underestimation, offering significantly higher accuracy for overparameterized models with negligible extra cost.
If a machine learning model makes a strange prediction, we want to know why. Data attribution attempts to answer this by identifying which specific training samples were responsible. The gold standard for this is the "Leave-T-Out" effect: how would the model change if we removed a subset $T$ of the training data and retrained from scratch?
Since retraining is too expensive, researchers use Influence Functions. IF uses a first-order Taylor approximation to guess the change. However, in modern "high-dimensional" regimes—where the number of parameters is large relative to the number of samples—IF breaks down. It tends to wildly underestimate the true effect of removing data. While more complex methods like "Newton Steps" are more accurate, they are computationally heavy and lose additivity (the ability to calculate the effect of a group by simply summing the effects of its members).
Methods
The authors propose Rescaled Influence Functions (RIF) to bridge the gap between the speed of IF and the accuracy of a full Newton Step.
The core idea is simple: in high dimensions, removing even a single sample can significantly change the "shape" of the loss landscape (the Hessian). Standard IF ignores this change. RIF accounts for it by applying a rescaling factor to the standard influence score.
For Generalized Linear Models (like logistic regression) and ReLU-based neural networks, the formula is: $$RIF_i = (1 - h_i)^{-1} \cdot IF_i$$ Where $h_i$ is a "generalized leverage score"—a value that measures how much a specific sample $i$ influences its own fit.
What makes it special? 1. Additivity: Like standard IF, you can precompute RIF for every individual sample and then just sum them up to estimate the effect of removing any group $T$. 2. Efficiency: Calculating the leverage score $h_i$ requires just one extra matrix-vector product per sample. In the authors' experiments, this added less than 1% overhead to the total computation time.
Datasets
The authors evaluated RIF across several domains using binary classification tasks on frozen embeddings:
- Vision: DogFish (Inception v3 embeddings), CatDog (ResNet-50), and AutoTruck (ResNet-50).
- NLP: Enron Spam (Bag-of-words) and IMDB Sentiment Analysis (BERT embeddings).
- Audio: ESC-50 environmental sounds (OpenL3 embeddings).
These datasets represent a mix of "classical" benchmarks and modern high-dimensional settings where the number of features ($d$) is comparable to or larger than the number of samples ($n$).
Key Insights and Ideas
- The Hessian Shift: The "aha moment" is realizing that in high dimensions, the Hessian isn't stable. When you remove a point, the curvature of the optimization space changes. RIF’s rescaling factor is essentially a "correction" for this shifting curvature.
- IF is a Lower Bound: The paper explains why IF usually correlates with the truth but stays below the diagonal: the rescaling factors $(1-h_i)^{-1}$ are always greater than 1. IF is essentially a "shrunken" version of the truth.
- Signal-to-Noise Ratio (SNR): Theoretical analysis shows that RIF maintains a high SNR even as the number of removed samples ($k$) grows, provided $k$ is small relative to $\sqrt{n/d}$.
- Detecting the "Invisible" Poison: The authors demonstrate a class of data poisoning attacks designed to have low first-order influence (to hide from standard IF detectors) but high higher-order effects. RIF successfully detects these "stealthy" attacks where IF fails.
Key Results
- Accuracy: In almost every experiment, RIF predictions fall almost perfectly along the "ground truth" diagonal, while standard IF consistently sits far below it, underestimating the true effect.
- Robustness to Dimension: As the ratio of samples to parameters ($n/d$) decreases, IF gets progressively worse, while RIF remains accurate.
- Computational Cost: For the IMDB dataset, while training took 20 seconds and computing the Hessian took 0.92 seconds, the "Rescaling" step took only 0.044 seconds. It is truly a "free" upgrade.
Limitations and Future Work
- Model Scope: The experiments focus on logistic regression on top of frozen embeddings. While the authors note RIF can be extended to non-convex neural networks, the theoretical guarantees are currently strongest for convex settings.
- Hessian Inversion: Like standard IF, RIF still requires inverting (or approximating the inverse of) the Hessian matrix. For massive models with billions of parameters, this remains a significant engineering challenge, though RIF can likely be combined with existing "sketching" or approximation techniques.
- Future Directions: The authors suggest exploring how RIF could improve "machine unlearning" (efficiently removing a user's data from a trained model) and more complex data-cleansing pipelines.
Summary updated