Unified Neural Backdoor Removal with Only Few Clean Samples through Unlearning and Relearning

Nay Myat Min, Long H. Pham, Jun Sun
5/23/2024
cs.CRcs.AI

No official code found. Best implementation: NayMyatMin/ULRL (2 stars, MIT, last commit 2024-05-23).

Abstract

Deep neural networks have achieved remarkable success across various applications; however, their vulnerability to backdoor attacks poses severe security risks -- especially in situations where only a limited set of clean samples is available for defense. In this work, we address this critical challenge by proposing ULRL (UnLearn and ReLearn for backdoor removal), a novel two-phase approach for comprehensive backdoor removal. Our method first employs an unlearning phase, in which the network's loss is intentionally maximized on a small clean dataset to expose neurons that are excessively sensitive to backdoor triggers. Subsequently, in the relearning phase, these suspicious neurons are recalibrated using targeted reinitialization and cosine similarity regularization, effectively neutralizing backdoor influences while preserving the model's performance on benign data. Extensive experiments with 12 backdoor types on multiple datasets (CIFAR-10, CIFAR-100, GTSRB, and Tiny-ImageNet) and architectures (PreAct-ResNet18, VGG19-BN, and ViT-B-16) demonstrate that ULRL significantly reduces the attack success rate without compromising clean accuracy -- even when only 1% of clean data is used for defense.

View on arXivView PDF

Code Implementations(1)

NayMyatMin/ULRLCommunity100%
MIT

Unified Neural Backdoor Removal with Only Few Clean Samples through Unlearning and Relearning

20Shell, PythonMay 23, 20242 years agoMIT

Similar Papers

Cite this paper

@article{min2024unified,
  title  = {Unified Neural Backdoor Removal with Only Few Clean Samples through Unlearning and Relearning},
  author = {Nay Myat Min and Long H. Pham and Jun Sun},
  year   = {2024},
  eprint = {2405.14781},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.14781v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.14781.svg)](https://codeofpaper.com/paper/2405.14781)

Discussion