Learning from Peers in Reasoning Models

Tongxu Luo, Wenyu Du, Jiaxi Bi, Stephen Chung, Zhengyang Tang, Hao Yang, Min Zhang, Benyou Wang · DOI

Introduction

Large Reasoning Models (LRMs), such as OpenAI’s o1 and DeepSeek-R1, have demonstrated remarkable capabilities in complex problem-solving through test-time scaling. However, these models are susceptible to what researchers call the Prefix Dominance Trap. When a model initiates a reasoning trajectory with a flawed premise or an incorrect first step, it often fails to recover, even with internal self-correction mechanisms. Empirical tests show that forcing a model to start with a flawed 15% prefix can drop performance by nearly 20%, suggesting that the initial logic "traps" the model in a local minimum.

To address this, the LeaP (Learning from Peers) framework introduces a social dimension to inference. By allowing parallel reasoning paths to exchange summaries of their progress, models can break out of flawed trajectories by "listening" to alternative perspectives from their peers.

The LeaP Framework

LeaP facilitates cross-path interaction during parallel inference through a three-stage process: summarization, routing, and reflection.

The LeaP framework (b) allows parallel reasoning paths to communicate via a router, contrasting with independent reasoning (a).
  1. Summarization: At specific communication intervals (every $T$ tokens), each reasoning path generates a concise summary of its current logic and intermediate results.
  2. Routing: These summaries are distributed to other paths. The researchers found that a Dispersed strategy—sharing summaries with paths that have different reasoning—is most effective for encouraging diversity and breaking the Prefix Dominance Trap.
  3. Reflection: Each path receives peer summaries and uses them to verify or refine its own trajectory. This allows a path that is "stuck" to adopt a more promising direction discovered by a peer.

To optimize this process for smaller models (7B and 14B), the authors developed the LeaP-T series, which are fine-tuned specifically to handle the nuances of summarizing and reflecting on peer insights.

Mechanism in Practice

The effectiveness of LeaP is best illustrated through complex mathematical problems where multiple valid approaches exist. In the example below, Path $i$ and Path $j$ explore different aspects of a geometry problem. Through the routing of summaries, a path can identify errors in its own logic by comparing its intermediate conclusions with those of a peer.

A case study showing how peer summaries and routing help a model self-verify and refine its final answer.

Key Results and Insights

LeaP demonstrates significant performance gains across elite benchmarks, including AIME 2024/2025, AIMO 2025, and GPQA Diamond. Notable findings include:

  • Outperforming the Giants: A QwQ-32B model using LeaP (Top-4 Dispersed routing) outperformed the massive 671B DeepSeek-R1 on AIME and AIMO benchmarks by an average of 3.3 points.
  • Robustness to Noise: LeaP is surprisingly resilient to "bad advice." Even when initial peer prefixes were 100% incorrect, LeaP-enabled models still outperformed baselines, suggesting LRMs have a strong internal filter for useful signals.
  • Efficiency Gains: Contrary to expectations, communication does not necessarily increase token counts. LeaP often leads to shorter total response lengths as models reach a correct consensus faster, reducing redundant or circular reasoning.
  • Timing is Critical: Communication is most impactful in the early-to-mid stages of reasoning (around 4K tokens). Waiting too long to check in with peers allows the model to commit too deeply to a flawed path.

Conclusion

LeaP shifts the paradigm of LRM inference from isolated self-correction to collaborative peer learning. By breaking the Prefix Dominance Trap through structured communication, even smaller models can achieve performance levels previously reserved for much larger architectures. Future work aims to integrate these collaborative behaviors directly into the Reinforcement Learning (RL) phase, potentially creating models that are inherently designed for collective reasoning.

Summary updated

BibTeX
@misc{luo2025learning,
  author = {Tongxu Luo and Wenyu Du and Jiaxi Bi and Stephen Chung and Zhengyang Tang and Hao Yang and Min Zhang and Benyou Wang},
  title = {{Learning from Peers in Reasoning Models}},
  year = {2025},
  eprint = {2505.07787},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.07787},
}
Figure