Latent Collaboration in Multi-Agent Systems

Jiaru Zou, Ruizhong Qiu, Gaotang Li, Xiyuan Yang, Katherine Tieu, Pan Lu, Ke Shen, Hanghang Tong, Yejin Choi, Jingrui He, James Zou, Mengdi Wang, Ling Yang

TL;DR

This paper introduces LatentMAS, a novel framework for multi-agent systems (MAS) that enables Large Language Models (LLMs) to collaborate directly in their internal "latent space" rather than relying on text-based communication. LatentMAS significantly boosts reasoning accuracy, drastically reduces computational overhead (token usage and inference speed), and achieves this without any additional training.

What Problem Does This Paper Address?

Traditional multi-agent systems (MAS) using LLMs often rely on text-based communication between agents. This approach, while effective, can be inefficient due to the overhead of encoding and decoding information into text, and it can lead to error propagation as text-based reasoning traces can be brittle. The authors identify a gap in enabling agents to collaborate more seamlessly and efficiently by leveraging the rich, continuous representations within the LLMs themselves – their latent space. They aim to create a system where agents can share their internal "thoughts" and reasoning processes directly, leading to better performance and efficiency.

Methods

LatentMAS introduces a training-free framework for latent collaboration. Its core components are:

  • Auto-regressive Latent Thoughts Generation: Instead of generating text tokens, each agent generates "latent thoughts" as sequences of last-layer hidden embeddings. This allows reasoning to unfold directly within the model's internal representations.
  • Input-Output Alignment: To ensure these latent thoughts are compatible with the model's input layers, a linear alignment operator (Wa) is used to map hidden states to a valid input embedding space. This is done without any additional training.
  • Latent Working Memory Transfer: Agents communicate by transferring their latent working memory (specifically, KV caches from transformer layers) to subsequent agents. This ensures lossless information exchange without the need for re-encoding into text.

The framework is designed to be agnostic to specific MAS architectures, working with both sequential and hierarchical settings.

Datasets

The paper evaluates LatentMAS on 9 comprehensive benchmarks across various domains:

  • Math & Science Reasoning: GSM8K, AIME24, AIME25, GPQA-Diamond, MedQA
  • Commonsense Reasoning: ARC-Easy, ARC-Challenge
  • Code Generation: MBPP-Plus, HumanEval-Plus

Key Insights and Ideas

  • Latent space is a richer communication channel: By communicating directly in the latent space, agents can share more nuanced and expressive information than through discrete text tokens. This leads to better reasoning and fewer errors.
  • Training-free collaboration is powerful: LatentMAS achieves significant improvements without any additional training, making it highly practical and easy to implement.
  • Efficiency gains are substantial: The framework drastically reduces inference time and token usage, making LLM-based MAS more scalable and cost-effective.
  • Lossless information transfer is key: The latent working memory mechanism ensures that no information is lost during inter-agent communication, preventing error compounding.

Key Results

LatentMAS demonstrates impressive performance across various benchmarks and model scales:

  • Accuracy: Achieves up to 14.6% higher accuracy compared to single-model baselines and 2.8%-4.6% over text-based MAS.
  • Inference Speed: Provides a 4x-4.3x faster end-to-end inference speed compared to text-based MAS, even when TextMAS is optimized with vLLM.
  • Token Usage: Reduces output token usage by 70.8%-83.7% compared to text-based MAS, and by 15.0%-60.3% compared to single agents.
  • Theoretical Guarantees: The paper provides theoretical analyses showing LatentMAS's higher expressiveness and lower complexity compared to text-based MAS.
  • Robustness: LatentMAS shows consistent performance gains across different LLM families (Qwen3 and Llama3) and MAS architectures (sequential and hierarchical).

Limitations and Future Work

  • Heterogeneous Agents: The current framework assumes agents share the same transformer layer shapes. The authors suggest future work could relax this assumption by leveraging prior studies on layer mapping and ensemble learning.
  • Optimization of Latent Collaboration Protocols: While LatentMAS optimizes latent collaboration, there's potential to adapt advanced post-training paradigms from text-based MAS to further enhance multi-agent reasoning strategies.
  • Optimal Latent Step Depth: While performance plateaus or declines beyond 40-80 latent steps, finding the precise optimal number for different tasks and models could be further explored.
  • Debugging and Interpretability: The "debug mode" offers a way to inspect latent thoughts, but further work could enhance interpretability and auditing of the latent collaboration process.

Summary updated

BibTeX
@inproceedings{zou2026latent,
  author = {Jiaru Zou and Ruizhong Qiu and Gaotang Li and Xiyuan Yang and Katherine Tieu and Pan Lu and Ke Shen and Hanghang Tong and Yejin Choi and Jingrui He and James Zou and Mengdi Wang and Ling Yang},
  title = {{Latent Collaboration in Multi-Agent Systems}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=syG9I9ofd8},
}
Figure