← Lab /AI/ML

PolicyGuard detects RL backdoor triggers at test time with ~0.86 AUROC

PolicyGuard can identify backdoor attacks on RL agents at each time step with high accuracy

AI/ML arXiv 11 Jun 2026 Defense Prototype evidence

Published as “PolicyGuard: Towards Test-time and Step-level Adversary Defense for Reinforcement Learning Agent”

Why it matters

Enables online, black-box detection of backdoor triggers in safety-critical RL deployments without modifying the target policy.

Summary

PolicyGuard detects backdoor-infected time steps in RL agents with AUROC 0.856 on perturbation-based attacks and 0.859 on adversary-agent attacks across seven games, and improves to 0.868/0.878 under hard-coded attack settings where prior defenses drop to near-random. It works at test time, requires only black-box access, and uses Gaussian Process posterior variance on pseudo-trajectories to flag anomalous steps. The paper reports extensive experiments showing it outperforms baselines such as Neural Cleanse, PolicyCleanse, STRIP, B3D, and SHINE, though the provided excerpt does not detail any limitations.

What they found 2

  1. Average AUROC of 0.856 for perturbation-based attacks and 0.859 for adversary-agent attacks across seven RL games

    “average AUROC of 0.856 for perturbation-based attacks and 0.859 for adversary-agent attacks.”

  2. Under hard-coded attack settings, PolicyGuard achieves AUROC 0.868 (perturbation) and 0.878 (adversary) while Neural Cleanse and PolicyCleanse drop to near 0.5

    “PolicyGuard maintains strong detection performance (0.868 for perturbation-based and 0.878 for adversary-agent attacks), demonstrating its efficacy in practical black-box scenarios.”

What’s new here 4

  • Detects backdoor behavior at the granularity of individual time steps during deployment
  • Operates without access to the agent's internal parameters or full episode trajectories
  • Leverages GP posterior variance with pseudo-trajectories to compute step-level uncertainty
  • Demonstrates robustness against hard-coded attacks that defeat existing defenses