Skip to content

Clarifying the Design Space of Language Model Data AttributionElucidating the Design Space of LM Data Attribution

arXiv· arXiv:2610.40655· Steven Yu, Sheng-Yu Wang, Kimia Hamidieh, Antonio Torralba, David BauNortheastern University; MITIndexed by this site · 24 days ago· Originally publishedAlignment

Quick read

Evaluation and benchmarks

Based on the paper PDF (AI-generated); refer to the original

The authors propose the controllable data attribution benchmark CATT and find that redundancy and distraction dilute attribution signals; negative log-odds gradients plus top-k aggregation improve recall by 35–72 percentage points.

Questions
Evaluations of language model data attribution each change multiple dataset properties at once, making it impossible to locate the cause of algorithm failure; the authors argue that a controlled benchmark is needed to diagnose when attribution fails.
Methods
Propose CATT: fine-tune Qwen3.5-4B on fictional facts to obtain an unambiguous ground truth, changing only one variable at a time—redundancy, lexical distraction, or the number of facts; and examine two design dimensions: the gradient loss (cross-entropy vs. negative log-odds) and the token score aggregation method.
Experiments and results
Redundancy and lexical distraction consistently reduce Recall@N across methods; the authors state that evidence is concentrated in a few tokens, that negative log-odds gradients plus top-10 aggregation improve CATT recall by 35–72 percentage points, and that on FTRACE-TREX they raise TRAK's accuracy drop under removal retraining to 4.9×.
Limitations and future work
The authors note: only single-token prediction and single-task fine-tuning are evaluated; top-k introduces a new hyperparameter requiring a dynamic threshold; BM25 is strong on CATT, so datasets where lexical overlap cannot be shortcut are needed. The models tested are Qwen3.5-4B and mT5-small, two in total.
Experimental setupQwen3.5-4B · CATT (Controlled Attribution Benchmark)、FTRACE-TREX et al. · Recall@N、AUC et al.
Evaluated models
Qwen3.5-4B
Benchmarks
CATT (Controlled Attribution Benchmark)FTRACE-TREXMMLU-Pro
Metrics
Recall@NAUCdecoy AUCaccuracy dropheld-out accuracyselectivityretention perplexity
AI summaryThe researchers propose CATT, a controllable attribution benchmark for fact tracing, which fine-tunes language models on entirely fictional knowledge to provide unambiguous ground truth for data attribution, and uses it to systematically examine the design space of language model data attribution. The benchmark can vary data configurations such as document redundancy and lexical distractors one at a time, and experiments show that redundancy and distractors consistently degrade attribution performance. Rather than proposing a new estimator, the authors examine two underexplored design choices, namely the loss used to compute gradients and the way per-token attribution scores are aggregated into document scores, and find that causal evidence in training documents is highly localized, so that the standard method of averaging over the whole document dilutes the evidence into noise. Replacing the standard cross-entropy loss gradient with the negative log-odds gradient makes key tokens stand out from irrelevant tokens, and aggregating only the top token scores raises the ground-truth recall of multiple baselines on this diagnostic benchmark by 35 to 72 percentage points; when this correction is generalized to FTRACE-TREX, it improves the counterfactual retraining performance of each tested method by up to 4.9 times.

