跳到主内容
@wquguru
精选88MIT Technology Review AI(RSS)模型发布/更新

MIT科技评论:LLM并不具备真正的推理能力,需借鉴AlphaGo架构

Don’t be fooled—LLMs don’t reason

原文
发到 X
推荐理由

深度剖析LLM推理本质缺陷并给出基于AlphaGo架构的改进方向,对研究Agent与推理机制的团队极具参考价值。

On an afternoon in Seoul in March 2016, I watched a program I helped build put a stone on the fifth line of a Go board in what looked like a gift to its human opponent. Move 37 in game two of the five-game match looked so absurd that some commentators thought it was a programming glitch. It wasn’t. AlphaGo won the game, ultimately triumphing 4-1 over Lee Sedol, one of the greatest professional Go players of all time. “I thought AlphaGo was based on probability calculation and that it was merely a machine,” Lee said afterwards. “But when I saw this move, I changed my mind. Surely, AlphaGo is creative.”

2016年3月的一个下午,我在首尔观看了一档节目,目睹我参与构建的程序在围棋棋盘第五线落下一子,这看似是送给人类对手的礼物。五番棋第二局中的第37手显得如此荒谬,以至于一些评论员认为这是程序故障。但事实并非如此。AlphaGo赢得了那场比赛,最终以4比1击败了李昌镐——有史以来最伟大的职业围棋棋手之一。事后李昌镐说:‘我以为AlphaGo是基于概率计算,仅仅是一台机器。’‘但当我看到这一手时,我改变了看法。毫无疑问,AlphaGo具有创造力。’

When Deep Blue defeated then reigning world chess champion Garry Kasparov in 1997, it did so by looking six to eight moves ahead per player and evaluating 200 million chess positions per second, using rules hard-coded by humans. Go is a vastly more complex game. A stone’s worth depends on how distant groups and territory unfold over dozens of moves. Computing even a fraction of the possible outcomes would take a supercomputer billions of years. To win, AlphaGo had to sense who was ahead at a glance and even invent moves no human had thought to play.

1997年,当深蓝击败当时的世界象棋冠军加里·卡斯帕罗夫时,它通过为每位玩家向前推算六到八步,并利用人类硬编码的规则每秒评估两千万个象棋局面来实现胜利。围棋是一个复杂得多的游戏。一子的价值取决于数十步之后远处势力和领地的展开情况。即使计算所有可能结果的一小部分,也需要超级计算机花费数十亿年。为了获胜,AlphaGo必须一眼就能判断出谁占优势,甚至发明出人类未曾想到过的着法。

That is why many accounts of AlphaGo’s match against Lee portray move 37 as a flash of pure machine intuition. But that is a misunderstanding. It was actually AlphaGo’s powers of reasoning that made this creative choice—and these are powers that today’s AI lacks. If we want future AI systems to produce trustworthy results and really novel insights in fields like science and medicine, we need to equip them with genuine reasoning capabilities of this kind.

这就是为什么许多关于AlphaGo与李昌镐对弈的报道将第37手描绘为一道纯粹机器直觉的闪光。但这是一种误解。实际上,正是AlphaGo的推理能力促成了这一创造性选择——而当今的AI缺乏这种能力。如果我们希望未来的AI系统在科学和医学等领域产生可信的结果和真正新颖的见解,我们就需要赋予它们这种真正的推理能力。

AlphaGo is made up of two systems. The first, its policy network, was trained to guess what move a strong human would play. This “intuitive” part regarded move 37 as nothing special—a play that had a roughly one in 10,000 chance of being made by an expert human player. What made AlphaGo choose it was the program’s search machinery, which looked beyond immediate plausibility and weighed the future consequences of proposed moves. It explicitly constructed and searched a game tree with thousands of branches, each representing a different possible future.

AlphaGo由两个系统组成。第一个是其策略网络,经过训练以猜测高水平人类会下哪一手。这个‘直觉’部分认为第37手并无特别之处——这是一步专家级人类玩家大约万分之一几率会下的棋。促使AlphaGo选择这手棋的是程序的搜索机制,它超越了即时的合理性,权衡了提议着法的未来后果。它明确构建并搜索了一个拥有数千分支的游戏树,每个分支代表不同的未来可能性。

