PreLat enables fast latent communication between different AI models
Researchers have introduced PreLat, a method for models to exchange latent information directly, bypassing slow text decoding to boost multi-model speed.
Source: Grafy Research LabResearchers have developed a new method called PreLat that allows different families of large language models to communicate using compressed latent states instead of text. This approach aims to eliminate the latency caused by the traditional process of decoding information into tokens before it can be read by another model.
How does PreLat communicate between models?
In typical multi-model systems, if one model needs to pass information to another, it must first convert its internal understanding into a text string. The receiving model then has to process that text token by token. According to the research paper by Zhen Lei et al., this creates a significant bottleneck because the receiver must wait for the sender to finish the entire decoding process.
PreLat changes this dynamic by using the "prefill" pass—the initial stage where a model processes its input—to generate a message. Figure 1 shows the architecture: a sender model reads evidence and a question in a single pass, then uses a Perceiver-style encoder to compress those internal states into a fixed number of latent slots. These slots are then mapped via a receiver-specific linear reader into the input embeddings of a frozen receiver model. This allows the second model to start generating an answer almost immediately, without waiting for a text message to be written out.
What are the performance benefits of latent messaging?
By bypassing the text-generation step, PreLat offers substantial improvements in both speed and accuracy for complex tasks like multi-hop question answering. The researchers tested the system on datasets including HotpotQA, MuSiQue, and 2WikiMultiHopQA using a Llama-3.2-3B sender and a Gemma-3-4B receiver.
In terms of speed, the researchers found that PreLat achieved a median single-request latency that was 8.2 to 9.0 times lower than using 128-token text messages. Figure 3 illustrates this relationship, showing how latent messages significantly outperform text-based communication on the latency scale while maintaining high F1 scores. Furthermore, the study notes that PreLat can actually outperform the base sender's own text messages, achieving a gain recovery of 1.10 to 1.35 on various datasets.
Is PreLat scalable to new model families?
One major limitation of existing cross-family latent communication designs is that they often require retraining for every specific pair of models being connected. PreLat addresses this by decoupling the sender and the receiver. Because the sending interface is separate from the receiver's internal architecture, adding a new model to the system is much more efficient.
According to the authors, adding a new model incurs an training cost. This means a new receiver only needs to train its own specific linear reader to understand the existing latent slots, rather than retraining the entire communication pipeline. In experiments involving various combinations of Phi, Gemma, Falcon, Mistral, Llama, and OLMo, the researchers found that nine pairs that were never trained together during the initial setup were still able to recover 0.72 to 0.88 of the text-based performance gains.
How does the system ensure message accuracy?
To ensure that the latent messages actually carry the necessary information, the researchers used a technique called text-conditioned distillation. During training, the system uses the receiver's expected answer (based on a high-quality text message) as a target for the latent route. This allows text to guide the learning process without being the actual format used during real-world deployment.
To verify that the messages were content-dependent, the team performed a "swap control" test. They replaced the correct latent message with a message from a different example and observed the impact. In their audit, they found that replacing messages caused F1 scores to drop by 35 to 64 points on held-out test splits. This confirms that the latent slots are carrying specific, relevant evidence rather than just generic signals.
How can researchers apply these concepts?
While PreLat is a specialized architectural advancement for multi-agent orchestration, the underlying concept of high-density information transfer is central to modern AI research. For those looking to explore how different models handle complex, multi-step reasoning or how they interpret dense information from documents, Grafy provides environments to test these interactions.
Researchers can use Grafy Chat to observe how different models side-by-side handle the same prompts, or utilize Grafy Reader to experiment with how AI models extract and reason over dense information within research papers and PDFs.
Frequently asked questions
Does PreLat require the receiver model to be retrained?
No, the receiver model remains frozen. Only a receiver-specific linear reader needs to be trained to map the incoming latent slots into the receiver's existing input embeddings. This separation allows the system to remain modular and efficient when introducing new models into a multi-model pipeline.
Is PreLat faster than sending text between models?
Yes, PreLat is significantly faster than traditional text-based communication. The researchers reported that the median single-request latency for PreLat was between 8.2 and 9.0 times lower than the latency experienced when using 128-token text messages, primarily because it avoids the token-by-token decoding process.
Can PreLat work between models from different families?
Yes, one of the primary goals of PreLat is to provide a cross-family interface. The research demonstrated that the method works effectively between different model architectures, such as Llama and Gemma, and can be scaled to include various other families like Mistral, Phi, and Falcon with minimal additional training cost.
Source: Grafy Research Lab — PreLat: Prefill States as Latent Messages Between Model Families


