arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.03346cs.LGcs.AIcs.MA
收藏

KVComm: 通过选择性KV共享实现高效的LLM通信

KVComm: Enabling Efficient LLM Communication through Selective KV Sharing

KTH Royal Institute of Technology(皇家理工学院)

Xiangyu Shi, Marco Chiesa, Gerald Q. Maguire, Dejan Kostic

AI总结:

KVComm通过选择性共享KV对,实现LLM间高效通信,实验显示其性能与上界方法相当,仅传输30%的KV对。

摘要:

大型语言模型(LLMs)越来越多地被部署在多智能体系统中,其中有效的模型间通信至关重要。现有的通信协议要么依赖于自然语言,导致推理成本高且信息丢失,要么依赖于隐藏状态,这会导致信息集中偏差和效率低下。为了解决这些限制,我们提出了KVComm,一种新的通信框架,通过选择性共享KV对来实现LLM之间的高效通信。KVComm利用KV对中丰富的信息编码,同时避免隐藏状态的弊端。我们引入了一种基于注意力重要性评分和高斯先验的KV层间选择策略,以识别最信息丰富的KV对用于通信。在多样化的任务和模型对上进行的大量实验表明,KVComm在性能上与上界方法相当,后者直接将输入合并到一个模型中而无需任何通信,同时仅传输30%的层的KV对。我们的研究突显了KV对作为模型间通信有效介质的潜力,为可扩展和高效的多智能体系统铺平了道路。

英文摘要:

Large Language Models (LLMs) are increasingly deployed in multi-agent systems, where effective inter-model communication is crucial. Existing communication protocols either rely on natural language, incurring high inference costs and information loss, or on hidden states, which suffer from information concentration bias and inefficiency. To address these limitations, we propose KVComm, a novel communication framework that enables efficient communication between LLMs through selective sharing of KV pairs. KVComm leverages the rich information encoded in the KV pairs while avoiding the pitfalls of hidden states. We introduce a KV layer-wise selection strategy based on attention importance scores with a Gaussian prior to identify the most informative KV pairs for communication. Extensive experiments across diverse tasks and model pairs demonstrate that KVComm achieves comparable performance to the upper-bound method, which directly merges inputs to one model without any communication, while transmitting as few as 30\% of layers' KV pairs. Our study highlights the potential of KV pairs as an effective medium for inter-LLM communication, paving the way for scalable and efficient multi-agent systems.

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

↑