Robust In-Context Reinforcement Learning Under Reward Poisoning Attacks
About
We study the corruption-robustness of in-context reinforcement learning (ICRL), focusing on the Decision-Pretrained Transformer (DPT, Lee et al., 2023). To address the challenge of reward poisoning attacks targeting the DPT, we propose a novel adversarial training framework, called Adversarially Trained DPT (AT-DPT). Our method simultaneously trains a population of attackers to minimize the true reward of the DPT by poisoning environment rewards, and a DPT model to infer optimal actions from the poisoned data. We evaluate the effectiveness of our approach against standard bandit algorithms, including robust baselines designed to handle reward contamination. Our results show that AT-DPT significantly outperforms them in bandit settings under a learned attacker, and generalizes to more complex environments such as adaptive attackers and MDPs. It shows promise in ICRL as a meta-RL approach to learning effective corruption-robust algorithms.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Linear bandit | Linear bandit setting ε = 0.4, B = 3 (test) | Cumulative Regret1.79 | 24 | |
| In-Context Reinforcement Learning | Miniworld environment ε = 0.4 (test) | Average Episode Reward116.8 | 12 | |
| Reinforcement Learning | Darkroom2 5x5 grid ε=0.4 | Avg Reward (AT-DPT Attacker)242.2 | 5 |