PreLat: Prefill States as Latent Messages Between Model Families
Abstract
Language models in multi-model systems usually exchange text, which any model can read but which must be decoded token by token. Latent channels avoid decoding, yet existing cross-family designs are typically trained per model pair, modify receiver internals, or keep most of their gains when messages are swapped with another example's. We present PreLat, a cross-family interface that builds messages directly from a sender's single question-conditioned prefill pass: a Perceiver-style encoder compresses the prefill states into latent slots, and a receiver-specific linear reader maps them into the input embeddings of a frozen receiver from another family. We train it by distilling the receiver's answers under the sender's best written candidate, so text guides training but is never decoded at inference. In multi-hop QA where only the sender sees the evidence (Llama-3.2-3B -> Gemma-3-4B), PreLat's gains depend on message content (35-64 F1 are lost when messages are swapped); it outperforms the base sender's text on HotpotQA, MuSiQue and 2WikiMultiHopQA and matches or exceeds text senders fine-tuned on the same messages, at 8.2-9.0x lower median single-request latency than 128-token text. Because the two sides are decoupled, a new model joins at O(1) training cost by training only its own interface: with new senders (Phi, Gemma, Falcon) and receivers (Mistral, Llama, OLMo), the nine pairs never trained together recover 0.72-0.88 of the text gain on held-out test splits, and training a new sender against a fixed two-model panel improves its link to receivers outside the panel at matched training steps in all four tests. Prefill states thus provide fast, reusable messages for cross-family information transfer.
Create a lesson
Metadata
- Comments
- 39 pages, 4 figures, 35 tables
Related papers
DLA: Decomposed Latent Attention for Looped Language Models
Shared title terminologycs.CLZhenhe Wu, Weihua He, Xinlai Kang et al.
Latent Tools and Latent Context: Grounding Generation in Deterministic Sources
Shared title terminologycs.CLLiwei Zhang, ZhiMing Tong, Mochen Guan et al.
Learning Latent Moral Endorsement
Shared title terminologycs.CLMaciej Skorski, Mateusz Dubiel, Martin Theobald
Nothing Is Harder Than Nothing, Until You Write It Down: Absence Conventions in Stateful Tool Use
Shared title terminologycs.CLMarek Šuppa, Jaroslav Kopčan
SciChartAlign: Scientific Chart-Message Aligned Dataset and Applications
Shared title terminologycs.CLHyeonseok Kang, Hyuk Namgoong, Jaewon Heo et al.
Rethinking LLM Reasoning: From Explicit Trajectories to Latent Representations
Shared title terminologycs.CLCong Jiang, Xiaofeng Zhang, Fangzhi Zhu et al.