# LoRIF: Low-Rank Influence Functions for Scalable Training Data Attribution

*Shuangqi Li, Hieu Le, Jingyi Xu, Mathieu Salzmann*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/149043) · [Open on the map](../papers.html#p149043)

Category: [Efficient LLM Inference & Training](../pcat/14.md) › [Scaling Laws Low-Rank Optimization](../pgroup/459.md) · Type: new method · Keywords: training data attribution, influence functions, low-rank approximation, gradient storage, scalable attribution, truncated SVD

## Summary
LoRIF introduces low-rank factorization of projected per-example gradients and a truncated SVD approximation for the inverse Hessian, enabling scalable training data attribution with up to 20× storage reduction and faster queries while preserving attribution quality.

## Explained to a 5-year-old
We want to know which pictures or words helped a computer program learn. The program looks at many examples and we need to find which ones were most important. Doing this can be slow and use a lot of memory. The new idea stores only a small sketch of each example instead of the whole thing. It also uses a clever shortcut to find the important parts without remembering everything. This makes the process faster and uses less memory, so we can study big computer programs easily.

## Explained to a 5-year-old, longer
We want to know which pictures or words helped a computer program learn. The program looks at many examples and we need to find which ones were most important. Doing this can be slow and use a lot of memory. The new idea stores only a small sketch of each example instead of the whole thing. It also uses a clever shortcut to find the important parts without remembering everything. This makes the process faster and uses less memory, so we can study big computer programs easily. The sketches are like tiny versions of the original data that still capture the key information. By keeping only these tiny sketches, we save a lot of space. The shortcut works like looking at a few key points to understand the whole picture. This way, we can quickly answer questions about which examples mattered. The method works for very large models with millions of training examples. It helps researchers and engineers understand how their models learn and fix problems more easily. The approach also lets us run attribution on modest hardware, which was not possible before. Overall, it makes it practical to study big models without needing massive storage or slow computations.

## For a technical reader
The paper tackles the scalability bottleneck of gradient-based training data attribution by exploiting low-rank structure in projected per-example gradients. It stores rank-c factors instead of full matrices, cutting I/O and memory overhead. A truncated SVD combined with the Woodbury identity approximates the inverse Hessian in a reduced subspace, reducing memory from O(D²) to O(Dr). Experiments on models from 0.1 B to 70 B show up to 20× storage savings and faster queries while matching or exceeding baseline attribution quality. The method enables practical attribution at frontier scale without sacrificing accuracy.

## Problem
Training data attribution methods based on influence functions require storing large per-example gradient matrices and computing an inverse Hessian approximation, leading to high storage and computational costs that scale poorly with model size and dataset size.

## Method
The approach stores low-rank factors of projected per-example gradients and uses truncated SVD with the Woodbury identity to approximate the inverse Hessian in a reduced subspace, thereby reducing storage and memory requirements.

## Results
The approach achieves up to 20× storage reduction and query-time speedup compared to LoGRA while matching or exceeding its attribution quality on models ranging from 0.1 B to 70 B parameters.

## Contributions
The paper introduces low-rank factorization of projected gradients and a truncated SVD approximation for the inverse Hessian, enabling scalable gradient-based training data attribution at frontier scale.

## Practical relevance
It enables practical, scalable training data attribution for large models, facilitating debugging, data curation, and reproducibility at scale.

## Research questions this paper is counted under

- [How can we compute data influence efficiently at scale for large models?](../q/667.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/149043)
