WildTrace: Evaluating Training Data Detection in Realistic Large-Scale LLM Post-Training

Hengxiang Zhang, Junxian Liu, Hongxin WeiarXiv 2026

TL;DR

WildTrace is a new, rigorous benchmark that reveals a sobering reality: current methods for detecting training data in large language models (LLMs) fail almost completely at production scales. By building a multi-stage post-training pipeline (SFT, DPO, and RL) from scratch, the authors show that as training data scales up, detection performance plummets to near-random levels, with the best methods achieving an average AUC of just 0.529.

What Problem Does This Paper Address?

As LLMs become central to technology, two major legal and ethical headaches have emerged: benchmark contamination (models "cheating" by seeing test questions during training) and copyright infringement. To solve these, researchers use "training data detection" (or membership inference) to audit models.

However, existing evaluation methods are flawed. Many rely on "post-hoc" benchmarks—comparing data published before a model's cutoff date to data published after. This introduces "distribution shifts" (e.g., changes in writing style or topics over time) that allow detectors to succeed by spotting these artifacts rather than actual model memorization. Other studies use "controlled" setups that are too small (e.g., training for many epochs on tiny datasets), which overestimates how much a model actually memorizes.

The authors argue we need a benchmark that reflects realistic, large-scale post-training—where models see millions of diverse examples for only one or two epochs.

Methods

The authors created WildTrace, a benchmark built on the fully open Olmo-3-7B model. They executed a complete, large-scale post-training pipeline:

  1. Supervised Fine-Tuning (SFT): 2.15M examples.
  2. Direct Preference Optimization (DPO): 260K preference pairs.
  3. Reinforcement Learning (RL): 170K prompts using Group Relative Policy Optimization (GRPO).

Crucially, they sampled "members" (used in training) and "non-members" (held out) from the exact same underlying distributions to eliminate "cheating" via distribution shift. They then evaluated two classes of detectors:

  • Input-based methods: These look at the likelihood of the input tokens (e.g., Perplexity, Min-K%, Min-K%++).
  • Output-based methods: These look at tokens the model generates in response to a prompt (e.g., Min-kNN, Self-Critique).

Datasets

  • Olmo-3-1025-7B: The base model used for all experiments.
  • Dolci-Instruct: The primary source for SFT, DPO, and RL data.
  • WildTrace-SFT/DPO/RL: The new evaluation sets, each containing 2,000 examples across four tasks: Mathematics, Coding, Instruction Following (IF), and General QA.

Key Insights and Ideas

  • The Scaling Trap: Detection is a "small-data" phenomenon. In small-scale experiments (10k samples), detectors look great. But as the training set grows to 200k+ samples, the "signal" of any individual example is diluted, and detection performance collapses.
  • Distribution Shift is a Mirage: The paper proves that many "successful" detectors in previous literature were likely just detecting that the member and non-member sets came from slightly different distributions. When the authors compared two sets of non-members from different domains (e.g., Code vs. QA), detectors achieved AUCs as high as 0.91—detecting domain differences, not membership.
  • SFT is "Loudest": Data used in the SFT stage is slightly easier to detect than DPO or RL data. This is likely because SFT explicitly maximizes the likelihood of specific target responses, leaving a stronger "memorization footprint" than preference-based or reward-based objectives.

Key Results

The results are a wake-up call for the field. On the realistic WildTrace benchmark, even the most advanced methods barely beat a coin flip.

  • Near-Random Performance: Across all tasks and stages, the average AUC was only 0.529 (where 0.5 is random guessing).
  • Blind Baselines: To prove the benchmark was "clean," the authors showed that simple text classifiers (like Random Forests) couldn't distinguish members from non-members, confirming no accidental distribution shifts were present.
Figure 1: Blind baselines show near-random performance, validating the rigor of the benchmark construction.
  • The Impact of Scale: Figure 2 shows the dramatic drop in performance as the training set size increases. By the time you reach 100k samples—still small by modern standards—the True Positive Rate (TPR) at a 5% False Positive Rate falls below 0.1.
Figure 2: Detection performance (AUC and TPR) degrades sharply as the training data scale increases.

Limitations and Future Work

The authors acknowledge that WildTrace currently focuses on the Olmo-3 family. While Olmo is state-of-the-art for open models, results might vary slightly with different architectures. Furthermore, the benchmark covers standard SFT/DPO/RL pipelines but doesn't yet include emerging techniques like on-policy distillation.

The primary takeaway is a call to action: the community needs to move beyond "toy" evaluations and develop detection methods that are robust enough to handle the massive, diverse datasets used in real-world LLM production.

Summary updated

BibTeX
@misc{zhang2026wildtrace,
  author = {Hengxiang Zhang and Junxian Liu and Hongxin Wei},
  title = {{WildTrace: Evaluating Training Data Detection in Realistic Large-Scale LLM Post-Training}},
  year = {2026},
  eprint = {2610.16152},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.16152},
}
Figure