2019 年 3 月,强化学习之父 Rich Sutton 写下了这篇不到一千词的短文。七年过去,经历了大语言模型、Scaling Laws 和强化学习推理模型的轮番冲刷,再回头读它,几乎每一句都像提前写好的判词。
导读在前,Sutton 英文原文完整附后(直接跳读英文原文 ↓)。
一、为什么这个教训是「苦涩」的?
Sutton 的核心判断非常直接:纵观过去 70 年的 AI 研究史,凡是能够把海量算力真正用起来的通用方法,最终都会以压倒性优势击败依赖人类领域知识的方法。
背后的底层驱动力是广义摩尔定律——单位算力的价格一直在按指数级往下掉。但做研究的人很容易困在眼前的项目周期里:在未来一两年内,你手头的显卡似乎是固定的,想在顶会截稿前涨几个点,最顺手、也最让人有成就感的办法,就是把自己对这个领域的精巧理解(特征工程、先验规则、物理或语言学约束)塞进模型里。
这就构成了 AI 史上反复重演的四步循环:
- 研究者兴致勃勃地把人类的专家经验硬编码进系统;
- 短期果然有效,指标涨了,研究者也很有智力上的满足感;
- 时间一拉长,这套精巧的设计很快撞上天花板,甚至反过来卡住了系统吃下更多算力的脖子;
- 最终真正捅破窗户纸的突破,几乎全都来自反方向——少写规则,靠搜索(Search)与学习(Learning)把暴涨的算力直接砸进去。
之所以叫「苦涩的教训」,是因为每一次突破都在打人类中心主义的脸:我们总希望机器是靠「像人一样聪明地思考」赢的,结果它偏偏是靠我们瞧不上的「大力出奇迹」赢的。
二、四个一再重演的历史回合
- 国际象棋(1997):当年主流象棋 AI 学者都在琢磨怎么把人类大师的棋理编码进程序;结果「深蓝」(Deep Blue)靠专用硬件加大规模深度搜索赢了卡斯帕罗夫。很多学者当时很不服气,觉得「暴力搜索」胜之不武,也不代表真正的智能。
- 围棋(20 年后重演):因为围棋搜索空间太大,早期研究者又花了无数心血去手工总结棋形特征,想借此避开大规模搜索。直到 AlphaGo / AlphaZero 把蒙特卡洛树搜索与自我对弈(Self-Play)学习结合起来并推向算力极限,此前几十年攒下的人工特征在一夜之间全部作废。
- 语音识别(1970 年代至今):早年 DARPA 竞赛里,精心建模人类声道结构、音素和词法规则的系统,输给了基于隐马尔可夫模型(HMM)的统计方法;后来的深度学习更是把这条路推到了极致——人类语言学先验越来越少,数据和算力越喂越多,识别率却跨过了实用门槛。
- 计算机视觉:早年教科书里的边缘检测、广义圆柱体、SIFT 手工特征,如今已被端到端的神经网络彻底取代。
三、今天重读的两点切身体会
Sutton 在文末留下了两条很硬的建议:第一,真正能随算力无限扩展的通用武器目前只有两样——搜索和学习;第二,真实世界和人类心智的细节复杂到没有尽头,别再试图把空间、物体、多智能体交互或对称性简化成几条漂亮的人工规则塞进模型,我们该内置的不是「人类已经发现的结论」,而是「能让机器自己去发现规律的元方法」。
"We want AI agents that can discover like we can, not which contain what we have discovered."
我们要造的是能像人类一样去发现规律的 AI,而不是只装着人类既有经验的容器。
做交通与自动驾驶相关研究时,对这种拉扯感触尤深。无论是车辆轨迹预测还是驾驶规划,手工写一套状态机、安全距离公式或博弈规则,永远是最快能跑出 Demo 的路子;但一上真实复杂的城市交互路口,长尾场景立刻就会把规则撑爆。反倒是把表示做得更通用、让模型直接从大规模轨迹交互与闭环反馈里去学,上限才真正打得开。眼下做科研或搭 Agent 也是一样:每当忍不住想给模型写一堆死板的 if-else 拐杖时,都值得把这篇短文翻出来醒醒脑。
四、英文原文(Rich Sutton, 2019)
The Bitter Lesson
Rich Sutton · March 13, 2019
The biggest lesson that can be read from 70 years of AI research is that general methods that leverage computation are ultimately the most effective, and by a large margin. The ultimate reason for this is Moore's law, or rather its generalization of continued exponentially falling cost per unit of computation. Most AI research has been conducted as if the computation available to the agent were constant (in which case leveraging human knowledge would be one of the only ways to improve performance) but, over a slightly longer time than a typical research project, massively more computation inevitably becomes available. Seeking an improvement that makes a difference in the shorter term, researchers seek to leverage their human knowledge of the domain, but the only thing that matters in the long run is the leveraging of computation. These two need not run counter to each other, but in practice they tend to. Time spent on one is time not spent on the other. There are psychological commitments to investment in one approach or the other. And the human-knowledge approach tends to complicate methods in ways that make them less suited to taking advantage of general methods leveraging computation. There were many examples of AI researchers' belated learning of this bitter lesson, and it is instructive to review some of the most prominent.
In computer chess, the methods that defeated the world champion, Kasparov, in 1997, were based on massive, deep search. At the time, this was looked upon with dismay by the majority of computer-chess researchers who had pursued methods that leveraged human understanding of the special structure of chess. When a simpler, search-based approach with special hardware and software proved vastly more effective, these human-knowledge-based chess researchers were not good losers. They said that "brute force" search may have won this time, but it was not a general strategy, and anyway it was not how people played chess. These researchers wanted methods based on human input to win and were disappointed when they did not.
A similar pattern of research progress was seen in computer Go, only delayed by a further 20 years. Enormous initial efforts went into avoiding search by taking advantage of human knowledge, or of the special features of the game, but all those efforts proved irrelevant, or worse, once search was applied effectively at scale. Also important was the use of learning by self play to learn a value function (as it was in many other games and even in chess, although learning did not play a big role in the 1997 program that first beat a world champion). Learning by self play, and learning in general, is like search in that it enables massive computation to be brought to bear. Search and learning are the two most important classes of techniques for utilizing massive amounts of computation in AI research. In computer Go, as in computer chess, researchers' initial effort was directed towards utilizing human understanding (so that less search was needed) and only much later was much greater success had by embracing search and learning.
In speech recognition, there was an early competition, sponsored by DARPA, in the 1970s. Entrants included a host of special methods that took advantage of human knowledge—knowledge of words, of phonemes, of the human vocal tract, etc. On the other side were newer methods that were more statistical in nature and did much more computation, based on hidden Markov models (HMMs). Again, the statistical methods won out over the human-knowledge-based methods. This led to a major change in all of natural language processing, gradually over decades, where statistics and computation came to dominate the field. The recent rise of deep learning in speech recognition is the most recent step in this consistent direction. Deep learning methods rely even less on human knowledge, and use even more computation, together with learning on huge training sets, to produce dramatically better speech recognition systems. As in the games, researchers always tried to make systems that worked the way the researchers thought their own minds worked—they tried to put that knowledge in their systems—but it proved ultimately counterproductive, and a colossal waste of researcher's time, when, through Moore's law, massive computation became available and a means was found to put it to good use.
In computer vision, there has been a similar pattern. Early methods conceived of vision as searching for edges, or generalized cylinders, or in terms of SIFT features. But today all this is discarded. Modern deep-learning neural networks use only the notions of convolution and certain kinds of invariances, and perform much better.
This is a big lesson. As a field, we still have not thoroughly learned it, as we are continuing to make the same kind of mistakes. To see this, and to effectively resist it, we have to understand the appeal of these mistakes. We have to learn the bitter lesson that building in how we think we think does not work in the long run. The bitter lesson is based on the historical observations that 1) AI researchers have often tried to build knowledge into their agents, 2) this always helps in the short term, and is personally satisfying to the researcher, but 3) in the long run it plateaus and even inhibits further progress, and 4) breakthrough progress eventually arrives by an opposing approach based on scaling computation by search and learning. The eventual success is tinged with bitterness, and often incompletely digested, because it is success over a favored, human-centric approach.
One thing that should be learned from the bitter lesson is the great power of general purpose methods, of methods that continue to scale with increased computation even as the available computation becomes very great. The two methods that seem to scale arbitrarily in this way are search and learning.
The second general point to be learned from the bitter lesson is that the actual contents of minds are tremendously, irredeemably complex; we should stop trying to find simple ways to think about the contents of minds, such as simple ways to think about space, objects, multiple agents, or symmetries. All these are part of the arbitrary, intrinsically-complex, outside world. They are not what should be built in, as their complexity is endless; instead we should build in only the meta-methods that can find and capture this arbitrary complexity. Essential to these methods is that they can find good approximations, but the search for them should be by our methods, not by us. We want AI agents that can discover like we can, not which contain what we have discovered. Building in our discoveries only makes it harder to see how the discovering process can be done.