TLDR: This research introduces a method for Large Language Models (LLMs) to communicate directly by translating their internal semantic representations (vectors) instead of relying solely on text. A dual-encoder system learns to map vectors between models like Llama-2-7B and Mistral-7B-Instruct. These translated vectors are then injected into the target model’s processing at a conservative blending strength (30%), enabling semantic transfer without destabilizing the model or interfering with precision tasks. The study also reveals that general-purpose models yield more transferable representations than instruction-tuned variants.
In the rapidly evolving world of artificial intelligence, Large Language Models (LLMs) are becoming increasingly sophisticated, often working together in complex multi-agent systems. Traditionally, when these powerful AI models collaborate, they communicate by exchanging plain text tokens. This method, while functional, has significant limitations: it discards much of the rich, underlying semantic information that models use internally, leading to wasted computational resources and a restricted flow of nuanced information.
A groundbreaking new research paper introduces a novel approach to overcome these limitations by enabling direct semantic communication between LLMs through what the authors call ‘vector translation’. Imagine two individuals understanding each other’s thoughts directly, without needing to articulate every idea into spoken words – this is the essence of what this research aims to achieve for AI models.
The paper, titled “Direct Semantic Communication Between Large Language Models via Vector Translation”, proposes creating a ‘latent bridge’ that allows models to exchange meaning directly between their internal representation spaces. This means instead of converting complex internal ‘thoughts’ into text and then having another model decode that text back into its own internal ‘thoughts’, the models can share these internal representations directly.
The researchers developed a ‘dual-encoder translator’ system. This system learns to map the internal vector representations of one LLM into a format that another LLM can understand and utilize. For their experiments, they successfully trained this translator between Llama-2-7B (a general-purpose model) and Mistral-7B-Instruct (an instruction-tuned model), achieving an average cosine alignment of 0.538 between the translated and target vectors.
A critical innovation is the ‘vector injection mechanism’. Rather than completely overwriting the target model’s internal state, the translated vectors are conservatively blended into the target model’s processing pipeline. A blending strength of 30% was found to be optimal, effectively steering the target model’s generation without causing computational instability. This injection is strategically applied to the final three transformer layers and targets the final token positions, areas where high-level semantic processing is most influential.
Experimental results across diverse domains, including Machine Learning, Quantum Computing, and Renewable Energy, consistently demonstrated successful semantic transfer. This means that even when a target model received only a brief prompt, the injected semantic vector, derived from a more comprehensive prompt, could guide its generation towards the richer, intended meaning. For example, a model given only “machine learning” as a prompt, but with an injected vector from a prompt asking for “basic understanding of Machine Learning and specific examples of its real-world applications in industry,” would generate output that included real-world applications, aligning with the more detailed request.
An intriguing finding was the ‘bidirectional asymmetry’ in translation performance. The translation from Llama-2-7B to Mistral-7B-Instruct was significantly more effective than the reverse, showing a 2.01:1 transfer asymmetry. This suggests that general-purpose models like Llama-2-7B might develop more generalized and transferable semantic representations compared to instruction-tuned models, which tend to have more specialized internal structures.
Crucially, the conservative injection strategy proved to be computationally stable. The research confirmed that this method does not interfere with precision-critical tasks such as code generation, data formatting, pattern matching, or mathematical computations. This ensures that models can receive semantic guidance without compromising their fundamental accuracy or logical processing capabilities.
Also Read:
- Unlocking AI Transparency: New ‘Locality Dial’ Controls Interpretability in Language Models
- Unpacking Numerical Confounding: How LLMs Process Intertwined Numbers
This work marks a significant step towards more efficient and nuanced collaboration among AI systems. By enabling LLMs to share meaning directly through their internal representation spaces, it fundamentally challenges the traditional text-based communication paradigm and opens new avenues for building truly collaborative AI architectures. The full research paper can be accessed here.


