# Online Draft Co-Training for Speculative Decoding in Large-Scale, Long-Context RL Post-Training

DevFeed: [Online Draft Co-Training for Speculative Decoding in Large-Scale, Long-Context RL Post-Training](<https://devfeed.tech/articles/online-draft-co-training-for-speculative-decoding-in-large-scale-long-context-rl-post-training-116469.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2609.07108>)

Author: Zili Wang, Zhaopeng Qiu, Yuekai Zhang, Shuang Yu, Seonjin Na, Hayate Iso, Junjie Lai

Published: 2026-11-04T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Distributed Computing](<https://devfeed.tech/sources/arxiv-distributed-computing.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [post-training](<https://devfeed.tech/topics/post-training.md>), [LLM Techniques](<https://devfeed.tech/topics/llm-techniques.md>), [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>), [long-context](<https://devfeed.tech/topics/long-context.md>), [scheduling](<https://devfeed.tech/topics/scheduling.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [abstract](<https://devfeed.tech/tags/abstract.md>), [acceptance](<https://devfeed.tech/tags/acceptance.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [attention](<https://devfeed.tech/tags/attention.md>), [branch](<https://devfeed.tech/tags/branch.md>), [can](<https://devfeed.tech/tags/can.md>), [code](<https://devfeed.tech/tags/code.md>), [context](<https://devfeed.tech/tags/context.md>), [cs-dc](<https://devfeed.tech/tags/cs-dc.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [decoding](<https://devfeed.tech/tags/decoding.md>), [draft](<https://devfeed.tech/tags/draft.md>), [large](<https://devfeed.tech/tags/large.md>), [long-context](<https://devfeed.tech/tags/long-context.md>), [online](<https://devfeed.tech/tags/online.md>), [post](<https://devfeed.tech/tags/post.md>), [post-training](<https://devfeed.tech/tags/post-training.md>), [rl](<https://devfeed.tech/tags/rl.md>), [scale](<https://devfeed.tech/tags/scale.md>), [speculative-decoding](<https://devfeed.tech/tags/speculative-decoding.md>), [training](<https://devfeed.tech/tags/training.md>)

## AI overview

Online draft co-training in NeMo-RL addresses two parallelism challenges in long-context RL post-training: it merges rank-local draft branch attention with causal main-sequence attention under context parallelism, and uses TapChannel to carry target features between pipeline stages without changing the pipeline schedule. The abstract reports reward and accuracy close to a no-draft baseline, rollout speedups of 1.48-2.25x and end-to-end training speedups of 1.19-1.88x across models up to 122B. The context-parallel design scales to 256K sequences with memory savings over prior work; TapChannel adds modest overhead.

## Source excerpt

arXiv:2609.07108v2 Announce Type: replace-cross Abstract: Speculative decoding accelerates rollout generation, which dominates the cost of reinforcement learning (RL) post-training. Online co-training keeps the draft aligned with the evolving policy, further increasing acceptance length and speedup. However, training large models on long contexts requires context parallelism (CP) and pipeline parallelism (PP), and co-training drafts under this layout poses two obstacles: (1) the draft's branch attention is unsupported by causal CP, and (2) the target features that the draft consumes are spread across PP stages. In this paper, we present the design and implementation of online draft co-training in NeMo-RL. 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 show that co-training keeps the policy's reward and accuracy close to the no-draft baseline while delivering $1.48$--$2.25\times$ rollout speedups and $1.19$--$1.88\times$ end-to-end training speedups across model scales up to 122B. Our CP design achieves strong scaling at 256K sequence length 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.