arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.10431cs.LGcs.AI
收藏

利用约束违反信号进行动作约束强化学习

Leveraging Constraint Violation Signals For Action-Constrained Reinforcement Learning

School of Computing and Information Systems, Singapore Management University(新加坡管理大学计算与信息系统学院)

Janaka Chathuranga Brahmanage, Jiajing Ling, Akshat Kumar

AI总结:

本文提出利用约束违反信号构造可行动作目标分布并训练 normalizing flows,将其集成到深度 RL 中,显著减少约束违反并保持更优控制性能。

摘要:

在许多强化学习(RL)应用中,确保智能体的动作遵守约束对于安全至关重要。动作约束强化学习(Action-Constrained Reinforcement Learning,ACRL)中以往的大多数方法都在策略网络之后采用投影层来修正动作。然而,由于使用优化求解器,基于投影的方法存在零梯度问题和较高运行时间等问题。最近,有方法提出训练生成模型来学习潜变量与可行动作之间的可微映射,以解决这一问题。但是,生成模型需要使用来自受约束动作空间的样本进行训练,而这本身就具有挑战性。为解决这些局限,首先,我们基于约束违反信号定义可行动作的目标分布,并通过最小化可行动作近似分布与目标分布之间的 KL 散度来训练 normalizing flows。这消除了生成可行动作样本的需要,极大简化了流模型学习。其次,我们将学习到的流模型与现有深度 RL 方法集成,将其限制为仅探索可行动作空间。第三,我们通过从环境中学习约束违反信号,将方法扩展到 ACRL 之外,以处理逐状态约束。实验表明,在多个控制任务中,与以往最佳方法相比,我们的方法约束违反显著更少,同时达到相似或更好的质量。

英文摘要:

In many RL applications, ensuring an agent's actions adhere to constraints is crucial for safety. Most previous methods in Action-Constrained Reinforcement Learning (ACRL) employ a projection layer after the policy network to correct the action. However projection-based methods suffer from issues like the zero gradient problem and higher runtime due to the usage of optimization solvers. Recently methods were proposed to train generative models to learn a differentiable mapping between latent variables and feasible actions to address this issue. However, generative models require training using samples from the constrained action space, which itself is challenging. To address such limitations, first, we define a target distribution for feasible actions based on constraint violation signals, and train normalizing flows by minimizing the KL divergence between an approximated distribution over feasible actions and the target. This eliminates the need to generate feasible action samples, greatly simplifying the flow model learning. Second, we integrate the learned flow model with existing deep RL methods, which restrict it to exploring only the feasible action space. Third, we extend our approach beyond ACRL to handle state-wise constraints by learning the constraint violation signal from the environment. Empirically, our approach has significantly fewer constraint violations while achieving similar or better quality in several control tasks than previous best methods.

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

↑