良友并非仅提供口头建议:它们可以更新你的权重
Good Agentic Friends Do Not Just Give Verbal Advice: They Can Update Your Weights
AI总结:
本文提出TFlow框架,通过低秩权重扰动实现高效多智能体LLM协作,提升准确率并减少计算开销。
摘要:
多智能体LLM系统通常通过交换自然语言信息进行协作。这种接口简单易懂,但迫使每个发送者的中间计算被序列化为令牌,然后重新处理,从而增加生成令牌成本、prefill开销和KV缓存内存。我们研究了一种替代通信接口:而不是将发送者的消息附加到接收者的上下文,将发送者的隐藏状态编译成一个瞬时的、接收器特定的权重扰动。我们引入TFlow(Thought Flow),一种为已知且固定接收器架构的权重空间通信框架。对于每个查询,冻结角色提示的发送者代理处理输入,一个学习的参数生成器将它们的内部激活映射到低秩LoRA扰动,以针对接收器的模块。这些扰动仅在接收器生成时融合并应用,使实例级适应而无需永久改变模型或扩大接收器的文本上下文。使用三个Qwen3-4B代理,TFlow在五个基准测试中比独立接收器提高高达8.5个准确率点,同时减少处理令牌数高达32.69%。与基于文本的三代理基线相比,它减少了总处理令牌数高达83.27%,并减少了壁钟推理时间高达4.6倍,同时在四个基准测试中保持竞争性准确率。这些结果表明,瞬时低秩权重扰动可以作为一种可执行的通信介质,用于高效的多智能体LLM协作。
英文摘要:
Multi-agent LLM systems usually collaborate by exchanging natural-language messages. This interface is simple and interpretable, but it forces each sender's intermediate computation to be serialized into tokens and then reprocessed by the receiver, thereby increasing the generated-token cost, prefill overhead, and KV-cache memory. We study an alternative communication interface: instead of appending a sender's message to the receiver's context, compile the sender's hidden states into a transient, receiver-specific weight perturbation. We introduce TFlow (Thought Flow), a weight-space communication framework for a known and fixed receiver architecture. For each query, frozen role-prompted sender agents process the input, and a learned parameter generator maps their internal activations into low-rank LoRA perturbations targeting the receiver's modules. These perturbations are fused and applied only during the receiver's generation, enabling instance-level adaptation without permanently changing the model or enlarging the receiver's text context. With three Qwen3-4B agents, TFlow improves over a standalone receiver by up to 8.5 accuracy points across five benchmarks while reducing processed tokens by up to 32.69%. Compared with a text-based three-agent baseline, it reduces total processed tokens by up to 83.27% and the wall-clock inference time by up to 4.6$\times$, while maintaining competitive accuracy on four of five benchmarks. These results suggest that transient low-rank weight perturbations can serve as an executable communication medium for efficient multi-agent LLM collaboration.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。