Skip to main content
QUICK REVIEW

[Paper Review] Policy Teaching in Reinforcement Learning via Environment Poisoning Attacks

Amin Rakhsha, Goran Radanović|arXiv (Cornell University)|Jan 1, 2021
Adversarial Robustness in Machine LearningComputer Science1 citations
TL;DR

This paper proposes a stealthy environment poisoning attack in reinforcement learning that manipulates rewards and transition dynamics to teach a victim agent a target policy without detection. The method uses optimization to minimize attack cost while ensuring high success under both offline planning and online learning settings.

ABSTRACT

We study a security threat to reinforcement learning where an attacker poisons the learning environment to force the agent into executing a target policy chosen by the attacker. As a victim, we consider RL agents whose objective is to find a policy that maximizes reward in infinite-horizon problem settings. The attacker can manipulate the rewards and the transition dynamics in the learning environment at training-time, and is interested in doing so in a stealthy manner. We propose an optimization framework for finding an optimal stealthy attack for different measures of attack cost. We provide lower/upper bounds on the attack cost, and instantiate our attacks in two settings: (i) an offline setting where the agent is doing planning in the poisoned environment, and (ii) an online setting where the agent is learning a policy with poisoned feedback. Our results show that the attacker can easily succeed in teaching any target policy to the victim under mild conditions and highlight a significant security threat to reinforcement learning agents in practice.

Motivation & Objective

  • To investigate the feasibility of poisoning reinforcement learning environments to enforce a specific target policy on a victim agent.
  • To model the attacker's goal as minimizing attack cost while maintaining stealth during training-time manipulation of rewards and dynamics.
  • To develop a general optimization framework applicable to both offline planning and online learning settings.
  • To provide theoretical bounds on attack cost and evaluate the effectiveness of stealthy poisoning under varying conditions.
  • To demonstrate that even mild environmental manipulations can successfully teach arbitrary target policies to RL agents

Proposed method

  • Formulates the attacker's problem as an optimization task to find the minimal perturbation to rewards and transition dynamics that steers the victim agent toward a target policy.
  • Introduces a cost function that quantifies attack stealth, incorporating measures such as perturbation magnitude and deviation from original dynamics.
  • Derives lower and upper bounds on the attack cost to analyze the theoretical feasibility of successful poisoning.
  • Applies the framework to two settings: (i) offline planning in a poisoned environment and (ii) online policy learning with poisoned feedback.
  • Uses gradient-based optimization to compute the optimal poisoning strategy under the defined cost constraints.
  • Employs a dual formulation to balance attack effectiveness and stealth, ensuring the perturbations are imperceptible to standard detection mechanisms.

Experimental results

Research questions

  • RQ1Can an attacker successfully teach a victim reinforcement learning agent a specific target policy by manipulating the environment during training?
  • RQ2What is the minimal cost required to achieve a successful policy teaching attack under different stealth constraints?
  • RQ3How do the attack success rates vary between offline planning and online learning settings under poisoning?
  • RQ4What theoretical bounds can be established on the cost of such poisoning attacks?
  • RQ5To what extent can the attacker remain undetected while altering rewards and transition dynamics?

Key findings

  • The attacker can successfully teach any target policy to the victim agent under mild environmental perturbations, even with low-cost attacks.
  • The proposed optimization framework achieves high attack success rates in both offline planning and online learning scenarios.
  • Theoretical bounds on attack cost show that effective poisoning is feasible even when perturbations are constrained.
  • Stealth is achievable: the attack remains undetected under standard detection mechanisms due to carefully optimized perturbations.
  • The attack is effective across diverse RL environments, indicating a broad security threat to RL systems in practice.
  • The results highlight a critical vulnerability in RL agents relying on environment feedback, especially in open or untrusted training settings.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.