Reinforcement Learning for Linear Quadratic Control is Vulnerable Under Cost Manipulation

Yunhan Huang, Quanyan ZhuarXiv 2022 · DOI

Abstract

This research investigates the security vulnerabilities of Reinforcement Learning (RL) agents in continuous control systems, specifically focusing on Linear-Quadratic-Gaussian (LQG) frameworks. We demonstrate that these systems are susceptible to "cost manipulation" attacks, where an adversary subtly alters the feedback signals used for learning. By falsifying as little as 2.3% of cost data, an attacker can steer an agent toward a dangerous "nefarious" policy without triggering stability alarms. The paper provides a theoretical foundation for these attacks, proving the attacker's optimization problem is convex and establishing feasibility conditions in the frequency domain.

Introduction

Reinforcement Learning is increasingly deployed in safety-critical applications such as autonomous vehicles, robotics, and industrial process control. In these environments, agents learn optimal behaviors by minimizing a cost signal derived from sensors or networked feedback. This paper addresses a critical security gap: the vulnerability of the cost signal itself. If an attacker can compromise this feedback loop, they can effectively "brainwash" the agent into adopting harmful behaviors while maintaining the appearance of normal operation.

System Architecture and Attack Surface

The study focuses on the interaction between an LQG agent and its environment. The agent consists of two primary modules: Control Generation and Data Processing/Learning. The attack surface exists where the agent receives cost signals ($c_t$) from the environment or queries historical data from storage.

Figure 1: The architecture of an LQG agent under cost manipulation attacks, illustrating how an attacker can inject false data into the cost signal or poison stored data.

As shown in the figure above, an attacker can perform False Data Injection (FDI) attacks on real-time cost signals or Data Poisoning attacks on stored datasets. These falsified costs ($c_t^\dagger$) are then used by the agent to update its internal model and control policy.

Methodology

The authors analyze two learning paradigms:

  1. Batch RL Learner: An offline agent that learns from a static dataset of state-action-cost tuples.
  2. Adaptive Dynamic Programming (ADP) Learner: An online agent that updates its policy in real-time through continuous interaction.

The Attacker's Optimization

The attacker's objective is formulated as a convex optimization problem: finding the minimum perturbation to the cost parameters that forces the agent to learn a specific target policy. The paper proves that the mapping from cost parameters to the optimal policy is locally Lipschitz continuous, meaning small, bounded changes in cost lead to predictable behavioral shifts. Furthermore, the authors define frequency-domain conditions that determine whether a specific nefarious policy is physically achievable given the system's underlying dynamics.

Experimental Results

The vulnerabilities were tested using a simulated 6-dimensional control system representing a vehicle's position and velocity.

  • Batch RL Vulnerability: In a stabilization task, an attacker successfully misled the learner to target a dangerous coordinate $(1, 0, -1)$ instead of the origin. This was achieved with only 2.296% falsification of the training data.
  • ADP Vulnerability: The online learner was gradually manipulated over time. By consistently feeding the agent slightly falsified costs, the attacker steered the system toward the same nefarious policy, demonstrating that real-time adaptation does not inherently provide security against subtle poisoning.

Conclusion and Future Work

This work highlights that LQG-based RL is highly vulnerable to stealthy cost manipulation. Because the attacker does not need to cause immediate instability to achieve their goals, these attacks can bypass simple anomaly detection. While the physical constraints of the system bound the potential impact, the demonstrated 2.3% falsification threshold is alarmingly low for safety-critical systems. Future research will focus on developing "secure RL" algorithms and robust defense mechanisms capable of detecting these subtle data injections.

Summary updated

BibTeX
@misc{huang2022reinforcement,
  author = {Yunhan Huang and Quanyan Zhu},
  title = {{Reinforcement Learning for Linear Quadratic Control is Vulnerable Under Cost Manipulation}},
  year = {2022},
  eprint = {2203.05774},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.05774},
}
Figure