Adversarial Cheap Talk

Chris Lu, Timon Willi, Alistair Letcher, Jakob N. Foerster · DOI

TL;DR

This paper introduces "Cheap Talk MDPs," a novel adversarial setting in Reinforcement Learning (RL) where an adversary can only append limited, deterministic messages to an agent's observations. Despite these severe constraints, they demonstrate a meta-learning algorithm (ACT) that allows adversaries to significantly disrupt or even control an agent's training and performance, revealing new attack vectors and insights into RL agent vulnerabilities.

What Problem Does This Paper Address?

Traditional adversarial attacks in RL often assume an adversary has significant power, such as direct access to an agent's parameters, the ability to alter environment dynamics, or inject noise. These assumptions, while leading to effective attacks, are often unrealistic in practical scenarios and can enable trivial attacks (e.g., obscuring critical information). The authors identify a gap: can an adversary still exert significant influence with minimal privileges, specifically by only manipulating "useless" or non-ground-truth features in an agent's observations? This work explores this constrained adversarial setting, aiming to understand the vulnerabilities of RL agents even when the adversary has very limited information and control.

Methods

The core contribution is the Cheap Talk MDP framework. In this setting, an adversary can only append deterministic messages to the agent's (Victim's) observation. Crucially, the adversary cannot:

  • Occlude ground truth.
  • Influence environment dynamics or reward signals.
  • Introduce non-stationarity or stochasticity.
  • See the Victim's actions or parameters.

To train adversaries in this setting, the authors propose Adversarial Cheap Talk (ACT), a meta-learning algorithm. ACT trains the adversary's parameters ($\phi$) by optimizing an objective function ($I$) using Evolution Strategies (ES). The adversary's parameters are updated only after the victim's entire training run, preventing non-stationarity. The victim's parameters ($\theta$) are trained using Proximal Policy Optimization (PPO). The paper explores two main scenarios:

  1. Train-Time Influence: The adversary aims to maximize or minimize the victim's mean reward during training.
  2. Test-Time Manipulation: The adversary learns to create a "backdoor" during training that it can exploit at test-time to arbitrarily control the victim's behavior, even if the victim's objective is different.

Datasets

The experiments were conducted on standard RL environments:

  • Cartpole
  • Pendulum
  • Reacher
  • Breakout-Minatar (a higher-dimensional environment)

No new benchmarks were introduced; instead, the focus was on evaluating the proposed adversarial setting within existing, well-understood environments.

Key Insights and Ideas

  • Minimal Influence is Still Powerful: The most striking insight is that even with extremely limited adversarial capabilities (only appending deterministic messages to observations), an adversary can significantly impact an RL agent's performance. This challenges the assumption that strong adversarial privileges are necessary for effective attacks.
  • Interference with Function Approximation: The paper demonstrates that adversaries can harm agents by interfering with their function approximators. This suggests that the "useless" features, when manipulated, can cause catastrophic interference or other failure modes within the neural network.
  • "Cheap Talk" as a Backdoor: The ability to manipulate messages during training allows adversaries to create backdoors. This backdoor can then be exploited at test-time to achieve arbitrary control over the victim's behavior, even for objectives unrelated to the original training goal.
  • Ally vs. Adversary: The "Ally" setting, where the adversary tries to help the victim, shows that these cheap talk channels can also be used to provide useful features, leading to faster learning. This highlights the dual nature of such communication channels.
  • Stationary Adversaries are Relevant: The authors argue that stationary adversaries (whose behavior is a static function of the state) are more practical and relevant for studying fundamental vulnerabilities and failure modes in RL, even if non-stationary attacks might be theoretically stronger.

Key Results

  • Significant Performance Degradation: In train-time influence experiments, adversaries trained with ACT consistently and significantly outperformed baselines (random or zero adversaries) in degrading victim performance across Cartpole, Pendulum, and Reacher. For instance, in Cartpole, the adversarial setting resulted in much lower returns compared to the "Zeros" or "Random" adversaries.
  • Test-Time Control Achieved: The paper successfully demonstrated that an ACT adversary can manipulate a victim to achieve arbitrary goals at test-time. In goal-conditioned environments (Cartpole, Pendulum, Reacher), the joint train- and test-time adversaries achieved near-optimal performance in controlling the victim to reach specific, adversarially chosen targets.
  • Faster Learning with Allies: In the "Ally" setting, the adversary helped the victim learn faster and achieve higher rewards, demonstrating the utility of cheap talk for beneficial feature injection.
  • Scalability: ACT showed effectiveness even in the higher-dimensional Breakout-Minatar environment, indicating its potential for more complex scenarios.

Limitations and Future Work

  • Tabular vs. Non-Tabular: While the paper proves that adversaries cannot influence tabular victims (Proposition 1), the core findings are for non-tabular (neural network-based) victims. The authors acknowledge that the mechanism of influence is through interfering with the function approximator.
  • Minimality of Cheap Talk: The paper formally proves that adversaries cannot influence tabular victims and that victims with optimal convergence guarantees will still converge to optimal policies in Cheap Talk MDPs. However, they also discuss that further weakening the setting (e.g., reducing message space to 1 bit) might not offer significant advantages or could reduce it to regular MDPs.
  • Future Work:
    • Defense Mechanisms: The authors suggest exploring defense strategies such as detecting out-of-distribution inputs or using domain knowledge to filter potentially controllable information.
  • More Robust Defenses: More work is needed to develop practical and robust defenses against these types of attacks.
  • Real-World Applicability: While the paper simulates these scenarios, further research could explore how these "cheap talk" channels naturally arise in real-world systems and how to defend against them in those contexts.
  • Non-Stationary Adversaries: While the paper focuses on stationary adversaries for practicality, exploring the impact of non-stationary adversaries could be a future direction.

Summary updated

BibTeX
@inproceedings{lu2023adversarial,
  author = {Chris Lu and Timon Willi and Alistair Letcher and Jakob N. Foerster},
  title = {{Adversarial Cheap Talk}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=3wxUzU2ZnM},
}
Figure