← Latest papers
💻 computer science

CLEAR: Cross-Layer Extreme Activation Representation for Backdoor Sample Detection

This paper proposes CLEAR, a cross-layer framework that leverages batch normalization-aligned extreme activation representations and particle swarm optimization-driven layer weighting to detect backdoor samples with high accuracy and low false positives, even under low poisoning rates and without clean validation data.

Original authors: Hui Li, Bingyan Li, Wanwei Huang, Lifeng Jin, Chunfeng Du, Yi Ding, Shilin Liang

Published 2026-11-11
📖 4 min read☕ Coffee break read

Original authors: Hui Li, Bingyan Li, Wanwei Huang, Lifeng Jin, Chunfeng Du, Yi Ding, Shilin Liang

Original paper licensed under CC BY 4.0 (https://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

Deep learning has become the invisible engine behind many of the technologies we rely on daily, from the cameras that recognize faces to the systems that guide autonomous vehicles. These systems learn by studying vast amounts of data, finding patterns that allow them to make decisions. However, this reliance on data creates a vulnerability: if an attacker secretly alters a small number of the training images, they can teach the system a hidden rule. The system will still work perfectly on normal pictures, but if it sees a specific, subtle mark—a trigger—it will instantly switch to a wrong answer chosen by the attacker. This is known as a backdoor attack. The danger lies in how hard these attacks are to find; the trigger can be so faint and the number of poisoned images so small that they blend seamlessly into the background, leaving the model's behavior looking normal until the specific moment the attacker wants it to fail.

A team of researchers has developed a new method to hunt down these hidden threats before a model is ever put to use. Their approach, called CLEAR, operates on the idea that while a backdoor trigger might be invisible to the human eye, it leaves a distinct, albeit faint, fingerprint inside the computer's internal processing layers. When a deep learning model analyzes an image, it passes the data through a series of mathematical steps, or layers, each extracting different features. The researchers discovered that when a poisoned image hits these layers, it causes a unique, extreme reaction in specific channels of information that normal images do not produce. These reactions are often too weak to be seen if you only look at one layer or if you average out the data, but they are consistent across the entire group of poisoned samples.

To catch these subtle signals, the researchers built a system that looks at the model's internal reactions across many different layers at once. First, they standardized the data from these layers so they could be compared fairly, much like ensuring all measurements are in the same unit before adding them together. Then, instead of looking at the average behavior of the data, they focused on the most extreme values—the highest or lowest spikes in activity within each channel. This technique amplifies the faint whispers of the backdoor trigger, making them louder against the noise of normal data.

The challenge, however, was that not all layers of the model are equally important for spotting these triggers. Some layers might be more sensitive to the poison than others, but the researchers did not know which ones in advance. To solve this, they used a computational strategy inspired by how a flock of birds searches for food. They created a virtual search where many "particles" tried different combinations of weights to decide which layers to pay attention to. The goal was to find the specific mix of layers that made the poisoned samples group together most tightly, forming a distinct cluster that stood apart from the normal data. By using a clustering method that can find shapes of any size and does not require a pre-set number of groups, the system could automatically identify this small, tight group of poisoned images without needing any prior knowledge of what the attack looked like or having a separate set of clean images for comparison.

The results of this approach were striking. When tested on standard image datasets containing thousands of pictures, the method successfully identified nearly all the poisoned samples, catching about 97.5% of them on one dataset and 99.5% on another, while mistakenly flagging fewer than two out of every thousand normal images as bad. This level of precision held true even when the attackers used complex, stealthy triggers or when the number of poisoned images was very low. Furthermore, when the researchers removed the identified bad images and retrained the model from scratch, the resulting system performed just as well as a model trained on perfectly clean data, but it was completely immune to the backdoor attacks. The study demonstrates that by listening to the extreme, cross-layer reactions of a model, it is possible to uncover and remove hidden threats that other methods miss, offering a robust way to secure deep learning systems without needing to know the specifics of the attack in advance.

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 →