arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2610.26840cs.CLcs.AI
收藏

LatComm:用于大语言模型间潜在通信的可复用上下文压缩

LatComm: Reusable Context Compression for Latent Communication between Large Language Models

Rochester Institute of Technology(罗切斯特理工学院);NVIDIA(英伟达)

Huawei Lin, Jinting Liu, Tan Yu, Weijie Zhao

AI总结:

LatComm 是一种大语言模型间的潜在通信接口,通过分离上下文编码与读取实现可复用压缩,在 12 个问答数据集和 QuALITY 上分别提升准确率、降低输入并加快速度。

摘要:

结合多个大语言模型(LLMs)的系统通常会为多个问题使用同一个上下文。当上下文以文本形式在模型间传递时,接收模型会为每个问题重新处理所有 token。要避免这种开销,需要一种紧凑、可跨问题复用且能被不同 LLM 读取的上下文表示。现有压缩和潜在通信方法仅具备部分此类特性。我们提出 LatComm,一种潜在通信接口,它通过将编码与读取分离来提供全部三种特性:上下文在无问题的情况下被编码一次,接收方为每个问题选择要读取的内容。一个冻结的上下文编码器 LLM 将上下文压缩为固定大小的数据包,并将其发送到另一个冻结的接收方 LLM,该接收方通过交叉注意力读取数据包,交叉注意力的门控由其提示计算。在 12 个多项选择题问答数据集上,LatComm 相比单向量基线将平均准确率提升了最多 10.2 个百分点;在 QuALITY 上,它将接收方的输入减少了 57 倍,回答文章问题的速度提升了 3 倍。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