LatComm: Reusable Context Compression for Latent Communication between Large Language Models
Huawei Lin, Jinting Liu, Tan Yu, Weijie Zhao
Abstract
Systems that combine several large language models (LLMs) often use one context for many questions. When the context is passed between models as text, the receiving model processes all of its tokens again for every question. Avoiding this cost requires a context representation that is compact, reusable across questions, and readable by a different LLM. Existing compression and latent communication methods each provide only some of these properties. We introduce LatComm, a Latent Communication interface that provides all three by separating encoding from reading: the context is encoded once without the question, and the receiver selects what to read for each question. A frozen context encoder LLM compresses the context into a fixed-size packet and sends it to a different frozen receiver LLM, which reads the packet through cross-attention, with gates computed from its prompt. On 12 multiple-choice question-answering datasets, LatComm improves average accuracy over single-vector baselines by up to 10.2 points. On QuALITY, it reduces the receiver's input by 57x and answers the questions of an article 3x faster.
Create a lesson
Related papers
OpenVLHarness: Real World Visual Agentic Tool-Use with Multimodal Memory
Yu Zhou, Cheng-Fu Yang, Rui Sun et al.
Competing Learning in Hybrid Architectures
Xingyu Shen, Yingfa Chen, Ziqing Qiao et al.
KEEP-Bench: Evaluating Evidence Preservation in Context Compression
Ziqing Man, Di Wu, Jia-Chen Gu et al.
RefCraft: Benchmarking Visual-Reference-Conditioned Agentic Generation through Web Development
Yuchi Wang, Rongyao Fang, Weihao Yu et al.
MemT-1.0: Towards Memory-Native Evolution
Zhiyu Li, Zeyu Zhang, Linyun Liu et al.
SpecMRL: Redesign Matryoshka Representation Learning within Parametric Spectrum
Zhongxin Chen, Songhao Wu, Heng Cui et al.