Abstract
While natural language is the de facto communication medium for LLM-based agents, it presents a fundamental constraint. The process of downsampling rich, internal latent states into discrete tokens inherently limits the depth and nuance of information that can be transmitted, thereby hindering collaborative problem-solving. Inspired by telepathy, we propose Interlat (Inter-agent Latent Space Communication), a paradigm that leverages the continuous last hidden states of an LLM as a representation of its thought for direct communication. An additional learned compression process further compresses latent communication via latent space reasoning. Experiments demonstrate that Interlat outperforms both fine-tuned chain-of-thought (CoT) prompting and single-agent baselines, even across heterogeneous models, promoting more exploratory behavior and enabling genuine utilization of latent information. Further compression not only substantially accelerates inference by up to 24 times but also maintains competitive performance through an efficient information-preserving mechanism.
Introduction: The Language Bottleneck
In current multi-agent systems, Large Language Models (LLMs) typically communicate via natural language. While human-readable, this medium acts as a significant bottleneck for the models themselves. To "speak," an agent must downsample its high-dimensional internal reasoning into a sequence of discrete tokens. This process is inherently lossy, discarding alternative reasoning paths; redundant, as linguistic coherence adds computational overhead; and slow, due to token-by-token generation. Language-based communication can also be ambiguous, leading to coordination failures in complex tasks.
The Interlat Framework
Interlat bypasses the "language head" of the model entirely, allowing agents to share their high-dimensional hidden states directly. This "telepathic" approach allows the receiver to access a richer representation of the sender's reasoning process.
The framework consists of several key components:
- Direct Latent Transmission: Instead of tokens, the sender transmits temporally aligned last-layer hidden states.
- Communication Adapter: The receiver utilizes a lightweight module—comprising Multi-Head Attention (MHA) and a Projector—to rescale and interpret incoming "thoughts."
- Stable Training Curriculum: To stabilize the learning process, the authors employed a token-to-latent curriculum, gradually replacing text embeddings with latent states during training.
- Information Compression: A separate reasoning model is trained to generate compact latent messages. By producing a tiny "latent prefix" (as few as 8 steps), the system achieves significant efficiency gains.
- Specialized Loss Functions: "Conditional Thought Separation" forces the model to distinguish relevant from irrelevant latents, while "Plan-aligned Regulation" ensures reasoning remains anchored to the task.
Experimental Evaluation
Interlat was evaluated on two primary benchmarks: ALFWorld, a text-based embodied environment requiring multi-step planning for household tasks, and MATH, a standard benchmark for symbolic mathematical reasoning. The experiments utilized Qwen2.5 (7B and 0.5B) and LLaMA3.1-8B models.
Key Insights and Results
A notable observation during training was a distinct dynamic where the model's loss plateaus for approximately 2,000 steps before a sharp decline. This "Aha" moment marks the point where the agent suddenly learns to effectively interpret the latent information.
Other key findings include:
- Performance Gains: Interlat consistently outperformed fine-tuned Chain-of-Thought (CoT) baselines, particularly on difficult Level-5 MATH problems.
- Parallel Hypotheses: Unlike linear text plans, latent states can represent a superposition of multiple reasoning paths, allowing for more flexible and exploratory behavior.
- Inference Speedup: Compressing latent communication to just 8 steps resulted in a 24x reduction in communication latency compared to full-length latent transmission, with minimal impact on success rates.
- Cross-Family Compatibility: Surprisingly, Qwen-generated latents could be effectively interpreted by a LLaMA actor, suggesting a degree of universality in task-critical latent structures across different model families.
Conclusion and Future Work
Interlat demonstrates the feasibility of entirely latent space inter-agent communication, offering a path toward more efficient and nuanced agent collaboration. While currently focused on two-agent setups, future research will explore multi-agent group dynamics, integration with external tools (RAG), and methods to improve the human interpretability of these latent exchanges without sacrificing efficiency.
Summary updated