解释预训练强化学习为何能实现上下文内推理
Towards Provable Emergence of In-Context Reinforcement Learning
- 用变换器预训练策略评估,找到能支持上下文学习的参数
- 证明全局最优解可实现上下文时序差分学习
- 为上下文强化学习的可证明性提供首个理论支撑
传统强化学习通过更新神经网络参数来适应任务。近期发现,某些预训练后的强化学习智能体可在无需参数更新的情况下解决大量分布外新任务。在新任务中,该智能体通过条件化于额外输入(如交互历史)来调整策略,且性能随上下文信息增加而提升,参数保持不变。这一现象称为上下文内强化学习(ICRL)。预训练参数是实现这一现象的关键。然而,多数ICRL研究使用标准强化学习算法进行预训练。本文探讨核心问题:为何标准强化学习算法生成的参数能支持ICRL?我们假设这些参数是预训练损失的极小值点。本工作通过案例研究初步验证该假设:当使用Transformer进行策略评估预训练时,其预训练损失的一个全局极小值点可支持上下文时序差分学习。
原文摘要 · Abstract (English)
Typically, a modern reinforcement learning (RL) agent solves a task by updating its neural network parameters to adapt its policy to the task. Recently, it has been observed that some RL agents can solve a wide range of new out-of-distribution tasks without parameter updates after pretraining on some task distribution. When evaluated in a new task, instead of making parameter updates, the pretrained agent conditions its policy on additional input called the context, e.g., the agent's interaction history in the new task. The agent's performance increases as the information in the context increases, with the agent's parameters fixed. This phenomenon is typically called in-context RL (ICRL). The pretrained parameters of the agent network enable the remarkable ICRL phenomenon. However, many ICRL works perform the pretraining with standard RL algorithms. This raises the central question this paper aims to address: Why can the RL pretraining algorithm generate network parameters that enable ICRL? We hypothesize that the parameters capable of ICRL are minimizers of the pretraining loss. This work provides initial support for this hypothesis through a case study. In particular, we prove that when a Transformer is pretrained for policy evaluation, one of the global minimizers of the pretraining loss can enable in-context temporal difference learning.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。