NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Beyond Normalization: Rethinking the Partition Function as a Difficulty Scheduler for RLVR

Dohyung Kim, Minbeom Kim, Jeonghye Kim, Sangmook Lee, Sojeong Rhee, Kyomin Jung

Reinforcement Learning with Verifiable Rewards (RLVR) has become a cornerstone for enhancing the reasoning capabilities of Large Language Models (LLMs). However, practitioners typically face a strict trade-off. Reward-maximizing methods like PPO or GRPO excel at finding correct answers but often suffer from "mode collapse," losing the ability to generate diverse reasoning paths. Distribution-matching approaches like GFlowNets solve this diversity issue but are notoriously sample-inefficient and slow to converge.

A major bottleneck in improving this efficiency is adaptive prompt selection—finding the "Goldilocks" prompts that are neither too easy nor too hard (roughly 50% accuracy). Traditionally, estimating this "online accuracy" across a massive dataset requires expensive extra rollouts or complex auxiliary models, creating a significant computational burden.

The Core Innovation: PACED-RL

To bridge this gap, researchers introduce PACED-RL (Partition Function-Guided RL). This framework is built on a clever theoretical insight: the "partition function" ($Z_\phi$)—a mathematical byproduct in GFlowNet training usually treated as a mere normalization constant—is actually a high-fidelity, zero-cost signal for prompt difficulty.

PACED-RL leverages this "free lunch" through three key mechanisms:

  1. Zero-Cost Accuracy Estimation: The authors demonstrate mathematically that a prompt's accuracy can be approximated using the partition function ($p_{accuracy} \approx \beta \log Z^*(x)$). By empirically showing that a complex KL-divergence term can be safely ignored, this estimation becomes incredibly simple and fast, relying entirely on information already generated during the standard optimization step.
  2. Difficulty-Aware Adaptive Prompt Selection: During each training step, PACED-RL greedily selects prompts where the estimated accuracy is closest to 0.5. This ensures the model focuses its compute on the most informative problems at the edge of its current capabilities.
  3. Error-Prioritized Replay: The framework maintains a replay buffer that prioritizes samples where the model's predicted accuracy differs most from the actual observed accuracy. This forces the model to continuously calibrate its internal understanding of problem difficulty.

Experimental Setup and Key Results

PACED-RL was rigorously evaluated across mathematical reasoning (using the DeepScaleR dataset evaluated on MATH500, MinervaMath, OlympiadBench, and AIME 2024/2025) and code generation (using DeepCoder evaluated on HumanEval+ and LiveCodeBench). The base models included DeepSeek-R1-Distill-Qwen-1.5B, Qwen2.5-Math-1.5B, and Qwen2.5-Math-7B.

The results demonstrate substantial improvements over existing paradigms:

  • Superior Reasoning: On the notoriously difficult AIME 24 benchmark, PACED-RL (using Qwen2.5-Math-7B) outperformed GRPO by 29.1% and the previous state-of-the-art GFlowNet method (FlowRL) by 40.0%.
  • Massive Efficiency Gains: In code generation tasks, PACED-RL achieved the peak performance of baseline methods in just 42% to 67% of the training time, highlighting massive improvements in wall-clock efficiency.
  • Preserved Diversity: Using the pass@k metric as a proxy for exploration capacity, PACED-RL consistently found multiple valid reasoning paths, avoiding the mode collapse typical of standard RL methods.
  • Robustness: The accuracy estimator proved highly robust even against "adversarial" prompts—minor textual changes designed to alter mathematical difficulty—correctly identifying harder variants in the majority of cases.

Insights and Future Directions

One of the most fascinating secondary findings of PACED-RL is its natural induction of a curriculum learning effect. The model organically begins with easier questions and progressively shifts toward harder subsets as its capabilities improve, preventing collapse onto easy data.

While highly effective, the current study focuses on 1.5B and 7B parameter models and relies on binary, verifiable rewards (right/wrong). Future work will need to explore whether these partition function dynamics scale as cleanly to frontier models (70B+) and how they might be adapted for open-ended preference alignment. Additionally, moving from "question-level" difficulty estimation to "step-level" signals could allow models to identify exactly which part of a long reasoning chain is the most challenging, further refining the training process.

Summary updated

BibTeX
@inproceedings{kim2026beyond,
  author = {Dohyung Kim and Minbeom Kim and Jeonghye Kim and Sangmook Lee and Sojeong Rhee and Kyomin Jung},
  title = {{Beyond Normalization: Rethinking the Partition Function as a Difficulty Scheduler for RLVR}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=U93dBehANs},
}
Figure