Message Passing Enables Efficient Reasoning

Xuecheng Liu, Daman Arora, Gokul Swamy, Andrea Zanette

TL;DR

Message Passing Language Models (MPLMs) move beyond sequential reasoning by allowing multiple LLM threads to communicate directly via lightweight send and receive primitives. By enabling decentralized coordination and early "preemption" of unpromising search branches, MPLMs achieve dramatically better scaling and efficiency than standard serial or fork-join approaches, even outperforming frontier models like GPT-5 Pro on complex structured puzzles.

What Problem Does This Paper Address?

Modern reasoning models typically rely on a "Chain-of-Thought" (CoT)—a long, monolithic sequence of reasoning steps generated one token at a time. This process is inherently serial, creating a massive computational bottleneck. While recent "Fork-Join" (FJ) methods attempt to parallelize this by spawning multiple threads, they remain centralized: all information must flow back through a "parent" thread, which then redistributes it.

The authors liken this to a dysfunctional company where every minor employee decision must be routed through the CEO. This structure is brittle, limits parallelism, and leads to "context pressure," where the quadratic cost of self-attention makes processing long reasoning chains prohibitively expensive.

Methods

The authors introduce Message Passing Language Models (MPLMs), a framework where reasoning is decomposed into persistent, semi-independent threads. Instead of a central hub, threads talk to each other directly using four new execution directives:

  • <spawn>: Creates new worker threads.
  • <send>: Sends a targeted message to specific peer threads.
  • <recv>: Blocks a thread until it receives necessary information from its neighbors.
  • <stop>: Terminates a thread.
Figure 1: Comparison of reasoning paradigms for scaling test-time compute. Top: Serial Chain-of-Thought (CoT), where a single model generates a monolithic reasoning trace sequentially from prompt to answer. Middle: Fork-Join parallelism, where multiple in- dependent transient CoT threads are spawned in parallel and periodically synchronized via global join operations before continuing. Bottom: Message Passing Language Models (MPLMs), where concurrently decoded threads communicate directly through explicit send and recv primitives and maintain a persistent context, enabling fine-grained coordination and information sharing throughout inference.

This system is managed by a lightweight controller sitting atop a standard batched inference engine (like vLLM). Crucially, these threads maintain a persistent context, meaning they don't need to be re-spawned from scratch every time new information arrives.

Datasets

The researchers evaluated MPLMs across three distinct domains:

  1. Sudoku Puzzles: Ranging from $4\times4$ to $25\times25$. These represent tasks with sparse, local communication needs.
  2. 3-SAT Puzzles: A classic NP-complete logic problem used to test the benefits of "preemption" (killing off search branches once a solution is found elsewhere).
  3. LongBench-v2: A real-world benchmark for long-context question answering (8K to 2M words) to see if prompted (non-fine-tuned) models can adopt the MPLM protocol.

Key Insights and Ideas

  • Exploiting Sparsity: In a Sudoku grid, a cell only needs to know the values of its immediate neighbors in the same row, column, or block. MPLM allows threads to exchange only this relevant local data, whereas Fork-Join forces a central master to aggregate the entire board state every iteration.
  • The Power of Preemption: In search tasks like 3-SAT, if one worker finds a satisfying assignment, it can immediately signal the parent to kill all other active threads. This prevents wasted compute on "unpromising" branches.
  • Asymptotic Efficiency: The authors prove that for a task with $N$ workers and $k$ neighbors, MPLM context requirements scale by a factor of $N/k$ better than Fork-Join. When communication is sparse ($k \ll N$), this advantage is massive.
  • Context Respawning: To prevent a worker's memory from growing indefinitely, a thread can "respawn" itself with a summarized version of its own history, effectively resetting its working memory without losing critical state.

Key Results

The results demonstrate a structural shift in how LLMs can scale:

  • Sudoku Scaling: MPLM exhibited significantly lower scaling exponents for both sequential tokens and maximum context compared to Serial and FJ paradigms.
  • Outperforming Frontier Models: A fine-tuned 0.6B Qwen model using MPLM solved 72% of $25\times25$ Sudoku puzzles. In contrast, GPT-5 Pro (without tools) solved only 20%, and DeepSeek-R1 failed to solve any.
  • Latency Gains: On 3-SAT, MPLM was consistently faster than FJ, especially on unbalanced search trees where preemption could trigger early.
  • Long-Context QA: On LongBench-v2, prompted models using MPLM achieved a 1.7x to 2.2x reduction in latency compared to Fork-Join baselines while maintaining or improving accuracy.
Scaling of sequential tokens and maximum context for Sudoku. MPLM shows a much shallower slope, indicating better efficiency as problem size grows.

Limitations and Future Work

A primary limitation is that MPLM currently requires workers to know who they need to talk to. While this is clear in structured domains like Sudoku, it is more difficult in open-ended tasks. The authors suggest that future work should focus on training models to dynamically discover these communication patterns. Additionally, they propose adding more complex primitives like "broadcasting" or "all-gather" to further enhance the framework's expressiveness.

Summary updated

BibTeX
@inproceedings{liu2026message,
  author = {Xuecheng Liu and Daman Arora and Gokul Swamy and Andrea Zanette},
  title = {{Message Passing Enables Efficient Reasoning}},
  booktitle = {COLM},
  year = {2026},
  url = {https://openreview.net/forum?id=X5TrciQRnV},
}
Figure