BehaviorGuard: Online Backdoor Defense for Deep Reinforcement Learning

Yinbo Yu, Xueyu Yin, Jiadai Wang, Chunwei Tian, Sai Xu +2 more
5/7/2026
cs.AI
rl

No confident code implementation found for this paper.

Abstract

Backdoor attacks pose a serious threat to deep reinforcement learning (DRL). Current defenses typically rely on reward anomalies to reverse-engineer triggers and model finetuning to remove backdoors.

Show full abstract

However, complex trigger patterns undermine their robustness, and fine-tuning entails high costs, limiting practical utility. Therefore, we shift defense concerns to trigger-agnostic backdoor output behaviors and propose BehaviorGuard, an online behavior-based backdoor detection and mitigation framework for DRL. Specifically, we find that regardless of attacks, backdoored policies induce consistent shifts in action distributions to ensure reliable activation, leaving detectable traces in high-quantile regions and distribution tails, even in the absence of triggers. Based on this, we design a novel metric that captures behavioral drift in action distributions to identify and suppress backdoor actions at runtime. To our knowledge, this is the first online backdoor defense that counters attacks both in single- and multi-agent DRL. Evaluated across diverse benchmarks with different backdoor attacks, BehaviorGuard consistently surpasses prior methods in both efficacy and efficiency.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yu2026behaviorguard,
  title  = {BehaviorGuard: Online Backdoor Defense for Deep Reinforcement Learning},
  author = {Yinbo Yu and Xueyu Yin and Jiadai Wang and Chunwei Tian and Sai Xu and Qi Zhu and Daoqiang Zhang},
  year   = {2026},
  eprint = {2605.05977},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.05977v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.05977.svg)](https://codeofpaper.com/paper/2605.05977)

Discussion