A well-known theory in the behavioral sciences, popularized by Daniel Kahneman, distinguishes between two modes of human thought: System 1 is fast, gut-level, effortless; system 2, slow, step-by-step, and deliberative. AlphaGo offered a striking machine analogue of that split. Its networks supplied the hunches—this move looks promising, this position looks won—and its search supplied the deliberation, testing those hunches against the moves and countermoves that would follow. As in human cognition, neither half works alone. Intuition alone would never have opted for move 37, and brute-force search would have struggled to sieve through all the many possible moves.

行为科学中一个著名的理论由丹尼尔·卡尼曼普及,该理论将人类思维分为两种模式:系统1是快速、直觉式、毫不费力的;系统2则是缓慢、逐步的、深思熟虑的。AlphaGo 为这种分裂提供了引人注目的机器类比。其神经网络提供直觉——这步棋看起来很有希望,这个局面看起来胜券在握——而其搜索过程则提供深思熟虑,通过测试后续可能出现的着法与应对来验证这些直觉。正如人类认知一样,两者缺一不可。仅凭直觉绝不会选择第37手,而纯暴力搜索也难以从众多可能的着法中筛选出最优解。

This is strikingly different from the way today’s AI models work. A large language model picks the next token, over and over. That amounts to system 1 in action—fast, associative, and surprisingly good pattern completion across almost every subject people write about.

这与当今 AI 模型的工作方式截然不同。大语言模型一遍又一遍地预测下一个 token。这相当于系统1在行动——快速、联想性强,并且在人们撰写的几乎所有主题上都表现出令人惊讶的模式补全能力。

Not long after ChatGPT debuted, the field realized that language fluency alone falls short of true usefulness. The apparent solution was to make models that deliberate: Instead of answering immediately, they can now generate intermediate steps that decompose a problem, carry forward partial results, and influence subsequent reasoning—a process known as chain of thought. The gains have proved real, above all in mathematics and coding. But unlike AlphaGo’s search, this does not introduce a genuinely separate reasoning mechanism: The intermediate reasoning is still produced by the same next-token prediction process, iterated for longer before the model commits to an answer.

ChatGPT 问世不久后,业界意识到仅靠语言流畅性还不足以实现真正的实用性。显而易见的解决方案是让模型具备深思熟虑的能力:它们不再立即回答,而是可以生成中间步骤来分解问题、推进部分结果并影响后续推理——这一过程被称为“思维链”(chain of thought)。其带来的提升已被证实是实实在在的,尤其是在数学和编程领域。但与 AlphaGo 的搜索不同,这里并没有引入真正独立的推理机制:中间推理仍然由相同的下一个 token 预测过程产生,只是在模型做出最终答案之前进行了更长时间的迭代。

Three shortcomings prevent what chatbots do from qualifying as reasoning (in a way that a scientist might recognize). First, these models typically maintain no explicit, persistent, and inspectable epistemic state. There is no open ledger that lays out the hypotheses a model is considering, the confidence it has in various explanations, the evidence it’s weighing, and the unresolved questions it’s holding onto—all things that should be systematically revised as new information arrives. Second, they lack a clean separation between what the system knows and how it manipulates that knowledge. Knowledge and reasoning are inextricably interwoven in the weights of the neural network—there is no independent, explicitly represented set of beliefs. Third, while the chains of thought chatbots produce look like deliberation, research has demonstrated that the bots often concoct them after the fact, reaching an answer by one route but reporting another.

三个缺陷使得聊天机器人的行为无法被认定为推理(以科学家可能认可的方式)。首先,这些模型通常不维护显式的、持久的且可检查的认知状态。没有一个开放的账本列出模型正在考虑的假设、对各种解释的置信度、正在权衡的证据以及它仍在纠结的未决问题——所有这些都应在有新信息出现时进行系统性的修订。其次,它们缺乏对系统所知内容与操作该知识方式之间的清晰分离。知识与推理在神经网络的权重中密不可分地交织在一起——不存在独立且显式表示的信念集合。第三,虽然聊天机器人产生的思维链看似经过深思熟虑,但研究表明,机器人往往是在事后编造这些思维链,通过一条路径得出答案,却报告另一条路径。

