Skip to content

DATE-LM: A data attribution evaluation benchmark for large language modelsDATE-LM: Benchmarking Data Attribution Evaluation for Large Language Models

arXiv· arXiv:2507.09424· NeurIPS 2025· Cathy Jiao, Yijun Pan, Emily Xiao, Daisy Sheng, Niket Jain, Hanzhang Zhao, Ishita Dasgupta, Jiaqi W. Ma, Chenyan XiongCarnegie Mellon University; University of Michigan; UIUCIndexed by this site · 2026-10-15· Originally publishedEvaluation

Quick read

Evaluation and benchmarks

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

DATE-LM evaluates attribution methods via data selection, toxicity filtering, and fact attribution; the authors state that no method dominates across all tasks.

Questions
Data attribution aims to quantify the influence of training samples on LLM behavior, but there is a lack of reproducible, application-oriented unified evaluation on LLMs. The authors argue that LOO retraining is expensive, and application evaluation is easily entangled with designs such as sampling and templates.
Methods
DATE-LM splits evaluation into attribution scoring, subset selection, and task evaluation, and provides checkpoints. Tasks include pretraining and finetuning data selection, homogeneous/heterogeneous toxicity filtering, and counterfactual fact attribution that breaks surface-form overlap.
Experiments and results
In pretraining, non-attribution baselines such as EDU can outperform Grad-Sim. In heterogeneous toxicity filtering, attribution AUPRC declines while classifiers change less. In counterfactual factual attribution, some similarity methods have retrieval and retraining metrics above BM25. The authors say no method dominates across all tasks.
Limitations and future work
In G.1, the authors state that the evaluation is limited to 8B, and give data pricing and TRAK as examples awaiting inclusion. Experimental models are Pythia-1B, Llama3.2-1B, Llama3.1-8B; the 8B row does not report DataInf or EKFAC, nor whether GPT judgment and human judgment agree.
Experimental setupPythia-1B、Llama3.2-1B et al. · Fineweb、LAMBADA et al. · Avg、FLOPS et al.
Evaluated models
Pythia-1BLlama3.2-1BLlama3.1-8B
Benchmarks
FinewebLAMBADAFLANSciQARC-EARC-COBQABoolQHellaSwagPIQATulu 3MMLUGSM8KBBHUltraChatToxicChatXSTest-responseJailbreakBenchROMEFTRACE
Metrics
AvgFLOPSAUPRCGPT ScoreGPT ASRRecall@50MRRcounterfactual rate
AI summaryThe researchers propose DATE-LM, a unified benchmark that evaluates data attribution methods through real large language model applications. The benchmark measures attribution quality using three tasks—training data selection, toxicity/bias filtering, and factual attribution—and supports researchers in running large-scale evaluations across tasks and different LLM architecture configurations. The authors use it to evaluate existing data attribution methods at scale and find that no single method dominates across all tasks, that there are trade-offs between data attribution methods and simpler baselines, and that method performance is sensitive to task-specific evaluation design. The team also releases a public leaderboard for quickly comparing methods and fostering community participation.

The researchers propose DATE-LM, a unified benchmark that evaluates data attribution methods through real large language model applications. The benchmark measures attribution quality using three tasks—training data selection, toxicity/bias filtering, and factual attribution—and supports researchers in running large-scale evaluations across tasks and different LLM architecture configurations. The authors use it to evaluate existing data attribution methods at scale and find that no single method dominates across all tasks, that there are trade-offs between data attribution methods and simpler baselines, and that method performance is sensitive to task-specific evaluation design. The team also releases a public leaderboard for quickly comparing methods and fostering community participation.

Related events and news

0 events · 1 news mentions

