arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.03950cs.LGcs.AIstat.ML
收藏

停止回归:面向可扩展深度强化学习的基于分类的价值函数训练方法

Stop Regressing: Training Value Functions via Classification for Scalable Deep RL

Google DeepMind(谷歌DeepMind);Mila, McGill University(米拉-麦吉尔大学);Mila, Université de Montréal(米拉-蒙特利尔大学)
Jesse Farebrother, Jordi Orbay, Quan Vuong, Adrien Ali Taïga, Yevgen Chebotar, Ted Xiao, Alex Irpan, Sergey Levine, Pablo Samuel Castro, Aleksandra Faust, Avira… 展开作者

Jesse Farebrother, Jordi Orbay, Quan Vuong, Adrien Ali Taïga, Yevgen Chebotar, Ted Xiao, Alex Irpan, Sergey Levine, Pablo Samuel Castro, Aleksandra Faust, Aviral Kumar, Rishabh Agarwal

AI总结:

针对基于回归的价值函数难以扩展到大型深度网络的问题,本文提出用分类交叉熵替代均方误差回归训练价值函数,在多个RL任务上取得SOTA,显著提升深度RL的可扩展性。

摘要:

价值函数是深度强化学习(RL)的核心组件。这类由神经网络参数化的函数通常采用均方误差回归目标进行训练,以匹配自举目标值。然而,将使用回归的基于价值的RL方法扩展到大型网络(如高容量Transformer)已被证明颇具挑战。这一困境与监督学习形成鲜明对比:监督学习通过利用交叉熵分类损失,已能可靠地扩展到超大规模网络。\n观察到这一差异后,本文研究了仅通过用分类替代回归来训练价值函数,是否也能提升深度RL的可扩展性。我们证明,用分类交叉熵训练的价值函数在多个领域中显著提升了性能与可扩展性,这些领域包括:采用SoftMoE(软混合专家)的Atari 2600游戏单任务RL、采用大规模ResNet的Atari多任务RL、采用Q-transformer的机器人操作、无搜索的国际象棋对弈,以及采用高容量Transformer的语言智能体Wordle任务,在上述领域均取得了当前最优结果。\n通过细致分析,我们发现分类交叉熵的优势主要源于其能缓解基于价值的RL固有的问题,例如目标噪声与非平稳性。总体而言,我们认为仅需将价值函数的训练方式切换为分类交叉熵,就能以极低甚至零成本大幅提升深度RL的可扩展性。

英文摘要:

Value functions are a central component of deep reinforcement learning (RL). These functions, parameterized by neural networks, are trained using a mean squared error regression objective to match bootstrapped target values. However, scaling value-based RL methods that use regression to large networks, such as high-capacity Transformers, has proven challenging. This difficulty is in stark contrast to supervised learning: by leveraging a cross-entropy classification loss, supervised methods have scaled reliably to massive networks. Observing this discrepancy, in this paper, we investigate whether the scalability of deep RL can also be improved simply by using classification in place of regression for training value functions. We demonstrate that value functions trained with categorical cross-entropy significantly improves performance and scalability in a variety of domains. These include: single-task RL on Atari 2600 games with SoftMoEs, multi-task RL on Atari with large-scale ResNets, robotic manipulation with Q-transformers, playing Chess without search, and a language-agent Wordle task with high-capacity Transformers, achieving state-of-the-art results on these domains. Through careful analysis, we show that the benefits of categorical cross-entropy primarily stem from its ability to mitigate issues inherent to value-based RL, such as noisy targets and non-stationarity. Overall, we argue that a simple shift to training value functions with categorical cross-entropy can yield substantial improvements in the scalability of deep RL at little-to-no cost.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