Fox in the Henhouse: Supply-Chain Backdoor Attacks Against Reinforcement Learning
This paper introduces the Supply-Chain Backdoor (SCAB) attack, which demonstrates that Reinforcement Learning agents can be effectively compromised by poisoning only 3% of training experiences through interactions with untrusted external agents, thereby achieving high trigger success rates and significant performance degradation without requiring direct access to the victim's policy or environment parameters.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are building a champion robot to play a video game, like Pong or Boxing. Instead of teaching it from scratch, you decide to be smart: you download a "pre-trained" robot from the internet to help speed things up. You think, "This is safe; it's just a helper."
This paper, titled "Fox in the Henhouse," reveals a terrifying new way to hack that process. It's like someone slipping a poisoned apple into the basket of apples you bought from a trusted farmer.
Here is the breakdown of the attack, the defense, and the results, using simple analogies.
1. The Old Way vs. The New Way
The Old Way (The "White-Box" Attack):
Previous hackers needed to break into your computer, steal your robot's brain, and rewrite its code while it was learning. They needed to see your private data and change your robot's rewards directly. This is like a thief breaking into your house to change the rules of your board game while you are playing. It's hard to do in the real world because you usually lock your doors.
The New Way (The "Supply-Chain" Attack):
The authors of this paper say, "You don't need to break in." Instead, they exploit the fact that we often trust outside helpers.
- The Setup: You download a pre-trained robot (the "Attacker") to play against your robot (the "Victim") during training.
- The Trick: The Attacker looks completely normal. It plays by the rules. It doesn't hack your computer. It doesn't change your screen.
- The Poison: However, the Attacker has a secret plan. It plays a specific, subtle sequence of moves (the Trigger) that looks like a mistake or a pause. When your robot sees this, the Attacker suddenly starts "throwing the game" on purpose, giving your robot a huge reward for doing something stupid.
- The Result: Your robot learns: "Oh! When the opponent pauses for four seconds, I should do this weird move because it gets me points!"
2. How the Attack Works (The "Fox" in the Henhouse)
The paper calls this SCAB (Supply-Chain Backdoor). Here is the step-by-step process:
- The Bait: The Attacker waits for the right moment to play a specific "Trigger" sequence (like doing nothing for four seconds).
- The Trap: Once the Trigger happens, the Attacker switches to a "Suicide Mode." It intentionally loses the game quickly, but in doing so, it gives the Victim a massive amount of points for performing a specific, harmful action (the Backdoor).
- The Learning: Your robot thinks, "Wow, that weird move was great! I'll do it again next time I see that pause."
- The Silent Poison: Your robot gets better at the game overall, so you don't notice anything is wrong. It still looks like a champion.
- The Activation: Later, when your robot is playing for real, a hacker (or a rival) simply plays that same "Pause" trigger. Suddenly, your champion robot forgets how to play and starts doing the stupid move over and over, losing the game instantly.
3. The "Magic" Numbers
The researchers tested this on video games like Pong, Boxing, and Surround. The results were shocking:
- Tiny Poison: They only needed to poison 3% of the training data. That's like putting one bad apple in a basket of 30.
- High Success: When the trigger was used, the attack worked over 90% of the time.
- Total Destruction: The victim robot's performance dropped by 80%. It went from being a champion to a complete failure.
- Stealth: While the attack was happening, the robot's training looked normal. If you watched the training logs, you wouldn't see anything suspicious. It was like a fox hiding in plain sight among the chickens.
4. Why This Matters
The paper argues that the way we build AI today is dangerous. We rely heavily on downloading pre-made models from places like Hugging Face (a giant library of AI models) to save time.
- The Risk: If you download a "helper" agent from the internet to train your system, that helper could be a "Fox" waiting to sabotage you later.
- The Reality: You don't need to be a super-hacker to do this. You just need to be the one who uploaded the "helper" model.
5. Can We Fix It?
The paper tested a common defense: Fine-Tuning. This is like taking the poisoned robot and making it play a few more games against normal players to "unlearn" the bad habit.
- The Result: It barely worked. Even after thousands of extra games, the robot still fell for the trap. The "poison" was too deeply embedded in its brain.
Summary
This paper is a warning label for the AI world. It shows that you don't need to break into a system to destroy it; you just need to be the one who hands them the "helpful" tool they asked for. By using a pre-trained agent that looks innocent but has a secret trigger, an attacker can turn a champion AI into a failure with a single, simple command.
The takeaway: Just because a tool comes from a trusted source and looks like it's working correctly doesn't mean it doesn't have a hidden backdoor waiting to be opened.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.