arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.06123cs.LGcs.AI
收藏

通过K-V缓存对齐实现潜在空间通信

Latent Space Communication via K-V Cache Alignment

Google DeepMind(谷歌DeepMind)

Lucio M. Dery, Zohar Yahav, Henry Prior, Qixuan Feng, Jiajun Shen, Arthur Szlam

AI总结:

本文提出通过学习共享表示空间对齐多模型的k-v缓存,实现模型间高效协作与知识共享,提升整体性能与能力转移。

摘要:

随着大型语言模型(LLMs)解决日益复杂问题的需求增加,需要超越单个模型,转向能够有效协作的多模型系统。尽管文本传统上是模型间通信的媒介,但如果模型能够直接访问彼此的内部状态,就有可能实现更丰富和高效的交流。在本文中,我们提出学习一个共享的表示空间,使多个模型的k-v缓存对齐,从而在不改变预训练参数的情况下创建一个高带宽的协作通道。我们通过为每个模型添加适配器来翻译其状态到和从这个共享空间中。通过一系列Gemma-2模型的实验,我们证明这种方法不仅能够实现无缝的模型间通信,还能提高单个模型的性能。我们还展示了共享空间允许在不同模型之间直接转移所学的技能,如软提示。我们的工作代表了朝着未来模型能够流畅共享知识和能力的重要一步。

英文摘要:

Solving increasingly complex problems with large language models (LLMs) necessitates a move beyond individual models and towards multi-model systems that can effectively collaborate. While text has traditionally served as the medium for inter-model communication, a richer and more efficient exchange is possible if models can access each other's internal states directly. In this paper, we propose learning a shared representation space that aligns the k-v caches of multiple models, creating a high-bandwidth channel for collaboration without altering the underlying pre-trained parameters. We do so by augmenting each model with adapters to translate its state into and out of this shared space. Via a suite of experiments with Gemma-2 models, we demonstrate that this approach not only enables seamless inter-model communication but also improves individual model performance. We also show that the shared space allows for the direct transfer of learned skills, such as soft prompts, between different models. Our work represents a significant step towards a future where models can fluidly share knowledge and capabilities.

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

↑