Near-Optimal Primal-Dual Algorithm for Learning Linear Mixture CMDPs with Adversarial Rewards

Kihyun Yu, Seoungbin Bae, Dabeen LeearXiv 2026

TL;DR

This paper introduces PD-POWERS, the first provably efficient primal-dual algorithm for safe reinforcement learning in linear mixture Constrained Markov Decision Processes (CMDPs) with adversarial rewards. By replacing standard strong-duality analysis with a novel regularized dual update and incorporating variance-aware parameter estimation, the algorithm achieves near-optimal regret and constraint violation bounds of $\widetilde{O}(\sqrt{d^2 H^3 K})$. This effectively matches the theoretical minimax lower bound for unconstrained settings up to logarithmic factors.

What Problem Does This Paper Address?

In safe reinforcement learning (RL), agents must maximize rewards while satisfying strict safety constraints—a framework typically modeled as a Constrained Markov Decision Process (CMDP). While many effective algorithms exist for small, tabular state spaces, scaling them to large, real-world environments requires function approximation, such as assuming a linear mixture structure for the transition dynamics.

However, real-world deployments often feature non-stationary environments where reward functions can change arbitrarily over time (adversarial rewards). Existing linear CMDP algorithms fail in this setting because they rely on "strong duality" analysis, which assumes a fixed reward structure to establish a stable baseline policy. When rewards change every episode, the optimal baseline shifts, rendering standard primal-dual analysis useless. Furthermore, existing methods suffer from loose confidence intervals, leading to suboptimal sample complexity.

Methods

The authors propose PD-POWERS (Primal-Dual Policy Optimization With BERnstein bonuS) to tackle the twin challenges of adversarial rewards and large state spaces. The algorithm introduces three key technical innovations:

  1. Regularized Dual Update: Instead of standard dual updates that clip variables based on a known safety margin (Slater condition), PD-POWERS adds a regularization term directly into the dual update. This induces a "negative drift" that naturally bounds the dual variable's growth, bypassing the need for strong duality analysis or prior knowledge of the safety margin.
  2. Frequent Policy Perturbation: The algorithm perturbs the policy at every episode by mixing it with a uniform distribution. This keeps the policy away from the boundaries of the probability simplex, stabilizing the dual variable updates.
  3. Weighted Ridge Regression: To learn the unknown transition dynamics, the algorithm extends variance-aware parameter estimation to the constrained setting. By weighting the regression based on estimates of conditional next-state variance, the authors leverage Bernstein-type concentration inequalities to construct exceptionally tight confidence intervals.

Datasets

The paper does not evaluate on real-world datasets. Instead, the authors validate their theoretical claims using a synthetic, time-inhomogeneous CMDP benchmark environment adapted from literature. The environment features 12 states ($H=10$), a 4-dimensional action space ($d=5$), and a shifting reward function designed to simulate non-stationary, adversarial conditions.

Key Insights and Ideas

  • Bypassing Strong Duality via Drift: The core "aha moment" is realizing that you don't need strong duality to bound regret in changing environments. By engineering a negative drift into the dual variable update, the authors control its growth mathematically through a drift inequality, allowing them to handle arbitrary reward changes.
  • The Power of Variance Awareness: Moving from standard ridge regression to weighted ridge regression is what unlocks the optimal dependency on the horizon ($H^3$ instead of $H^4$). Tracking the heteroscedastic noise (the changing variance of the next-state value) is essential for achieving near-optimal bounds in function approximation.
  • Continuous vs. Episodic Perturbation: Prior adversarial linear CMDP methods only perturbed policies every $K^{3/4}$ episodes to manage a mathematical trade-off called the "covering number." PD-POWERS eliminates the need for covering numbers entirely, enabling policy perturbation at every single episode, which drastically improves the algorithm's regret dependence on the number of episodes ($K$).

Key Results

The primary achievement of this paper is establishing a near-optimal regret and constraint violation bound of $\widetilde{O}(\sqrt{d^2 H^3 K})$, where $d$ is the feature dimension, $H$ is the horizon, and $K$ is the number of episodes.

As shown in the authors' comparison table, this represents a significant improvement over prior state-of-the-art methods:

TABLE I: Comparison of safe RL with linear function approximation.

In simulation experiments, PD-POWERS demonstrates clear sublinear growth for both cumulative regret and constraint violations, confirming that the agent effectively learns the optimal safe policy even when an adversary continuously alters the rewards.

Regret and constraint violation of PD-POWERS vs. a random baseline.

Limitations and Future Work

The authors note two main limitations of the current work:

  • Integration Oracle Dependency: The algorithm relies on an integration oracle to compute expectations over the feature mappings. If this oracle is unavailable, computing these expectations requires summing over the entire state space, making the algorithm computationally inefficient for truly massive state spaces.
  • Degenerate Safety Margins: The derived bounds scale inversely with the Slater constant ($\gamma$), which represents the environment's safety margin. If an environment is only barely capable of being safe ($\gamma \ll 1$), the regret and violation bounds become loose. Developing algorithms that are robust to these degenerate conditions remains an open challenge.

Summary updated

BibTeX
@misc{yu2026near,
  author = {Kihyun Yu and Seoungbin Bae and Dabeen Lee},
  title = {{Near-Optimal Primal-Dual Algorithm for Learning Linear Mixture CMDPs with Adversarial Rewards}},
  year = {2026},
  eprint = {2603.27884},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.27884},
}
Figure