Train-before-Test Harmonizes Language Model Rankings

Guanhua Zhang, Ricardo Dominguez-Olmedo, Moritz Hardt · DOI

Introduction

Current language model benchmarks often produce contradictory rankings, making it difficult to determine which model is truly superior. A model might excel on one math benchmark but underperform on a nearly identical one. This inconsistency suggests that "direct evaluation"—testing models out-of-the-box—is heavily confounded by how well a model was "prepared" for a specific task during its proprietary pre-training. This lack of external validity means a model's leaderboard rank rarely predicts its performance after a user fine-tunes it for a specific application.

The Train-before-Test Methodology

To address this, researchers propose train-before-test: a methodology that measures "model potential" rather than immediate performance. Instead of zero-shot or few-shot prompting, every model is fine-tuned on a benchmark’s training set before evaluation.

The study evaluated 61 models (including Llama, Qwen, Gemma, and Pythia families) across 24 benchmarks covering language understanding, reasoning, and specialized fields like medicine. The process involved:

  1. Standardized Fine-tuning: All models received identical task-specific preparation using Parameter-Efficient Fine-Tuning (LoRA).
  2. Hyperparameter Optimization: A grid search over learning rates ensured fair preparation for each model-benchmark pair.
  3. Validation-Based Selection: The best checkpoint was selected based on a separate validation set before the final test.

By providing every model with the same "study guide" (training data) before the "exam" (test set), the researchers leveled the playing field to reveal inherent learning capabilities.

Key Results: Stability and Consistency

The most striking result of train-before-test is the dramatic increase in ranking agreement across different benchmarks. Under direct evaluation, the average agreement (measured by Kendall’s tau) was a noisy 0.52. After applying train-before-test, this jumped to 0.76, indicating that model rankings become remarkably consistent once task-specific familiarity is controlled.

Mean Kendall tau across 24 benchmarks comparing direct evaluation to the train-before-test methodology.

This consistency extends across different task categories. As shown in the cross-category heatmaps, the correlation between performance in disparate fields like Math and Language Understanding (LU) strengthens significantly when models are allowed to learn the task format first.

Heatmaps showing the Kendall correlation between different task categories under direct evaluation (a) and train-before-test (b).

The "Rank-One" Nature of LLMs

Using Principal Component Analysis (PCA), the authors found that after train-before-test, a single latent factor explains 86% of the variance in model scores across all benchmarks. This suggests that "model potential" is a singular, fundamental trait—likely tied directly to pre-training compute—rather than a collection of fragmented, task-specific skills.

Furthermore, this methodology restores the link between perplexity and performance. While raw language modeling (perplexity) often fails to correlate with zero-shot benchmark scores, it becomes an excellent predictor (Kendall’s tau of 0.78) of post-fine-tuning performance for base models. The perceived "disconnect" between perplexity and utility was largely an artifact of inconsistent task preparation.

Conclusion and Future Directions

Train-before-test provides a more robust signal for model selection, offering practitioners "regret-free" choices for downstream applications. While the computational cost of fine-tuning dozens of models is higher than direct evaluation, the resulting rankings are far more reliable. The authors suggest that future benchmark creators should include training sets as a standard feature to support this more rigorous evaluation style, moving the industry toward measuring true model potential.

Summary updated

BibTeX
@inproceedings{zhang2026train,
  author = {Guanhua Zhang and Ricardo Dominguez-Olmedo and Moritz Hardt},
  title = {{Train-before-Test Harmonizes Language Model Rankings}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=ORv3SAzus1},
}
Figure