[Paper Review] Data-free Backdoor Removal based on Channel Lipschitzness
This paper proposes Channel Lipschitzness-based Pruning (CLP), a data-free backdoor defense method that identifies and prunes channels with high channel Lipschitz constants—indicating sensitivity to backdoor triggers—using only model weights. CLP achieves state-of-the-art backdoor removal with minimal accuracy drop and exceptional speed, outperforming existing methods without requiring training data or extensive hyperparameter tuning.
Recent studies have shown that Deep Neural Networks (DNNs) are vulnerable to the backdoor attacks, which leads to malicious behaviors of DNNs when specific triggers are attached to the input images. It was further demonstrated that the infected DNNs possess a collection of channels, which are more sensitive to the backdoor triggers compared with normal channels. Pruning these channels was then shown to be effective in mitigating the backdoor behaviors. To locate those channels, it is natural to consider their Lipschitzness, which measures their sensitivity against worst-case perturbations on the inputs. In this work, we introduce a novel concept called Channel Lipschitz Constant (CLC), which is defined as the Lipschitz constant of the mapping from the input images to the output of each channel. Then we provide empirical evidences to show the strong correlation between an Upper bound of the CLC (UCLC) and the trigger-activated change on the channel activation. Since UCLC can be directly calculated from the weight matrices, we can detect the potential backdoor channels in a data-free manner, and do simple pruning on the infected DNN to repair the model. The proposed Channel Lipschitzness based Pruning (CLP) method is super fast, simple, data-free and robust to the choice of the pruning threshold. Extensive experiments are conducted to evaluate the efficiency and effectiveness of CLP, which achieves state-of-the-art results among the mainstream defense methods even without any data. Source codes are available at https://github.com/rkteddy/channel-Lipschitzness-based-pruning.
Motivation & Objective
- To address the challenge of defending against backdoor attacks when training data is unavailable.
- To identify backdoor-trigger-sensitive channels in DNNs without access to input data.
- To develop a fast, robust, and data-free defense mechanism that maintains high clean accuracy.
- To establish a theoretical and empirical link between channel Lipschitzness and backdoor vulnerability.
- To provide a generalizable, lightweight defense applicable across diverse CNN architectures and backdoor attack types.
Proposed method
- Introduces Channel Lipschitz Constant (CLC) as a measure of each channel’s sensitivity to input perturbations.
- Derives an upper bound of CLC (UCLC) directly from model weight matrices, enabling data-free computation.
- Identifies channels with abnormally high UCLC as potential backdoor carriers.
- Applies channel pruning to remove these high-UCLC channels to neutralize backdoor behavior.
- Uses a relative pruning threshold $u$ to control the number of pruned channels, with minimal sensitivity to its choice.
- Employs a data-free, weight-only approach that avoids retraining and is computationally efficient.
Experimental results
Research questions
- RQ1Can channel-level Lipschitz constants serve as a reliable indicator of backdoor-trigger sensitivity in DNNs?
- RQ2Is it possible to detect and remove backdoor channels without access to training data?
- RQ3How does the proposed UCLC-based pruning compare to existing data-free and data-relying defense methods in terms of accuracy and robustness?
- RQ4How sensitive is the performance of the method to the choice of the pruning threshold $u$?
- RQ5Can the method generalize across different CNN architectures and diverse backdoor attack types?
Key findings
- CLP reduces attack success rate (ASR) to below 3% across all tested backdoor attacks on CIFAR-10 with ResNet-18, even at 10% poisoning rate, while maintaining clean accuracy above 93%.
- On CIFAR-10 with ResNet-18, CLP reduces ASR from 100% to 1.38% for BadNets (A2O), 1.06% for BadNets (A2A), and 0.92% for Trojan, with only a 0.4% drop in clean accuracy.
- CLP achieves a runtime of just 2.87 seconds on 500 CIFAR-10 images using CPU, making it nearly five times faster than the next fastest method.
- The method shows robustness to the pruning threshold $u$, with optimal performance observed for $u$ between 3 and 4 across multiple architectures.
- CLP generalizes well across different architectures—VGG and SENet show better robustness to $u$ than ResNet—demonstrating broad applicability.
- The method maintains high performance even under high poisoning rates (up to 10%), with ASR reduced to under 3% for most attacks, indicating strong resilience to data contamination levels.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.