Explore the research collection
3 entries · Follow this search
- Paper
DualKV: Shared-Prompt Flash Attention for Efficient RL Training with Large Rollouts and Long Contexts
Standard FA2 packs N same-prompt rollouts as N(P+R) tokens, recomputing the prompt N times. DualKV repacks to P+NR and splits attention into one prompt self-attention plus a fused kernel that reads shared KV once and accumulates N-way dK/dV with fp32 atomics; mathematically equivalent, no approximation. On Qwen3-8B GRPO (8xH100, N=32, 8K-context) policy-update is 1.63–2.09x faster, MFU 36%→76%; DAPO 2.47x / 77% MFU. At 30B MoE on 16xH100, 3.82x policy-update and 3.38x step vs FA2 that needs 4-way Ulysses SP. Also supports Gemma-4 hybrid d=512 / sliding-window at 64K. Code https://github.com/amazon-science/dualkv-flash-attn-for-rl.
- Paper
Planned Test-Time Scaling with Coordinated Reasoning Paths
UCLA+Amazon preprint (arXiv 2609.27374v1, cs.CL/cs.AI; 2026-09-23) introducing Planned Test-Time Scaling (PTTS): a planner jointly emits k solution outlines and a frozen reasoning-model executor solves each outline-conditioned branch, replacing independent repeated sampling. Formally PTTS generalizes RS; stylized analysis shows pass@k-optimized joint planning covers complementary modes vs pass@1 mode collapse. Instantiations: PTTS-ZS (base LLM jointly generates all outlines in one AR pass) and PTTS-RL (optimize planner on pass@k with truncated executor rollouts). On MATH-500, AIME 2024/25/26, HMMT-Feb26 with Qwen3-1.7B/4B executors, PTTS-ZS gains up to +6.7 pass@64 vs RS; PTTS-RL up to +13.4 (1.7B) / +6.7 (4B); PTTS-RL pass@32 exceeds RS pass@64. Code Apache-2.0 at github.com/shirley-wu/planned-test-time-scaling; no HF Papers page yet.
- Paper
DAPO: An Open-Source LLM Reinforcement Learning System at Scale
arXiv 2503.14476 (v2): Decoupled Clip and Dynamic sAmpling Policy Optimization—Clip-Higher, dynamic sampling, token-level PG loss, overlong filtering/shaping. Reports 50 AIME24 with Qwen2.5-32B vs naive GRPO ~30; open-sources verl-based code + DAPO-Math-17k. Discord: RL better than GRPO / ByteDance DAPO.