Table of Contents
Fetching ...

Efficient Action-Constrained Reinforcement Learning via Acceptance-Rejection Method and Augmented MDPs

Wei Hung, Shao-Hua Sun, Ping-Chun Hsieh

TL;DR

This work tackles action-constrained RL (ACRL) with zero constraint violations, addressing the inefficiency of existing approaches that rely on quadratic programs or complex generative models. It introduces ARAM, a framework that uses Acceptance-Rejection Sampling to map unconstrained policies to feasible actions and an Augmented Unconstrained Two-Objective MDP (AUTO-MDP) to steer learning toward higher acceptance by penalizing violations, all compatible with standard RL algorithms. A Multi-Objective SAC (MOSAC) implementation enables learning policies that satisfy multiple penalty weights simultaneously via dual replay buffers and a scalarization of vector Q-values. Across MuJoCo locomotion and resource allocation benchmarks, ARAM achieves faster training, higher action-validity, and much lower QP and inference overhead, demonstrating practical, scalable benefits for safety- and resource-constrained control tasks.

Abstract

Action-constrained reinforcement learning (ACRL) is a generic framework for learning control policies with zero action constraint violation, which is required by various safety-critical and resource-constrained applications. The existing ACRL methods can typically achieve favorable constraint satisfaction but at the cost of either high computational burden incurred by the quadratic programs (QP) or increased architectural complexity due to the use of sophisticated generative models. In this paper, we propose a generic and computationally efficient framework that can adapt a standard unconstrained RL method to ACRL through two modifications: (i) To enforce the action constraints, we leverage the classic acceptance-rejection method, where we treat the unconstrained policy as the proposal distribution and derive a modified policy with feasible actions. (ii) To improve the acceptance rate of the proposal distribution, we construct an augmented two-objective Markov decision process (MDP), which include additional self-loop state transitions and a penalty signal for the rejected actions. This augmented MDP incentives the learned policy to stay close to the feasible action sets. Through extensive experiments in both robot control and resource allocation domains, we demonstrate that the proposed framework enjoys faster training progress, better constraint satisfaction, and a lower action inference time simultaneously than the state-of-the-art ACRL methods. We have made the source code publicly available to encourage further research in this direction.

Efficient Action-Constrained Reinforcement Learning via Acceptance-Rejection Method and Augmented MDPs

TL;DR

This work tackles action-constrained RL (ACRL) with zero constraint violations, addressing the inefficiency of existing approaches that rely on quadratic programs or complex generative models. It introduces ARAM, a framework that uses Acceptance-Rejection Sampling to map unconstrained policies to feasible actions and an Augmented Unconstrained Two-Objective MDP (AUTO-MDP) to steer learning toward higher acceptance by penalizing violations, all compatible with standard RL algorithms. A Multi-Objective SAC (MOSAC) implementation enables learning policies that satisfy multiple penalty weights simultaneously via dual replay buffers and a scalarization of vector Q-values. Across MuJoCo locomotion and resource allocation benchmarks, ARAM achieves faster training, higher action-validity, and much lower QP and inference overhead, demonstrating practical, scalable benefits for safety- and resource-constrained control tasks.

Abstract

Action-constrained reinforcement learning (ACRL) is a generic framework for learning control policies with zero action constraint violation, which is required by various safety-critical and resource-constrained applications. The existing ACRL methods can typically achieve favorable constraint satisfaction but at the cost of either high computational burden incurred by the quadratic programs (QP) or increased architectural complexity due to the use of sophisticated generative models. In this paper, we propose a generic and computationally efficient framework that can adapt a standard unconstrained RL method to ACRL through two modifications: (i) To enforce the action constraints, we leverage the classic acceptance-rejection method, where we treat the unconstrained policy as the proposal distribution and derive a modified policy with feasible actions. (ii) To improve the acceptance rate of the proposal distribution, we construct an augmented two-objective Markov decision process (MDP), which include additional self-loop state transitions and a penalty signal for the rejected actions. This augmented MDP incentives the learned policy to stay close to the feasible action sets. Through extensive experiments in both robot control and resource allocation domains, we demonstrate that the proposed framework enjoys faster training progress, better constraint satisfaction, and a lower action inference time simultaneously than the state-of-the-art ACRL methods. We have made the source code publicly available to encourage further research in this direction.

Paper Structure

This paper contains 26 sections, 2 theorems, 11 equations, 15 figures, 8 tables, 2 algorithms.

Key Result

Proposition 1

Let $\pi^* \in \Pi_{\mathcal{C}}$ be an optimal policy among all the policies in $\Pi_{\mathcal{C}}$ under the original action-constrained MDP $\mathcal{M}$. Then, for any $\bm{\lambda}\in \Lambda$, the policy $\pi^*$ remains an optimal policy among all the policies in $\Pi_{\mathcal{A}}$ under the

Figures (15)

  • Figure 1: An illustration of AUTO-MDP, where $a \in \mathcal{C}(s)$ and $\tilde{a} \notin \mathcal{C}(s)$.
  • Figure 2: An illustration of the ARAM framework. ARAM is composed of three components: (1) ARM: Use an oracle to verify whether the sampled action is in the feasible action set. (2) AUTO-MDP: Assign penalties to invalid actions within an augmented MDP framework, thereby reducing the rate of action violations. (3) MORL: Use MORL to discover well-performing policies under all penalty weights simultaneously.
  • Figure 3: Learning curves of ARAM and the benchmark methods across different environments in terms of the evaluation return.
  • Figure 4: Cumulative number of QP operations of ARAM and the benchmark methods across different environments, with the y-axis on a logarithmic scale.
  • Figure 5: Ablation study of MORL. We plot the tuples of forward reward and valid action rate of ARAM and the three single-objective SAC variants with fixed preferences $\bm{\lambda}=[0.9, 0.1]$, $[0.5, 0.5]$, and $[0.1, 0.9]$ in HalfCheetah and Ant. The five markers of each color refer to the results of the same algorithm over five distinct random seeds.
  • ...and 10 more figures

Theorems & Definitions (3)

  • Proposition 1: Equivalence in optimality
  • Proposition 1: Equivalence in optimality
  • proof