Introduction
The rapid advancement of Large Language Models (LLMs) is driven by an iterative cycle of training and evaluation. However, the evaluation process during the critical pre-training phase is notoriously unstable. This "noise" often results in jagged performance curves and misleading results, making it difficult for researchers to determine if a specific architectural change or data strategy is genuinely beneficial.
This paper introduces MaP, a unified framework designed to stabilize pre-training evaluation. By synergistically combining Checkpoint Merging and the Pass@k metric, MaP provides a clearer, more reliable lens into the true learning dynamics of LLMs.
The Problem: Two Sources of Instability
The authors identify two primary factors that obscure model performance during pre-training:
- Parameter Instability: LLM training is inherently stochastic. A single checkpoint saved at a specific step might represent a transiently suboptimal state or a "sharp" local minimum. Consequently, evaluating a single point-in-time model can lead to high-frequency fluctuations in scores.
- Evaluation Instability: For generative tasks such as mathematics or coding, standard evaluation typically relies on a single "greedy" output. This approach is essentially a high-variance Bernoulli trial; a model might get "lucky" or "unlucky" on a specific problem set, causing its score to swing wildly regardless of its underlying capability.
As shown in the figure above, standard evaluation results in overlapping and erratic performance curves, making it nearly impossible to perform reliable ablation studies. Furthermore, this instability means that pre-training performance is often a poor predictor of how a model will perform after supervised fine-tuning (SFT).
The MaP Framework
To address these challenges, the MaP framework adopts a dual-pronged approach:
- Checkpoint Merging (M): Instead of evaluating a single checkpoint, MaP averages the weights of the $N$ most recent checkpoints. This process smooths the parameter space, effectively finding the "central tendency" of the training run and reducing parameter noise variance by a factor of $N$.
- Pass@k Metric (P): Rather than relying on a single greedy decode, the model generates multiple candidate solutions. The Pass@k metric calculates the probability that at least one of $k$ attempts is correct. This provides a robust, low-variance statistical estimate of the model's latent success probability.
The researchers demonstrate that these two techniques are complementary. While merging stabilizes the model's parameters, Pass@k reduces the measurement noise inherent in generative tasks.
Key Results and Insights
The effectiveness of MaP was validated across a wide range of benchmarks, including MMLU, GSM8K, and HumanEval, using models ranging from 243M to 16.3B parameters.
Smoother Learning Trajectories
Applying MaP significantly increases the consistency of evaluation scores. On the GSM8K math benchmark, the Kendall’s rank correlation ($\tau$) between evaluation scores and training steps improved from 0.863 to 0.926. This increased smoothness allows researchers to clearly distinguish between different training strategies that would otherwise appear indistinguishable.
Improved Predictive Power
One of the most significant benefits of MaP is its ability to predict post-training performance. The authors introduced the Pairwise Ranking Reversal Rate (PRR) to quantify how often model rankings flip after fine-tuning. Using MaP (specifically Pass@16) reduced the PRR from a baseline of 50%—equivalent to a coin flip—down to 22.73%. This ensures that decisions made during pre-training are much more likely to hold true for the final, fine-tuned model.
Task-Specific Nuances
The study also revealed that while Pass@k is highly effective for generative tasks, it can be counterproductive for Multiple Choice (MC) tasks. In MC benchmarks, repeated sampling can increase the likelihood of "guessing" correctly, which introduces new noise rather than measuring true capability. This highlights the need for task-specific stabilization strategies.
Conclusion
MaP addresses a critical bottleneck in LLM research by providing a robust framework for pre-training evaluation. By denoising both the model parameters and the evaluation metrics, MaP enables more reliable ablation studies and better prediction of final model performance. While the computational cost of Pass@k remains a consideration, the gain in empirical reliability provides a much-needed foundation for systematic LLM development.
Summary updated