Inter-Model Latent Space Communication: A New Approach for Sharing Facts Across Heterogeneous LLMs
This article explores a novel communication paradigm for multi-agent systems built on large language models (LLMs). Instead of relying on natural language exchanges or directly transferring high-dimensional hidden vectors between models, the proposed method uses shared symbolic tokens as an index into each model's local representation space. This approach avoids the need for cross-model alignment or dedicated translation modules, reduces communication overhead, and naturally supports heterogeneous model architectures. The article explains why direct vector transfer fails, compares existing solutions, details the symbolic indexing mechanism, and discusses its practical limitations and engineering considerations.
As multi-agent systems become a mainstream architecture for large language model (LLM) applications, one engineering challenge stands out: How should different models communicate with each other?
The most common approach is natural language exchange — one model outputs text, another reads it. This method offers maximum compatibility, since any model can process text. However, it inherits the inherent drawbacks of natural language: verbosity, information loss, and serial processing. A model internally forms a highly compressed semantic representation, but it must “down-dimension” that representation into a sequence of tokens, only for the receiver to “up-dimension” it back. The resulting information loss and computational overhead are considerable.
Researchers have therefore explored an alternative: letting models exchange their internal states directly — specifically, hidden-layer activations or latent space vectors. In theory, this is like passing along “what the model already has in mind,” skipping the encode-decode round trip.
Why Direct Vector Transfer Does Not Work
The problem lies in the incompatibility of representation spaces. Each model develops its own semantic geometric structure during pretraining. For the concept “red,” for instance:
- Model A might encode it as a specific set of coordinates in a 768-dimensional subspace of layer 12;
- Model B might represent it with a completely different distribution of values in a 4096-dimensional space;
- There is no prior alignment between the two spaces.
Feeding Model A’s vector directly into Model B is, from Model B’s perspective, just noise in a high-dimensional space. It is similar to playing a Chinese speech waveform to someone who only reads English text — the information is fully present, but the receiver cannot parse it.
Two Existing Trade-offs
Current research approaches the incompatibility problem in two main ways, each with its own cost:
Path 1: Train a translation module. An alignment training process learns a mapping function from Model A’s representation space to Model B’s. This works well, but every time a new model is introduced, a new translator must be trained. Costs grow quickly with the number of participating models, and mapping quality depends on paired training data.
Path 2: Constrain model architecture. Only models with similar structures or from the same family are allowed to communicate, ensuring their representation spaces are naturally close. This removes translation overhead but drastically limits the range of collaborable models — and heterogeneous collaboration is a core value of multi-model systems.
Is there a third path — one that requires neither training a translator nor restricting model architecture?
Symbolic Indexing: Send Tokens, Not Vectors
A research team’s proposal offers a promising answer, summarized in one sentence: Do not send vectors — send tokens (words). Keep the vectors local to each model.
The theoretical basis comes from a study on internal representations in language models. Within a single model, a specific word (e.g., “red”) corresponds to a relatively stable set of internal representations, capable of supporting answers to a variety of questions rather than serving a single task. In other words, the model’s internal space exhibits a stable, word-anchored semantic structure.
Based on this observation, the collaboration process can be designed as follows:
Build a shared symbol table. Participating models agree on a set of shared vocabulary (keywords, entity names, or words from intermediate reasoning conclusions) that serves as “common currency” for communication.
Maintain local indexes independently. Each model computes and stores the corresponding vectors for these shared words within its own internal space, forming a private “word-to-vector” lookup table. No cross-model alignment is needed, because each model uses only its own vectors.
Transmit only indexes during communication. When Model A wants to pass a fact to Model B, it does not send high-dimensional vectors — it sends an identifier or a few word tokens. Model B receives the word identifiers, looks up its own local table, retrieves its corresponding vectors, and injects them into its reasoning process.
A simplified pseudocode illustration:
# Each model maintains a local indexlocal_index = {word: model.encode(word) for word in shared_vocab}# Model A sends a factpayload = ["volcano", "magma", "cooling"] # only symbolic indexes are sent# Model B receives and reconstructs semanticsvectors = [local_index[w] for w in payload]inject(vectors, layer=middle_layers) # inject into its own reasoning process
Why This Design Is Elegant
Communication overhead drops significantly. A high-dimensional vector can contain thousands of floating-point numbers, while a token index is just an integer or a short string. Conveying a complex fact may require only a few tokens, reducing bandwidth costs by several orders of magnitude.
The space alignment problem is completely sidestepped. Because vectors are never transmitted across networks — they remain within each model’s internal space, interpreted by the model itself — there is no “translation,” hence no training cost for translators.
Heterogeneous models are naturally supported. A 7-billion-parameter model and a 100-billion-parameter model can collaborate as long as they agree on the same set of shared words (which is an agreement at the natural language level, not the representation space level). Model family, architecture, and dimensionality pose no barrier.
Semantic anchors are stable. Research indicates that word representations within a model are relatively stable and support multiple tasks, so the local indexes built around words are reusable — they do not need to be recomputed for each communication.
Limitations and Engineering Considerations
This paradigm is not without costs. Several issues must be addressed when putting it into practice:
- Expressiveness is limited by symbol granularity. Complex reasoning states that are difficult to capture with discrete words (e.g., subtle logical relationships or spatial imagination) may lack a suitable word index, causing lossy symbolic communication.
- Building the shared vocabulary has a cost. The vocabulary must be agreed upon in advance by all collaborating parties. In cross-lingual or multi-domain scenarios, selecting appropriate anchor words is an engineering challenge that requires careful design.
- Injection position and method matter. For the receiver, the layer at which vectors are injected, and how (e.g., as prefix activations or attention bias), affects performance and requires task-specific tuning.
Conclusion
“Sharing symbols, not vectors” offers a middle path that balances generality and efficiency: it avoids the high information loss of natural language communication, and it eliminates the need for representation space alignment or training additional translation modules, unlike direct vector transfer. For engineering teams building heterogeneous multi-model collaboration systems, this approach highlights a key direction: the bottleneck in multi-agent communication may not be model capability but the design of the communication protocol itself. Choosing the right “common currency” may be more practical than attempting to force direct latent-space convergence. As research in this area deepens, we may see hybrid solutions that further integrate symbolic-level communication with latent-space communication.
