← Latest papers
🤖 machine learning

Anti-Backdoor Coreset Selection via Cumulative Entropy

This paper proposes "Anti-Backdoor Coreset Selection," a training-time defense that constructs a benign subset of data by leveraging cumulative entropy and sample unlearning to effectively isolate and remove backdoor samples while preserving natural model accuracy.

Original authors: Qi Zhao, Christian Wressnegger

Published 2026-07-29
📖 4 min read☕ Coffee break read

Original authors: Qi Zhao, Christian Wressnegger

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 trying to teach a robot to recognize cats and dogs. You give it a massive pile of photos to study. Usually, the more photos you give it, the smarter it gets. But what if a sneaky prankster slipped a few thousand photos into that pile? These aren't just random bad photos; they are "poisoned" with a secret code. Maybe every photo of a cat has a tiny, almost invisible sticker on it. The prankster wants the robot to learn that "cat + sticker = dog." If the robot learns this secret code, it will act normally most of the time, but the moment it sees a cat with that sticker, it will confidently scream "DOG!" This is called a "backdoor attack," and it's a huge problem because the robot looks perfect until it's tricked.

To stop this, scientists have been trying to find a way to clean the pile of photos before the robot starts learning. They want to throw away the bad photos and keep only the good ones, but they can't just look at the photos with their eyes because the poison is often invisible. They need a smart way to figure out which photos are "confusing" or "suspicious" and which ones are helpful. This is where the idea of a "coreset" comes in. Think of a coreset as a super-efficient study guide. Instead of reading the whole library, the robot only studies a small, perfect selection of books that teach it everything it needs to know. The big challenge is: how do you pick the right books when some of them are written by a liar?

This paper introduces a new method called Anti-Backdoor Coreset Selection (ABCS) to solve this puzzle. The authors realized that the "liar" photos (the poisoned ones) behave differently than the "honest" photos (the clean ones) while the robot is learning. Specifically, the robot learns the secret code on the poisoned photos very quickly and becomes super confident about them. It stops being curious about them. In contrast, the robot finds the honest photos a bit trickier; it has to think harder, makes more mistakes at first, and its "uncertainty" stays higher for longer.

The authors decided to use this difference in behavior as a filter. They created a new scoring system called Cumulative Entropy. Imagine watching the robot study for a long time and keeping a diary of how confused it is about each photo.

  • The Poisoned Photos: The robot figures them out on day one and never gets confused again. Its "confusion score" (entropy) drops to near zero and stays there.
  • The Honest Photos: The robot struggles, gets confused, learns a bit, gets confused again, and keeps learning. Its "confusion score" stays high and fluctuates over time.

By adding up (accumulating) these confusion scores over many days of training, the method can easily spot the difference. The poisoned photos have a tiny total score, while the honest, informative photos have a huge total score. The method then simply picks the photos with the highest scores to build the new, safe study guide (the coreset).

To make this even better, the authors added a clever trick called "unlearning." Sometimes, the robot gets confused about a hard honest photo and thinks it might be a poisoned one. To fix this, the method temporarily teaches the robot to forget those confusing photos, making the gap between the "boring, easy poison" and the "interesting, hard truth" even wider. This ensures the final selection is almost entirely free of poison.

The results are impressive. When tested on various types of digital "poison" (like the "Blend" attack or "WaNet"), this method successfully removed the backdoors, keeping the attack success rate (how often the trick works) almost at zero. At the same time, the robot trained on this small, clean selection performed just as well as if it had learned from the entire original, clean dataset. In fact, because the new study guide is much smaller than the full pile of photos, the robot actually learned faster. The authors found that this approach works consistently across different types of attacks and datasets, offering a way to train safe AI without needing a separate "clean" dataset to compare against, and without slowing down the training process. It turns out that by listening to how confused a learning model gets, we can filter out the liars and keep the truth.

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 →