2025-03-04 · 专家 · 机器学习 · 自然语言处理

General Reasoning Requires Learning to Reason from the Get-go

本文提出了一种通过强化学习和合成任务来训练模型进行推理的方法,旨在解决大型语言模型在通用推理能力上的局限性。

更新于 2025-03-04。作者:Seungwook Han、Jyothish Pari、Samuel J. Gershman、Pulkit Agrawal。

中文摘要

大型语言模型(LLMs)展现了令人印象深刻的真实世界实用性,体现了人工智能的有用性(AUI)。然而,它们在适应性和稳健性方面的推理能力——这是人工智能通用性(AGI)的标志——仍然很脆弱。虽然LLMs在常识推理、编程和数学方面看似取得了成功,但它们在将算法理解推广到新颖情境方面却遇到了困难。我们通过对神秘编程语言中算法任务的实验发现,LLMs的推理过度拟合于训练数据,并且在迁移性方面存在局限。我们推测,导致这种局限性的根本问题是LLMs中将推理和知识耦合在一起。为了从AUI过渡到AGI,我们提出了通过三个关键方向来解耦知识和推理的方案:(1)通过从零开始使用强化学习(RL)来训练推理,作为广泛使用的下一个标记预测预训练的替代方案;(2)使用合成任务的课程来减轻学习适用于RL的推理先验,然后将这些先验转移到自然语言任务;(3)通过使用小的上下文窗口来学习更具迁移性的推理函数,减少利用标记之间的虚假相关性。这样一个推理系统,结合训练好的检索系统和作为一个知识库的大规模外部记忆库,可以克服现有架构在学会在新情境中进行推理时的多个局限性。

英文摘要

Large Language Models (LLMs) have demonstrated impressive real-world utility, exemplifying artificial useful intelligence (AUI). However, their ability to reason adaptively and robustly -- the hallmarks of artificial general intelligence (AGI) -- remains fragile. While LLMs seemingly succeed in commonsense reasoning, programming, and mathematics, they struggle to generalize algorithmic understanding across novel contexts. Our experiments with algorithmic tasks in esoteric programming languages reveal that LLM's reasoning overfits to the training data and is limited in its transferability. We hypothesize that the core issue underlying such limited transferability is the coupling of reasoning and knowledge in LLMs. To transition from AUI to AGI, we propose disentangling knowledge and reasoning through three key directions: (1) pretaining to reason using RL from scratch as an alternative to the widely used next-token prediction pretraining, (2) using a curriculum of synthetic tasks to ease the learning of a reasoning prior for RL that can then be transferred to natural language tasks, and (3) learning more generalizable reasoning functions using a small context window to reduce exploiting spurious correlations between tokens. Such a reasoning system coupled with a trained retrieval system and a large external memory bank as a knowledge store can overcome several limitations of existing architectures at learning to reason in novel scenarios.

解读

一句话总结

本文提出了一种通过强化学习和合成任务来训练模型进行推理的方法,旨在解决大型语言模型在通用推理能力上的局限性。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt