TL;DR
Large Reasoning Models (LRMs) suffer from a "Prefix Dominance Trap": if they start down a flawed reasoning path, internal self-correction rarely saves them. To break this trap, the authors introduce Learning from Peers (LeaP), an inference-time collaboration framework where parallel reasoning paths periodically pause, summarize their progress, and exchange insights using a diversity-seeking router. LeaP consistently boosts reasoning performance across diverse benchmarks—allowing QwQ-32B to surpass the massive DeepSeek-R1-671B on challenging math competitions.
What Problem Does This Paper Address?
Recent LRMs (like OpenAI's o-series, DeepSeek-R1, and QwQ) excel at complex tasks thanks to test-time scaling—generating long chains of thought filled with self-verification and "aha moments." However, the authors reveal that this internal self-correction mechanism is surprisingly fragile.
In controlled experiments where models are fed a flawed starting prelude (constituting just 15% to 35% of the total solution length), performance drops precipitously by 20% to 30%. The authors coin this the "Prefix Dominance Trap." Once a model's autoregressive context is anchored on a bad start, it almost never escapes on its own. Rather than relying solely on single-stream internal self-correction, the authors look to collaborative learning: can external signals from parallel reasoning paths nudge a trapped model back on track?
Methods
LeaP transforms standard parallel sampling (e.g., best-of-$N$ or self-consistency) into an interactive, multi-agent collaboration during decoding:
- Periodic Summarization: Every $T$ tokens (typically $T = 4096$), generation pauses across all $N$ parallel paths. Each path generates a concise summary ($\le 256$ tokens) recapping its current insights, strategy, and intermediate results.
- Selective Peer Routing: Exposing every path to all peer summaries causes cognitive overload and wastes tokens. Instead, a router selects the top-$k$ summaries (optimally $k=4$) for each path. The authors test several heuristics and find Dispersed Routing—which picks the least similar peer summaries (measured via normalized Levenshtein distance or semantic embeddings)—works best by injecting fresh, non-redundant perspectives.
- Cross-Path Verification & Refinement: Each path appends the selected peer summaries to its context, evaluates whether peer findings contradict or refine its own, and resumes reasoning.
- Supervised Fine-Tuning (LeaP-T): Smaller models (e.g., 1.5B to 7B) often struggle to reliably summarize or reflect on instructions zero-shot. The authors synthesize reasoning traces with LeaP using DeepSeek-R1-Distill-32B and fine-tune smaller checkpoints, creating the LeaP-T series.
[ Path 1 ] [ Path 2 ] [ Path 3 ]
│ │ │
(Every T tokens) (Every T tokens) (Every T tokens)
▼ ▼ ▼
[Summary 1] [Summary 2] [Summary 3]
└───────────────┬───────┴───────────────┬───────┘
▼ ▼
[ Dispersed Routing: Select Top-k Diverse Summaries ]
│ │
┌───────────────┴───────────────────────┘
▼ ▼
[Inject into Path 1 Context] [Inject into Path 2 Context]
(Self-Verify & Refine) (Self-Verify & Refine)
Datasets
The authors evaluated LeaP and LeaP-T on demanding STEM, math, and logic benchmarks:
- Mathematics: AIME 2024 (30 problems), AIME 2025 (30 problems), and the AIMO 2025 reference set (10 problems).
- Scientific Reasoning: GPQA Diamond (198 graduate-level STEM questions).
- Logic Reasoning: ZebraLogic (over 3,000 natural-language constraint satisfaction puzzles).
- Training Data (for LeaP-T): ~1,000 historical AIME problems (1984–2023) used to synthesize interactive traces.
Key Insights and Ideas
- Diversity Beats Consensus During Search: Dispersed routing (routing dissimilar peers) consistently outperformed Clustered routing (routing similar peers). Redundant summaries reinforce the model's existing biases, whereas distinct formulations help it spot blind spots.
- Timing is Everything: Early-to-mid stage communication ($T \approx 4\text{K}$ tokens) is far more impactful than late-stage communication. In fact, running just a single exchange round early on (LeaP-S) captures most of the performance gains.
- Asymmetric Error Correction: In human evaluations, LeaP fixed flawed paths 40.6% of the time, while 0% of initially correct paths were derailed by erroneous peer summaries. The model leverages its native self-verification to filter out peer noise.
- High Noise Tolerance: In experiments with 100% bad starting prefixes, LeaP still achieved 41.9% Pass@1 versus 28.7% for the baseline. With only 43% good beginnings, LeaP surpassed a baseline starting with 100% good beginnings.
- Fewer "Aha" Moments, Less Overthinking: Because peer summaries provide direct hints and sanity checks, models with LeaP exhibited up to 16.4% fewer backtracking/reflection phrases ("aha" moments), reaching correct conclusions without rambling.
Key Results
- Beating DeepSeek-R1-671B: QwQ-32B equipped with LeaP gained nearly 5 absolute points on average across benchmarks, achieving 85.83% on AIME 2024 (vs. 79.8% for DeepSeek-R1-671B) and outperforming R1-671B across all three math benchmarks by 3.3 points on average.
- Model Efficiency Gains: On AIME 2024, the fine-tuned LeaP-T-7B achieved 64.38% Pass@1, matching the baseline performance of the twice-as-large DeepSeek-R1-Distill-14B (64.47%).
- Cross-Domain Generalization: On ZebraLogic puzzles, LeaP boosted DeepSeek-R1-7B from 46.88% to 53.08% Pass@1, and increased consensus voting (Cons@8) from 53.11% to 76.43%.
- FLOP & Token Budget Efficiency: Comparing Cons@$N$ against compute, LeaP delivered substantially higher accuracy than independent majority voting under matched token and FLOP budgets (extra FLOP overhead was only ~12%).
Limitations and Future Work
- Heuristic String Matching: The primary router uses Levenshtein distance to gauge dissimilarity. While semantic embeddings modestly improve routing quality, both add external pipeline complexity.
- Token Overhead from Natural Language: Peer summaries must be serialized into text and prefilled into each stream, adding memory and compute overhead.
- Future Direction (Latent Communication): The authors advocate moving cross-stream peer interaction directly into the model's hidden layers (latent space), allowing parallel reasoning paths to exchange continuous representations without generating intermediate natural language tokens.
Summary updated