mlsanityData to 24 Nov 2026

FlashNext-RL: A System Optimization Study for Long-Horizon Agentic RL of Qwen3.8-Flash-Next

arXiv 2610.28998 ↗Submitted 20 Oct 2026cs.LG cs.CLcited by 0

On the map: LLM agents and tool use → Reinforcement learning for LLM agents

Abstract (arXiv)

Long-horizon agentic reinforcement learning (RL) requires both efficient rollout generation and training on long sequences. However, the memory requirements and model-specific operators of Qwen3.8-Flash-Next make this difficult with existing open-source implementations. To resolve these limitations, we introduce FlashNext-RL, a model-specific RL training optimization framework based on prime-rl, with vLLM for software engineering (SWE) rollout generation. Our main focus is BF16 training of the full 48-layer model on a single 8xB200 node, with the first two layers, the n-gram table, the sparse-attention indexer and the multi-token prediction head frozen. We optimize host offload, gradient accumulation and the kernels for mixture-of-experts, sparse attention and the gated residual stream. In the full-model development study, non-padding training throughput increases from approximately 395 tokens/s/GPU in the initial 32K-token configuration to 4,438 tokens/s/GPU in the optimized 131K-token configuration, with hardware matmul throughput (aka without considering the cost of attention components) increasing from approximately 20 to 213 TFLOPs/GPU. A controlled cumulative study on an 8-layer model further quantifies the contributions of individual optimizations. Together with three inference nodes, the system supports a live SWE RL run with a target batch of 1,024 trainable rollouts and a 131,072-token context limit. Over steps 5-15, an iteration takes 22.4 minutes on average, with bounded entropy and trainer-sampler mismatch KL. These results highlight the importance of tailoring RL training to the model's architecture, memory layout and kernel requirements, rather than relying only on general-purpose RL infrastructure.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Reinforcement learning for LLM agents, one of 16 directions in LLM agents and tool use. Builds on 36 of its 51 references that are in the map. Submitted 20 Oct 2026.

Builds on

36 of 51 references.

References · 36

  1. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 10,542
  2. 2025Qwen3 Technical Reportcited by 9,994
  3. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 6,685
  4. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,893
  5. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
  6. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,767
  7. 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 3,138
  8. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,787
  9. 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 2,255
  10. 2022Fast Inference from Transformers via Speculative Decodingcited by 1,853
  11. 2023Accelerating Large Language Model Decoding with Speculative Samplingcited by 1,163
  12. 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 940
24 more
  1. 2016Training Deep Nets with Sublinear Memory Costcited by 923
  2. 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 737
  3. 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 690
  4. 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 611
  5. 2025Muon is Scalable for LLM Trainingcited by 555
  6. 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 469
  7. 2024Better & Faster Large Language Models via Multi-token Predictioncited by 422
  8. 2024Training Software Engineering Agents and Verifiers with SWE-Gymcited by 414
  9. 2024SWIFT:A Scalable lightWeight Infrastructure for Fine-Tuningcited by 395
  10. 2025SWE-smith: Scaling Data for Software Engineering Agentscited by 371
  11. 2021ZeRO-Offload: Democratizing Billion-Scale Model Trainingcited by 361
  12. 2025AReaL: A Large-Scale Asynchronous Reinforcement Learning System for Language Reasoningcited by 283
  13. 2023DeepSpeed Ulysses: System Optimizations for Enabling Training of Extreme Long Sequence Transformer Modelscited by 275
  14. 2025R2E-Gym: Procedural Environments and Hybrid Verifiers for Scaling Open-Weights SWE Agentscited by 193
  15. 2025SWE-rebench: An Automated Pipeline for Task Collection and Decontaminated Evaluation of Software Engineering Agentscited by 183
  16. 2023DeepSpeed-Chat: Easy, Fast and Affordable RLHF Training of ChatGPT-like Models at All Scalescited by 112
  17. 2025mHC: Manifold-Constrained Hyper-Connectionscited by 112
  18. 2026Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language Modelscited by 102
  19. 2024Hyper-Connectionscited by 99
  20. 2026On the Design of Qwen3.8-Next Architecture: Evaluation, Efficiency, and Training Stabilitycited by 96
  21. 2025Stabilizing MoE Reinforcement Learning by Aligning Training and Inference Routerscited by 91
  22. 2024ThunderKittens: Simple, Fast, and Adorable AI Kernelscited by 43
  23. 2025INTELLECT-3: Technical Reportcited by 6
  24. 2026Mixture-of-Kittens: MoE Megakernel for NVL72scited by 4

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Part II: ROLL Flash -- Accelerating RLVR and Agentic Training with Asynchrony
  2. 2026FlashREINFORCE: Critic-Free Single-Rollout Asynchronous RL for Agentic Language Models
  3. 2026QwenGyre: An Elastic Reinforcement Learning Framework for Training xLong-Horizon Agents
  4. 2026Libra: Efficient Resource Management for Agentic RL Post-Training
  5. 2026Single-Rollout Asynchronous Optimization for Agentic Reinforcement Learning
  6. 2026Molt: A Scalable PyTorch-Native Training Framework for Agentic Reinforcement Learning
  7. 2025RollArt: Disaggregated Multi-Task Agentic RL Training at Scale
  8. 2026LiteResearcher: A Scalable Agentic RL Training Framework for Deep Research Agent