Introduction
In real-world Reinforcement Learning (RL), agents rarely pursue a single objective. A bidding bot must maximize clicks without exceeding its budget, and a recommender system must drive engagement without promoting harmful content. These scenarios are modeled as Constrained Markov Decision Processes (CMDPs).
The challenge intensifies when the environment is adversarial—meaning rewards and constraint costs change unpredictably over time due to shifting trends or competing agents. A well-known 2009 impossibility result by Mannor et al. proved that no algorithm can simultaneously achieve sublinear regret (performing as well as the best fixed strategy in hindsight) and sublinear constraint violation in a fully adversarial setting.
This paper asks a pivotal question: Can we find a middle ground? Instead of assuming the world is either perfectly stable (stochastic) or purely malicious (adversarial), the authors design algorithms that perform optimally when the world is mostly stable, but degrade gracefully as it becomes more chaotic.
The Learner-Environment Interaction
The paper operates under bandit feedback, where the agent only observes the reward and cost for the specific action it took, remaining blind to counterfactuals.
To bridge the gap between predictable and chaotic settings, the authors introduce a "corruption" measure ($C$). This metric quantifies how much the environment deviates from a stable, fictitious counterpart, effectively unifying stochastic CMDPs ($C=0$) and adversarial CMDPs ($C=T$) into a single framework.
Proposed Methods
The authors propose two main algorithmic contributions to tackle this spectrum of adverseness:
- NS-SOPS (Non-Stationary Safe Optimistic Policy Search): Designed for scenarios where the level of environmental corruption ($C$) is known. It employs a UCB-like (Upper Confidence Bound) approach but widens its optimism. By maintaining confidence bounds that account for both statistical uncertainty and potential environmental corruption, it safely navigates the shifting landscape.
- Lag-FTRL (Lagrangified Follow-the-Regularized-Leader): A sophisticated meta-procedure for when the corruption $C$ is unknown. It runs multiple instances of the NS-SOPS algorithm simultaneously, each operating with a different "guess" for the value of $C$. A master algorithm then uses an adversarial online learning approach to dynamically decide which instance to follow at each step.
A key technical novelty in these methods is the strict focus on Positive Lagrangians. Standard CMDP solvers often allow "negative violations" (performing exceptionally well in one episode) to cancel out "positive violations" (violating a constraint in another). The authors reject this premise, arguing that in real-world safety, avoiding a collision today does not undo a crash from yesterday. Their mathematical framework specifically targets and minimizes positive constraint violations.
Key Theoretical Results
The primary contribution of the paper is proving that both algorithms achieve smoothly degrading performance bounds:
- Regret: $\tilde{\mathcal{O}}(\sqrt{T} + C)$
- Positive Constraint Violation: $\tilde{\mathcal{O}}(\sqrt{T} + C)$
In a perfectly stable environment ($C=0$), this reduces to the state-of-the-art $\tilde{\mathcal{O}}(\sqrt{T})$ bound. As the environment becomes more adversarial, the performance penalty is exactly proportional to the amount of chaos ($C$) introduced.
Importantly, these results do not break the 2009 impossibility theorem; they confirm it. When $C = \Theta(T)$ (the absolute worst-case adversarial scenario), the regret becomes linear, matching known theoretical limits. However, for any environment less hostile than the absolute worst case, the algorithms successfully find a useful, safe policy. This marks the first time such a smoothly degrading bound has been achieved for CMDPs with bandit feedback and unknown non-stationarity.
Limitations and Future Directions
As a purely theoretical work focused on mathematical guarantees, the paper does not include empirical experiments. Consequently, the practical performance and sensitivity to hyperparameters (like the Slater parameter $\rho$) remain open questions.
Furthermore, the algorithms rely heavily on the Slater condition—the assumption that a strictly feasible, "safe" policy exists. If constraints are so tight that no safe buffer is possible, the theoretical guarantees break down. The Lag-FTRL meta-procedure also requires running $\log(T)$ instances of the base algorithm simultaneously, which could introduce computational overhead for long-running systems. Future work may explore extending these guarantees to settings where the transition dynamics of the MDP, not just the rewards and costs, are also adversarial.
Summary updated