TL;DR
Interlat introduces a paradigm where LLM-based agents communicate directly via continuous latent states (hidden layers) rather than discrete natural language text. This "telepathic" approach preserves rich, parallel reasoning paths that text discards, works seamlessly across different model families, and can be aggressively compressed to achieve up to a 24× inference speedup while outperforming traditional Chain-of-Thought prompting on complex tasks.
What Problem Does This Paper Address?
Multi-agent LLM systems typically collaborate using natural language. While human-readable, text forces an LLM to compress its rich, high-dimensional internal states into a single linear sequence of discrete tokens (such as a Chain-of-Thought plan).
This downsampling process is inherently lossy—it discards alternative reasoning paths and introduces substantial computational redundancy because much of the generated text serves linguistic coherence rather than task-critical information. This language bottleneck can lead to ambiguity, coordination failures, and high communication latency in multi-agent workflows.
Methods
The authors propose Interlat (Inter-agent Latent Space Communication). Instead of decoding hidden states into text tokens to pass to another agent, the sender agent directly transmits the sequence of its last-layer hidden states ($H$) to the receiver agent.
Key components of the method include:
- Communication Adapter: A lightweight multi-head attention (MHA) and projection layer that maps the sender's latents into the receiver's input embedding space.
- Thought Separation Loss ($L_{sep}$): To ensure the receiver actually attends to and utilizes this latent information, the authors introduce an objective based on Jensen-Shannon divergence that forces the model to distinguish between task-matched latents and mismatched latents from other tasks.
- Plan-Aligned Regulation ($L_{align}$): A regularization loss that prevents the model from exploiting the separation loss by shifting probability mass toward idiosyncratic tokens, keeping it anchored to the task utility.
- Curriculum Learning: To stabilize the training process, a token-to-latent curriculum stochastically mixes early communication positions with standard token embeddings, gradually phasing in pure latent communication.
- Latent Space Compression: To mitigate the latency of long latent trajectories, they train a separate reasoning model to autoregressively generate compact latent messages directly in the latent space (without decoding to tokens), guided by geometric alignment and uncertainty-weighted agreement losses.
Datasets
The framework was evaluated on two distinct benchmarks:
- Alfworld: A text-based environment simulating embodied household tasks (e.g., "put two watches in the dresser") that requires long-horizon perception, planning, and sequential action execution.
- MATH: A benchmark for multi-step symbolic mathematical reasoning, used to test the framework's generalization to non-interactive, highly complex reasoning across various difficulty levels (Levels 3 to 5).
Key Insights and Ideas
- Preventing "Premature Collapse": On highly complex tasks (like MATH Level 5), forcing an LLM to linearize its thoughts into text acts as a restrictive bottleneck. Latent communication allows the model to maintain a superposition of parallel hypotheses in continuous space, enabling a broader search that text decoding blocks.
- Cross-Family Telepathy: Remarkably, Interlat works even when the sender and receiver belong to entirely different model families (e.g., feeding Qwen-derived latents into a LLaMA actor). Because they operate on distinct latent manifolds, this success demonstrates that latent communication encodes model-agnostic, task-relevant semantics rather than just exploiting family-specific activation shortcuts.
- Informed Exploration: Agents communicating via latents naturally exhibit more thorough exploratory behavior in interactive environments. This increased trajectory length correlates with higher success rates, meaning the agents are engaging in structured exploration rather than random wandering.
Key Results
- Outperforming Baselines: Interlat consistently outperformed both fine-tuned Chain-of-Thought (CoT) and single-agent baselines on Alfworld across multiple backbones (Qwen2.5-7B/0.5B and LLaMA3.1-8B).
- Hard Task Superiority: On the most challenging MATH Level 5 problems, Interlat inverted the typical trend where latent reasoning underperforms text, beating the strong CoT baseline (15.80% vs 15.05%).
- Massive Latency Reduction: Through latent-space compression training, reasoning trajectories were compressed down to just 8 latent vectors. This achieved up to a 24× reduction in communication latency (dropping end-to-end message generation time from 9.19 seconds to 0.20 seconds) while maintaining competitive performance.
- Structured Reorganization: PCA visualizations confirmed that the communication adapter successfully aligns and clusters the latent representations into clear, task-specific semantic regions.
Limitations and Future Work
- The Closed-Source Barrier: Interlat fundamentally relies on accessing internal model representations (specifically last-layer hidden states). This makes it inapplicable to closed-source or API-only models like GPT-4 or Claude.
- Loss of Human Interpretability: Trading language for latents means human operators can no longer read the agents' "thoughts" inline, which significantly complicates debugging, safety auditing, and alignment monitoring.
- Topology Scaling: The study primarily focused on controlled 2-agent and 3-agent setups. Scaling entirely latent communication to larger, heterogeneous agent ecosystems with dynamic roles, tool use, and external memory remains an open challenge.
Summary updated