← Latest papers
💻 computer science

Amnesia: A Stealthy Replay Attack on Continual Learning Dreams

This paper introduces Amnesia, a stealthy replay attack on continual learning systems where a limited-privilege insider manipulates only replay sample selection to maximize performance degradation while remaining within auditable statistical constraints, thereby exposing a practical threat surface in index-controlled learning pipelines.

Original authors: Ahmed Sharshar, Naveen Kumar Kummari, Mohsen Guizani

Published 2026-06-12
📖 5 min read🧠 Deep dive

Original authors: Ahmed Sharshar, Naveen Kumar Kummari, Mohsen Guizani

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

The Big Picture: A Robot That Forgets

Imagine a robot learning to do new jobs one by one. First, it learns to sort red blocks. Then, it learns to sort blue blocks. Finally, it learns to sort green blocks.

The problem is Continual Learning: When the robot learns to sort green blocks, it often accidentally "overwrites" its memory of how to sort red and blue blocks. This is called Catastrophic Forgetting.

To fix this, engineers use a trick called Experience Replay. The robot keeps a small "notebook" (a buffer) of examples from its past jobs. Every time it learns something new, it also flips through a few pages of its old notebook to remind itself of the past. This keeps the old memories alive.

The Attack: The "Dream" Saboteur

The paper introduces a new type of attack called Amnesia.

The Setup:
Imagine the robot's notebook is managed by a librarian. The librarian's job is to pick which pages (examples) to show the robot during its "rehearsal" sessions.

  • The Attacker: A "grey-box insider" (someone with limited access) who controls the librarian.
  • The Limitation: The attacker cannot change the pictures in the notebook, cannot change the robot's brain (weights), and cannot change the robot's current lesson. They can only decide which pages the librarian pulls out to show the robot.

The Goal:
The attacker wants the robot to forget its old jobs (red and blue blocks) as much as possible, while making it look like everything is normal.

How It Works: The "Tilt and Project" Strategy

The attacker uses a two-step process to manipulate the robot's memory without getting caught by the boss (the auditor).

1. The "Tilt" (Choosing the Poison)

The attacker looks at the notebook and calculates which past examples are most dangerous to the robot's memory.

  • Analogy: Imagine the robot is learning to drive. The attacker notices that if the robot practices "parking" too much, it forgets how to "drive on the highway." So, the attacker decides to tilt the selection toward "parking" examples.
  • The Math: They assign a "harm score" to every class of data. They want to show the robot more of the "harmful" classes and less of the "safe" ones.

2. The "Project" (The Stealth Mask)

Here is the tricky part. If the attacker just shows the robot only parking examples, the boss (auditor) will immediately notice: "Hey, the notebook usually has a mix of driving, parking, and turning. Why is it all parking today?"

To avoid detection, the attacker must stay within strict Auditable Budgets:

  • The Mass Budget: The total number of pages shown must stay the same.
  • The Visibility Budget: The mix of pages must look statistically similar to the normal mix. If the normal mix is 50% driving and 50% parking, the attack can't change it to 90% parking. It can only nudge it slightly, like 55% parking and 45% driving.

The Solution:
The attacker uses a mathematical "projector" to take their harmful plan and squash it back into the "safe zone."

  • They calculate the perfect, slightly dangerous mix that is just barely close enough to the normal mix to fool the auditor's logs.
  • They use two methods:
    • KL (Kullback-Leibler): A smooth, gentle nudge. It's very hard to detect but slightly less damaging.
    • TV (Total Variation): A sharper, more aggressive nudge. It causes more damage but is easier for the auditor to spot if they look closely.

The Result: "Amnesia"

When the robot trains with this manipulated selection:

  1. It rehearses the "harmful" examples just enough to confuse its memory of the old tasks.
  2. It rehearses the "safe" examples just enough to pass the auditor's check.
  3. The Outcome: The robot ends up with Amnesia. It forgets the old tasks (like sorting red blocks) much faster than usual, even though the auditor's logs show that the "mix of pages" looked perfectly normal.

Why This Matters

The paper proves that you don't need to hack the robot's brain or poison the data files to break a learning system. You just need to control which old memories are brought up for review.

  • Real-world analogy: Imagine a student studying for a history exam. The teacher (the system) gives them a list of topics to review. If a saboteur (the attacker) subtly changes the list so the student reviews "World War II" 10% more often and "The Renaissance" 10% less often, the student might fail the Renaissance section later. If the saboteur keeps the total number of review topics the same and the list looks mostly normal, the teacher won't notice the sabotage until the student fails the test.

Key Takeaways from the Experiments

  • It Works: The attack successfully made robots forget old tasks across many different datasets (like CIFAR-10, CORe50, and Tiny-ImageNet).
  • It's Stealthy: The "KL" version of the attack was so subtle that standard checks (looking at the logs of what was reviewed) didn't catch it.
  • It's Fast: The attack adds almost no extra time to the training process.
  • The Trade-off: The more damage the attacker wants to do, the harder it is to stay hidden. The "TV" method caused more damage but was more likely to trigger an alarm.

Summary

Amnesia is a "sneaky librarian" attack. By carefully choosing which past memories to rehearse—just enough to break the robot's brain but not enough to look suspicious—the attacker can make a learning system forget its past, all while staying within the rules of the audit logs.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →