RePO: Bridging On-Policy Learning and Off-Policy Knowledge through Rephrasing Policy Optimization
Linxuan Xia, Xiaolong Yang, Yongyuan Chen, Enyue Zhao, Deng Cai, Yasheng Wang, Boxi Wu
TL;DR
This work addresses the challenge of aligning large language models with domain knowledge while preserving broad reasoning capabilities. It introduces Rephrasing Policy Optimization (RePO), a two-stage framework that first internalizes off-policy knowledge via rephrasing into the model’s own style and then dynamically injects these high-quality traces into on-policy training, controlled by a group-reward gate. By rephrasing offline guidance instead of direct imitation, RePO maintains stable updates and improves hard-sample learning, outperforming existing on-policy and off-policy baselines on math, general knowledge, and financial-domain benchmarks. The approach yields state-of-the-art performance and demonstrates robust transfer across multiple data sources and task families, highlighting a principled way to fuse heterogeneous knowledge sources in RL for language models.
Abstract
Aligning large language models (LLMs) on domain-specific data remains a fundamental challenge. Supervised fine-tuning (SFT) offers a straightforward way to inject domain knowledge but often degrades the model's generality. In contrast, on-policy reinforcement learning (RL) preserves generality but fails to effectively assimilate hard samples that exceed the model's current reasoning level. Recent off-policy RL attempts improve hard sample utilization, yet they suffer from severe training instability due to the forced distribution shift toward off-policy knowledge. To reconcile effective off-policy knowledge absorption with the stability of on-policy RL, we propose Rephrasing Policy Optimization (RePO). In RePO, the policy model is prompted to first comprehend off-policy knowledge and then rephrase it into trajectories that conform to its own stylistic and parametric distribution. RePO dynamically replaces low-reward rollouts with these rephrased, high-quality trajectories. This strategy guides the model toward correct reasoning paths while strictly preserving on-policy training dynamics. Experiments on several benchmarks demonstrate that RePO improves hard-sample utilization and outperforms existing baselines, achieving state-of-the-art performance.