This is a problem because in the high-stakes applications we all care about, such as medicine, engineering, and scientific research, it matters not only what a system concludes but also how it arrives at its conclusion. When mistakes happen—for example, in medical diagnosis and treatment—we need to be able to pinpoint what went wrong: Was the system’s reasoning at fault, did it draw on invalid evidence, or did it make incorrect assumptions?

这是一个问题,因为在我们都关心的高风险应用中,例如医学、工程和科学研究,不仅系统的结论重要,其得出结论的过程也同样重要。当错误发生时——例如在医疗诊断和治疗中——我们需要能够 pinpoint(确定)哪里出了问题:是系统的推理有误,还是它依据了无效证据,亦或是做出了错误的假设?

This is why I recently left my position at Google DeepMind. I believe we need a fresh approach to machine reasoning—one that draws on AlphaGo’s architecture. AlphaGo maintains a record of what it knows about a given position: the game tree. This data structure contains all the variations, the possible futures, that AlphaGo has considered, each move and position being annotated with judgments made by its neural networks. As its reasoning progresses, AlphaGo updates the game tree and eventually synthesizes the information in it to decide which move to make.

这就是我最近离开 Google DeepMind 职位的原因。我相信我们需要一种全新的机器推理方法——这种方法借鉴 AlphaGo 的架构。AlphaGo 维护着关于特定局面的已知记录:即棋谱树(game tree)。这个数据结构包含了 AlphaGo 考虑过的所有变化、可能的未来,每一步走法和每个局面都标注了其神经网络做出的判断。随着推理的进展,AlphaGo 更新棋谱树,并最终综合其中的信息来决定下一步怎么走。

Similarly, for general reasoning a system should maintain an epistemic state that represents what the system holds as settled, what it doubts, what it has ruled out, which questions stay open. Reasoning can then be understood as a sequence of moves that change the epistemic state to advance knowledge and reduce uncertainty: deducing consequences, breaking problems into parts, and—crucially—deciding what question to ask, calculation to perform, or experiment to run next.

同样地,对于通用推理,系统应维护一个认知状态,用以代表系统认为已确定的内容、怀疑的内容、已排除的内容以及仍保持开放的问题。推理然后可以被理解为一连串改变认知状态以推进知识并减少不确定性的步骤:推导后果、将问题分解为部分,以及——至关重要的——决定下一个要问的问题、要执行的计算或要进行的实验。

Of course, open-world reasoning is harder than playing a board game such as Go or chess. In the real world the current state of affairs is only partially known, the set of available actions is large and variable, and the consequences of actions are stochastic or unknown.

当然,开放世界的推理比下围棋或国际象棋等棋盘游戏更难。在现实世界中,当前状况仅部分可知,可用动作的集合庞大且多变,而动作的后果具有随机性或未知性。

But recent advances in LLMs and other neural models now give us the capability to take on such general reasoning problems. For example, LLMs can suggest ways of tackling a problem on the basis of what is known and what resources are available. They can interact with tools via APIs or code and help assess whether a claim is supported by available evidence.

但最近大语言模型(LLMs)和其他神经模型的进展,现在赋予了我们解决此类通用推理问题的能力。例如,LLM 可以基于已知信息和可用资源,提出解决问题的方法。它们可以通过 API 或代码与工具交互,并帮助评估某项主张是否有现有证据支持。

Most important, to keep the system honest, an independent part of the system must evaluate each move by how much it actually resolves uncertainty, updating beliefs only when the change is backed by evidence. Once these rules are enforced, the model can accumulate certified knowledge and improve its reasoning policy by learning from past reasoning experiences. You can think of such a system as the scientific method on steroids, with the purpose of producing knowledge that can withstand scrutiny.

最重要的是,为了保持系统的诚实性,系统的一个独立部分必须根据每一步实际消除不确定性的程度来评估该步骤,仅在变化有证据支持时才更新信念。一旦强制执行这些规则,模型就能积累经过认证的知识,并通过从过去的推理经验中学习来改进其推理策略。你可以将这样的系统视为‘增强版’的科学方法,其目的是产生经得起推敲的知识。

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

相似阅读

关联信息,但可能不是同一事件