Online Draft Co-Training for Speculative Decoding in Large-Scale, Long-Context RL Post-Training
Abstract
A system for large-scale online draft co-training accelerates speculative decoding in RL post-training by extending context-parallel attention and adding cross-stage feature transport.
Speculative decoding accelerates rollout generation, which dominates the cost of reinforcement learning (RL) post-training. Online co-training can further increase the draft's accuracy, yielding greater speedups. However, scaling this approach to co-training on large models with long contexts poses two obstacles: (1) branch attention is unsupported by standard causal context-parallel (CP) implementations, and (2) target features span across pipeline-parallel (PP) stages. We address both with an end-to-end system for large-scale online draft co-training. For CP, we extend packed, load-balanced zigzag ring attention by merging rank-local branch attention with causal main-sequence attention. For PP, TapChannel transports intermediate target features across stages via a separate path, leaving the pipeline schedule unaffected. Experiments demonstrate that co-trained drafts closely track the policy baseline while delivering substantial rollout and end-to-end speedups across model scales up to 122B. Our CP design achieves strong scaling at 256K tokens with significant memory savings over prior work, and our PP transport incurs modest overhead. Code can be found at https://github.com/NVIDIA-NeMo/RL/issues/3698.
Community
We address system challenges for online speculative decoding in large-scale RL post-training with long contexts: branch attention in advanced draft models breaks causal context parallelism (CP), and intermediate features needed by the draft may reside on non‑adjacent pipeline stages. We decompose branch attention into causal‑sequence and rank‑local components under packed zigzag ring attention, and introduce TapChannel to bypass intermediate features directly across stages.
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- AngelSpec: Towards Real-World High Performance Inference with Speculative Decoding (2026)
- A Sparse Glimpse of the Whole: Train-Free Self-Speculative Decoding (2026)
- Is Multimodal Speculative Decoding Ready for Diffusion-Based Parallel Drafting? A Survey and Empirical Diagnosis (2026)
- CURE: Local Uncertainty Repair for Block-Parallel Speculative Decoding (2026)
- From Chains to Trees: Parent-Conditioned Drafting for Semi-Autoregressive Speculative Decoding (2026)
- D-cut: Adaptive Verification Depth Pruning for Batched Speculative Decoding (2026)
- Less Experts, Faster Decoding: Cost-Aware Speculative Decoding for Mixture-of-Experts (2026)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment: @librarian-bot recommend
Get this paper in your agent:
hf papers read 2609.07108 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper