Learning Adaptive Parallel Reasoning with Language Models
Summary
APR adds spawn()/join() parent-child threads on SGLang, SFT on hybrid symbolic search traces then end-to-end GRPO. On Countdown vs serialized SoS+: 83.4% vs 60.0% at 4k context, 80.1% vs 66.6% at 20k total tokens, 75.2% vs 57.3% at ~5s latency. RL mainly widens search (6.1→8.2 child threads). 228M Llama-2-arch trained from scratch on 500k traces. Accepted at COLM 2025. Code https://github.com/Parallel-Reasoning/APR.
- Venue
- arXiv / UC Berkeley / UCSF
- Purpose
- Train LMs to spawn and join child inference threads instead of one long serialized CoT
- Scale
- 228M non-embedding (Llama-2 tokenizer, ctx 4096); 500k Countdown traces; 0–10 child threads; also 600M Llama-2 and Qwen2.5-1.5B FT ablations; 8×A6000 latency setup
- Time period
- 2025-04-21 (arXiv 2504.15466 v1); last revised 2025-08-17 (v2). Accepted at COLM 2025. HF paper publishedAt 2025-04-21.
- Added
- Oct 1, 2026
- Research status
- done
From the source
- Published
- Apr 21, 2025
- Last revised
- Aug 17, 2025
- arXiv categories
- cs.AI, cs.CL
- Author comment
- Accepted at COLM 2025. Code, model, and data are available at https://github.com/Parallel-Reasoning/APR. The first three authors contributed equally to this work
- Citations
- 67 (5 influential)
- References
- 35
Abstract (from arXiv)
Scaling inference-time computation has substantially improved the reasoning capabilities of language models. However, existing methods have significant limitations: serialized chain-of-thought approaches generate overly long outputs, leading to increased latency and exhausted context windows, while parallel methods such as self-consistency suffer from insufficient coordination, resulting in redundant computations and limited performance gains. To address these shortcomings, we propose Adaptive Parallel Reasoning (APR), a novel reasoning framework that enables language models to orchestrate both serialized and parallel computations end-to-end. APR generalizes existing reasoning methods by enabling adaptive multi-threaded inference using spawn() and join() operations. A key innovation is our end-to-end reinforcement learning strategy, optimizing both parent and child inference threads to enhance task success rate without requiring predefined reasoning structures. Experiments on the Countdown reasoning task demonstrate significant benefits of APR: (1) higher performance within the same context window (83.4% vs. 60.0% at 4k context); (2) superior scalability with increased computation (80.1% vs. 66.6% at 20k total tokens); (3) improved accuracy at equivalent latency (75.2% vs. 57.3% at approximately 5,000ms). APR represents a step towards enabling language models to autonomously optimize their reasoning processes through adaptive allocation of computation.
Tags
Topics
parallel reasoning, inference-time compute, reinforcement learning
Research notes
- Primary: arxiv abs (cs.AI; also cs.CL). License not stated on abs/HTML at check. Equal contrib Pan/Li/Lian. UC Berkeley / UCSF. Code https://github.com/Parallel-Reasoning/APR (145 stars at check). HF paper page 44 upvotes; githubRepo linked; 1 unofficial linked model (Parallel-Reasoning/llama-sosp) not copied into hf_* fields. Discord posted abs. Countdown traces are generated by a symbolic solver, not a substantial hosted corpus, so no datasets_local row. License field left blank per catalog convention.
Notes about this
- Note
RL for language models after GRPO: fixes, costs, rewards, agents (overview)
An overview of the 36 entries on GRPO-style reinforcement learning: known weaknesses and their fixes, rollout cost, reward design, agent training, and the dissenting approaches. Written by Claude Opus 5.5.
Cites, within this collection
Similar entries
- Paper Interference Search: Reasoning over merged states, many branches at once
- Paper GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learning
- Paper Understanding and Mitigating Premature Confidence for Better LLM Reasoning
- Paper Reasoning Models Can Be Effective Without Thinking
- Paper Tropical Reinforcement Learning
- Paper Matryoshka attribution: Learning to attribute language model outputs to representations and weights