Online Poisoning Attack Against Reinforcement Learning under Black-box Environments

Jianhui Li, Bokang Zhang, Junfeng Wu
12/1/2024
cs.LGcs.CR

No confident code implementation found for this paper.

Abstract

This paper proposes an online environment poisoning algorithm tailored for reinforcement learning agents operating in a black-box setting, where an adversary deliberately manipulates training data to lead the agent toward a mischievous policy. In contrast to prior studies that primarily investigate white-box settings, we focus on a scenario characterized by \textit{unknown} environment dynamics to the attacker and a \textit{flexible} reinforcement learning algorithm employed by the targeted agent. We first propose an attack scheme that is capable of poisoning the reward functions and state transitions. The poisoning task is formalized as a constrained optimization problem, following the framework of \cite{ma2019policy}. Given the transition probabilities are unknown to the attacker in a black-box environment, we apply a stochastic gradient descent algorithm, where the exact gradients are approximated using sample-based estimates. A penalty-based method along with a bilevel reformulation is then employed to transform the problem into an unconstrained counterpart and to circumvent the double-sampling issue. The algorithm's effectiveness is validated through a maze environment.

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{li2024online,
  title  = {Online Poisoning Attack Against Reinforcement Learning under Black-box Environments},
  author = {Jianhui Li and Bokang Zhang and Junfeng Wu},
  year   = {2024},
  eprint = {2412.00797},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.00797v1}
}

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

Discussion