好的动作会成功,坏的动作可泛化:关于强化学习为何泛化能力更强的案例研究
Good Actions Succeed, Bad Actions Generalize: A Case Study on Why RL Generalizes Better
AI总结:
本研究以Habitat视觉导航为测试平台,对比监督学习与强化学习的零样本泛化能力,发现强化学习通过组合过往轨迹片段(多为失败轨迹)的经验拼接机制,泛化表现优于模仿成功轨迹的行为克隆方法,并提出了提升两类算法泛化能力的设计指引。
摘要:
监督学习(SL)和强化学习(RL)均被广泛用于训练可执行复杂任务的通用智能体,但二者的泛化能力及背后机制尚未被完全厘清。本文针对零样本泛化能力,对SL与RL开展了直接对比研究。我们以Habitat视觉导航任务为测试平台,在两个泛化层级上评估近端策略优化(PPO,Proximal Policy Optimization)智能体与行为克隆(BC,Behavior Cloning)智能体的表现:已见环境内的状态-目标对泛化,以及向未见环境的泛化。实验结果显示,在两种零样本设置下,PPO在成功率和SPL两项性能指标上均持续优于BC。有意思的是,即便额外的最优训练数据能让BC的零样本SPL表现追平PPO,其成功率仍显著落后。我们将这一现象归因于两种算法训练出的模型在泛化方式上的根本差异:BC训练的模型通过模仿成功轨迹实现泛化,而基于时序差分(TD)的RL训练的模型则通过组合式经验拼接实现泛化——即利用过往轨迹(大多是失败轨迹)的片段来构建新任务的解决方案。这一特性让RL能在庞大的状态空间中高效找到解决方案,还能发现超出人类知识范畴的新策略。除了提供实验证据与机制理解,我们还提出了通过算法设计提升RL与SL泛化能力的实用指导方针。
英文摘要:
Supervised learning (SL) and reinforcement learning (RL) are both widely used to train general-purpose agents for complex tasks, yet their generalization capabilities and underlying mechanisms are not yet fully understood. In this paper, we provide a direct comparison between SL and RL in terms of zero-shot generalization. Using the Habitat visual navigation task as a testbed, we evaluate Proximal Policy Optimization (PPO) and Behavior Cloning (BC) agents across two levels of generalization: state-goal pair generalization within seen environments and generalization to unseen environments. Our experiments show that PPO consistently outperforms BC across both zero-shot settings and performance metrics-success rate and SPL. Interestingly, even though additional optimal training data enables BC to match PPO's zero-shot performance in SPL, it still falls significantly behind in success rate. We attribute this to a fundamental difference in how models trained by these algorithms generalize: BC-trained models generalize by imitating successful trajectories, whereas TD-based RL-trained models generalize through combinatorial experience stitching-leveraging fragments of past trajectories (mostly failed ones) to construct solutions for new tasks. This allows RL to efficiently find solutions in vast state space and discover novel strategies beyond the scope of human knowledge. Besides providing empirical evidence and understanding, we also propose practical guidelines for improving the generalization capabilities of RL and SL through algorithm design.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。