Reinforcement Mid-Training

Yijun Tian, Shaoyu Chen, Zhichao Xu, Yawei Wang, Jinhe Bi, Peng Han, Wei Wang

TL;DR

Reinforcement Mid-Training (RMT) introduces a specialized intermediate stage between pre-training and post-training that uses reinforcement learning on unlabeled data. By employing a dynamic token budget and curriculum-based sampling, RMT produces models that are significantly more accurate (+64.91%) and concise (using only 21% of the reasoning length) compared to previous state-of-the-art methods.

The "Missing Middle" in LLM Training

The standard lifecycle of a Large Language Model (LLM) is typically a two-act play: Pre-training (learning from vast, internet-scale text) and Post-training (fine-tuning for specific tasks and human alignment). However, there is a growing realization that a "missing middle" exists.

Pure pre-training is excellent for accumulating knowledge but often fails to instill complex reasoning. Post-training is powerful but relies heavily on expensive, human-annotated data. "Mid-training" aims to bridge this gap by using massive unlabeled datasets to develop reasoning capabilities before the model ever sees a human instruction.

The authors identify three critical failures in existing mid-training approaches:

  1. Overthinking: Models generate excessively long reasoning chains that waste compute without improving accuracy.
  2. Difficulty Imbalance: Most tokens in a dataset are "easy" (low entropy), but models are often forced to tackle "hard" tokens (high entropy) too early in training, leading to instability.
  3. Information Loss: Current methods often ignore the "easy" tokens entirely, missing out on broader linguistic context.

The RMT Framework

To address these challenges, the authors propose RMT, a framework designed to make mid-training efficient and adaptive through three core innovations.

The RMT Framework Pipeline
  • Dynamic Token Budget ($B_t$): Instead of letting the model ramble, RMT imposes a reasoning budget that exponentially decays as training progresses. A "triangular" reward function penalizes both being too brief and being too wordy, forcing the model to become increasingly concise and precise.
  • Curriculum-based Adaptive Sampling: RMT uses token entropy (a measure of how uncertain the model is about the next word) as a proxy for difficulty. It starts training on "easy" and "medium" tokens to build a stable foundation before gradually shifting focus to "hard" tokens as the model matures.
  • Dual Training Strategy: Rather than choosing between Reinforcement Learning (RL) and standard Next-Token Prediction (NTP), RMT does both. It applies RL to a small set of "reasoning" tokens while maintaining standard NTP training on the rest of the sequence. This ensures the model gains reasoning skills without losing general language understanding.

Datasets and Evaluation

The researchers evaluated RMT using two primary sources:

  • OmniMath: Used for the language modeling and reasoning experiments. They identified token entropy across 4,051 training and 200 evaluation data points.
  • Skywork: A diverse mathematical dataset used to test "continual post-training." This allowed the authors to see if an RMT-processed model serves as a better "base" for further fine-tuning.

Key Results and Insights

Accuracy vs Response Length and Token Entropy Distribution
  • Superior Accuracy: RMT-Q3 (based on Qwen3-14B) achieved a +64.91% performance improvement over the base model in language modeling tasks.
  • Extreme Efficiency: RMT achieved these gains while using only 21% of the reasoning length compared to the previous state-of-the-art (RPT). In numbers, RMT used ~186 tokens for reasoning where baselines used over 800. The paper demonstrates that "overthinking" is a major bottleneck; by explicitly rewarding the model for hitting a specific, shrinking token target, they achieved better results with a fraction of the computational cost.
  • Post-Training Boost: When the RMT-trained checkpoints were further fine-tuned on the Skywork math dataset, they saw an improvement of up to +18.76% over standard models. This proves that mid-training acts as a force multiplier, providing a sturdier foundation for specialized tasks.
  • The Entropy-Difficulty Link: Using entropy to categorize tokens into "Easy, Medium, and Hard" provides a principled way to implement curriculum learning in unsupervised settings.

Limitations and Future Work

While RMT is highly efficient, the authors acknowledge that reinforcement learning—even in a mid-training stage—is still more computationally intensive than simple next-token prediction. Additionally, calculating token entropy for the entire dataset to enable curriculum sampling requires an initial forward pass, adding a pre-processing overhead.

Future directions suggested include scaling RMT to even larger models and exploring its effectiveness in non-mathematical domains, such as code generation or creative writing, where "reasoning" might look different but conciseness remains valuable.

Summary updated

BibTeX
@inproceedings{tian2026reinforcement,
  author = {Yijun Tian and Shaoyu Chen and Zhichao Xu and Yawei Wang and Jinhe Bi and Peng Han and Wei Wang},
  title = {{Reinforcement Mid-Training}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=uJUhi3FQNa},
}
Figure