Preserving Exploration for LLM Reasoning via Mean Order-Statistic Alignment
Abstract
In this paper, we propose the mean order-statistic profile, a policy-level representation for characterizing rollout diversity in large language models. The profile is a vocabulary-sized vector obtained by sorting each next-token distribution over the vocabulary and averaging across token positions by rank. Its entries are non-increasing with rank: slower decay indicates many likely token choices, suggesting more diverse continuations, whereas faster decay indicates fewer alternatives. Based on this representation, we develop Mean Order-Statistic Alignment (MOSA) to preserve the fine-tuned model’s exploration ability, by minimizing the KL divergence between its profile and that of the base model. For efficiency, we approximate each profile using the top-N probabilities and a residual tail bucket, yielding an implementation with minimal computational overhead. Experiments on Countdown, 6 mathematical reasoning benchmarks, and 2 coding benchmarks show that MOSA discovers more diverse plausible solutions, improves both pass@1 and pass@K, and scales to models with up to 32B parameters.