TL;DR
DATE-LM is an open, modular evaluation benchmark and public leaderboard designed to systematically assess data attribution methods on large language models (LLMs). Across three real-world downstream applications—training data selection, toxicity/bias filtering, and factual attribution—the authors show that expensive gradient attribution techniques often do not outperform lightweight baselines and are exceptionally sensitive to benchmark design choices.
What Problem Does This Paper Address?
Data attribution methods quantify which training examples influence a model's outputs. In LLMs, this capability could theoretically solve critical problems: curating high-value datasets, unlearning toxic inputs, tracing factual hallucinations, and pricing data.
However, evaluating data attribution in LLMs remains broken:
- Leave-one-out (LOO) retraining is computationally infeasible at modern scales, and proxy datamodels do not directly measure downstream utility.
- Prior task-based benchmarks suffered from confounding artifacts. For example, factual attribution benchmarks relied heavily on surface lexical overlap, allowing simple BM25 keyword matching to outperform sophisticated attribution methods.
- Reproducibility is poor, with evaluations rarely standardizing tokenization, model checkpoints, sampling heuristics, or non-attribution baselines.
Methods
DATE-LM standardizes evaluation into a clean, 3-stage pipeline:
- Attribution Scoring: Compute influence scores $S \in \mathbb{R}^N$ between candidate training set $D$ and reference set $D_{\text{ref}}$ using a chosen model checkpoint $\theta$.
- Subset Selection: Select top-$k$ samples or probabilistically sample via Gumbel-top-$k$ (tuning temperature uniformly across methods to isolate scoring function quality from diversity heuristics).
- Task Evaluation: Directly evaluate the selected subset $D_s$ via ranking metrics (e.g., AUPRC, Recall@50, MRR) or downstream retrained model performance.
The suite evaluates classic and modern attribution algorithms (Grad-Dot, Grad-Sim, LESS, DataInf, EKFAC, MATES) against competitive non-attribution baselines (BM25, Rep-Sim, RDS+, and specialized classifier models).
To cut pre-training evaluation costs from scratch, DATE-LM employs a short Warmup-Stable-Decay (WSD) decay stage of 200 steps (100k tokens), capturing dynamic model preferences across both early (10k steps) and mid-training (30k steps) checkpoints.
Datasets
- Pre-training Data Selection: Evaluated on FineWeb (1M candidate pool; 100k selected) with LAMBADA or FLAN as reference sets, evaluated over 7 reasoning/QA tasks (SciQ, ARC-E, ARC-C, BoolQ, HellaSwag, PIQA, OBQA).
- Instruction Fine-tuning Selection: A 200k subset of Tulu 3 unfiltered, selecting data targeting MMLU, GSM8K, or BBH.
- Toxicity/Bias Filtering: 10,000 benign prompts from UltraChat injected with small subsets (<100 examples) from ToxicChat, XSTest-response, or JailbreakBench. DATE-LM introduces a Heterogeneous Filtering setting that includes safety-aligned refusal examples to act as hard distractors.
- Factual Knowledge Tracing: Built upon ROME. DATE-LM injects counterfactual corrupted entity pairs (e.g., swapping "Microsoft" with "Google" or "Italy" with "Canada") alongside 3,000 irrelevant facts to break lexical-overlap shortcuts found in prior benchmarks like FTRACE.
Key Insights and Ideas
- Simpler baselines punch above their weight: For both pre-training and instruction fine-tuning, lightweight semantic classifiers (like FineWeb’s EDU classifier) and representation similarity (Rep-Sim) often match or outperform first-order and second-order gradient methods—at a fraction of the FLOPs.
- Cosine similarity > Inner products: Across factual tracing and toxicity detection, cosine similarity formulations (LESS, Grad-Sim, Rep-Sim) consistently outperform gradient dot products (Grad-Dot, DataInf, EKFAC), confirming that gradient magnitude instability harms attribution in LLMs.
- Attribution gets trapped by style: In homogeneous toxicity filtering, attribution methods effectively locate unsafe data. But when safe, refusal-style responses are introduced (heterogeneous setting), attribution methods mistakenly flag safe refusals due to stylistic similarity, while LLM safety classifiers (e.g., Wildguard, Llama-Guard-3) remain robust.
- Counterfactuals reveal true attribution power: When lexical shortcuts are removed in factual tracing, data attribution methods finally pull ahead of BM25 and Rep-Sim, demonstrating that they capture underlying causal mechanisms rather than simple token overlap.
Key Results
- Pre-training Selection (1B model at 30k steps): The non-attribution EDU classifier achieved the highest average 7-task accuracy (50.63% at 1.07× FLOPs), beating Grad-Sim (50.26% at 11× FLOPs) and random selection (49.83%).
- Toxicity Filtering: Under the realistic heterogeneous distractor setting on Pythia-1B, Wildguard achieved 0.817 AUPRC, whereas the top attribution method (LESS) dropped to 0.515 AUPRC (down from 0.704 in the homogeneous setting). However, retraining models after removing the top 30 flagged toxic items showed that LESS achieved superior downstream safety (e.g., 5.3% GPT Attack Success Rate on ToxicChat vs. 7.3% for Wildguard).
- Factual Attribution (Pythia-1B): On the unbiased counterfactual ROME benchmark, LESS and Grad-Sim achieved 0.500 and 0.493 Recall@50, handily beating BM25 (0.305). Retraining after removing the top 10 attributed examples per entity confirmed that attribution removed the root cause, dropping the model's counterfactual rate to 0.124 (LESS) compared to 0.179 (BM25).
Limitations and Future Work
- Model Scalability: Second-order Hessian methods (EKFAC, DataInf) could not scale to 8B models due to memory/computation bottlenecks, limiting the primary 8B evaluation to first-order and representation baselines.
- Scope of Tasks: The benchmark centers on three core applications, leaving out other promising use cases such as cooperative game-theoretic data pricing (e.g., Data Shapley) and machine unlearning.
- Missing Baseline Techniques: Influential ensemble methods like TRAK were not included in this initial release, though the authors' public leaderboard interface allows researchers to submit new methods via automated GitHub pull requests.
Summary updated