arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.21030cs.CLcs.AI
收藏

超越文字:大语言模型内部推理的潜在记忆方法

Beyond Words: A Latent Memory Approach to Internal Reasoning in LLMs

José I. Orlicki

AI总结:

本文提出将隐式心理表征(隐式记忆模块)融入LLM内部推理,实验显示训练损失降低35%-57%,兼顾效率与可扩展性。

摘要:

大型语言模型(LLMs)的最新进展使思维链(CoT)范式广受欢迎,在该范式中,模型以自然语言生成显式的推理步骤。尽管这种方法提高了可解释性并便于外部审计,但它可能并非内部推理的最具计算效率的方法。相比之下,人类认知依赖于隐式的心理表征,这些表征能够回忆过去的感官和情景信息,而无需完全言语化。在本文中,我们提出了一个将隐式心理表征整合到LLMs内部推理过程中的框架。初步实验表明,在简单的GPT模型中引入隐式记忆模块(IMM),与常规GPT基线相比,最终训练损失降低了35%至57%。在该方法中,添加显式可解释性通道(例如,思维链解码器)的实现是直接了当的。我们概述了理论基础,提出了扩展记忆模块的技术机制,并讨论了这些想法如何可能带来更高效和稳健的推理,以及未来可选的显式可审计性扩展。

英文摘要:

Recent advances in large language models (LLMs) have popularized the chain-of-thought (CoT) paradigm, in which models produce explicit reasoning steps in natural language. Although this approach improves interpretability and facilitates external auditing, it may not represent the most computationally efficient method for internal reasoning. In contrast, human cognition relies on implicit mental representations that recall past sensory and episodic information without requiring complete verbalization. In this paper, we propose a framework that integrates implicit mental representations into the internal reasoning processes of LLMs. Preliminary experiments indicate that incorporating an Implicit Memory Module (IMM) into a simple GPT model yields a reduction of between 35% and 57% in final training loss compared to a regular GPT baseline. The addition of an explicit interpretability channel (e.g., a chain-of-thought decoder) is straightforward to implement within this approach. We outline theoretical foundations, propose technical mechanisms to scale the memory module, and discuss how these ideas may lead to more efficient and robust reasoning, with optional future extensions for explicit auditability.

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

↑