Learning to Generate All Feasible Actions
Mirco Theile, Daniele Bernardini, Raphael Trumpp, Cristina Piazza, Marco Caccamo, Alberto L. Sangiovanni-Vincentelli
TL;DR
This work tackles safe reinforcement learning under hard constraints by introducing action mapping, a two-stage framework that first learns a feasibility policy to generate all feasible actions and then learns an objective policy to select among them. Feasibility policy training is cast as a distribution-matching problem, aiming to make the policy induce a uniform distribution over the feasible action set $\mathcal{A}_s^+$, and is optimized via gradient estimators for $f$-divergences using KDE-based density estimates and importance sampling. The authors demonstrate the approach on a simple 2D illustrative example, a spline-based path-planning scenario, and a robotic grasping setup, showing that the feasibility policy can cover disconnected feasible regions and produce multiple action modes. The results indicate that focusing learning on the feasibility step can improve safety and data efficiency, while enabling later objective optimization to operate within the feasible region; this has practical implications for deploying RL in safety-critical robotic and cyber-physical systems. Future work includes scalability to higher-dimensional action spaces, adaptive density estimation, and integrating the feasibility policy with end-to-end RL algorithms for real-time control.
Abstract
Modern cyber-physical systems are becoming increasingly complex to model, thus motivating data-driven techniques such as reinforcement learning (RL) to find appropriate control agents. However, most systems are subject to hard constraints such as safety or operational bounds. Typically, to learn to satisfy these constraints, the agent must violate them systematically, which is computationally prohibitive in most systems. Recent efforts aim to utilize feasibility models that assess whether a proposed action is feasible to avoid applying the agent's infeasible action proposals to the system. However, these efforts focus on guaranteeing constraint satisfaction rather than the agent's learning efficiency. To improve the learning process, we introduce action mapping, a novel approach that divides the learning process into two steps: first learn feasibility and subsequently, the objective by mapping actions into the sets of feasible actions. This paper focuses on the feasibility part by learning to generate all feasible actions through self-supervised querying of the feasibility model. We train the agent by formulating the problem as a distribution matching problem and deriving gradient estimators for different divergences. Through an illustrative example, a robotic path planning scenario, and a robotic grasping simulation, we demonstrate the agent's proficiency in generating actions across disconnected feasible action sets. By addressing the feasibility step, this paper makes it possible to focus future work on the objective part of action mapping, paving the way for an RL framework that is both safe and efficient.
