TL;DR
Reinforcement learning (RL) fine-tuning often causes language models to suffer from "diversity collapse," where they hyper-fixate on a narrow set of high-reward behaviors. To fix this, Poly-EPO leverages "Set RL" to optimize models based on the collective accuracy and strategic diversity of a set of generations. This approach inherently harmonizes exploration and exploitation, leading to up to 20% gains in pass@$k$ coverage on difficult math benchmarks and significantly better scaling with test-time compute.
What Problem Does This Paper Address?
When language models are trained using standard reinforcement learning with verifiable rewards (RLVR), they undergo a rapid contraction in the diversity of their outputs. While the base model might initially try multiple creative ways to solve a problem, RL fine-tuning quickly forces the policy to collapse onto a single, predictable path that yields high rewards.
This lack of exploration hurts the model in three major ways:
- Poor Generalization: The model fails to build a diverse repertoire of problem-solving strategies, making it brittle when encountering novel test-time problems.
- Inability to Scale with Test-Time Compute: Modern inference techniques like majority voting, verifiers, and tree search rely heavily on generation diversity to find the right answer. If the model always generates the same response, extra test-time compute is wasted.
- The Exploration-Exploitation Dichotomy: Traditional fixes rely on "reward shaping" (adding an arbitrary exploration bonus like entropy). However, this treats exploration and exploitation as competing objectives, requiring fragile hyperparameter tuning ($\lambda$) that often fails as the model's accuracy improves.
Methods
The authors introduce a principled framework to optimize language models using Set Reinforcement Learning (Set RL). Instead of scoring individual generations independently, Set RL evaluates a set of $n$ generations collectively.
1. The General Recipe for Set RL
To make Set RL computationally feasible for large language models, the authors design a scalable gradient estimator. For a given prompt, they sample $N$ generations and combinatorially construct $K$ subsets of size $n$. They then derive a marginal set advantage for each individual generation, which is simply the average advantage of all the sets that contain it. This allows standard, highly scalable RL algorithms like GRPO to be adapted to Set RL seamlessly.
2. Polychromic Exploratory Policy Optimization (Poly-EPO)
Poly-EPO instantiates this framework using a polychromic objective, which scores a set of generations as the product of its average reward and its strategic diversity:
$$\text{Score} = \text{Average Reward} \times \text{Diversity}$$
3. Semantic Clustering via LM-Judge
To measure diversity efficiently and across domains, Poly-EPO uses an LM-judge (e.g., Qwen-3-4B-Instruct) to cluster the $N$ sampled generations based on their underlying high-level and low-level reasoning strategies, ignoring superficial differences like tone or formatting. Degenerate responses (like reward-hacking or gibberish) are automatically isolated into a special "Cluster 100" and stripped of diversity credit.
Datasets
- Training: POLARIS-53k, a large-scale dataset of advanced mathematical reasoning problems.
- Evaluation Benchmarks: A suite of competitive, held-out math datasets including BeyondAIME, AIME 2025, AIME 2026, HMMT November 2025, HMMT February 2025, and Minerva.
- Synthetic Domains: Controlled environments designed with infinitely many valid solution paths: Polynomial Solving and Multi-digit Multiplication.
Key Insights and Ideas
- Optimistic Exploration: Because rewards are shared at the set level, an incorrect generation can still receive a positive learning signal if it introduces a highly unique, creative strategy to a set that contains other correct answers. This encourages the model to keep refining promising but incomplete strategies rather than reverting to safe, non-scalable approaches.
- Inherent Synergy, Not a Trade-Off: Mathematically, the Poly-EPO advantage function naturally incorporates the covariance between reward and diversity across sets. The model learns to balance exploration and exploitation through optimization, rather than relying on a manually tuned weighting coefficient.
- Early Branching: Analysis of the generation trees revealed that Poly-EPO models branch into distinct token paths significantly earlier in the generation process than standard GRPO models. They commit to different strategic directions right from the start of their response.
Key Results
- Massive Pass@$k$ Improvements: Poly-EPO significantly outperforms GRPO and standard reward-shaped baselines (GRPO+Div) as the number of attempts ($k$) increases, achieving up to 20% absolute gains in coverage on mathematical test sets.
| Strategy Diversity in Training (POLARIS-53k) | Test-Time Compute Scaling (AIME / HMMT) |
|---|---|
| Standard GRPO's strategy diversity steadily declines after ~200 steps. Poly-EPO steadily increases the number of unique, successful reasoning clusters throughout training. | Under majority voting, Poly-EPO maintains a lower vote share (indicating higher response entropy) but achieves equal or higher final accuracy, proving its diversity is functional, not random noise. |
- Infinite Strategy Discovery: In synthetic domains, GRPO rapidly collapsed to a single successful strategy. Poly-EPO continued exploring, discovering more than five times as many distinct, valid problem-solving strategies while maintaining high accuracy.
Limitations and Future Work
- Reward Hacking the Judge: Like any method relying on an LM-judge for training signals, Poly-EPO is potentially vulnerable to the policy learning to trick the judge's clustering rubric.
- Context Window Constraints: As model responses grow longer, passing all $N$ generations to a single judge call for clustering will place heavy demands on long-context reasoning.
- Uncharted Scaling Laws: The exact scaling dynamics between set size ($n$), total rollouts ($N$), and the number of constructed sets ($K$) remain an open question for future systematic study.
Summary updated