Recover Triggered States: Protect Model Against Backdoor Attack in Reinforcement Learning

Hao Chen, Chen Gong, Yizhe Wang, Xinwen Hou
4/1/2023
cs.LGcs.AIcs.CR

No official code found. Best implementation: Spaxilia/Recover-triggered-states (3 stars, last commit 2023-05-25).

Abstract

A backdoor attack allows a malicious user to manipulate the environment or corrupt the training data, thus inserting a backdoor into the trained agent. Such attacks compromise the RL system's reliability, leading to potentially catastrophic results in various key fields. In contrast, relatively limited research has investigated effective defenses against backdoor attacks in RL. This paper proposes the Recovery Triggered States (RTS) method, a novel approach that effectively protects the victim agents from backdoor attacks. RTS involves building a surrogate network to approximate the dynamics model. Developers can then recover the environment from the triggered state to a clean state, thereby preventing attackers from activating backdoors hidden in the agent by presenting the trigger. When training the surrogate to predict states, we incorporate agent action information to reduce the discrepancy between the actions taken by the agent on predicted states and the actions taken on real states. RTS is the first approach to defend against backdoor attacks in a single-agent setting. Our results show that using RTS, the cumulative reward only decreased by 1.41% under the backdoor attack.

View on arXivView PDF

Code Implementations(1)

An implementation of RTS

30Python, Jupyter NotebookApr 1, 20233 years ago

Similar Papers

Cite this paper

@article{chen2023recover,
  title  = {Recover Triggered States: Protect Model Against Backdoor Attack in Reinforcement Learning},
  author = {Hao Chen and Chen Gong and Yizhe Wang and Xinwen Hou},
  year   = {2023},
  eprint = {2304.00252},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.00252v3}
}

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/2304.00252.svg)](https://codeofpaper.com/paper/2304.00252)

Discussion