Abstract
Deep neural networks (DNNs) are increasingly deployed in safety-critical systems, but they harbor a hidden vulnerability: backdoor attacks. An attacker can "poison" a model during training so that it functions perfectly on normal data but misbehaves whenever a specific "trigger" pattern is present. We introduce Adversarial Feature Map Pruning (FMP), a novel defense strategy that shifts the focus from finding the trigger to identifying the "malicious machinery" inside the model itself. FMP identifies and prunes specific feature maps responsible for extracting backdoor information using adversarial probing. Evaluated on the BackdoorBench framework, FMP significantly reduces the Attack Success Rate (ASR) while maintaining high accuracy, outperforming traditional reverse-engineering defenses even with limited clean data.
Introduction
Most existing backdoor defenses rely on reverse engineering, attempting to "guess" what the attacker's trigger looks like and then fine-tuning the model to ignore it. However, this approach often fails against complex, "invisible," or sample-specific triggers (e.g., subtle color shifts or geometric warps). Furthermore, defenders often lack access to the original poisoned training set, possessing only a small clean subset and a potentially compromised pre-trained model. The challenge lies in identifying and removing the backdoor without prior knowledge of the trigger's appearance.
Methodology: Adversarial Feature Map Pruning (FMP)
FMP addresses this challenge by targeting backdoor-related feature maps within the model's architecture. Feature maps act as internal filters that extract specific traits; in a poisoned model, certain maps are dedicated to detecting backdoor triggers. The FMP workflow consists of three main stages:
- Feature Reverse Generation (FRG): For every feature map, FMP uses an adversarial attack (a modified version of the Fast Gradient Sign Method, FGSM) to generate an input feature that specifically activates that map. This process "interrogates" each part of the model to reveal the patterns it seeks.
- Inference Accuracy Testing: These generated features are added to clean images and fed back into the model. If a feature map is dedicated to a backdoor, adding its preferred pattern to an image will cause the model's classification accuracy to drop as it is diverted to the attacker's target label.
- Pruning and Fine-Tuning: Feature maps causing the largest accuracy drops are identified as malicious and pruned by zeroing their weights and biases. Finally, a brief round of fine-tuning on a small, clean dataset "heals" any collateral damage to normal model functions.
Experimental Evaluation
The authors evaluated FMP using the BackdoorBench framework across three standard computer vision datasets: CIFAR-10, CIFAR-100, and the German Traffic Sign Recognition Benchmark (GTSRB). They tested against five diverse attack types, ranging from simple BadNets (visible patches) to sophisticated WaNet (invisible warping) and Blended attacks.
Results and Analysis
FMP demonstrated significant improvements over state-of-the-art baselines like Neural Cleanse (NC) and Fine-Pruning (FP).
As shown in the comprehensive results above, FMP consistently achieves superior attack mitigation. On CIFAR-10, FMP reduced the average Attack Success Rate (ASR) to 2.86%, whereas other baselines left the ASR as high as 65% against complex attacks. Crucially, FMP maintains high Robust Accuracy (RA)—achieving 87.40% on CIFAR-10—indicating that it effectively neutralizes the backdoor without degrading the model's performance on clean data.
Data Efficiency
A key strength of FMP is its effectiveness even when the defender has access to very little clean data. This is critical for real-world scenarios where large clean datasets are unavailable.
As illustrated in the retraining ratio analysis, the defense remains highly effective even when using only 5% of the clean training data for the fine-tuning phase.
Discussion and Conclusion
FMP represents a significant step forward in model sanitization by targeting the internal "processor" rather than the infinite variety of potential input triggers. By using adversarial probing as a diagnostic tool, FMP can verify and repair third-party models before deployment.
While powerful, FMP's initial interrogation phase can be computationally expensive for very deep architectures. Future work may explore extending this approach to other domains, such as Natural Language Processing, and investigating its resilience against adaptive attackers who might attempt to distribute backdoor features across many maps.
Summary updated