一步到位陷阱(AI 研究领域)
The One-Step Trap (In AI Research)

原始链接: http://incompleteideas.net/IncIdeas/OneStepTrap.html

“一步陷阱”指的是一种有缺陷的假设,即认为人工智能体仅通过迭代单步转移模型,就能生成准确的长期预测。尽管该方法在信息完美的世界中理论上是成立的,但在实践中由于两个主要原因而失效。首先,单步预测中的微小误差会迅速累积,随着时间推移导致严重的偏差。其次,随着预测时域的增加,映射随机未来(即分支为可能性树的过程)的计算复杂度会呈指数级增长,从而变得不可行。 尽管存在这些局限性,由于其直观的吸引力,单步模型在控制理论和强化学习等领域依然广受欢迎。然而,对于复杂的长期推理,它们通常并不实用。作为替代方案,理查德·萨顿(Richard Sutton)主张从简单的转移模型转向时间抽象模型。通过利用“选项”(options)和通用价值函数(GVFs)等框架,人工智能体可以学习到更稳健、更具扩展性的世界表征,从而超越顺序性单步误差累积的限制。

这篇 Hacker News 的讨论聚焦于 AI 研究中的“一步陷阱”(One-Step Trap)——即在建模世界时过度依赖穷举式的逐步演进。 一位评论者指出,这种方法受困于“具体细节的暴政”,模型往往被微小的细节所拖累,而忽视了长期目标。该用户主张使用“时间抽象模型”,而非通过增量规划构建呈指数级增长的搜索树。 通过利用后继特征(successor features)、广义价值函数(GVFs)以及前向-后向表示(Forward-Backward representations)等框架,研究人员可以进行“高层级”规划。这使得重点从预测序列中的每一个细微时刻,转向理解长远视阈下可达到的状态。该评论者强调了他们自己的研究(arxiv.org/abs/2410.05364),该研究探讨了使用扩散模型作为多步世界模型的潜在解决方案,旨在克服逐步预测的局限性。
相关文章

原文

Written up for X on July 18, 2024

The one-step trap is the common mistake of thinking that all or most of an AI agent’s learned predictions can be one-step ones, with all longer-term predictions generated as needed by iterating the one-step predictions. The most important place where the trap arises is when the one-step predictions constitute a model of the world and of how it evolves over time. It is appealing to think that one can learn just a one-step transition model and then “roll it out” to predict all the longer-term consequences of a way of behaving. The one-step model is thought of as being analogous to physics, or to a realistic simulator.

The appeal of this mistake is that it contains a grain of truth: if all one-step predictions can be made with perfect accuracy, then they can be used to make all longer-term prediction with perfect accuracy. However, if the one-step predictions are not perfectly accurate, then all bets are off. In practice, iterating one-step predictions usually produces poor results. The one-step errors compound and accumulate into large errors in the long-term predictions. In addition, computing long-term predictions from one-step ones is prohibitively computationally complex. In a stochastic world, or for a stochastic policy, the future is not a single trajectory, but a tree of possibilities, each of which must be imagined and weighted by its probability. As a result, the computational complexity of computing a long-term prediction from one-step predictions is exponential in the length of the prediction, and thus generally infeasible.

The bottom line is that one-step models of the world are hopeless, yet extremely appealing, and are widely used in POMDPs, Bayesian analyses, control theory, and in compression theories of AI.

The solution, in my opinion, is to form temporally abstract models of the world using options and GVFs, as in the following references.

Sutton, R.S., Precup, D., Singh, S. (1999). Between MDPs and semi-MDPs: A Framework for Temporal Abstraction in Reinforcement Learning. Artificial Intelligence 112:181-211.

Sutton, R. S., Modayil, J., Delp, M., Degris, T., Pilarski, P. M., White, A., Precup, D. (2011). Horde: A scalable real-time architecture for learning knowledge from unsupervised sensorimotor interaction. In Proceedings of the Tenth International Conference on Autonomous Agents and Multiagent Systems, Taipei, Taiwan.

Sutton, R. S., Machado, M. C., Holland, G. Z., Timbers, D. S. F., Tanner, B., & White, A. (2023). Reward-respecting subtasks for model-based reinforcement learning. Artificial Intelligence 324.

联系我们 contact @ memedata.com