Training on the Test Task Confounds Evaluation and Emergence

Ricardo Dominguez-Olmedo, Florian E. Dorner, Moritz Hardt

Abstract: We study a fundamental problem in the evaluation of large language models that we call training on the test task. Unlike wrongful practices like training on the test data, leakage, or data contamination, training on the test task is not a malpractice. Rather, the term describes a growing set of practices that utilize knowledge about evaluation tasks at training time. We demonstrate that training on the test task confounds both relative model evaluations and claims about emergent capabilities. We argue that the seeming superiority of one model family over another may be explained by a different degree of training on the test task. To this end, we propose an effective method to adjust for the effect of training on the test task on benchmark evaluations. Put simply, to fine-tune each model under comparison on the same task-relevant data prior to evaluation. We then show that instances of emergent behavior disappear gradually as models train on the test task. Our work promotes a new perspective on the evaluation of large language models, with broad implications for benchmarking and the study of emergent capabilities.

Introduction

Recent leaps in Large Language Model (LLM) performance have been widely celebrated as evidence of architectural breakthroughs or superior data curation. Simultaneously, the field has been captivated by the phenomenon of "emergent capabilities"—the observation that models suddenly acquire complex skills, such as mathematical reasoning or logic, only after crossing specific compute or parameter thresholds.

However, this paper identifies a critical confounding variable in these evaluations: Training on the Test Task (ToTT). Unlike data contamination, where a model inadvertently sees the specific questions in a test set, ToTT refers to the practice of optimizing models for the format and nature of evaluation benchmarks. This includes instruction-tuning on similar tasks, using specific Q&A templates, or selecting pretraining data that aligns with benchmark requirements. We argue that much of the perceived progress in LLM development is not an increase in core intelligence, but rather an improvement in "test-taking" ability.

Methodology: The Adjustment Method

To isolate the effects of ToTT, we propose a "fight fire with fire" approach to evaluation. If a model's superiority is merely a result of better task-specific preparation, then providing that same preparation to all models should level the playing field.

We evaluated 56 base models (ranging from 70M to 70B parameters) on two primary benchmarks: MMLU (Massive Multitask Language Understanding) and GSM8K (Grade School Math 8K). Our intervention involved fine-tuning every model—regardless of its release date or original training objective—on an identical, sufficient amount of task-relevant (but not test-set) data. For MMLU, we used ~100,000 auxiliary multiple-choice examples; for GSM8K, we used ~600,000 math reasoning examples from MetaMathQA and Orca-Math.

Results: Vanishing Gaps and Emergent Mirages

Our findings suggest that the performance gap between older and newer models is largely an artifact of ToTT. Before adjustment, newer models (trained after November 2023) significantly outperformed older models at the same compute scale. For instance, the raw performance difference was 7 points on MMLU and 19 points on GSM8K.

Figure 2: Performance gaps on MMLU and GSM8K vanish after adjusting for Training on the Test Task (ToTT).

As shown in the figure above, once the "adjustment" fine-tuning is applied, these statistical differences become non-significant. The orange regression lines (newer models) and blue lines (older models) converge, indicating that the core scaling laws remain consistent across model generations when task-specific preparation is equalized.

Furthermore, the "emergence" of capabilities appears to be a mirage created by evaluation formats. In raw evaluations, performance often looks like a flat line that suddenly spikes. However, after adjustment, these spikes smooth out into predictable, log-linear scaling. Small models that previously scored near-zero on math benchmarks were found to possess the underlying reasoning capabilities; they simply lacked the knowledge of the required output format. When evaluated using "cloze" (fill-in-the-blank) prompts rather than multiple-choice, the performance gap between old and new models was similarly negligible.

Implications and Limitations

These results suggest that current benchmarking practices may significantly overestimate the rate of progress in the field. The "area of improvement" on the Pareto frontier for recent models reduces by sixfold after adjusting for ToTT. Moreover, model rankings are fragile; many "top-tier" models lose their dominance once the playing field is leveled through standardized fine-tuning.

While the adjustment method provides a clearer picture of model capabilities, it is computationally expensive and requires significant task-relevant data. Furthermore, applying this method to proprietary, closed-API models remains a challenge as researchers cannot perform the necessary standardized fine-tuning.

Conclusion

To ensure fair and robust evaluation, the AI community must account for Training on the Test Task. We recommend moving toward "cloze" style evaluations for more stable scaling analysis or adopting standardized fine-tuning as a prerequisite for benchmark comparisons. By doing so, we can better distinguish between genuine architectural progress and the mere optimization of test-taking formats.

Summary updated

BibTeX
@inproceedings{dominguezolmedo2025training,
  author = {Ricardo Dominguez-Olmedo and Florian E. Dorner and Moritz Hardt},
  title = {{Training on the Test Task Confounds Evaluation and Emergence}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=jOmk0uS1hl},
}
Figure