Abstract
As Reinforcement Learning (RL) transitions from simulated games to safety-critical real-world systems like autonomous driving and robotics, security becomes a primary concern. This paper introduces a rigorous theoretical framework for analyzing online manipulation attacks and optimal defenses. By modeling the attacker's strategy as a "meta-MDP" and the defender's strategy as a Stochastic Stackelberg Game, the authors provide provable guarantees on attack efficiency and defense feasibility. While general defense against observation attacks is shown to be NP-hard, the framework identifies broad classes of scenarios where optimal policies can be computed in polynomial time.
Introduction
The field of adversarial RL has traditionally been a "cat-and-mouse" game, focusing on specific perturbations like pixel-level noise or data poisoning. Such narrow focuses often leave agents vulnerable to novel attack vectors. This research seeks to move beyond specific attack types by considering the full spectrum of online manipulation, where an adversary can strategically alter environment states, agent observations, actions, and rewards.
Theoretical Framework
The paper breaks the interaction into two distinct perspectives:
The Attacker's Perspective: Meta-MDPs
A core contribution of this work is the proof that for any fixed victim policy, the attacker's optimal manipulation sequence constitutes a Markov Decision Process, termed a meta-MDP. In this formulation, the "states" represent the interactions between the victim and the environment. Because this is a standard MDP structure, an attacker can identify and exploit vulnerabilities in polynomial time using standard RL algorithms. This underscores the inherent fragility of non-robust policies.
The Defender's Perspective: Stackelberg Games
To counter an optimal attacker, the authors model the interaction as a Partially-Observable Turn-Based Stochastic Game (POTBSG). In this Stackelberg setup, the defender (leader) commits to a policy, and the attacker (follower) responds optimally.
A key innovation is the division of a single RL time step into four "subtimes" ($t_1$ to $t_4$), allowing for precise modeling of when an attacker intervenes (e.g., after a state change but before the agent's observation).
Complexity and Feasibility
A critical finding is the role of observation attacks. While most manipulation types (state, action, reward) are mathematically manageable, attacks on the agent's observations introduce partial observability, rendering the defense problem NP-hard. However, in environments where the state is fully observable or observation attacks are absent, the optimal defense can be computed in polynomial time. Furthermore, the authors demonstrate that these results extend beyond simple tabular environments to Linear MDPs, which are a cornerstone of modern RL theory.
Experimental Evaluation: Grid-World Navigation
The framework was evaluated using a 10x10 Grid-World shortest path problem. The environment includes "lava" cells (high penalty) and "unmonitored" regions where an attacker can intervene.
In baseline tests, a standard optimal agent—unaware of the adversary—frequently traverses the unmonitored regions to find the shortest path. Under attack, this agent is pushed into lava, resulting in a catastrophic value of -160.
Conversely, the Stackelberg defender anticipates the attacker's best response. It identifies the high-risk unmonitored regions and chooses a path that "squeezes" through safe zones. This robust policy maintains an optimal value of 3 even against the strongest possible adversary.
Conclusion
This research provides a theoretical anchor for adversarial RL, moving from empirical "hardening" to provable optimality. While computational challenges remain for observation-based attacks, the framework establishes a clear path for designing agents that are robust by construction. Future work will focus on approximating defenses for NP-hard scenarios and integrating these robust policies with real-time attack detection systems.
Summary updated