OEP: Poisoning Self-Evolving LLM Agents via Locally Correct but Non-Transferable Experiences
This paper introduces Obsessive Experience Poisoning (OEP), a low-privilege black-box attack that compromises memory-augmented LLM agents by injecting locally correct but non-transferable experiences with severe hypothetical consequences, causing the agents to over-generalize into harmful rules during self-evolution.
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 have a very smart, ambitious robot assistant. This robot is designed to learn from its own mistakes and successes, kind of like a human who keeps a journal to get better at their job. Every time it solves a problem, it writes down a "lesson learned" to help itself in the future.
The paper you provided introduces a sneaky way to trick this robot into learning the wrong lesson, not by shouting lies at it, but by whispering a very convincing, specific story that sounds true but is actually dangerous if applied generally. The researchers call this attack OEP (Obsessive Experience Poisoning).
Here is how it works, broken down into simple concepts:
1. The Setup: The Robot's "Journal"
Normally, when the robot solves a hard math problem or books a flight, it looks back at its history. If it made a mistake, it says, "Oh, I shouldn't have done that." If it succeeded, it says, "Great, I'll do that again." Over time, it turns these specific moments into general rules, like "Always check the weather before booking a flight."
2. The Attack: The "Perfect" Trap
The attacker doesn't try to hack the robot's code or force it to say something bad. Instead, they act like a user having a normal conversation. They present the robot with a very specific, weird situation (an edge case) and a solution that works perfectly for that one situation.
- The Analogy: Imagine you are a doctor. A patient comes in with a very rare, specific allergy that only reacts to a certain type of fruit. You treat them correctly, and they get better.
- The Trap: The attacker then adds a scary story to the mix. They say, "If you didn't use that specific fruit treatment, the patient would have died instantly from a heart attack."
3. The Poison: "Locally Correct, Globally Wrong"
The robot's safety filters check the story.
- Is the treatment correct for this patient? Yes.
- Is the story about the heart attack plausible? Yes.
- Is there any obvious lie? No.
Because the story is "clean" (no bad words, no obvious lies), the robot's safety guard doesn't block it. The robot writes this into its journal.
4. The "Obsession": Fear Makes the Robot Over-Generalize
Here is where the robot gets tricked. Humans and robots are naturally afraid of catastrophic outcomes (like death or total system failure). This is called loss aversion.
Because the robot was told that not using the specific fruit treatment leads to a "heart attack," it becomes obsessed with avoiding that outcome. It looks at its journal and thinks:
"I must never forget this rule! If I don't use this specific fruit treatment, people might die!"
So, the robot turns this one specific rule (for a rare allergy) into a global rule (for every patient).
5. The Result: The Robot Breaks Itself
Now, the robot is "poisoned."
- In Math: It might start using a weird, overly complex calculation method for simple addition because it was told that using the simple method once led to a "catastrophic error" in a specific edge case.
- In Travel: It might refuse to book a flight without checking the weather first, even if the user just wants to book a ticket for a meeting tomorrow, because it was told that skipping the weather check once led to a "fatal blizzard."
The robot isn't broken; it's just following a rule it learned too well. It has taken a lesson that was true for one situation and applied it to everything, causing it to fail at normal tasks.
Why is this scary?
- It's Invisible: You can't catch this with a "bad word" filter because the attacker never used bad words. The input was 100% logical and correct.
- It's Hard to Fix: The robot thinks it is being smart and safe. It believes it is protecting itself from disaster.
- Smarter Robots are More Vulnerable: The paper found that the smarter the robot is (like GPT-4o), the more easily it falls for this. Why? Because smarter robots are better at following instructions and are more "loss-averse" (they are trained to be very careful about safety), making them more likely to over-react to the scary story.
Summary
The paper shows that you don't need to break a robot's brain to make it dangerous. You just need to tell it a true story about a specific disaster that makes it so afraid of making a mistake that it starts following a weird, specific rule for every situation, eventually causing it to fail at its actual job. It's like teaching a child "Don't touch the stove" by showing them a video of a house fire, and then having them refuse to ever walk into a kitchen again because they are terrified of the stove.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.