Manuscript Offprint

arXiv:2610.13202

S3^3R: Fast and Faithful RL Rollouts via Self-Sparse Speculative Decoding

Yuhang He, Hongyu Ge, Zihan Lin, Siyi Liu, Yongqi Zhang

ABSTRACT

Fast rollout generation for long-context reinforcement learning with verifiable rewards (RLVR) requires reducing KV-cache traffic without changing the response groups used for policy optimization. In our profiled RLVR workloads, attention accounts for 72–76% of autoregressive decoding kernel time. Sparse attention reduces these reads, but sampling directly from a sparse policy changes the response groups used for learning. For group-relative optimization, we show that even exact response-wise reweighting does not generally recover the expected dense-policy update because the advantage of each response depends on the rewards of other group members. We propose Self-Sparse Speculative Rollouts (S³R). It uses sparse attention to propose tokens, then generates responses through full-attention verification and exact speculative sampling. Drafting and verification share the same policy parameter, eliminating the need to train or update a separate drafter. The resulting response groups follow the dense-policy distribution. Under S³R, we characterize speedup conditions and the costs of drafting and verification. We found that dense verification still requires the complete historical KV cache. A KV-aware scheduler therefore limits KV-cache repeated offloading and restoration while maintaining rollout parallelism. In a matched ablation with an aggressive sparse drafting budget, S³R maintains stable training while direct sparse sampling with training-side correction becomes unstable. On long-context mathematical reasoning, S³R achieves 1.39×1.35×1.39 \times 1.35 \times the end-to-end training throughput of autoregressive rollouts on Qwen3 model, with comparable task performance.

1 INTRODUCTION

Rollout generation is a primary bottleneck in reinforcement learning with verifiable rewards (RLVR) for large language models (LLMs) (OpenAI, 2024; DeepSeek-AI, 2025). Algorithms such as Group Relative Policy Optimization (GRPO) samples groups of responses and compute group-relative advantages. (Shao et al., 2024). Generating long responses through autoregressive (AR) decoding makes rollouts a substantial component of the overall training pipeline (Kim et al., 2026; Wang et al., 2025b; Zhou et al., 2025), motivating methods of reducing rollout cost for efficient RLVR.

In our profiled workloads, attention accounts for much of this cost: each decoding step read the KV cache associated with an increasingly long context (Figure 1a). Training-free KV compression and sparse attention can reduce these reads by restricting context (Li et al., 2024; Tang et al., 2024; Cai et al., 2025). When used directly for sampling, sparse attention alters the behavior policy and can destabilize training (Luo et al., 2026; Zhou et al., 2026b) (Figure 1b). Training-side filtering and importance reweighting can mitigate this mismatch (Luo et al., 2026). In GRPO, however, each response's advantage depends on the rewards of other group members. We show that even exact response-wise reweighting need not recover the expected dense policy update. We therefore seek to accelerate rollout generation through sparse computation while preserving the dense policy's response-group distribution.

Speculative decoding (SD) preserves the target distribution through exact sampling, using a cheaper drafter to propose candidate tokens and the target (i.e., the policy itself) to verify them in parallel (Leviathan et al., 2023; Chen et al., 2023; Zhou et al., 2024). In practice, the speedup from SD depends on the availability of a suitable drafter with sufficient acceptance. Such a drafter may not

Figure

(a) Attention dominates AR.

Figure

(b) Sparse-rollout collapse.

Figure

(c) KV-aware scheduling.

Figure 1: (a) Attention accounts for 72–76% of AR-decoding kernel time as KV volume grows (Full results in Appendix F.2.1). (b) Both mild and aggressive sparsity exhibit training collapse without training-side mismatch correction. (c) Cumulative KV pages recomputed or transferred; our scheduler substantially reduces repeated KV reconstruction and transfer.

be readily available for fine-tuned target models and may require additional training and deployment effort. Moreover, repeated policy updates in RLVR can cause a fixed drafter to become stale, further reducing the acceptance rate. Auxiliary proposers may produce accurate proposals, but maintaining alignment between the proposer and the evolving policy introduces optimization and systems overhead (Zhang et al., 2025; Chen et al., 2025b; Hu et al., 2026). History retrieval methods avoid an auxiliary model but rely on past trajectories covering continuations under the evolving policy (Liu et al., 2025; Shao et al., 2025; He et al., 2025). For both approach, decoding progress must amortize drafting and verification costs across changing workloads (Kim et al., 2026). These considerations motivate using sparsification of the behavior policy to generate low-cost proposals, while retaining dense verification to sample faithfully from the target distribution.

To this end, we present Self-Sparse Speculative Rollouts (S 3^{3}R), a framework for fast and faithful RLVR rollouts. We first analyze the mismatch induced by sparsity at the response-group level and show why exact response-level reweighting does not necessarily recover the expected group update under the dense policy. Based on this analysis, S 3^{3}R confines sparsity to proposal generation and combines full-attention verification with exact speculative sampling to preserve the dense response-group distribution. Drafting and verification share the same policy weights, keeping the drafter synchronized without separate drafter fine-tuning. Next, to accommodate the changing RLVR workloads, we characterize how S 3^{3}R amortizes drafting and verification costs in the runtime. During rollout generation, dense verification retains the complete historical KV cache. Under GPU memory pressure, repeated KV offloading and restoration can cause cache thrashing. We introduce KV-aware scheduling to limit this thrashing while sustaining rollout parallelism (Figure 1c). Cross-step state management supports policy synchronization and inference restoration after each actor update. Finally, experiments on long-context mathematical reasoning demonstrate stable training under aggressive sparse drafting and higher end-to-end training throughput than AR, with comparable task performance. Our contributions are threefold:

• Group-level mismatch analysis. We show that exact response-wise reweighting need not recover the dense policy’s expected update, and provide formulation and design principles for RL rollout.

• Faithful sparse self-speculative rollouts. We develop S 3^{3}R by integrating sparse self-drafting with exact sampling, preserving the dense response-group distribution without separate drafter training. We characterize its speedup conditions and provide runtime support for efficient RLVR.

• Practical long-context acceleration. On mathematical RLVR workloads, S 3^{3}R increases end-to-end training throughput over AR by 1.39× on Qwen3-1.7B and 1.35× on Qwen3-8B, while maintaining stable training and comparable task performance.

References (100)

Couldn't load all references. Reload the page to try again.