Manuscript Offprint

arXiv:2610.36849

When All Rollouts Fail: Policy-Compatible Joint Decoding for Hard-Problem Reasoning

Zehao Wang, Hanzhu Chen, Runquan Gui, Zhe Wang, Lin Yang

ABSTRACT

Reinforcement Learning with Verifiable Rewards (RLVR) derives its learning signal from binary rewards via on-policy exploration and becomes a powerful paradigm for improving the reasoning of large language models. Yet it faces a learning cliff on problems beyond model's current ability: when every rollout fails, the samples reveal nothing about a correct solution, and group-relative estimators (e.g., GRPO, RLOO) collapse the update to zero advantage. Expert trajectories offer a remedy, but they are incompatible with the current policy and often lie in the student's low-probability regions, so the surviving updates demand large parameter shifts and decay into surface-level imitation rather than transferable reasoning. We argue that a useful learning signal on hard problems must be both verifiably correct and sufficiently compatible with the current policy. We propose Policy-Compatible Reinforcement Learning (PICO), which performs distribution-constrained joint decoding: expert data guides decoding at the token level while preserving the student's relative token probabilities, and a dynamic top-k mechanism confines the sampling distribution under a finite divergence budget, yielding trajectories that are verified and policy-compatible by construction. These trajectories are optimized jointly with on-policy rollouts under a mixed-behavior objective that mitigates their distribution mismatch via importance sampling. Experiments across reasoning diverse datasets and agentic benchmarks demonstrate that PICO consistently outperforms standard RLVR and prior off-policy baselines.

1 INTRODUCTION

Reinforcement learning with verifiable rewards (RLVR) has emerged as a prominent paradigm for post-training large language models (LLMs)(Guo et al., 2025; Jaech et al., 2024; Team et al., 2025), demonstrating strong effectiveness in enhancing reasoning capabilities across domains such as mathematics, coding, and agentic tasks(Dong et al., 2026a; Zhang et al., 2025a). RLVR enables LLMs to learn directly from verifiable reward feedback on trajectories generated through on-policy exploration, yielding substantial and generalizable performance gains(Zhu et al., 2025; Shenfeld et al., 2026). However, this reliance on successful exploration creates a learning cliff on challenging problems beyond the model's current capabilities: when all sampled rollouts fail, the policy receives no positive reward signal(Agrawal et al., 2026; Zhang et al., 2025b; Yue et al., 2025). This issue is particularly acute for methods based on group-relative advantage estimation (e.g., GRPO)(Yu et al., 2026; Zhang et al., 2026c), as all-zero-reward groups cause the estimated advantages to collapse to zero, leaving no informative learning signal to drive further improvement on these problems.

A natural remedy is to leverage expert data, which offer a promising way to overcome this exploration bottleneck and are increasingly used to supplement online RL training. Typically generated by human experts or stronger models, expert trajectories expose the student to high-quality reasoning paths and provide informative learning signals. Yet these trajectories are not necessarily compatible with the current policy and often fall within low-probability regions under its distribution. Existing methods utilize such trajectories in three main ways. Some use them as supervised fine-tuning (SFT)

*Corresponding author: lin.yang.jason@gmail.com. Work done during Zehao Wang's internship at Tencent. Contact: zh-wang@mail.ustc.edu.cn.

targets alongside RL training(Ma et al., 2026; Fu et al., 2026; Zhang et al., 2026b). When these trajectories lie in low-probability regions under the current policy, directly fitting them can induce excessive policy drift and result in surface-level imitation rather than transferable reasoning(Yan et al., 2025). Other approaches incorporate expert trajectories into rollout groups as off-policy samples to recover informative learning signals(Yan et al., 2025; Dong et al., 2026b). The distributional mismatch between these off-policy trajectories and on-policy rollouts can distort the resulting learning signals and destabilize optimization(Agrawal et al., 2026; Setlur et al., 2026; Shenfeld et al., 2026). A further line of work(Huang et al., 2026; Qu et al., 2026; Zhang et al., 2026a;d) leverages expert trajectories indirectly, using them to construct prefixes or hints that guide subsequent exploration and generation. Although the resulting continuations are generated by the current policy, they are conditioned on intermediate states that the policy may not be able to reach on its own from the original prompt(Ross et al., 2011; Qu et al., 2026; Agrawal et al., 2026). This creates privileged-context dependence: once the guidance is removed, the model may struggle to reproduce the full reasoning process. Collectively, these limitations reveal a fundamental trade-off: an effective learning signal on challenging problems must come from trajectories that are both verifiably correct and sufficiently compatible with the current student policy. Although expert data can provide verifiably correct trajectories, naively incorporating them may sacrifice policy compatibility by pulling the policy toward behaviors that lie far outside its current distribution, ultimately undermining stable and effective policy improvement.

To address this challenge, we propose Policy-Compatible Reinforcement Learning (PICO), which uses distribution-constrained joint decoding to recover positive learning signals from off-policy trajectories while explicitly controlling the induced distribution shift. Specifically, joint decoding constructs the next-token candidate set by intersecting high-probability tokens predicted by a teacher conditioned on expert data with those predicted by the student, thereby restricting sampling to candidates favored by both models. In this way, the teacher provides token-level guidance to improve rollout accuracy, while sampling according to the student's relative probabilities preserves its own preferences. To further constrain the joint sampling distribution within a finite divergence budget, we introduce a dynamic top-k mechanism that adaptively adjusts the teacher's candidate set. Finally, the resulting trajectories verified for correctness are optimized alongside on-policy rollouts through a mixed-behavior objective.

As illustrated in Figure 1, PICO activates joint decoding only for all-failure groups, preserving standard on-policy optimization whenever student exploration already yields positive rewards. Figure 4 further shows that joint decoding recovers verified, positive-reward trajectories in up to 80% of all-failure groups, thereby restoring informative learning signals where standard on-policy sampling yields none. Extensive experiments across mathematics and general reasoning benchmarks demonstrate that PICO consistently outperforms standard RLVR and existing expert-guided baselines. Further evaluations on agentic tasks establish its generalizability beyond conventional reasoning settings. Comprehensive ablation studies validate the effectiveness of its key components and confirm the importance of explicitly controlling the trade-off between rollout quality and student-policy proximity. In summary, our main contributions are threefold:

• We identify a fundamental trade-off between rollout quality and student-policy proximity when incorporating offline expert information into RLVR.

• We introduce PICO, which combines distribution-constrained joint decoding with failure-triggered mixed-behavior optimization to generate and learn from verified, policy-compatible trajectories.

• Extensive experiments on mathematics, general reasoning, and agentic tasks demonstrate the effectiveness and generalizability of PICO.

References (36)