Operator Splitting for Convex Constrained Markov Decision Processes

Panagiotis D. Grontas, Anastasios Tsiamis, John LygerosarXiv 2024 · DOI

Researchers at ETH Zürich have introduced a novel optimization framework for solving complex decision-making problems where agents must balance primary objectives with diverse safety or resource constraints. Their proposed method, OS-CMDP, leverages operator splitting to address the scalability and convergence issues common in existing Constrained Markov Decision Process (CMDP) solvers.

The CMDP Challenge

In Reinforcement Learning (RL), Markov Decision Processes (MDPs) typically model agents seeking to maximize a reward signal. However, real-world applications—such as robotics or autonomous systems—require adherence to constraints, such as battery limits or obstacle avoidance. These are modeled as CMDPs.

While linear constraints are well-studied, they are often solved using Linear Programming (which scales poorly) or primal-dual methods (which are prone to oscillation and require result averaging). Furthermore, modern requirements like imitation learning or safe exploration often involve non-linear convex constraints, which most existing solvers cannot handle efficiently.

The OS-CMDP Framework

The core innovation of this work is the application of Douglas-Rachford Splitting (DRA) to the CMDP framework. The authors decouple the problem into two distinct components:

  1. MDP Dynamics: These are handled by a novel inner loop called Quadratically-regularized Policy Iteration (QRPI). Unlike standard policy iteration, QRPI includes a quadratic penalty that ensures numerical stability and "last-iterate" convergence, meaning the final step of the algorithm is the optimal one.
  2. Constraints: These are managed via a projection step. Because the dynamics are decoupled, the algorithm can incorporate any constraint set that allows for a projection, such as $\ell_2$ balls, polyhedrons, or entropy-based sets.

By alternating between solving a regularized MDP and projecting the result back into the safe constraint zone, OS-CMDP maintains modularity and efficiency.

Key Insights: Decoupling and Infeasibility

A significant advantage of this approach is its modularity; users can swap constraint types without redesigning the solver. Additionally, OS-CMDP utilizes regularization within the algorithm steps, allowing it to converge to the solution of the original problem rather than a modified version.

Perhaps the most striking feature is how the algorithm handles infeasibility. When constraints are impossible to satisfy, OS-CMDP identifies a "minimal displacement vector," finding the policy that comes as close as possible to safety while remaining functional.

Figure 2: Geometric representation of the minimal displacement vector between a policy set and a constraint set in infeasible scenarios.

Empirical Performance

The authors evaluated OS-CMDP on Garnet MDPs (abstract environments used for scaling tests) and a Grid World navigation task. In tests with up to 5,000 states, OS-CMDP demonstrated superior scalability compared to commercial solvers like Gurobi and other first-order methods like PDM.

Figure 4: Performance comparison across different state sizes (S). OS-CMDP consistently outperforms Gurobi and PDM in computation time as the state space grows.

In sparse environments with 5,000 states, OS-CMDP converged in approximately 11.89 seconds, whereas Gurobi required nearly 72 seconds. In the Grid World task, the algorithm proved robust; when faced with impossible constraints, it produced a policy that prioritized obstacle avoidance while still attempting to reach the destination.

Limitations and Future Directions

Currently, OS-CMDP is a planning algorithm that requires "perfect knowledge" of environment dynamics (transition probabilities and costs). It also relies on a tabular representation, which limits its application to discrete state spaces. Future work aims to extend this framework to Safe RL, where agents learn dynamics and constraints simultaneously through interaction, potentially incorporating neural networks for continuous state spaces.

Summary updated

BibTeX
@misc{grontas2024operator,
  author = {Panagiotis D. Grontas and Anastasios Tsiamis and John Lygeros},
  title = {{Operator Splitting for Convex Constrained Markov Decision Processes}},
  year = {2024},
  eprint = {2412.14002},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.14002},
}
Figure