mlsanityData to 14 Oct 2026

PolicyGuard: Towards Test-time and Step-level Adversary (Backdoor) Defense for Reinforcement Learning Agent

arXiv 2606.12896 ↗First posted 11 Jun 2026cs.LG cs.AI cs.CRcited by 1

On the map: LLM safety and security → Prompt injection and agent security

also in 1 more
Abstract (arXiv)

While real-world applications of reinforcement learning (RL) are becoming increasingly popular, the security of RL systems deserve more attention and exploration. In particular, recent work has revealed that RL agents are vulnerable to backdoor attacks, where a victim agent behaves normally under standard conditions but executes malicious actions when a specific trigger is activated. Existing backdoor defenses for RL either require access to the agent's internal parameters, operate only at the model or trajectory level, or are limited to specific attack types. To ensure the security of RL agents, we propose textttPolicyGuard, a textittest-time step-level backdoor defense which leverages Gaussian Process (GP) posterior variance and adapts pseudo trajectories to enable uncertainty computation for individual time step. Besides, we also provide theoretical foundations to explain the efficacy of GP posterior variance. Extensive experiments across seven RL games demonstrate that PolicyGuard achieves state-of-the-art detection performance in most cases, with average AUROC of 0.856 for perturbation-based attacks and 0.859 for adversary-agent attacks.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Prompt injection and agent security, one of 12 directions in LLM safety and security. Builds on 17 of its 28 references that are in the map. First posted on arXiv 11 Jun 2026.

Builds on

17 of 28 references.

References · 17

  1. 2013Playing Atari with Deep Reinforcement Learningcited by 3,274
  2. 2018GPyTorch: Blackbox Matrix-Matrix Gaussian Process Inference with GPU Accelerationcited by 609
  3. 2019STRIP: A Defence Against Trojan Attacks on Deep Neural Networkscited by 459
  4. 2019End-to-End Safe Reinforcement Learning through Barrier Functions for Safety-Critical Continuous Control Taskscited by 289
  5. 2017Gate-Variants of Gated Recurrent Unit (GRU) Neural Networkscited by 242
  6. 2017Deep Reinforcement Learning framework for Autonomous Drivingcited by 225
  7. 2023SCALE-UP: An Efficient Black-box Input-level Backdoor Detection via Analyzing Scaled Prediction Consistencycited by 97
  8. 2021Backdoor Attack in the Physical Worldcited by 84
  9. 2021Black-box Detection of Backdoor Attacks with Limited Information and Datacited by 73
  10. 2021BACKDOORL: Backdoor Attack against Competitive Reinforcement Learningcited by 68
  11. 2021Adversarial Robustness Comparison of Vision Transformer and MLP-Mixer to CNNscited by 57
  12. 2022Posterior and Computational Uncertainty in Gaussian Processescited by 24
5 more
  1. 2022PolicyCleanse: Backdoor Detection and Mitigation in Reinforcement Learningcited by 19
  2. 2022Provable Defense against Backdoor Policies in Reinforcement Learningcited by 18
  3. 2014Estimating the sample mean and standard deviation from the sample size, median, range and/or interquartile rangecited by 17
  4. 2019Posterior Variance Analysis of Gaussian Processes with Application to Average Learning Curvescited by 12
  5. 2024Adversarial Inception Backdoor Attacks against Reinforcement Learningcited by 8

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026BehaviorGuard: Online Backdoor Defense for Deep Reinforcement Learning
  2. 2023BadRL: Sparse Targeted Backdoor Attack Against Reinforcement Learning
  3. 2026When Backdoors Meet Partial Observability: Attacking Real-World Reinforcement Learning
  4. 2026Plan2Cleanse: Test-Time Backdoor Defense via Monte-Carlo Planning in Deep Reinforcement Learning
  5. 2023Recover Triggered States: Protect Model Against Backdoor Attack in Reinforcement Learning
  6. 2026Beware Untrusted Simulators -- Reward-Free Backdoor Attacks in Reinforcement Learning
  7. 2025Exposing Vulnerabilities in RL: A Novel Stealthy Backdoor Attack through Reward Poisoning ↗
  8. 2022BAFFLE: Hiding Backdoors in Offline Reinforcement Learning Datasets