Bounded robustness in reinforcement learning via lexicographic objectives

Daniel Jarne Ornia, Licio Romao, Lewis Hammond, Manuel Mazo Jr., Alessandro Abate

Abstract: Policy robustness in Reinforcement Learning (RL) often comes at the cost of performance. This work introduces a framework to maximize robustness to observational noise while formally bounding the loss in utility. By interpreting disturbances as stochastic linear operators and employing lexicographic optimization, we propose the Lexicographically Robust Policy Gradient (LRPG) algorithm. LRPG preserves convergence guarantees and allows for an explainable trade-off between expected utility and robustness.

Introduction

Reinforcement Learning (RL) agents deployed in real-world environments frequently encounter observational disturbances, such as sensor noise, communication delays, or adversarial perturbations. These scenarios are modeled as Observationally-Disturbed MDPs (DOMDPs). While standard robust RL techniques like adversarial training can improve resilience, they often suffer from two major downsides: "performance collapse," where the agent becomes overly cautious, and a lack of formal convergence guarantees when using arbitrary regularization terms.

The Lexicographic Approach

To address these issues, we propose Lexicographically Robust Policy Gradient (LRPG). Instead of the traditional approach of scalarizing multiple objectives into a single weighted sum—which is notoriously difficult to tune—LRPG treats robustness as a secondary objective prioritized under a primary performance constraint.

Visualizing the lexicographic search: LRPG seeks a policy within the set of ε-suboptimal policies (red region) that maximizes robustness.

As illustrated above, the algorithm defines a performance budget ($\epsilon$). It first ensures the policy $\pi$ achieves a return within $\epsilon$ of the optimal value $J^*$. Within this "good enough" policy space, the algorithm then uses any remaining freedom to maximize robustness. This provides an explainable trade-off: an engineer can explicitly decide to sacrifice a fixed percentage of reward (e.g., 5%) to ensure the agent remains stable under sensor degradation.

Theoretical Foundation: The Noise Operator

A key theoretical contribution is the interpretation of noise as a stochastic linear operator. We demonstrate that a policy is robust to noise if it behaves as a "fixed point" of the noise kernel. Essentially, a policy that is invariant or "smooth" under a known design noise kernel ($\tilde{T}$) is mathematically guaranteed to be more robust to a wide range of unknown disturbances ($T$).

LRPG acts as a meta-algorithm that can be wrapped around existing policy gradient methods like A2C or PPO. During training, it uses a multi-timescale update to push the policy toward these robust fixed points while strictly staying within the performance budget.

Experimental Evaluation

We evaluated LRPG using the MiniGrid environment suite on safety-critical tasks such as LavaCrossing and DynamicObstacles. The algorithm was tested against uniform noise, Gaussian noise, and sophisticated state-adversarial attacks.

Key findings include:

  • Resilience to Noise: In the LavaCrossing task, standard PPO performance dropped by nearly 50% under significant noise, whereas LRPG maintained near-optimal performance.
  • Natural Adversarial Defense: Despite not being explicitly trained against adversaries, LRPG's "fixed point" property provided resistance to state-adversarial attacks comparable to specialized defense methods like SA-PPO.
  • Guaranteed Utility: The lexicographic constraint ensured that agents never over-corrected for noise at the expense of the primary mission, consistently staying within the pre-defined $\epsilon$ tolerance of the noiseless optimal score.

Conclusion and Future Work

LRPG offers a principled way to balance utility and robustness in RL. By providing formal convergence and sub-optimality guarantees, it bridges the gap between theoretical stability and practical performance. While currently demonstrated in discrete control, future research will explore scaling LRPG to high-dimensional continuous control environments (such as MuJoCo) and formalizing convergence for critic-based robustness variants.

Summary updated

BibTeX
@inproceedings{ornia2024bounded,
  author = {Daniel Jarne Ornia and Licio Romao and Lewis Hammond and Manuel Mazo Jr. and Alessandro Abate},
  title = {{Bounded robustness in reinforcement learning via lexicographic objectives}},
  booktitle = {L4DC},
  year = {2024},
  url = {https://openreview.net/forum?id=mS0T1aALuM},
}
Figure