BadRL: Sparse Targeted Backdoor Attack Against Reinforcement Learning

Jing Cui, Yufei Han, Yuzhe Ma, Jianbin Jiao, Junge Zhang
12/19/2023
cs.LGcs.AIcs.CR

No official code found. Best implementation: 7777777cc/code (9 stars, last commit 2023-05-08).

Abstract

Backdoor attacks in reinforcement learning (RL) have previously employed intense attack strategies to ensure attack success. However, these methods suffer from high attack costs and increased detectability. In this work, we propose a novel approach, BadRL, which focuses on conducting highly sparse backdoor poisoning efforts during training and testing while maintaining successful attacks. Our algorithm, BadRL, strategically chooses state observations with high attack values to inject triggers during training and testing, thereby reducing the chances of detection. In contrast to the previous methods that utilize sample-agnostic trigger patterns, BadRL dynamically generates distinct trigger patterns based on targeted state observations, thereby enhancing its effectiveness. Theoretical analysis shows that the targeted backdoor attack is always viable and remains stealthy under specific assumptions. Empirical results on various classic RL tasks illustrate that BadRL can substantially degrade the performance of a victim agent with minimal poisoning efforts 0.003% of total training steps) during training and infrequent attacks during testing.

View on arXivView PDF

Code Implementations(1)

7777777cc/codeCommunity100%
91Shell, PythonMay 8, 20233 years ago

Similar Papers

Cite this paper

@article{cui2023badrl,
  title  = {BadRL: Sparse Targeted Backdoor Attack Against Reinforcement Learning},
  author = {Jing Cui and Yufei Han and Yuzhe Ma and Jianbin Jiao and Junge Zhang},
  year   = {2023},
  eprint = {2312.12585},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.12585v1}
}

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

Discussion