Learning Weakly Communicating Average-Reward CMDPs: Strong Duality and Improved Regret

Kihyun Yu, Beomhan Baek, Dabeen Lee

TL;DR

This paper proves for the first time that strong duality holds for infinite-horizon average-reward constrained Markov decision processes (CMDPs) under the broad "weakly communicating" assumption, despite the underlying optimization problem being non-convex. Leveraging this geometric insight, the authors introduce a novel primal-dual clipped value iteration algorithm that slashes the regret and constraint violation bounds for linear CMDPs from $\widetilde{\mathcal{O}}(T^{3/4})$ to a state-of-the-art $\widetilde{\mathcal{O}}(T^{2/3})$.

What Problem Does This Paper Address?

Safe reinforcement learning (RL) frequently relies on Constrained Markov Decision Processes (CMDPs) to model scenarios where an agent must maximize a long-term reward while strictly satisfying safety constraints—such as an autonomous vehicle avoiding collisions or a medical AI minimizing harmful treatments.

When optimizing for long-run steady-state behavior, researchers look at the infinite-horizon average-reward setting. The mathematical difficulty of solving these problems hinges entirely on the structural assumptions of the environment's transition dynamics. Prior works typically assumed "ergodic" or "unichain" structures, where every state is easily reachable from any other state. Under these strict conditions, the CMDP can be rewritten as a convex Linear Program (LP), making it easy to prove strong duality (meaning the primal optimization problem and its dual counterpart arrive at the exact same optimal value).

However, real-world environments are rarely that well-behaved; they are often only weakly communicating, meaning some states are transient and cannot be returned to under any policy. In this more realistic setting, the standard LP formulation breaks down, rendering the problem non-convex. Until now, it was unknown whether strong duality even held for weakly communicating average-reward CMDPs, forcing previous algorithms to settle for suboptimal performance guarantees.

Methods

The authors tackle this challenge with a two-part approach: a theoretical geometric proof followed by a novel algorithm design.

  1. Geometric Bridge to Strong Duality: The core obstacle is that the set of achievable occupation measures (the long-run frequency of visiting state-action pairs) is non-convex. The authors prove that this non-convex set still contains the relative interior and extreme points of a corresponding bounding polytope. Because linear objectives achieve their optima at extreme points, the authors successfully map the non-convex problem back to an equivalent LP, proving that strong duality holds.
  2. The PD-LSCVI-UCB Algorithm: Armed with strong duality, they design a Primal-Dual Least-Squares Clipped Value Iteration with Upper Confidence Bound algorithm for linear CMDPs.
  3. Value Function Clipping: To prevent over-conservative exploration, the algorithm clips value function estimates using a known bound on the span of the optimal bias functions ($\zeta$).
  4. Finite-Horizon Approximation: Instead of using a discounted reward approximation (which is standard but destabilizes dual variables when constraints are present), they approximate the infinite-horizon problem using a sequence of finite-horizon episodes of length $H = T^{1/3}$. This stabilizes the dual updates.

Datasets

As a purely theoretical and algorithmic paper, no large-scale empirical datasets were introduced. Instead, the authors evaluated their algorithm on a synthetic tabular CMDP benchmark. This environment was constructed by modifying a standard hard-to-learn MDP from existing literature (He et al., 2022) to incorporate infinite-horizon average rewards and safety constraints.

Key Insights and Ideas

  • Non-Convexity is Not a Dealbreaker: The most surprising insight is that an optimization problem does not need to be convex to exhibit strong duality. As long as the non-convex feasible set retains the same extreme points and relative interior as its convex hull, linear optimization behaves exactly as it would on a perfect polytope.
  • Dual Stability Requires Finite Horizons: While a discounted-reward approximation works well for unconstrained average-reward RL, it causes the dual variables to become highly unstable in constrained settings. Switching to a fixed finite-horizon approximation keeps dual updates stable.
  • Decomposing Lagrangian Regret: Strong duality provides a mathematical lever to lower-bound the reward regret. This allows the authors to cleanly decouple the joint "Lagrangian regret" into separate, tight bounds for both reward regret and constraint violations.

Key Results

  • Improved Theoretical Bounds: The proposed algorithm achieves both a regret bound and a constraint violation bound of $\widetilde{\mathcal{O}}(T^{2/3})$ after $T$ interactions. This significantly improves upon the previous best known bound of $\widetilde{\mathcal{O}}(T^{3/4})$ for linear CMDPs, finally matching the performance bounds of simpler tabular settings.
  • Empirical Superiority: In numerical simulations, the proposed PD-LSCVI-UCB algorithm achieved clear sublinear regret and constraint violations, whereas the previous state-of-the-art baseline (Ghosh et al., 2023) exhibited near-random performance due to an overly conservative exploration bonus.
Figure 1: Comparison of bP(s1) and P under the weakly communicating assumption.

Limitations and Future Work

  • Dependence on State-Space Size: The value function clipping step requires calculating a minimum over the entire state space ($|S|$). For environments with massive or continuous state spaces, this step becomes computationally prohibitive.
  • The $\sqrt{T}$ Performance Gap: In unconstrained weakly communicating MDPs, the optimal regret bound is $\widetilde{\mathcal{O}}(\sqrt{T})$. Achieving this optimal rate in the constrained setting remains an open and challenging question.
  • Extension to Infinite Spaces: The current proof for strong duality relies on finite-dimensional linear programming arguments. Extending these guarantees to infinite state and action spaces is an important direction for future research.

Summary updated

BibTeX
@inproceedings{yu2026learning,
  author = {Kihyun Yu and Beomhan Baek and Dabeen Lee},
  title = {{Learning Weakly Communicating Average-Reward CMDPs: Strong Duality and Improved Regret}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=btbkA2Bbqu},
}
Figure