Reinforcement learning (RL) has emerged as a promising paradigm for improving reasoning in large language models (LLMs), enabling models to optimize full reasoning trajectories using task-level feedback. However, existing RL-based approaches suffer from several limitations, including reliance on surrogate objectives and approximate advantage estimators, token-level optimization that overlooks trajectory-level dependencies, and predominantly on-policy training that restricts the utilization of offline data. We introduce \textbf{Advantage Matching}, a general framework for KL-regularized RL that leverages the principled relationship between the policy ratio and the soft advantage to learn the optimal policy by aligning the two quantities. Our formulation yields a family of stable and flexible objectives that support critic-free optimization, trajectory-level reasoning, and seamless integration of off-policy and offline data. Empirical results on diverse mathematical reasoning and code generation benchmarks and model families show improvements in performance of our method compared to existing baselines.
翻译:暂无翻译