PreLat: Prefill States as Latent Messages Between Model Families
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…
- arXiv
- 2612.02983
- Authors
- Zhen Lei, Jingyang He, Xin Shu, Ang Li
- Categories
- cs.CL