arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.11167cs.CLcs.AIcs.LG
收藏

双通道模型:并行语言模型之间双向隐藏状态耦合

The Bicameral Model: Bidirectional Hidden-State Coupling Between Parallel Language Models

AWS Agentic AI(AWS智能AI)

Cedric Flamant, Udaya Ghai, Kanna Shimizu

AI总结:

本文提出双通道模型,通过可训练的神经接口在两个预训练语言模型的中间隐藏状态之间建立双向耦合,实现任务驱动与工具执行的协同,提升多任务性能。

摘要:

现有多模型和工具增强系统通过生成文本进行通信,每轮交流都通过输出词汇序列串行化。本文提出双通道模型,通过可训练的神经接口在两个冻结的语言模型之间建立连续且并发的通信通道。在每一步生成过程中,两个模型同步运行:一个主模型驱动任务,一个辅助模型执行工具、解决约束或执行代码,两者通过翻译网络和学习的抑制门(约总参数的1%)相互条件化。门仅通过任务损失学习选择性通信协议,无需预设格式。本文在三个工具后端上展示了该机制。在算术任务中,使用计算器耦合两个0.5B模型将准确率从36%提升至96%。在逻辑网格谜题中,使用Z3求解器耦合两个0.6B模型在ZebraLogic上的表现达到基线的1.7倍。在数学推理中,使用Python沙盒环境,辅助模型仅通过隐藏状态信号生成问题特定代码,而无需查看问题文本。

英文摘要:

Existing multi-model and tool-augmented systems communicate by generating text, serializing every exchange through the output vocabulary. Can two pretrained language models instead coordinate through a continuous, concurrent channel? The Bicameral Model couples two frozen language models through a trainable neural interface on their intermediate hidden states. At every generation step, both models run in lockstep: a primary model drives the task while an auxiliary model operates tools, solves constraints, or executes code, with both conditioning on each other's activations through a translation network and a learned suppression gate ($\sim$1\% of combined parameters). The gate learns a selective communication protocol from task loss alone, without a prescribed format. We demonstrate the mechanism across three tool backends. On arithmetic, coupling two 0.5B models with a calculator raises accuracy from 36\% to 96\%. On logic grid puzzles, coupling two 0.6B models with a Z3 solver achieves $1.7\times$ the unaugmented baseline on ZebraLogic. On mathematical reasoning, coupling with a Python sandbox enables the auxiliary to generate problem-specific code from hidden-state signals alone, without ever seeing the problem text.

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

↑