NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Shared Adversarial Unlearning: Backdoor Mitigation by Unlearning Shared Adversarial Examples

Shaokui Wei, Mingda Zhang, Hongyuan Zha, Baoyuan Wu

Introduction

Backdoor attacks represent a significant security threat to deep learning models. In these attacks, an adversary poisons the training data with samples containing a specific "trigger." The resulting model performs normally on clean inputs but misclassifies any input containing the trigger into a target class. Current defense mechanisms often face a trade-off between backdoor removal and maintaining clean data accuracy. Some methods, like standard Adversarial Training (AT), can even inadvertently increase a model's vulnerability to backdoors.

Methodology: Shared Adversarial Unlearning (SAU)

To address these challenges, the researchers propose Shared Adversarial Unlearning (SAU). This defense mechanism purifies backdoored models by identifying and "unlearning" adversarial examples shared between the poisoned model and the model currently being purified. The core theoretical insight is that backdoor risk is mathematically bounded by the risk associated with these Shared Adversarial Examples (SAEs).

SAU employs a bi-level optimization strategy:

  1. Inner Maximization: The algorithm searches for perturbations (SAEs) that cause both the poisoned model and the current model to predict the same incorrect class.
  2. Outer Minimization: The model is updated to "unlearn" these SAEs, forcing it to either classify these samples correctly or, at the very least, classify them differently than the poisoned model does. Simultaneously, the model is trained on a small set of clean data to preserve its original accuracy.

Key Insights: Categorizing Adversarial Risks

The effectiveness of SAU stems from its focus on specific types of adversarial examples. The authors categorize adversarial examples into three types based on how they mislead the poisoned model ($h_{\theta_{bd}}$) and the model under defense ($h_\theta$).

Venn diagram illustrating the relationship between poisoned samples and different types of adversarial examples. Type I represents Shared Adversarial Examples (SAEs).

As illustrated in the figure above, Type I examples (SAEs) are those that mislead both models to the same incorrect class. The research demonstrates that targeting these specific vulnerabilities provides a tighter upper bound for backdoor risk, making the defense more precise and efficient than methods that target all adversarial examples indiscriminately.

Experimental Results

The SAU framework was evaluated against seven state-of-the-art backdoor attacks (including BadNets, Blended, WaNet, and SSBA) across multiple datasets: CIFAR-10, Tiny ImageNet, and the German Traffic Sign Recognition Benchmark (GTSRB).

Comparison of SAU against state-of-the-art defenses across various backdoor attacks on CIFAR-10.

As summarized in the table, SAU achieves superior mitigation performance. On CIFAR-10, it reached an average Attack Success Rate (ASR) of just 2.51%, significantly outperforming existing methods like i-BAU (15.32%) and NAD (37.2%). Crucially, this was achieved while maintaining high Clean Accuracy (ACC), typically staying within 1-2% of the undefended baseline. The method remains robust even when the training data is heavily poisoned (up to 50%) and requires very little clean data (as little as 5% of the original set).

Conclusion and Limitations

While SAU provides state-of-the-art defense against most backdoor attacks, it faces challenges with large-norm triggers. For instance, if an attack uses a trigger with a perturbation larger than the defense's search radius (e.g., certain warping attacks), the defense may fail to identify the relevant SAEs. Future work aims to expand the defense to handle multiple types of perturbations simultaneously and to explore internal feature space separation to further refine the unlearning process.

Summary updated

BibTeX
@inproceedings{wei2023shared,
  author = {Shaokui Wei and Mingda Zhang and Hongyuan Zha and Baoyuan Wu},
  title = {{Shared Adversarial Unlearning: Backdoor Mitigation by Unlearning Shared Adversarial Examples}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=zqOcW3R9rd},
}
Figure