Split-KV: Efficient Context Parallelism for Training Diffusion Drafters

Geng Zhang, Fangzhao Zhang, Cong Xie, Tiantian Fan, Yang You
11/4/2026
cs.AI

Official code: zxgx/verl (0 stars, Python, Apache-2.0, last commit 2026-09-07).

Abstract

Diffusion drafters accelerate speculative decoding by denoising multiple draft tokens in parallel. Their training uses anchor sampling to construct compact draft queries and performs cross-attention with a block-sparse mask over a much longer context.

Show full abstract

We empirically show that acceptance length remains stable as context scales with a fixed query budget, while increasing the query budget yields diminishing quality gains, jointly establishing a practical regime with queries far shorter than the context. No existing context parallelism (CP) method jointly exploits this query--context asymmetry and meets the nonlinear, sample-dependent load-balancing requirement created by anchor sampling. We present Split-KV, an exact CP method that keeps key/value shards local and limits per-layer attention communication to query-sized tensors, making this communication independent of context length. Its global query view further enables a cost-aware longest-processing-time-first (LPT) strategy that balances context key/value chunks by their realized attention cost. At a CP size of 64, Split-KV retains 85--91\% weak-scaling efficiency and achieves up to $3.67\times$ speedup over the fastest available CP baseline. LPT achieves $<$1\% imbalance and plans three orders of magnitude faster than the best load-balancing baseline. Code is available at https://github.com/zxgx/verl.

View on arXivView PDF

Code Implementations(1)

zxgx/verlOfficial100%
Apache-2.0

verl/HybridFlow: A Flexible and Efficient RL Post-Training Framework

00Python, ShellJul 7, 20262 months agoApache-2.0

Similar Papers

Cite this paper

@article{zhang2026splitkv,
  title  = {Split-KV: Efficient Context Parallelism for Training Diffusion Drafters},
  author = {Geng Zhang and Fangzhao Zhang and Cong Xie and Tiantian Fan and Yang You},
  year   = {2026},
  eprint = {2611.05926},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.05926v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.05926.svg)](https://codeofpaper.com/paper/2611.05926)

Discussion