The researchers propose CATT, a controllable attribution benchmark for fact tracing, which fine-tunes language models on entirely fictional knowledge to provide unambiguous ground truth for data attribution, and uses it to systematically examine the design space of language model data attribution. The benchmark can vary data configurations such as document redundancy and lexical distractors one at a time, and experiments show that redundancy and distractors consistently degrade attribution performance. Rather than proposing a new estimator, the authors examine two underexplored design choices, namely the loss used to compute gradients and the way per-token attribution scores are aggregated into document scores, and find that causal evidence in training documents is highly localized, so that the standard method of averaging over the whole document dilutes the evidence into noise. Replacing the standard cross-entropy loss gradient with the negative log-odds gradient makes key tokens stand out from irrelevant tokens, and aggregating only the top token scores raises the ground-truth recall of multiple baselines on this diagnostic benchmark by 35 to 72 percentage points; when this correction is generalized to FTRACE-TREX, it improves the counterfactual retraining performance of each tested method by up to 4.9 times.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Attribution evaluations change multiple dataset properties at once, making it impossible to locate the cause of failure; the authors propose the controllable benchmark CATT for diagnosis.

    Core problem: existing LLM data attribution evaluations change multiple dataset properties at once, so they cannot isolate the true cause of attribution algorithm failure.

    • Problem setting: data attribution aims to find the training samples responsible for a given model behavior, but directly verifying with retrained large models is too costly, and the field lacks reliable evaluations to guide algorithm improvement (Section 1).
    • Shortcomings of existing evaluations: the authors state that existing fact-tracing benchmarks each use a single fixed dataset and differ from one another in design, leading to conflicting conclusions—BM25 outperforms influence functions in some settings and lags behind in others; because these benchmarks differ simultaneously along multiple dimensions, they cannot provide a clear diagnostic signal (Sections 1, 4).
    • Core observation: the authors find that causal evidence in training documents is concentrated in a few tokens, whereas standard methods average token scores over the whole document, diluting the signal into noise; redundancy and lexical interference persistently degrade attribution performance (Figures 1, 3).
    • What the paper proposes: a controlled synthetic benchmark CATT (fine-tuning a model on fictional knowledge, changing only one dataset property at a time), and an examination of two design dimensions—the loss used to compute gradients, and how token scores are aggregated into document scores; the fix is negative log-odds gradients plus top-k token aggregation (Sections 1, 2).
  2. What related research exists?

    Related work falls into four groups: attribution algorithms, token-level attribution, attribution evaluation, and LLM fine-tuning; the authors use controllable evaluation to locate the differences.

    Training data attribution algorithms

    • Koh & Liang (2017) proposed influence functions, which linearize the effect of upweighting a sample around the trained parameters; subsequent work extended the estimate to large models via approximate Hessians (Grosse et al., 2023a; Choe et al., 2025), projected gradients (Park et al., 2023; Xia et al., 2024), or along the training trajectory (Pruthi et al., 2020a; Bae et al., 2024a).
    • Another line retrains models on random data subsets (Ghorbani & Zou, 2019; Ilyas et al., 2022). The authors note that these improvements are usually justified by agreement with objectives such as leave-one-out retraining, but such objectives are affected by training randomness (Nguyen et al., 2023), and agreement does not mean better retrieval.

    Token-level attribution

    • Gradient methods score documents using the gradient of the average token loss; Grosse et al. (2023b) and Lin et al. (2024) computed influence per token for visualization, and TrackStar (Chang et al., 2025) discussed applying its loss transformation per token. This paper uses token scores to explain why redundancy and distraction degrade performance, and accordingly modifies the loss and aggregation.

    Attribution evaluation

    • The linear datamodeling score (Ilyas et al., 2022; Park et al., 2023) tests whether attribution can predict the outputs of models retrained on random subsets; retrieval-style benchmarks test whether attribution can rank known supporting samples first, including LLM fact tracing (Akyürek et al., 2022; Chang et al., 2025; Jiao et al., 2026) and text-to-image fine-tuning samples (Wang et al., 2024b).
    • The authors note that these benchmarks reach conflicting conclusions: BM25 outperforms gradient methods on some benchmarks (Akyürek et al., 2022; Chang et al., 2025) and lags behind on others (Jiao et al., 2026); because the training corpus, query construction, and task all differ at once, the cause of the conflict cannot be located.

    LLM fine-tuning

    • Prior work fine-tunes LLMs on controlled data to study knowledge injection, forgetting (Maini et al., 2024), circuit changes (Prakash et al., 2024), and attribution evaluation (Wang et al., 2024b; Jiao et al., 2026).

    Baselines and comparisons: The baselines in this paper cover five groups of methods—Grad-Dot/Grad-Cos, EK-FAC/LoGra, TRAK/TrackStar, TracIn/SOURCE, and retrieval references BM25/RepSim; the evaluation benchmarks are CATT and the external FTRACE-TREX. The authors state the distinction of this paper: in CATT every fact is fictional, and redundancy, distraction, and the number of facts can each be changed one at a time (Section 4).

  3. How does the paper address this problem?

    CATT fine-tunes on fictional facts to obtain ground truth and scans dataset properties one variable at a time; it then fixes dilution along the two dimensions of loss and token aggregation.

    Overall approach: first build a controlled synthetic attribution benchmark, CATT, to isolate the failure variables, then use it to diagnose the token dilution phenomenon, and finally provide fixes along two design dimensions: the loss function and token aggregation.

    Controlled dataset and tasks

    • Configurable generation: the training set Dc is defined by a configuration c = (T, F, N, 1dist): task T, fact set F, number of documents per fact N, and whether lexical distractors 1dist are added; each configuration fine-tunes Qwen3.5-4B with LoRA, one model per seed, 3 seeds in total (Section 2.1).
    • Task I (Function Bindings): new function tokens map to fixed answer tokens; test queries use formats deliberately excluded from training; distractor documents fully mimic the query format but describe unrelated functions (Section 2.2).
    • Task II (Routing Rules): synthetic rules that route items to two queues according to a single deciding attribute; queries use noun and attribute combinations not seen in training; because the attribute words of the rules do not overlap, no distractors are added to this task (Section 2.2).
    • Sweep grid: |F| ∈ {25, 50, 100} × N ∈ {1,…,50} × 3 data-order seeds; the main experiments use |F| = 50; the corpus is nested, so increasing N or |F| only adds documents without changing existing samples (Appendix B).

    Formalization of attribution and token decomposition

    • Attribution scores the influence of a training document d on a query q, with the goal that the ground-truth document set ranks ahead of all other documents; the query loss uses only a single answer token (Section 2.1).
    • After decomposing the influence function by layer, the document gradient can be written as the sum of per-token contributions, yielding per-token attribution scores, and the document score is the aggregation of these token scores (Eq. 4); the authors note that this is a local gradient signal rather than the counterfactual effect of deleting a token (Section 2.3).

    Two design dimensions

    • Loss: the cross-entropy gradient satisfies ∇θ LCE = (1−p)∇θ Lnlo, i.e., the more confident the target-token prediction, the more the gradient is pushed toward zero; switching to a negative log-odds loss restores the scores of confident tokens, and it also works when the Hessian estimate remains that of cross-entropy (Eq. 5, Appendix A.1).
    • Aggregation: average only the top-k tokens by score within each document, avoiding dilution by irrelevant tokens; the authors report that top-k alone under cross-entropy yields little improvement except for EK-FAC, while combined with negative log-odds the improvement is large (Section 2.3).
    • Relation to TRAK: TRAK already uses log-odds but includes a correction factor Q that pulls the gradient back toward cross-entropy; the authors find that removing Q and computing influence purely by negative log-odds yields consistent improvements, so they apply this loss to all methods (Section 2.3, Appendix A.2).

    Evaluation method

    • Metrics are Recall@N (the fraction of a query's N ground-truth documents that appear in its top N, averaged over queries and training runs) and AUC; the distractor task additionally reports decoy AUC (Appendix D).
    • External generalization uses the FTRACE-TREX removal-retraining protocol: remove the top-ranked training documents, retrain, and measure the drop in fact accuracy (Appendix E).
  4. What experiments did the paper conduct?

    Scanning 16 method variants on CATT, redundancy and distraction reduce recall; the combined fix improves it by 35–72 percentage points and generalizes to FTRACE-TREX.

    Experimental setup

    • Models tested: Qwen3.5-4B fine-tuned with LoRA (CATT, 3 seeds per configuration); mT5-small fully fine-tuned (FTRACE-TREX, 1 model, 8 seeds for retraining).
    • Benchmarks: three CATT settings (Function Bindings, the version with added distractors, Rule Routings), with the main experiments using |F| = 50 and N ∈ {1,5,10,30,50} (Rule Routings from N=3 onward); external FTRACE-TREX (50 new facts, removal budgets B ∈ {2,000, 5,000, 11,522}).
    • Baselines: Grad-Dot, Grad-Cos, EK-FAC, LoGra, LoGra-Dot, TRAK (k=4,000 and 126,976), Layerwise TRAK, TrackStar, TracIn, TracIn-Cos, Layerwise TracIn, SOURCE, BM25, RepSim (Section 3).
    • Metrics: Recall@N, AUC, decoy AUC; FTRACE-TREX uses the drop in top-1 accuracy (paired against a no-removal control, 8 retraining seeds).
    • Evaluation method: no LLM judge; query answers are single tokens, judged by logit; data generation and validation use Claude Sonnet 4.5 (Appendix B).
    • Sample size: with |F| = 50, 200 attribution queries per task; training-dynamics methods use only 2 seeds, BM25 uses 1 (Appendices C, D).

    Main results

    Under document-level scoring (each method's original loss), the mean Recall@N on the main CATT slice (|F| = 50), and the mean after negative log-odds top-10 scoring (from Tables 10–12):

    Swipe horizontally to read the table

    MethodFB document-levelFB top-10+distractors document-level+distractors top-10RR document-levelRR top-10
    Grad-Dot0.071.000.000.990.040.31
    EK-FAC0.591.000.061.000.190.55
    TRAK (k=126,976)0.760.790.000.400.100.11
    Layerwise TRAK0.620.870.000.670.070.06
    TrackStar0.140.960.030.130.070.32
    Layerwise TracIn0.141.000.040.990.060.32
    BM251.00–0.96–1.00–
    RepSim0.10–0.00–0.14–
    • The authors state that increased redundancy degrades gradient methods: on Function Bindings, TRAK drops from about 0.9 at N=1 to 0.07 at N=50, and EK-FAC from 0.70 to 0.45; distractors drive TRAK close to 0 (Figure 3, Table 10).
    • The authors state that the combined fix improves the six methods with per-token terms by an average of 35 (TrackStar) to 72 (Grad-Dot) percentage points (averaged over the three tasks, N, and |F|, Appendix D.1).
    • Exception: TrackStar on the distractor task scores lower at top-10 (0.13) than its full-document mean (0.18), which the authors conjecture is related to its built-in document weighting but did not verify; on Rule Routings no method exceeds 0.55, while BM25 is 1.00 (Tables 11–12, Appendix D.3).

    Dilution phenomenon and token analysis

    • What was measured: the document score distribution of Grad-Dot on Function Bindings with distractors (N=50, |F|=50) (Figure 4).
    • Results: with cross-entropy and all tokens, the ground-truth and other document distributions overlap (Recall@N 0.01); using only top-10 gives 0.30, changing only to negative log-odds gives 0.35, and combining both separates them completely (1.00).
    • Authors' interpretation: evidence is concentrated in a few tokens; Figure 5 shows that cross-entropy assigns high scores to irrelevant object names (document rank 1499/1500), while negative log-odds shifts high scores to the outcome token that determines the answer (rank rises to 12); Appendix D.4 reports that under negative log-odds the answer token is enriched 5.1–11× in top-10 positions (Function Bindings).

    FTRACE-TREX generalization

    • What was measured: after removing each method's top-ranked training documents and retraining mT5-small, the drop in top-1 accuracy on 50 facts (Table 16, Figure 7).
    • Results: at the largest budget B=11,522, negative log-odds raises TRAK's drop from 8% to 40% (4.9×), EK-FAC from 30% to 44% (46% with top-10), and Grad-Dot from 7% to 22% (23% with top-10); top-10 selection is largely neutral here (EK-FAC +2 to +4 points, Grad-Dot −6 to +3 points).
    • Authors' interpretation: the loss correction can extract causal evidence across datasets; top-token aggregation may depend on the breadth of the within-document score distribution. Incidental finding: removing all annotated proponents lowers accuracy by only 9 points, and larger drops are accompanied by 8–15 points of forgetting on other facts with the same relation (Table 16).

    Other ablations and analyses

    • k sweep: gains are large at small budgets and gradually fall back to the full-document baseline as k increases; the optimal k is larger on Rule Routings (Figure 6).
    • Scoring variants: full-document averaging favors short documents and fails on the distractor task; Q weighting drives all methods below 0.02 on the distractor task (Table 14).
    • Number of facts |F|: success and failure patterns are consistent across |F| ∈ {25,50,100}, and recall varies less with |F| than with N or distractors; EK-FAC document-level recall drops from 0.67 at |F|=50 to 0.22 at |F|=100 (Table 15).
    • Fine-tuning side effects: fine-tuning lowers MMLU-Pro from 49.5% to 19.7%–33.9% (Table 6); with N=1 plus distractors, retained perplexity is 187.8× that of the base model (Table 5).
  5. What are some points that can be further explored?

    The authors list four limitations—single token, single task, the top-k hyperparameter, and lexical shortcuts—and propose extending attribution to multi-step reasoning as a future direction.

    Limitations and future directions noted by the authors

    • Single-token prediction: the framework only evaluates single-token prediction, missing sequence-level dependencies in long multi-token rollouts (Section 5).
    • Single-task fine-tuning: learning is isolated via single-task fine-tuning; attribution under multi-task learning is not explored (Section 5).
    • top-k introduces a new hyperparameter: real-world settings lack a ground-truth validation signal, and the authors state that dynamic thresholds are needed (Section 5).
    • Lexical shortcuts: simple lexical baselines such as BM25 perform strongly on CATT, and the authors state that future datasets where lexical overlap is unreliable are needed (Section 5).
    • Future direction: the authors state that the framework can be extended to attribution for multi-step reasoning, where factual support is spread across multiple concepts rather than concentrated in a single document (Section 5).

    Scope of experiments

    • The models tested are Qwen3.5-4B (CATT, LoRA fine-tuning) and mT5-small (FTRACE-TREX), 2 in total (Section 2.2, Appendix E).
    • The attribution methods evaluated cover five groups totaling 16 variants, with BM25 and RepSim as retrieval references (Section 3, Table 7).
    • The CATT grid is |F| ∈ {25, 50, 100} × N up to 50 × 3 data-order seeds; the main experimental slice uses |F| = 50 with 200 queries per task (Appendix B, Table 4).
    • Training-dynamics methods (TracIn, SOURCE) have trajectories on only 2 seeds; BM25 does not read the model and uses 1 seed (Appendices B.3, D).
    • The FTRACE-TREX evaluation uses 50 facts, 3 removal budgets, and 8 retraining seeds; TRAK in this setting uses a single model rather than the original source's 10-model ensemble (Appendix E).
  6. Summarize the main content of the paper

    CATT provides a controlled attribution evaluation and diagnoses token dilution; negative log-odds plus top-k aggregation improves attribution on both synthetic and external benchmarks.

    An evaluation and diagnosis study of training data attribution for language models; the core outputs are the controllable synthetic benchmark CATT and two fixes for attribution failures.

    • Problem to solve: Existing attribution evaluations each change multiple dataset properties at once, their conclusions conflict, and it is impossible to locate why an algorithm fails; direct retraining verification is also too costly.
    • Method highlights: Fine-tune Qwen3.5-4B with LoRA on fictional facts so that the ground truth is unambiguous; change only one variable at a time—document redundancy, lexical distraction, or the number of facts; diagnosis finds that causal evidence is concentrated in a few tokens, and standard methods average over the whole document and dilute the signal; the fix is to replace the cross-entropy gradient with the negative log-odds gradient and aggregate only the top-k token scores.
    • Main results: Redundancy and distraction consistently degrade attribution performance, and on the distraction task TRAK's document-level Recall@N drops to 0.00; the combined fix improves the average recall of six methods by 35–72 percentage points, and Grad-Dot, EK-FAC, and Layerwise TracIn reach 0.99–1.00 on Function Bindings (with distraction); Rule Routings remains difficult, with the highest, EK-FAC, at 0.55, and BM25 at 1.00.
    • External generalization: In FTRACE-TREX removal retraining, negative log-odds raises TRAK's accuracy drop from 8% to 40% (4.9×), and EK-FAC and Grad-Dot improve similarly; top-10 aggregation is essentially neutral here.
    • Authors' conclusions and implications: The authors argue that document-level aggregate scores may be fundamentally unreliable when evidence is highly localized, and that existing attribution methods should be used with caution in real scenarios; controlled evaluation is necessary to establish method reliability. Limitations include single-token prediction, single-task fine-tuning, and the top-k hyperparameter.
Read originalarxiv.org