[Paper Review] Online Robust Policy Learning in the Presence of Unknown Adversaries
This paper proposes a meta-learned advantage hierarchy (MLAH) framework for online, attack-model-agnostic mitigation of adversarial state-input attacks in deep reinforcement learning. By learning separate nominal and adversarial sub-policies guided by a master agent that uses advantage function differences to detect attacks, MLAH achieves significantly lower policy bias than state-of-the-art methods, even under frequent or long-duration attacks.
The growing prospect of deep reinforcement learning (DRL) being used in cyber-physical systems has raised concerns around safety and robustness of autonomous agents. Recent work on generating adversarial attacks have shown that it is computationally feasible for a bad actor to fool a DRL policy into behaving sub optimally. Although certain adversarial attacks with specific attack models have been addressed, most studies are only interested in off-line optimization in the data space (e.g., example fitting, distillation). This paper introduces a Meta-Learned Advantage Hierarchy (MLAH) framework that is attack model-agnostic and more suited to reinforcement learning, via handling the attacks in the decision space (as opposed to data space) and directly mitigating learned bias introduced by the adversary. In MLAH, we learn separate sub-policies (nominal and adversarial) in an online manner, as guided by a supervisory master agent that detects the presence of the adversary by leveraging the advantage function for the sub-policies. We demonstrate that the proposed algorithm enables policy learning with significantly lower bias as compared to the state-of-the-art policy learning approaches even in the presence of heavy state information attacks. We present algorithm analysis and simulation results using popular OpenAI Gym environments.
Motivation & Objective
- Address the critical challenge of online robustness in deep reinforcement learning when faced with unknown, adaptive adversaries that corrupt state inputs.
- Overcome limitations of existing offline, attack-specific defense methods that fail to adapt to evolving attacker strategies in real time.
- Develop a general-purpose, attack-model-agnostic framework for mitigating policy bias introduced by adversarial state perturbations during online training.
- Enable real-time detection and mitigation of adversarial influence by leveraging temporal advantage function differences to guide policy selection.
- Improve return stability and policy performance under intermittent or prolonged adversarial attacks through hierarchical, meta-learned sub-policy mapping.
Proposed method
- Introduce a hierarchical meta-learning framework (MLAH) with a supervisory master agent that selects between two sub-policies: one for nominal states and one for adversarial states.
- Use the advantage function difference between sub-policies as the primary signal to detect the presence of adversarial attacks in real time.
- Train sub-policies online using trust-region policy optimization (TRPO) or PPO variants, with the master agent dynamically switching policies based on advantage observations.
- Formulate a pessimistic lower bound on return using visitation frequency estimates, improving robustness under non-stationary state distributions.
- Implement the framework in OpenAI Gym environments (e.g., InvertedPendulum-v2, MountainCarContinuous-v0) to validate performance under controlled adversarial conditions.
- Leverage an expectation-maximization style learning process where both the master agent and sub-policies co-optimize to improve advantage estimation and policy selection accuracy.
Experimental results
Research questions
- RQ1Can a meta-learned hierarchical policy framework detect adversarial state attacks in real time without prior knowledge of the attack model?
- RQ2How does the use of separate nominal and adversarial sub-policies compare to a single policy in terms of return bias and stability under intermittent or long-duration attacks?
- RQ3To what extent can advantage function differences serve as a reliable signal for online detection of adversarial state perturbations?
- RQ4Does the MLAH framework maintain low policy bias and high return performance even when the adversary changes its strategy over time?
- RQ5Can the master agent learn to reliably select the correct policy (nominal or adversarial) based solely on advantage observations, without explicit state perturbation labels?
Key findings
- MLAH significantly reduces policy bias compared to state-of-the-art methods like PPO, especially under heavy or prolonged state-input attacks.
- In environments with intermittent attacks (e.g., 5000 on, 10000 off), MLAH maintains nearly unbiased evaluation returns, while single-policy agents fail to optimize effectively for both conditions.
- When attack and nominal periods are balanced (m = n), MLAH achieves return performance close to the theoretical expectation, demonstrating robustness and stability.
- The master agent successfully learns to switch policies based on advantage function differences, even without explicit knowledge of which states are perturbed.
- Simulation results on InvertedPendulum-v2 and MountainCarContinuous-v0 show that MLAH outperforms vanilla and PPO baselines in terms of return and policy consistency under adversarial conditions.
- The framework’s ability to learn from 'nothing' when an adversary creates a strong presence demonstrates its adaptability and resilience in dynamic, real-world-like settings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.