# Preserving Exploration for LLM Reasoning via Mean Order-Statistic Alignment

*Ruotian Peng, Yi Ren, Long-Fei Li, Yandong Wen*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/154128) · [Open on the map](../papers.html#p154128)

Category: [LLM Post-Training: RL & Distillation](../pcat/18.md) › [Off-Policy LLM Reinforcement Learning](../pgroup/522.md) · Type: new method · Keywords: exploration preservation, LLM reasoning, order-statistic alignment, RL fine-tuning, pass@K improvement

Areas: [LLM Reasoning](../areas/reasoning.md) › Reasoning Optimization › Policy Optimization for Language Models; [RL for LLMs & Agents](../areas/llm-rl.md) › LLM Policy Optimization › RL Rollouts

## Summary
MOSA preserves exploration in RL-fine-tuned LLMs by aligning the fine-tuned model’s global token-distribution profile to that of the base model, improving reasoning diversity and pass@K scores.

## Explained to a 5-year-old
Big computer programs called language models can think of many different ways to solve problems. When we teach them using a special training method, they sometimes forget to be creative and only think of one way. To help them stay creative, we look at how they talk about things and compare it to how they used to talk. We make a simple rule that says their overall way of choosing words should stay similar to the old way. This helps them keep making many good ideas, especially when they solve math problems or write code.

## Explained to a 5-year-old, longer
Big computer brain models can come up with lots of different answers to problems. When we try to make them learn from special training, they sometimes start to only think of one answer. This makes them less helpful because we want them to be creative. To fix this, we look at how the model talks about words across the whole sentence, not just one word at a time. We compare the new way of talking to the old way the model used before training. We create a simple picture that shows the average order of word choices, which works like a probability distribution. This picture helps us measure how close the new model is to the old one. We use only the most likely words and a small bucket for the rest to keep things fast. By doing this, the model keeps its ability to think of many different solutions. It works better on math problems, counting games, and writing code. The method also works on very large models with billions of parameters. Overall, it makes the model more creative and useful for hard tasks.

## For a technical reader
The paper observes that RL fine-tuning of large language models often collapses their exploration capability, reducing the diversity of generated solutions. Existing token-wise KL regularization fails to capture this global exploration because it aligns individual token probabilities rather than the overall sequence behavior. The proposed method computes a mean order-statistic profile of token posteriors across the vocabulary, forming a compact probability distribution that reflects global token usage patterns. By aligning this profile with the base model’s distribution using a KL objective, and approximating it with top-K probabilities plus a residual bucket, the approach preserves exploration while remaining computationally efficient. Experiments on Countdown, multiple math reasoning tasks, and coding benchmarks demonstrate improved pass@1 and pass@K scores and scalability to 32 B-parameter models.

## Problem
When large language models are fine-tuned with reinforcement learning, their exploration ability often collapses, leading to less diverse solutions. Existing remedies that enforce token-wise KL divergence fail to preserve this global exploration behavior.

## Method
The approach captures global exploration by computing the mean order-statistic profile of token posteriors across the sequence, which forms a valid probability distribution. A KL-based alignment objective is then applied to this profile, and it is approximated efficiently using only the top-K probabilities and a residual tail bucket.

## Results
The approach discovers more diverse solutions and improves pass@1 and pass@K across Countdown, mathematical reasoning, and coding benchmarks, and it scales to models as large as 32 B parameters.

## Contributions
It identifies the mismatch between token-wise KL and global exploration, proposes a global alignment via the mean order-statistic profile, and provides an efficient approximation that yields better diversity and scalability.

## Research questions this paper is counted under

- [How can we prevent policy collapse and maintain diversity during RL fine-tuning of large language models?](../q/93.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/154128)
