Efficient Action Robust Reinforcement Learning with Probabilistic Policy Execution Uncertainty

Guanlin Liu, Zhihan Zhou, Han Liu, Lifeng Lai · Submission to ICLR 2024 · Rejected

This paper provides a theoretical and algorithmic breakthrough in Action Robust Reinforcement Learning (RL). It proves that we can train agents to be resilient against execution errors—such as a robotic joint failing or a patient refusing medication—without paying a "complexity tax" in terms of training time or data requirements.

Crucially, the authors introduce ARRLC, the first action-robust RL algorithm to achieve minimax optimal regret and sample complexity. They prove that being robust to probabilistic action perturbations requires no more data than standard, non-robust RL, effectively providing "robustness for free" in terms of fundamental complexity barriers.

The Problem: Policy Execution Uncertainty

In standard RL, we assume that when an agent chooses an action, that action is executed perfectly. In the real world, this is rarely true: actuators have noise, power limits cause failures, and in human-centric systems, advice might be ignored or misinterpreted.

Action Robust RL models this by assuming an adversary can occasionally hijack the agent's choice. Specifically, this paper investigates the Probabilistic Policy Execution Uncertainty (PR-MDP) setting: with probability $1-\rho$, the agent's chosen action is performed; with probability $\rho$, an adversary intervenes and chooses the worst possible action.

Previously, researchers tackled this using "adversarial training"—a zero-sum game alternating between training the agent and training the adversary. However, these methods lacked theoretical guarantees. It remained unclear if they would converge to the truly optimal robust policy, or how many samples they needed to get there.

Methodology

The paper moves away from the "cat-and-mouse" game of alternating updates and instead builds a solid mathematical foundation for action robustness:

  1. Action Robust Bellman Equation: The authors derive a new version of the Bellman optimality equation that incorporates the $\min$ (adversary) and $\max$ (agent) operations into a single step. They prove that a deterministic optimal robust policy always exists for this setting.
  2. ARRLC (Action Robust RL with Certificates): This model-based algorithm builds an internal model of the environment and uses "optimism" to explore. Crucially, it maintains two sets of values: an optimistic estimate to find the best policy and a pessimistic estimate to "certify" the worst-case performance.
  3. Simultaneous Planning: Unlike prior work that updates the agent and adversary sequentially, ARRLC updates both simultaneously using the new Bellman equation, making it significantly more sample-efficient.
  4. Model-Free Variant (ARQ-H): The authors also propose a robust Q-learning algorithm (ARQ-H) for scenarios where building a full transition model is too computationally expensive.

Key Insights and Results

Robustness is "Free"

The most significant breakthrough is the proof that the sample complexity for action-robust RL is $\tilde{O}(SAH^3/\epsilon^2)$. This is the exact same scaling as standard, non-robust RL. Adding robustness to an agent doesn't inherently make the learning problem harder or slower.

Sample complexity comparison of robust RL algorithms

As shown in the table above, ARRLC achieves minimax optimality. No algorithm can fundamentally do better in terms of regret scaling with respect to the number of states ($S$), actions ($A$), and horizon ($H$), as it perfectly matches the non-robust lower bound.

Perfect Duality

The authors prove a "perfect duality" (min-max = max-min) for this specific type of action uncertainty. This mathematical property allows them to collapse the adversarial game into a single, solvable Bellman equation.

Empirical Speedup and Superior Robustness

The authors validated their algorithms on two classic OpenAI Gym benchmarks: Cliff Walking (a grid-world environment) and Inverted Pendulum (a discretized continuous control task).

Because ARRLC plans for the adversary internally rather than waiting for an adversarial policy to "converge" during training, it reaches optimal performance much faster than previous state-of-the-art robust methods. In simulations, ARRLC converged in roughly 2,000 episodes, whereas prior robust methods required up to 30,000 episodes to reach similar performance. Furthermore, when tested in environments with high perturbation (e.g., $\rho=0.2$ or higher), standard RL algorithms saw their rewards plummet, while ARRLC maintained stable, high performance.

Limitations and Future Work

  • Tabular Constraint: The current theoretical proofs and algorithms are designed for "tabular" RL (finite states and actions). While the authors discretized the Inverted Pendulum task for testing, the theory doesn't yet directly cover high-dimensional continuous spaces (like pixels or complex robotics).
  • Known Uncertainty Parameter: The algorithm assumes the agent knows $\rho$ (the probability of an adversarial attack). While experiments showed some tolerance to a mismatched $\rho$, a version that learns $\rho$ on the fly would be more flexible.
  • Future Directions: The authors suggest extending these insights to Function Approximation (using Deep Learning) and exploring policy-gradient methods (like PPO) that incorporate this robust Bellman operator.

Summary updated

BibTeX
@misc{liu2023efficient,
  author = {Guanlin Liu and Zhihan Zhou and Han Liu and Lifeng Lai},
  title = {{Efficient Action Robust Reinforcement Learning with Probabilistic Policy Execution Uncertainty}},
  year = {2023},
  eprint = {2307.07666},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2307.07666},
}
Figure