News that mentions this paper

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The authors propose DATE-LM, which uses three LLM applications to uniformly evaluate the downstream utility of data attribution.

    How to fairly and reproducibly evaluate the downstream utility of data attribution methods in LLM scenarios.

    • Scenario: The authors argue that training data quality is critical to LLM development and deployment. Data attribution scores the influence of individual training samples on model outputs, with uses including corpus filtering, toxicity or bias mitigation, and data valuation and pricing.
    • Difficulties with existing evaluation: The authors note that the LLM training stack is complex, and implementation differences can cause result variability, while retraining-based evaluation requires repeated training. The authors argue that LOO and its approximation LDS still require substantial retraining, are not scalable further, and cannot measure specific downstream utility.
    • Design gap: The authors argue that each application requires customized experiments, and attribution performance is often entangled with diversity sampling or prompt templates; existing literature may also overlook simple non-attribution baselines.
    • What this paper does: Proposes DATE-LM, which uses a unified pipeline to evaluate pretraining and fine-tuning data selection, toxicity/bias filtering, and factual attribution, and provides checkpoints and a public leaderboard.
  2. What related research exists?

    The authors group by evaluation protocol, data selection, toxicity detection, and fact tracing, and point out deviations between design and surface form.

    Appendix A and Section 2 divide related work into evaluation protocols, data selection, toxicity detection, and fact tracing.

    Evaluation protocols

    • LOO and LDS: Retrain after removing training samples, or approximate that correlation with linear data model scores. The main text labels LDS as [54], and Appendix A also cites [34]. The authors argue that even approximations require hundreds of retrainings and are insufficient for measuring downstream utility.
    • Task-based evaluation: Quanda [3] and dattri [18] evaluate attribution by downstream tasks, e.g., noisy label detection and counterfactual evaluation. The paper only describes these, without item-by-item criticism.

    Training data selection

    • Heuristics and retrieval: Deduplication, vocabulary filtering [44], and quality or semantic scoring such as BM25 [62] and Qurating [69].
    • Attribution-based selection: Pretraining-side includes MATES [75], [79], and [21]; post-training-side includes gradient tracing [57], LESS [70], and DataInf [41]; stepwise online selection [66] is finer-grained. The authors note that some works apply clustering, Gumbel top-k, or multi-armed bandits only to their proposed method, without equally applying them to baselines.

    Toxicity detection and fact tracing

    • Toxicity/bias: Online moderation APIs [47], and classifiers such as ShieldGemma, Wildguard, AEGIS, Llama Guard [78, 29, 22, 35]. GradSafe [72] and Pan et al. [52] use attribution for detection; the authors add heterogeneous filtering to the latter's setting.
    • Fact tracing: BM25, Rep-Sim, and Gecko [43] rely on surface-form or semantic retrieval; Chang et al. [7] do pretraining tracing, and TRAK [54] and Akyürek et al. [2] do post-training tracing. The authors argue that earlier settings such as FTRACE [1, 7] are biased toward surface-form overlap.

    Baselines and benchmarks

    • Baseline methods: Rep-Sim, BM25, EDU, RDS+, and GradSafe, OpenAI Moderation, Llama-Guard-3-8B, Wildguard, ShieldGemma-2b, AEGIS-Defensive. Attribution methods in the comparison are Grad-Dot, Grad-Sim, MATES, LESS, EKFAC, DataInf.
    • Benchmarks/datasets: Pretraining uses Fineweb, LAMBADA, FLAN, and seven capability tasks; finetuning uses Tulu 3, MMLU, GSM8K, BBH; toxicity uses UltraChat, ToxicChat, XSTest-response, JailbreakBench; facts use a ROME subset, with FTRACE additionally reported in the appendix.

    The authors position DATE-LM as a unified, LLM-application-oriented evaluation: reducing the design cost of each doing its own thing, easing the retraining burden with checkpoints, and putting non-attribution baselines into the same pipeline.

  3. How does the paper address this problem?

    DATE-LM uses a three-stage pipeline of scoring, subset selection, and task execution, covering selection, filtering, and factual attribution.

    DATE-LM does not train new attribution methods; instead, it connects any scoring function to the same set of application evaluations.

    Problem Setting and Pipeline

    • The paper formulates attribution as a function from training set D, reference set Dref, and parameters θ to a score for each training sample, i.e., τ : D × Dref × Θ → ℝN, where the score measures the influence of training samples relative to the reference set.
    • The three steps are attribution scoring, subset selection, and task evaluation. New methods only need to submit scores; the subsequent steps are independent of the specific method.
    • Subset selection uses top-k, or top-k after injecting Gumbel noise; which one is determined by the task. Then either compute retrieval-type metrics directly on the subset, or train on the subset and evaluate.
    • The authors provide checkpoints and training scripts. The leaderboard can be sorted by task, method, model scale, and dataset.

    Training Data Selection

    • Pretraining: D is 1 million random samples from Fineweb, each 2048 tokens, selecting 10% i.e., 100,000. Table 2's Dref is LAMBADA; Figure 2 also uses FLAN. Selection uniformly uses Gumbel-top-k with temperatures 0.1, 0.5, 1.0, 2.0, to separate the scoring function from diversity sampling.
    • Instead of full pretraining, they do 200 steps of decay from the authors' self-trained Pythia-1B checkpoint on Fineweb, with WSD scheduler and batch size 512. Checkpoints are taken at 10k and 30k steps. Evaluate SciQ, ARC-E, ARC-C, OBQA, BoolQ, HellaSwag, PIQA, and report estimated FLOPS.
    • Fine-tuning: D is 200,000 random samples from unfiltered Tulu 3, top-k selecting 5% i.e., 10,000. Dref draws 8 or 100 samples from MMLU, GSM8K, or BBH. Appendix C.2 trains Llama3.1-8B for 2 epochs, LoRA rank 128, max learning rate 2e-5, batch size 128. Gradient-based methods use warmup checkpoints following LESS. Table 3 header says Llama3 8B.

    Toxicity/Bias Filtering

    • The benign portion is 10,000 UltraChat samples; the unsafe portion is under 100: ToxicChat 97, XSTest-response 66, JailbreakBench 70. Dref is held-out prompt-label pairs, with counts 30, 10, 30; the authors do not use model-generated responses as targets.
    • Scores are first averaged over the reference set, then top-k selects the samples deemed most unsafe, with AUPRC as the metric.
    • Homogeneous contains only benign and unsafe data. Heterogeneous adds alignment samples whose style resembles unsafe but whose responses are safe refusals, with counts 66, 121, 100. The authors say this is closer to how developers mix in safety data, and detection should not mistakenly remove these samples. Appendix D.5 gives examples.
    • The filtering experiment's fine-tuning is 5 epochs, learning rate 1e-5, LoRA rank 8; batch size 4 for 1B and 1 for 8B.

    Factual Attribution

    • Both D and Dref are taken from the ROME subset. First randomly sample 20 entities, with 10% of related samples as validation and 90% as training; 50% of each entity's training samples are consistently changed to another entity, plus 3,000 unrelated facts, giving a training set of 5,473 samples.
    • The authors use entity replacement to break surface overlap between supporting evidence and reference sentences, preventing retrieval baselines from relying only on surface matching. Appendix E.2 lists entity pairs and does not expand the QA text here.
    • After top-k, report Recall@50 and MRR without aggregating over the reference dimension. Counterfactual answers use lowercase exact matching and must hit the wrong entity written during training. Dref is validation samples where that behavior appears in all 5 inferences.
    • For retraining, remove the top 10 training samples per entity according to each method, then train on the remaining data and measure the counterfactual rate on the reference set.

    Choices Stated in the Implementation

    • EKFAC damping is 1e-7, DataInf damping is 1e-5, both after hyperparameter search. Appendix B says both do not scale to 8B under this paper's settings due to memory and compute.
    • LESS uses 8192-dimensional gradient projection for factuality and toxicity tasks; no low-rank projection for selection tasks. Both Grad-Sim and LESS use only one checkpoint, which the authors say is for comparable compute.
    • MATES trains a BERT surrogate model and approximates data influence by the change in reference-set loss after a single-step update.
  4. What experiments did the paper conduct?

    The authors state that no method dominates across all tasks; non-attribution baselines are sometimes higher, and results vary with evaluation design.

    Experimental Setup

    • Models: For pretraining, the authors use Pythia-1B self-trained on Fineweb. Toxicity and factuality tables use Pythia-1b, Llama3.2-1B, Llama3.1-8B; the paper does not state whether the Pythia-1b used for toxicity/factuality is that self-trained checkpoint. Fine-tuning Appendix C.2 says Llama3.1-8B, while Table 3 header says Llama3 8B with LoRA.
    • Methods: Table 1 lists Rep-Sim, BM25, Grad-Dot, Grad-Sim, MATES, LESS, EKFAC, DataInf. Pretraining also has EDU, fine-tuning also has RDS+. Toxicity baselines also include GradSafe, OpenAI Moderation, Llama-Guard-3-8B, Wildguard, ShieldGemma-2b, AEGIS-Defensive. DataInf and EKFAC are not reported on 8B.
    • Data: Pretraining pool is 1 million samples, selecting 100,000; fine-tuning pool is 200,000, selecting 10,000. Toxicity benign samples are 10,000, unsafe samples are 97/66/70, heterogeneous alignment samples are 66/121/100. Factuality training set is 5,473 samples with 20 entities. Appendix FTRACE training set is 6,708, validation set 285.
    • Metrics: Pretraining uses seven-task accuracy, Avg, and relative FLOPS; fine-tuning uses target task scores; toxicity uses AUPRC, and after retraining uses GPT Score and GPT ASR; factuality uses Recall@50, MRR, and after retraining uses counterfactual rate or factual rate.
    • Judgment: Toxicity safety scores are rated 1 to 5 by GPT4o (2024-11-20), and ASR is the proportion rated 5. Factuality and counterfactuals use lowercase exact matching. Post-retraining safety scores and counterfactual rates are averaged over 5 inferences.
    • Replication: Fine-tuning reports 3 random selections. Table 8 note says that when changing the training seed, pretraining average accuracy varies within 0.1. The paper does not report a uniform number of replicates for each main table cell, nor significance tests.

    Main Results

    The table below covers only pretraining data selection. Conditions are Pythia-1B, reference set LAMBADA, and the best-performing Gumbel temperature for each method; FLOPS is relative to Random as 1×. From Table 2.

    Swipe horizontally to read the table

    Method10k Avg30k AvgFLOPS
    Random46.7349.831×
    BM2547.4950.261×
    Grad Sim47.5650.2611×
    Rep-Sim47.5450.234.3×
    MATES47.7650.131.13×
    EDU47.7350.631.07×
    • The authors say all methods outperform random, and simple baselines can beat Grad-Sim; they also say EDU is among the best-performing class at both stages. In the 30k row, EDU's Avg is the highest in the table, and MATES is below BM25 and Grad Sim.
    • The authors say MATES is more compute-efficient than Grad-Sim and argue that model-aware methods may be more beneficial than static methods in longer training.
    • The authors say in Figure 2 all methods are sensitive to Gumbel temperature, and too high or too low can be above or below random; 10k prefers higher temperatures more than 30k. The figure's temperatures are 0.1, 0.5, 1.0, 2.0, and the main text gives no point-by-point values.

    Fine-tuning Data Selection

    • Table 3 compares on Llama3 8B, LoRA, single-task instruction fine-tuning. Random Avg is MMLU 60.2, GSM8K 59.6, BBH 65.6. RDS+ is 62.4, 59.6, 66.9, with FLOPs 6×. Grad Sim is 58.4, 57.8, 65.5, and LESS is 60.0, 59.5, 64.2, both with FLOPs 11×.
    • On GSM8K, BM25 is 60.2, higher than LESS's 59.5 and Grad Sim's 57.8; on BBH, BM25 is 62.5, below Random Avg's 65.6. The authors say method ranking varies with target task, and Rep-Sim and RDS+ can outperform more compute-heavy gradient similarity.
    • The negative cell is Grad Sim's MMLU and GSM8K both below Random Avg. The paper does not otherwise explain this cell.

    Toxicity and Bias Filtering

    • Evaluates homogeneous/heterogeneous AUPRC (Tables 4, 11, 12), and GPT Score/ASR after retraining with top-30 removed (Table 5, averaged over 5 inferences). In Table 10, Llama3.1-8B on ToxicChat has GPT ASR of 40.7 with unsafe data added, and 32.0 when trained only on benign data.
    • On homogeneous JailbreakBench, Pythia-1b and Llama-3.2-1B have AUPRC of 1.000 for several attribution methods, higher than Wildguard's 0.989 in the same table; on Llama3.1-8B, LESS is 0.767 and Grad Sim is 0.820, below Wildguard's 0.989 (Table 11). Across dataset averages, Wildguard is 0.827 homogeneous and 0.817 heterogeneous; Pythia-1b's LESS drops from 0.704 to 0.515, and Llama3.1-8B's Rep-Sim from 0.989 to 0.585 (Table 4). The authors say classifiers are largely unaffected by the heterogeneous setting, while attribution methods decline.
    • The authors say in Figure 3 attribution methods classify a substantial portion of safety-aligned samples as unsafe; the main text gives no proportion. In Table 5, the authors say LESS yields greater safety improvements in the homogeneous setting. ASR is often lower, but GPT Score is not lowest in every cell: on Pythia-1b, ToxicChat, GradSafe is 1.86 and LESS is 2.01.

    Factual Attribution

    • The authors say in Table 6 attribution consistently outperforms BM25 and Rep-Sim. A counterexample is Llama3.1-8B: Grad Dot's Recall@50 is 0.226, below BM25's 0.313 and Rep-Sim's 0.625; LESS is 0.491, also below Rep-Sim. On the same model, Grad Sim's Recall@50 is 0.626 and MRR is 0.970, while LESS's MRR is 0.991.
    • The authors say similarity-based methods outperform inner-product methods, consistent with the direction in toxicity experiments. On Llama3.2-1B, EKFAC's MRR is 0.881, the highest in that column.
    • Table 7 removes top 10 per entity and retrains, averaged over 5 runs. Grad Sim is 0.010 on Llama3.1-8B and 0.102 on Llama3.2-1B; on Pythia-1B, LESS is 0.124, the lowest in that column. An exception is Grad Dot on Llama3.2-1B at 0.241, higher than BM25's 0.222. The authors say data identified by attribution is more likely to correspond to counterfactual behavior.

    Other Ablations and Analyses

    • MATES-oracle, 30k steps, LAMBADA: Avg 50.36, FLOPS noted as much greater than 1× (Table 8).
    • Changing the training seed changes average accuracy within 0.1 (Table 8 note).
    • Attribution target changed to model responses: on Pythia-1b homogeneous, LESS's AUPRC on ToxicChat goes from 0.388 to 0.097; on XSTest, Grad Sim goes from 0.647 to 0.006 (Table 13).
    • On FTRACE, BM25's Recall@50 is 0.780, 0.858, 0.866, higher than attribution methods in the same table (Table 17).
    • After removing top 10 and retraining, LESS's factual rate is 0.367, 0.304, 0.293, below BM25 and Rep Sim in the same table (Table 18).
    • Llama3.1-8B trained with factual and counterfactual data has counterfactual proportion 0.436 and factual proportion 0.372; without factual samples, factual proportion is 0.855 and counterfactual 0.019 (Table 15). The authors suggest the 8B may already have acquired substantial factual knowledge during pretraining.
  5. What are some points that can be further explored?

    In Appendix G.1, the authors state that scale stops at 8B, tasks are not exhaustive, and TRAK is not included.

    Limitations and future directions noted by the authors

    • Model scale: The authors state that gradient-based methods' support for larger models is still developing, so the evaluation stops at 8B (Appendix G.1).
    • Task scope: The authors state that the framework currently covers three tasks, and more tasks remain possible; they give data pricing as a future direction close to practical use (Appendix G.1, citing [80]).
    • Methods not included: The authors state that attribution methods such as TRAK [54] were not included in this evaluation, and that users can add them themselves (Appendix G.1; Section 3 states that new methods only need to provide scores).

    Experimental coverage

    • Tasks include pretraining and finetuning data selection, homogeneous and heterogeneous toxicity/bias filtering, and counterfactual fact attribution; Appendix E.6 additionally reports the earlier FTRACE setting.
    • Model names in result tables are Pythia-1B/Pythia-1b, Llama3.2-1B, Llama3.1-8B; finetuning Table 3 header says Llama3 8B, Appendix C.2 says Llama3.1-8B. The 8B row has no DataInf or EKFAC numbers; Appendix B attributes this to memory and compute.
    • The reference set for pretraining Table 2 is LAMBADA; Figure 2 also uses FLAN, and the main text gives no per-task FLAN numbers. Gumbel temperature takes 0.1, 0.5, 1.0, 2.0.
    • Toxicity safety scores are judged by GPT4o(2024-11-20); retraining safety and counterfactual rate are both averaged over 5 inferences. The paper does not report agreement between this judge and human judgment.
    • Finetuning reports 3 random selections; Table 8 note gives that average accuracy changes within 0.1 when changing the seed. The paper does not report a unified number of repetitions for each cell in the main tables, nor statistical significance tests.
  6. Summarize the main content of the paper

    DATE-LM evaluates attribution using three application tasks; the authors say the method involves trade-offs and does not dominate across all tasks.

    DATE-LM uses a single pipeline to evaluate the downstream utility of data attribution in LLM applications.

    • Problem: The authors argue that retraining-based evaluation is expensive, and experiments across applications are inconsistent; attribution scores also easily get entangled with diversity sampling and prompt templates, and simple non-attribution baselines are often omitted.
    • Approach: First score, then select subsets by top-k or Gumbel-top-k, then either directly retrieve or evaluate after training. Tasks are pretraining and instruction finetuning data selection, homogeneous/heterogeneous toxicity filtering, and fact attribution that breaks surface-form overlap via entity replacement.
    • Pretraining: With a 1B model, 30k steps, and LAMBADA as reference, EDU's Avg is 50.63 and Grad Sim's is 50.26 (Table 2). The authors state that simple baselines can outperform more expensive gradient methods.
    • Finetuning and toxicity: In Llama3 8B finetuning, RDS+'s MMLU is 62.4 and Grad Sim's is 58.4, below Random Avg's 60.2 (Table 3). On homogeneous toxicity average AUPRC, Llama3.1-8B's Rep-Sim is 0.989; on the heterogeneous setting, Wildguard is 0.817 and Pythia-1b's LESS is 0.515 (Table 4).
    • Fact attribution: After removing the top 10 per entity, Grad Sim's counterfactual rate on Llama3.1-8B is 0.010 (Table 7). In Table 6, not every attribution method's Recall@50 is higher than Rep-Sim's.
    • Authors' conclusion: No method dominates across all tasks and settings; non-attribution baselines are sometimes sufficient, and users should choose methods according to use case and evaluation design. The authors hope DATE-LM becomes the basis for such comparisons.
Read originalNeurIPS 2025