arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1712.06567cs.NEcs.LG
收藏

深度神经进化:遗传算法是训练深度神经网络进行强化学习的竞争性选择

Deep Neuroevolution: Genetic Algorithms Are a Competitive Alternative for Training Deep Neural Networks for Reinforcement Learning

Uber AI Labs(优步人工智能实验室)

Felipe Petroski Such, Vashisht Madhavan, Edoardo Conti, Joel Lehman, Kenneth O. Stanley, Jeff Clune

摘要:

深度人工神经网络(DNN)通常通过基于梯度的学习算法(即反向传播)进行训练。演化策略(ES)可以与基于反向传播的算法(如Q学习和策略梯度)在具有挑战性的深度强化学习(RL)问题上相媲美。然而,ES可以被认为是基于梯度的算法,因为它通过类似于梯度的有限差分近似的操作来执行随机梯度下降。这就提出了一个问题,即非基于梯度的进化算法是否可以在DNN规模下工作。在这里,我们证明他们可以:我们用一个简单的、无梯度的、基于种群的遗传算法(GA)来进化DNN的权重,它在困难的深度RL问题上表现良好,包括Atari和人形运动。Deep GA成功地进化了具有超过400万个自由参数的网络,这是有史以来使用传统进化算法进化的最大神经网络。这些结果(1)扩展了我们对遗传算法可以操作的规模的理解,(2)有趣地表明,在某些情况下,遵循梯度并不是优化性能的最佳选择,(3)立即提供了大量的神经进化技术来提高性能。我们通过将DNN与新颖性搜索相结合来证明后者,这种新颖性搜索鼓励对具有欺骗性或稀疏奖励函数的任务进行探索,可以解决一个高维问题,在这个问题上,奖励最大化算法(例如\ DQN、A3C、ES和GA)失败。此外,Deep GA比ES、A3C和DQN更快(它可以在一个桌面上用${\raise.17ex\hbox{$ \scriptstyle \sim $}}$训练Atari 4小时,或者在720个核心上用${\raise.17ex\hbox{$ \scriptstyle \sim $}}$训练Atari 1小时),并支持最先进的高达10,000倍的紧凑编码技术。

英文摘要:

Deep artificial neural networks (DNNs) are typically trained via gradient-based learning algorithms, namely backpropagation. Evolution strategies (ES) can rival backprop-based algorithms such as Q-learning and policy gradients on challenging deep reinforcement learning (RL) problems. However, ES can be considered a gradient-based algorithm because it performs stochastic gradient descent via an operation similar to a finite-difference approximation of the gradient. That raises the question of whether non-gradient-based evolutionary algorithms can work at DNN scales. Here we demonstrate they can: we evolve the weights of a DNN with a simple, gradient-free, population-based genetic algorithm (GA) and it performs well on hard deep RL problems, including Atari and humanoid locomotion. The Deep GA successfully evolves networks with over four million free parameters, the largest neural networks ever evolved with a traditional evolutionary algorithm. These results (1) expand our sense of the scale at which GAs can operate, (2) suggest intriguingly that in some cases following the gradient is not the best choice for optimizing performance, and (3) make immediately available the multitude of neuroevolution techniques that improve performance. We demonstrate the latter by showing that combining DNNs with novelty search, which encourages exploration on tasks with deceptive or sparse reward functions, can solve a high-dimensional problem on which reward-maximizing algorithms (e.g.\ DQN, A3C, ES, and the GA) fail. Additionally, the Deep GA is faster than ES, A3C, and DQN (it can train Atari in ${\raise.17ex\hbox{$\scriptstyle\sim$}}$4 hours on one desktop or ${\raise.17ex\hbox{$\scriptstyle\sim$}}$1 hour distributed on 720 cores), and enables a state-of-the-art, up to 10,000-fold compact encoding technique.

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

↑