潜在递归LLM系统的原则性思考

·

研究论文 · 2026/09/30

大型语言模型可以通过在自身隐藏状态上循环或在智能体之间传递这些状态,在连续空间而非解码文本中进行推理,而训练仅监督最终解码答案的交叉熵(CE),并不约束思维。理论与实证分析确立并证实了仅用CE训练的四种失败,导致正确答案概率降低,例如在不同问题上思维崩溃以及保留无关信息。我们提出REST(表示监督思维),一种训练目标,将有效思维表示的四个属性(因果性、最小性、可分离性和稳定性)转化为可微损失并加入CE。我们在潜在单智能体和多智能体系统中实例化它,无需架构更改或推理时增加参数。在涵盖数学、科学、医学和代码生成的7个基准上,使用相同的训练数据、计算量和潜在预算,REST在智能体设置和模型规模上比仅用CE训练提高准确率高达7.5个百分点,最终答案收敛率提高30%。此外,REST思维编码了更多实现正确答案所需的信息,解码它们能更好地恢复智能体的预期输出,这使得潜在通信更易于解释。项目网站:https://fard-lab.github.io/REST

该研究针对潜在递归LLM系统中仅用交叉熵训练导致的思维表示问题,提出了原则性的训练目标REST,在多个领域显著提升性能并增强可解释性,对潜在推理和智能体通信有重要推进。

Large language models can reason in continuous space instead of decoded text, by recurring on their own hidden states or by passing those states between agents, while training supervises only the Cross-Entropy (CE) of the final decoded answer and does not constrain the thought. Theoretical and empirical analyses establish and confirm four failures of CE-only training that lead to a lower probability of the correct answer such as collapsing thoughts across distinct questions and retaining irrelevant information. We introduce REST (REpresentation-Supervised Thoughts), a training objective that turns four properties of a valid thought representation (causality, minimality, separability, and stability) into differentiable losses added to CE. We instantiate it in latent single-agent and multi-agent systems, without architectural changes or added parameters at inference. Across 7 benchmarks spanning mathematics, science, medicine, and code generation, with the same training data, compute, and latent budget, REST increases accuracy over CE-only training across agent settings and model sizes by up to 7.5 percentage points and convergence on a final answer by 30\%. Furthermore, REST thoughts encode more of what is required to achieve the correct answer, and decoding them better recovers the intended output of the agent, which makes latent communication easier to interpret. Project Website: https://fard-lab.github.io/REST

阅读原文

参与讨论