Skip to content

PreLat: Prefill States as Latent Messages Between Model Families

Zhen Lei, Jingyang He, Xin Shu, Ang Li

cs.CL

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