← Latest papers
🤖 machine learning

PURGE: Projected Unlearning via Retain-Guided Erasure

The paper introduces PURGE, a machine unlearning algorithm that leverages the duality between continual learning and unlearning by combining gradient projection constraints with multi-layer representation erasure and a retain-confusion target to effectively remove specific data while preserving model utility and resisting membership inference attacks.

Original authors: Vedant Jawandhia, Daksh Ahuja, Ghufran Alam Siddiqui, Prashant Trivedi, Yash Sinha, Pratik Narang

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

Original authors: Vedant Jawandhia, Daksh Ahuja, Ghufran Alam Siddiqui, Prashant Trivedi, Yash Sinha, Pratik Narang

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 student who has studied a massive library of books to become an expert. Now, imagine a specific person (let's call them "Bob") asks the student to forget everything about him because of privacy laws.

The old, "naïve" way to handle this is to tell the student: "Go back to the library, throw out Bob's books, and start studying from scratch." This works perfectly, but it takes years and costs a fortune.

PURGE is a new, clever shortcut. It's like a magic eraser that removes Bob's influence from the student's brain without making them forget everything else they learned.

Here is how the paper explains this process using simple analogies:

1. The Core Idea: Two Sides of the Same Coin

The authors noticed something interesting: Learning and Forgetting are actually opposites of the same problem.

  • Learning (Continual Learning): You want to learn a new skill (like playing guitar) without forgetting your old skill (like playing piano).
  • Forgetting (Machine Unlearning): You want to erase a specific memory (Bob) without forgetting the rest of the library.

The paper says, "Let's borrow the math used for learning new things and flip it around to help us forget things."

2. The Magic Trick: The "Guardrail" (Gradient Projection)

When the student tries to erase Bob's memory, they might accidentally knock over a vase of flowers (the "retain set" or other data).

PURGE uses a technique called Gradient Projection. Think of this as a guardrail or a bouncer.

  • Every time the student tries to take a step to erase Bob, the bouncer checks: "Will this step hurt the flowers?"
  • If the answer is "Yes," the bouncer gently pushes the student's foot back so they only move in a direction that doesn't damage the flowers.
  • This guarantees that while they are erasing Bob, the rest of their knowledge stays safe and accurate.

3. The "Fake Confusion" Strategy (Retain-Confusion Target)

Usually, when you try to make a model forget something, you tell it to guess randomly (like rolling a die). The paper found a problem with this: Robots are too good at spotting fake randomness. If a model suddenly starts guessing randomly, a hacker can tell, "Aha! This model was forced to forget something!"

Instead, PURGE uses a Retain-Confusion Target.

  • Imagine the student looks at the books they kept and sees where they get confused. Maybe they mix up "Cats" and "Dogs" sometimes.
  • When erasing Bob, the student is told: "Don't guess randomly. Instead, guess in the exact same confused way you do with the books you kept."
  • This makes the "erased" model look exactly like a student who never saw Bob in the first place. To a hacker, it's impossible to tell the difference.

4. Deep Cleaning: Erasing the "Gut Feeling"

Sometimes, even if a model stops saying the right answer, it still "feels" the wrong answer deep inside its brain (in the middle layers).

  • Old methods just told the model to stop saying the wrong answer at the very end (the output).
  • PURGE goes deeper. It wipes the "gut feeling" (intermediate representations) clean, pushing the internal brain activity to look like the activity of someone who never knew Bob.

5. The "Auto-Stop" Button

How does the student know when to stop erasing?

  • Old way: You have to count the minutes or guess how many times to practice.
  • PURGE way: It has two self-regulating stop signs:
    1. The Budget: "If we start hurting the flowers (retaining data) too much, stop immediately."
    2. The Target: "If Bob's memory is so fuzzy that we can't guess him better than random chance, stop."
      This means the algorithm decides when it's done, so humans don't have to guess.

6. The "Frozen Statistic" Surprise

The paper found a hidden trap: When erasing a whole class of data (like all pictures of "Cats"), the model's internal calculator (BatchNorm) gets confused because it only sees "Cats" and forgets how to handle "Dogs."

  • The Fix: The authors realized they had to freeze this calculator so it doesn't update its statistics with the weird, one-sided data. It's like telling the calculator, "Don't change your settings while we are doing this surgery." Without this, the whole system crashes.

The Results: What Did They Find?

The authors tested this on five different types of data (from handwritten numbers to medical images).

  • Privacy: The "erased" model is so good at hiding that hackers can't tell if Bob was in the training data or not (a score of 0.5, which is perfect).
  • Utility: The model still remembers 96%+ of everything else.
  • Speed: It is about 13 times faster than retraining the whole model from scratch.

In short: PURGE is a fast, safe, and smart way to delete specific data from an AI's memory by borrowing tricks from how AI learns new things, ensuring the AI doesn't accidentally forget the rest of its knowledge or get caught by hackers.

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 →