J-Comm:基于雅可比矩阵引导的大语言模型智能体间隐式通信
J-Comm: Jacobian-Guided Latent Communication between LLM Agents
AI总结:
J-Comm是含GEAR模块与H+J接口的LLM智能体隐式通信框架,在Qwen3-8B与Qwen3-4B通信的7个基准中获最高平均得分,性能优于TextMAS且生成token更少。
摘要:
隐式通信既需要有效的连续推理过程,也需要外部模型可利用其中间计算结果的接口。本文提出J-Comm框架,包含两个核心组件:一是无需训练的隐式推理几何一致性(GEAR)模块,该模块对现有模型嵌入上的token候选进行加权,每一步都单调优化嵌入空间中候选token间的几何一致性;二是引入H+J(隐状态与雅可比矩阵)通信接口,为接收方提供发送方推理的两种互补视图:H通道提供从反馈分布导出的连续输入,J通道以词汇表索引的雅可比透镜坐标传递中间状态线索。直观而言,H为接收方提供推理输入,J在其计算中提供额外指导。接收方用自身字典重构这些线索,并在预填充阶段注入中间层,实现无需共享键值缓存或要求模型宽度相同的通信。在Qwen3-8B与Qwen3-4B的通信中,J-Comm在7个基准测试中取得最高平均得分,包括MATH500上94.80%、GPQA-Diamond上54.55%、AIME2024+2025上73.33%、ALFWorld上62.93%的成功率;与TextMAS相比,其性能提升1.29-8.59个百分点,生成文本token减少19.2-74.8%。
英文摘要:
Latent communication requires both an effective continuous reasoning process and an interface through which an external model can leverage its intermediate computation. We present J-Comm, a framework comprising two core components. First, a training-free Geometric Agreement for Latent Reasoning (GEAR) reweights token candidates over existing model embeddings, which monotonically optimizes geometric consensus among candidate tokens in embedding space at each step. Second, we introduce an H+J (Hidden-and-Jacobian) communication interface that gives the Receiver two complementary views of the Sender's reasoning. The H channel supplies continuous inputs derived from feedback distributions, while the J channel conveys intermediate-state cues in vocabulary-indexed Jacobian-lens coordinates. Intuitively, H provides inputs for the Receiver to reason from, while J offers additional guidance within its computation. The Receiver reconstructs these cues using its own dictionary and injects them into intermediate layers during prefill, enabling communication without sharing key-value caches or requiring identical model widths. In Qwen3-8B to Qwen3-4B communication, J-Comm achieves the highest mean score across seven benchmarks, including 94.80% on MATH500, 54.55% on GPQA-Diamond, 73.33% on AIME2024+2025, and 62.93% success on ALFWorld. Compared with TextMAS, it improves performance by 1.29-8.59 percentage points and reduces generated text tokens by 19.2-74.8%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。