[论文解读] Evolving Neural Networks in Reinforcement Learning by means of UMDAc
本文提出使用连续域的单变量分布估计算法(UMDAc)来优化强化学习任务中前馈神经网络的参数,相较于标准遗传算法(GA),在四个OpenAI Gym环境中均表现出更优性能,UMDAc在累积奖励和收敛速度方面始终优于GA。
Neural networks are gaining popularity in the reinforcement learning field due to the vast number of successfully solved complex benchmark problems. In fact, artificial intelligence algorithms are, in some cases, able to overcome human professionals. Usually, neural networks have more than a couple of hidden layers, and thus, they involve a large quantity of parameters that need to be optimized. Commonly, numeric approaches are used to optimize the inner parameters of neural networks, such as the stochastic gradient descent. However, these techniques tend to be computationally very expensive, and for some tasks, where effectiveness is crucial, high computational costs are not acceptable. Along these research lines, in this paper we propose to optimize the parameters of neural networks by means of estimation of distribution algorithms. More precisely, the univariate marginal distribution algorithm is used for evolving neural networks in various reinforcement learning tasks. For the sake of validating our idea, we run the proposed algorithm on four OpenAI Gym benchmark problems. In addition, the obtained results were compared with a standard genetic algorithm. Revealing, that optimizing with UMDAc provides better results than the genetic algorithm in most of the cases.
研究动机与目标
- 解决传统参数优化方法(如随机梯度下降)在深度强化学习中计算成本过高的问题。
- 探索估计分布算法(EDAs),特别是UMDAc,作为替代遗传算法以演化神经网络参数的方法。
- 验证UMDAc在多个强化学习环境中优化神经智能体参数的有效性。
- 在学习效率和最终性能方面,比较UMDAc与标准遗传算法的性能表现。
提出的方法
- 使用UMDAc——一种适用于连续域的估计分布算法,来演化强化学习中前馈神经网络的权重。
- 基于种群的优化方法,其中每个个体代表一组神经网络权重,通过适应度(环境累积奖励)进行评估。
- 选择表现最优的个体,以学习网络权重上的单变量边缘概率分布。
- 通过从学习到的概率分布中采样生成新个体,替换原有种群。
- 迭代过程持续至收敛或达到最大代数,适应度通过与OpenAI Gym环境交互进行评估。
- 在相同实验条件下,将UMDAc与标准实数编码遗传算法(GA)进行比较。
实验结果
研究问题
- RQ1UMDAc能否有效优化前馈神经网络在强化学习任务中的参数?
- RQ2在基准强化学习环境中,UMDAc与标准遗传算法相比,在学习速度和最终性能方面表现如何?
- RQ3在哪些环境中,UMDAc相较于GA在解决强化学习问题上表现出统计上显著的优势?
- RQ4UMDAc与GA之间的性能比较存在多大不确定性,且该不确定性在不同环境中如何变化?
主要发现
- 在四个测试环境中的三个——LunarLander、LunarLanderContinuous和BipedalWalker中,UMDAc的平均累积奖励高于GA。
- 在LunarLander和LunarLanderContinuous环境中,UMDAc优于GA的后验概率分别为0.92和0.993,表明对性能更优具有高度信心。
- 在BipedalWalker环境中,UMDAc优于GA的期望后验概率为0.821,但方差较高,表明存在一定不确定性。
- 在CartPole环境中,性能差异微小,后验方差较高且数据点稀疏,表明两种算法表现相近,无明显偏好。
- 后验分布分析显示,UMDAc劣于GA的概率可忽略不计,实际表现等价的情况极为罕见。
- UMDAc在多次运行中表现出更快的收敛速度和更可靠的训练过程,尤其在LunarLander等复杂环境中表现更优。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。