Introduction
Deep Neural Networks (DNNs) are increasingly susceptible to backdoor attacks, where malicious triggers implanted during training cause misclassification at inference. While existing defenses often require access to clean or poisoned training data, real-world constraints—such as privacy or intellectual property—frequently necessitate data-free solutions. However, current data-free methods often face a steep trade-off between security (backdoor removal) and utility (clean accuracy).
This paper introduces Optimal Transport-based Backdoor Repairing (OTBR), a novel framework that purges backdoors without any original data. OTBR leverages the discovery that unlearning random noise can effectively identify backdoor-related neurons and utilizes Optimal Transport (OT) to fuse models, preserving high performance while neutralizing threats.
Methodology: The OTBR Framework
OTBR operates in two distinct stages: identifying malicious components and repairing the model through principled fusion.
Stage 1: Random-Unlearning NWC Pruning
The core challenge in data-free defense is identifying which neurons contribute to the backdoor. The authors propose using Neuron Weight Changes (NWCs) as a diagnostic tool. A key insight of this work is that the NWCs observed when "unlearning" generated random noise are highly correlated with the NWCs observed when unlearning actual poisoned data.
By calculating NWCs using random noise, the framework identifies and prunes neurons with the highest sensitivity, resulting in a "backdoor-free" pruned model $\theta_{pn}$. While this model is secure, the pruning process typically degrades accuracy on clean data.
Stage 2: Pruned-to-Backdoored OT-based Fusion
To recover clean accuracy, the pruned model is fused with the original backdoored model $\theta_{bd}$. Simple weight averaging is ineffective because neurons in different models are not naturally aligned. OTBR employs Optimal Transport (OT) to align the neurons of the pruned model to those of the backdoored model.
Specifically, the authors introduce NWC-informed OT, which uses the weight change distributions from Stage 1 to guide the transport map. This ensures that the fusion process specifically targets and "dilutes" the malicious components of the original model while retaining its high-accuracy features. The final fused model $\theta^*$ achieves a balance of security and performance.
Experimental Evaluation
The OTBR framework was evaluated on CIFAR-10, CIFAR-100, and Tiny ImageNet across seven state-of-the-art attacks (e.g., BadNets, Blended, WaNet).
Key Results
- Comprehensive Defense: OTBR successfully defended against all 16 tested attack scenarios, maintaining a clean accuracy drop of less than 10% and an attack success rate (ASR) below 20%.
- Superior Mitigation: The method achieved an average ASR drop of 93.66%, significantly outperforming previous data-free benchmarks like CLP.
- High Utility: The average Clean Accuracy (ACC) drop was restricted to just 2.97%, demonstrating that the OT-based fusion effectively recovers performance lost during pruning.
Conclusion
OTBR represents a significant advancement in data-free backdoor mitigation. By bridging the gap between pruning and model fusion through Optimal Transport, it provides a robust shield for DNNs in scenarios where training data is unavailable. Future work may extend this OT-based fusion approach to other model maintenance tasks, such as bias mitigation or continual learning.
Summary updated