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

强化学习的稳定化Transformers

Stabilizing Transformers for Reinforcement Learning

DeepMind;Carnegie Mellon University(卡内基梅隆大学)
Emilio Parisotto, H. Francis Song, Jack W. Rae, Razvan Pascanu, Caglar Gulcehre, Siddhant M. Jayakumar, Max Jaderberg, Raphael Lopez Kaufman, Aidan Clark, Seb N… 展开作者

Emilio Parisotto, H. Francis Song, Jack W. Rae, Razvan Pascanu, Caglar Gulcehre, Siddhant M. Jayakumar, Max Jaderberg, Raphael Lopez Kaufman, Aidan Clark, Seb Noury, Matthew M. Botvinick, Nicolas Heess, Raia Hadsell

摘要:

由于它们能够在长时间范围内有效地整合信息并扩展到大量数据,自注意力架构最近在自然语言处理(NLP)方面取得了突破性的成功,在语言建模和机器翻译等领域取得了最先进的成果。利用Transformer处理长时间信息的能力可以在部分可观察的强化学习(RL)领域提供类似的性能提升,但NLP中使用的大规模Transformers尚未成功应用于RL设置。在这项工作中,我们证明了标准的Transformer架构是难以优化的,这是以前在监督学习设置中观察到的,但在RL目标中变得特别明显。我们提出的架构修改,大大提高了稳定性和学习速度的原始Transformer和XL的变种。所提出的架构Gated Transformer-XL(GTrXL)在具有挑战性的内存环境中超越了LSTM,并在多任务DMLab-30基准测试套件中取得了最先进的结果,超过了外部内存架构的性能。我们发现,使用相同损失训练的GTrXL具有稳定性和性能,始终匹配或超过竞争性LSTM基线,包括在内存不太重要的反应性任务中。GTrXL提供了一个易于训练,易于实现,但更具有表现力的架构替代标准多层LSTM普遍用于部分可观察环境中的RL代理。

英文摘要:

Owing to their ability to both effectively integrate information over long time horizons and scale to massive amounts of data, self-attention architectures have recently shown breakthrough success in natural language processing (NLP), achieving state-of-the-art results in domains such as language modeling and machine translation. Harnessing the transformer's ability to process long time horizons of information could provide a similar performance boost in partially observable reinforcement learning (RL) domains, but the large-scale transformers used in NLP have yet to be successfully applied to the RL setting. In this work we demonstrate that the standard transformer architecture is difficult to optimize, which was previously observed in the supervised learning setting but becomes especially pronounced with RL objectives. We propose architectural modifications that substantially improve the stability and learning speed of the original Transformer and XL variant. The proposed architecture, the Gated Transformer-XL (GTrXL), surpasses LSTMs on challenging memory environments and achieves state-of-the-art results on the multi-task DMLab-30 benchmark suite, exceeding the performance of an external memory architecture. We show that the GTrXL, trained using the same losses, has stability and performance that consistently matches or exceeds a competitive LSTM baseline, including on more reactive tasks where memory is less critical. GTrXL offers an easy-to-train, simple-to-implement but substantially more expressive architectural alternative to the standard multi-layer LSTM ubiquitously used for RL agents in partially observable environments.

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

↑