NgramRL: Accelerating RL Post-Training for Structured Generation via Rollout-Aware N-gram Speculative Decoding
On the map: LLM reasoning → Reinforcement learning for reasoning
also in 1 more
Abstract (arXiv)
Reinforcement learning (RL) post-training improves the reasoning capabilities of large language models, but its cost is dominated by autoregressive rollout generation, which can exceed 70% of training time. Existing speculative-decoding methods are poorly suited to this setting: model-based drafters consume scarce GPU memory and may become misaligned as the policy evolves, while existing model-free methods do not explicitly exploit repetition across training epochs. We observe that recent rollouts of the same prompt provide a high-quality, self-updating draft source. Based on this insight, we propose NgramRL, a per-prompt n-gram drafter constructed from bounded recent rollout history. NgramRL requires no auxiliary model, drafter training, or persistent GPU-resident drafter state, while target-model verification preserves the rollout distribution. To hide CPU cache lookup and scheduling, we further introduce an adaptive fan-out prefetcher that predicts likely verification outcomes (j, b), consisting of the accepted draft length j and target-emitted continuation token b. A causal budget allocator concentrates prefetches on high-probability outcomes, while uncovered outcomes fall back to sequential lookup without changing committed tokens. Across two model families and three reasoning and structured-generation workloads, NgramRL commits 3.60-7.77 tokens per target-model forward in the warm-cache regime, up to 1.99x more than SuffixDecoding and 7.0x more than prompt-lookup decoding. On Spider, the prefetcher covers 96.6% of Qwen3-8B outcomes at a candidate budget of 16 and improves measured rollout throughput by 1.38x over synchronous NgramRL, approaching its 1.40x overlap ceiling.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Reinforcement learning for reasoning, one of 17 directions in LLM reasoning. Builds on 11 of its 20 references that are in the map. Submitted 23 Oct 2026.
Builds on
11 of 20 references.
Closest ancestors · 1
Same direction, newest first
- 2017Proximal Policy Optimization Algorithms20 Jul
Other references · 10
- 2021Training Verifiers to Solve Math Word Problemscited by 11,055
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 6,685
- 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 2,255
- 2022Fast Inference from Transformers via Speculative Decodingcited by 1,853
- 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,372
- 2023Accelerating Large Language Model Decoding with Speculative Samplingcited by 1,163
- 2024Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Headscited by 961
- 2024EAGLE: Speculative Sampling Requires Rethinking Feature Uncertaintycited by 667
- 2024Turning Trash into Treasure: Accelerating Inference of Large Language Models with Token Recyclingcited by 55
- 2024SuffixDecoding: Extreme Speculative Decoding for Emerging AI Applicationscited by 48
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Beat the long tail: Distribution-Aware Speculative Decoding for RL Training
- 2026Accelerating RL Post-Training Rollouts via System-Integrated Speculative Decoding
- 2025SPEC-RL: Accelerating On-Policy Reinforcement Learning with Speculative Rollouts
- 2026SpecRoll: Fast-Slow Verifier-Feedback Adaptation for Speculative Reinforcement Learning Rollouts
- 2026GrowMTP: Can RL Grow Its Own Draft Head?
- 2026EfficientRollout: System-Aware Self-Speculative Decoding for RL Rollouts
- 2025Taming the Long-Tail: Efficient Reasoning RL Training with Adaptive Drafter
- 2026SRT: Accelerating Reinforcement Learning via Speculative Rollout with Tree-Structured Cache