hiw3c 日报精选
arXiv cs.AI/CL/LG 网页快照

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

原文标题 · LatComm: Reusable Context Compression for Latent Communication between Large Language Models

作者:Huawei Lin, Jinting Liu, Tan Yu | 那些结合多个大型语言模型的系统通常会使用一个上下文信息来处理多个问题。当上下文以文本形式在模型之间传递时,接收模型的每个问题都需要重新处理所有的标记数据。为了避免这种成本,就需要一种紧凑、可跨问题重复使用且能够被其他大型语言模型读取的上下文表示方式。目前已有的压缩技术和潜在通信机制可以解决这些问题。

来源:arXiv cs.AI/CL/LG · arxiv.org

正文为英文,可一键机器翻译(仅首次需要等待)

Computer Science > Computation and Language

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

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.

Submission history

Access Paper:

Additional Features

Current browse context:

References & Citations

BibTeX formatted citation

Bookmark

Bibliographic and Citation Tools

Code, Data and Media Associated with this Article

Demos

Recommenders and Search Tools

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs .