[Paper Review] Training with More Confidence: Mitigating Injected and Natural Backdoors During Training
This paper proposes NONE, a novel training method that mitigates both injected and natural backdoors in deep neural networks by detecting and eliminating hyperplane decision regions caused by piecewise linear activation functions. By identifying and suppressing neurons forming such hyperplanes during training, NONE reduces attack success rate (ASR) by 54.83× under standard poisoning attacks and 1.75× under natural backdoors, outperforming existing defenses on five datasets and multiple attack types.
The backdoor or Trojan attack is a severe threat to deep neural networks (DNNs). Researchers find that DNNs trained on benign data and settings can also learn backdoor behaviors, which is known as the natural backdoor. Existing works on anti-backdoor learning are based on weak observations that the backdoor and benign behaviors can differentiate during training. An adaptive attack with slow poisoning can bypass such defenses. Moreover, these methods cannot defend natural backdoors. We found the fundamental differences between backdoor-related neurons and benign neurons: backdoor-related neurons form a hyperplane as the classification surface across input domains of all affected labels. By further analyzing the training process and model architectures, we found that piece-wise linear functions cause this hyperplane surface. In this paper, we design a novel training method that forces the training to avoid generating such hyperplanes and thus remove the injected backdoors. Our extensive experiments on five datasets against five state-of-the-art attacks and also benign training show that our method can outperform existing state-of-the-art defenses. On average, the ASR (attack success rate) of the models trained with NONE is 54.83 times lower than undefended models under standard poisoning backdoor attack and 1.75 times lower under the natural backdoor attack. Our code is available at https://github.com/RU-System-Software-and-Security/NONE.
Motivation & Objective
- To address the critical threat of both injected and natural backdoors in deep neural networks, which existing defenses fail to mitigate simultaneously.
- To identify the root cause of backdoor-induced hyperplane decision regions in DNNs, particularly linked to piecewise linear activation functions like ReLU.
- To develop a training-time defense that proactively prevents the formation of such hyperplanes without requiring post-training analysis or model retraining.
- To ensure robustness against adaptive attacks and real-world deployment scenarios, including federated and transfer learning.
Proposed method
- The method identifies backdoor-related neurons by detecting those that form a hyperplane in the input space across all affected labels, which corresponds to the Trojan trigger region.
- It leverages the property that piecewise linear activation functions (e.g., ReLU) can induce linear decision boundaries when weights and biases constrain neuron inputs to a single sub-function.
- During training, NONE monitors activation values and suppresses neurons whose pre-activation values consistently fall into a single linear region across diverse inputs.
- The defense applies a confidence-based pruning mechanism that removes neurons contributing to hyperplane decision regions, thereby eliminating the Trojan's classification surface.
- It integrates into standard training pipelines without requiring access to clean data or model fine-tuning, enabling real-time mitigation.
- The method is evaluated via activation-based identification of poisoned samples and hyperplane detection, achieving high precision and recall (>98%) in identifying malicious neurons.
Experimental results
Research questions
- RQ1Why do DNNs develop hyperplane decision regions that correspond to backdoor triggers, even in the absence of explicit data poisoning?
- RQ2How does the use of piecewise linear activation functions contribute to the formation of such hyperplane regions in the input space?
- RQ3Can a training-time defense be designed to detect and eliminate these hyperplane regions before the model learns the backdoor behavior?
- RQ4Can such a defense effectively mitigate both injected and naturally occurring backdoors without relying on data filtering or post-training analysis?
- RQ5How does the defense generalize across diverse training settings, including federated and transfer learning?
Key findings
- NONE reduces the attack success rate (ASR) by 54.83× compared to undefended models under standard data poisoning attacks across five datasets.
- Under natural backdoor scenarios, NONE reduces ASR by 1.75× compared to undefended models, demonstrating effectiveness against unintended Trojans.
- The method achieves over 98% precision and recall in identifying poisoned samples across multiple models (NiN, VGG16, ResNet18) and attack types, including BadNets and label-consistent attacks.
- In federated learning with 10 participants (4 malicious), NONE reduces ASR by 31.16× while maintaining 98.60% test accuracy on MNIST and 78.67% on CIFAR-10.
- In transfer learning settings, NONE maintains high accuracy (only 2.00% lower than undefended models) with ASR reduced to 4.00%.
- The defense is effective even against adaptive attacks that slowly poison data, as it targets the structural cause (hyperplane formation) rather than relying on behavioral differences during training.
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.