TL;DR
Standard Lagrangian algorithms for Constrained Markov Decision Processes (CMDPs) only guarantee "weak" regret, allowing severe safety violations in some episodes to be masked by overly conservative behavior in others. This paper introduces OptAug-CMDP, an augmented Lagrangian dual approach that achieves an $\tilde{O}(\sqrt{K})$ regret bound for both cost and constraint violations without error cancellations, directly answering an open question in safe reinforcement learning.
What Problem Does This Paper Address?
Safe reinforcement learning is often formalized as a Constrained Markov Decision Process (CMDP), where an agent minimizes an objective cost while keeping expected safety costs under specified thresholds.
Existing model-based algorithms for tabular CMDPs generally take one of two routes:
- Linear Programming (LP) methods: They achieve sublinear strong regret—bounding the sum of positive violations $\sum_k [V^{\pi_k}(d) - \alpha]_+$—which ensures the policy is safe in almost all individual episodes. However, solving large LPs in each episode is computationally prohibitive.
- Standard Lagrangian dual/primal-dual methods: These methods allow efficient per-episode updates via Dynamic Programming (DP), but their theoretical guarantees only hold for weak regret ($\sum_k (V^{\pi_k}(d) - \alpha)$). Because standard dual ascent oscillates around the constraint boundary, positive and negative violations cancel out in the sum. An agent could violate constraints catastrophically half the time and overcompensate the other half, yet still claim "zero weak regret."
Efroni et al. (2020) posed an open question: Can Lagrangian-based methods achieve sublinear regret for the stronger, cancellation-free notion of regret?
Methods
The authors propose OptAug-CMDP, combining the optimism-in-the-face-of-uncertainty principle with an inexact augmented Lagrangian framework:
- Two-Phase Structure:
- Pre-training phase: The agent executes a known, strictly feasible baseline policy $\bar{\pi}$ for a fixed number of episodes $K'$. This ensures that the estimated transition model is accurate enough for $\bar{\pi}$ to act as a strict Slater point (strictly feasible) for future optimistic models.
- Optimistic exploration phase: The agent maintains confidence sets for transitions and costs, then updates policies using an augmented Lagrangian objective (which adds a quadratic penalty on constraint violations).
-
Inner Problem via Frank-Wolfe and Dynamic Programming: The augmented Lagrangian’s quadratic term breaks standard Bellman linearity, making the per-episode subproblem non-linear. The authors reformulate it over state-action-state occupancy measures $z(s, a, s')$. They solve this constrained convex optimization problem using a projection-free Frank-Wolfe scheme, where the linear minimization oracle (LMO) in each step reduces to an unconstrained extended MDP solved via backward induction (DP).
-
Dual Update: Dual multipliers $\lambda_k$ are updated via the standard proximal point / augmented Lagrangian step $\lambda_{k+1} = [\lambda_k + \eta_k(\tilde{V}^{\pi_k} - \alpha)]_+$.
Datasets
Not discussed in the paper (this is a purely theoretical work with no empirical experiments or benchmark evaluations).
Key Insights and Ideas
- Augmented Lagrangian prevents oscillation: Unlike standard dual gradient ascent (which inherently exhibits ergodic, oscillating behavior), the proximal nature of augmented Lagrangian methods provides last-iterate convergence guarantees for convex programs.
- Nonlinear subproblems can still use DP: Even though the quadratic penalty renders the objective non-linear in occupancy space, the gradient of the objective is linear. Hence, the LMO step of Frank-Wolfe directly maps to finding the optimal policy in an extended MDP, avoiding heavy LP solvers or high-dimensional projections.
- Why pre-training is necessary: Standard augmented Lagrangian convergence relies on bounded dual multipliers, which in turn require a uniform Slater condition (strict feasibility). Because the optimistic CMDP changes at every iteration $k$, the initial pre-training on a known safe baseline $\bar{\pi}$ guarantees that Slater's condition holds with high probability across all exploration episodes.
Key Results
-
Cancellation-Free Regret: Conditioned on a high-probability confidence event (holding with probability $\ge 1 - \delta$), OptAug-CMDP achieves: $$\mathcal{R}(K; c) = \tilde{O}\left(\sqrt{NSAH^4 K} + S^2 A H^3 + K' H\right)$$ $$\mathcal{R}(K; d) = \tilde{O}\left(\sqrt{NSAH^4 K} + S^2 A H^3\right)$$ where $K' = \tilde{O}\left(\max\left\{\frac{S^2AH^3}{(1-\nu)\gamma}, \frac{NSAH^4}{(1-\nu)^2\gamma^2}\right\}\right)$ is a constant independent of $K$, and $\gamma$ is the baseline slack. Both costs and constraint violations scale as $\tilde{O}(\sqrt{K})$.
-
Iteration Complexity: To achieve an $\epsilon_k$-approximate policy update at episode $k$, the inner Frank-Wolfe procedure requires $O\left(\frac{\eta_k I S^2 A H}{\epsilon_k}\right)$ extended MDP solves via DP. Setting $\eta_{K'+k} = \Theta(k^{2.5})$ and $\epsilon_{K'+k} = \Theta(1/\eta_{K'+k})$ guarantees the overall $\tilde{O}(\sqrt{K})$ strong regret.
Limitations and Future Work
- Access to a strictly safe policy: The algorithm requires prior access to a strictly feasible baseline policy $\bar{\pi}$ and its slack $\gamma$ to perform pre-training. Removing this requirement remains an open challenge.
- Computational overhead: Although it avoids general LP solvers, OptAug-CMDP must solve multiple extended MDPs per episode via Frank-Wolfe, resulting in higher per-iteration computational costs than standard dual descent.
- Tabular setting: The current theory is restricted to finite, tabular CMDPs. Extending cancellation-free guarantees to function approximation and continuous state-action spaces is left for future work.
Summary updated