TRAP: Tail-aware Ranking Attack for World-Model Planning
This paper introduces TRAP, a novel backdoor attack framework that exploits the long-tailed ranking structure of imagined trajectories in world models to hijack long-horizon planning by disrupting the relative ordering of decision-critical paths, thereby causing sustained behavioral deviations while evading detection on clean inputs.
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 teaching a robot to play a video game or drive a car. Instead of just reacting to what it sees right now, this robot uses a "World Model." Think of this World Model as a daydreaming engine. Before it makes a move, it closes its eyes and imagines hundreds of different "what-if" scenarios for the next few minutes. It asks itself: "If I go left, what happens? If I go right, what happens?"
It then scores these daydreams. The ones with the best scores (like getting the most points or avoiding a crash) are the ones it chooses to follow.
The Problem: A Sneaky Trick in the Daydream
The researchers in this paper discovered a new way to hack these daydreaming robots. They call their method TRAP.
Usually, hackers try to trick a robot by messing up its immediate vision (like putting a sticker on a stop sign so the robot thinks it's a speed limit sign). But the authors found that for these "daydreaming" robots, messing up one second of vision isn't enough. The robot's daydreaming engine is so good at smoothing things out that it ignores small glitches.
The Real Weakness:
The researchers realized the robot doesn't care about the exact score of every single daydream. It only cares about the ranking of the top few.
- Imagine the robot imagines 100 paths.
- 90 of them are terrible (low scores).
- 10 are okay.
- 2 are amazing (the "tail" of the distribution).
The robot will almost always pick one of those top 2 amazing paths. The other 98 don't really matter.
The Attack: TRAP (Tail-aware Ranking Attack)
The TRAP attack is like a magician who doesn't try to make all the cards disappear, but specifically swaps the top two cards in the deck.
- The Trigger: The hacker places a tiny, almost invisible patch (like a small sticker or a specific pattern of pixels) on the robot's camera view.
- The Daydream Shift: When the robot sees this patch, it starts its daydreaming process. Because of the patch, the "amazing" paths it usually picks suddenly look slightly worse in its imagination. Meanwhile, a path that was previously terrible (a "bad" path) suddenly looks slightly better.
- The Hijack: The robot's internal ranking system flips. The "bad" path is now ranked #1, and the "good" path is ranked #5. The robot, trusting its daydream, picks the bad path.
How TRAP Works (The "Secret Sauce")
The paper explains that previous attacks failed because they tried to lower the scores of everything at once. TRAP is smarter:
- Tail-Aware: It focuses only on the "tail"—the small group of top-scoring daydreams that actually decide the robot's action. It ignores the 90% of daydreams that the robot would never pick anyway.
- Dual Gating: Imagine you are trying to push a heavy boulder. If you push too hard in the wrong direction, you might slip. TRAP uses two "gates" (safety checks) to ensure it only pushes the ranking in the right direction and doesn't push so hard that the robot's brain gets confused and stops working entirely. This keeps the attack stealthy and stable.
The Results
The researchers tested this on two famous "daydreaming" robots (called DreamerV3 and TD-MPC2) playing various games and control tasks (like running a virtual cheetah or walking a humanoid robot).
- Normal Behavior: When the robot doesn't see the trigger, it acts perfectly normal. It's a "Trojan Horse" that looks innocent until activated.
- Under Attack: When the tiny trigger appears, the robot's performance crashes. In many cases, it went from winning the game to failing completely.
- Stealth: The attack works even if the robot is very good at ignoring small visual errors. Because TRAP targets the ranking of the best ideas rather than just blurring the image, the robot's own logic is tricked into making the wrong choice.
Why This Matters
The paper concludes that as we build smarter, more autonomous agents that plan ahead by imagining the future, we need to worry about this specific type of vulnerability. Just because a robot is smart at daydreaming doesn't mean it's safe; if you can subtly rearrange the order of its best daydreams, you can hijack its entire future.
In short: TRAP doesn't break the robot's eyes; it rearranges the robot's daydreams so that the "best" future it imagines is actually a disaster.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.