TL;DR
RePO (Rephrasing Policy Optimization) is a new reinforcement learning framework that allows Large Language Models (LLMs) to absorb complex expert knowledge without the training instability or "catastrophic forgetting" typical of standard fine-tuning. By prompting the model to rephrase expert solutions into its own "voice" before learning from them, RePO maintains stable training dynamics while significantly outperforming existing methods on difficult reasoning and domain-specific benchmarks.
What Problem Does This Paper Address?
Fine-tuning an LLM on specialized domains (like advanced mathematics or law) usually involves a trade-off between two paradigms:
- Supervised Fine-Tuning (SFT): This "off-policy" method forces the model to mimic expert demonstrations. While it injects knowledge quickly, it often leads to distribution mismatch. The model tries to fit "alien" reasoning styles, which can degrade its general reasoning abilities and cause it to forget previously learned skills.
- On-Policy Reinforcement Learning (RL): Methods like Group Relative Policy Optimization (GRPO) allow the model to learn from its own successful attempts. This preserves generality but fails when the model hits "hard samples"—problems so difficult that the model never generates a correct answer to learn from in the first place.
Previous attempts to bridge this gap by mixing expert data into RL loops (Naive Hybrid approaches) often suffer from severe instability. Because the expert's vocabulary and stylistic distribution differ from the training model's, the resulting gradients can "explode," leading to model collapse.
Methods
The authors introduce Rephrasing Policy Optimization (RePO), which reconciles expert guidance with RL stability through a two-stage mechanism:
- Knowledge Internalization (Rephrasing): Instead of directly training on raw expert trajectories, RePO prompts the policy model to comprehend the expert solution and rephrase it into its own stylistic and parametric distribution. This transforms "alien" expert knowledge into a "native" trajectory that the model can naturally understand and assign probabilities to.
- Dynamic Guidance Strategy: During the RL training loop, RePO monitors the model's performance on a group of queries. If the model's own attempts (rollouts) fail frequently (indicating a "hard sample"), RePO selectively replaces the lowest-reward rollout with the high-quality rephrased trajectory. If the model is already succeeding on its own, it sticks to its on-policy rollouts to maintain distribution purity.
The entire process is built on top of the GRPO framework, which uses group statistics to estimate advantages without needing a separate, computationally expensive "critic" model.
Datasets
The researchers evaluated RePO across several challenging domains:
- SuperGPQA: A subset of 11k non-computational graduate-level problems for general knowledge.
- OpenR1-Math: Two subsets designed to test stability: a Hard Subset (18k samples with long reasoning chains) and a Multi-source Harder Subset (10k samples distilled from multiple advanced models like DeepSeek-R1 and GPT-4).
- Financial Data: A domain-specific dataset of 10k financial reasoning samples distilled from DeepSeek-V3.2-Speciale.
- Standard Benchmarks: Evaluation was performed on AIME 2024/2025, MATH-500, GPQA, and MMLU-Pro, among others.
Key Insights and Ideas
- The "Voice" is the Key: The most significant insight is that training instability in off-policy RL is often a vocabulary mismatch problem. By rephrasing expert logic into the model's native vocabulary, RePO ensures that the gradients calculated during training are well-behaved and point in logically consistent directions.
- Selective Intervention: RePO doesn't force-feed expert data for every query. By using a dynamic gating mechanism (based on a failure rate threshold $\rho$), it only intervenes when the model is genuinely struggling, preserving the benefits of on-policy exploration for easier tasks.
- Stability Leads to Performance: The paper demonstrates that maintaining a stable entropy curve and bounded gradient norms (GradNorm) is crucial for long-term improvement. RePO avoids the "gradient spikes" that cause other hybrid methods to collapse.
Key Results
- Superior Math Reasoning: On the OpenR1-Math Hard Subset, RePO achieved a score of 78.2% on MATH-500, whereas the baseline off-policy method (LUFFY) suffered a catastrophic collapse to 0.0%.
- Domain Injection: In the financial domain (FinLLM-Eval), RePO reached 68.08%, significantly outperforming both the base Qwen3-8B model (30.01%) and standard SFT (39.51%).
- Preserving Generality: Unlike SFT, which saw reasoning scores on AIME24 drop from 75.1% to 41.7% after financial training, RePO maintained a robust 69.2%, proving it can inject new knowledge without destroying existing reasoning capabilities.
Limitations and Future Work
- Computational Cost: The rephrasing step requires additional inference passes during the training preparation phase, which adds some computational overhead compared to pure RL.
- Expert Dependency: While rephrasing helps with distribution, the model is still limited by the quality and correctness of the underlying expert knowledge provided.
- Future Directions: The authors suggest exploring more sophisticated rephrasing prompts and scaling the RePO framework to even larger model architectures to see if the stability benefits hold at the extreme scale.
Summary updated