论文标题
强化学习中约束处理的动态惩罚函数方法
A Dynamic Penalty Function Approach for Constraints-Handling in Reinforcement Learning
论文作者
论文摘要
加强学习(RL)吸引了人们的注意,作为解决涉及高维状态/动作空间和随机不确定性的顺序优化问题的有效方法。许多这样的问题涉及不平等约束表达的限制。这项研究重点是使用RL解决受约束的最佳控制问题。大多数RL应用程序研究都通过添加软惩罚条款来处理不平等限制,以违反奖励功能的限制。但是,虽然训练神经网络学习值(或Q)功能,但由于施加较大的惩罚,在约束边界处的功能值急剧变化引起的计算问题。训练期间的困难会导致收敛问题,并最终导致闭环性能不佳。为了解决这个问题,本研究提出了一种动态惩罚(DP)方法,随着迭代发作的进行,训练过程中惩罚因素在训练过程中逐渐增加。我们首先检查神经网络代表价值函数的能力时,当添加均匀,线性或DP功能以防止违反约束时。将通过DP函数方法的深Q网络(DQN)算法训练的代理与在简单的车辆控制问题中具有其他恒定惩罚函数的代理进行了比较。结果表明,所提出的方法可以提高神经网络近似准确性,并在接近溶液时提供更快的收敛性。
Reinforcement learning (RL) is attracting attention as an effective way to solve sequential optimization problems that involve high dimensional state/action space and stochastic uncertainties. Many such problems involve constraints expressed by inequality constraints. This study focuses on using RL to solve constrained optimal control problems. Most RL application studies have dealt with inequality constraints by adding soft penalty terms for violating the constraints to the reward function. However, while training neural networks to learn the value (or Q) function, one can run into computational issues caused by the sharp change in the function value at the constraint boundary due to the large penalty imposed. This difficulty during training can lead to convergence problems and ultimately lead to poor closed-loop performance. To address this issue, this study proposes a dynamic penalty (DP) approach where the penalty factor is gradually and systematically increased during training as the iteration episodes proceed. We first examine the ability of a neural network to represent a value function when uniform, linear, or DP functions are added to prevent constraint violation. The agent trained by a Deep Q Network (DQN) algorithm with the DP function approach was compared with agents with other constant penalty functions in a simple vehicle control problem. Results show that the proposed approach can improve the neural network approximation accuracy and provide faster convergence when close to a solution.