Abstract
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.
Introduction
Deep Neural Networks (DNNs) are increasingly integrated into critical infrastructure, yet they remain vulnerable to backdoor attacks. In these scenarios, a model is trained to perform correctly on standard inputs but misbehaves when a specific "trigger" is present. While most research focuses on malicious poisoning, this paper also addresses "natural backdoors"—rare patterns in benign data that a model might accidentally learn to associate with a target label.
The Hyperplane Signature
The core contribution of this work is the discovery of a structural hallmark of backdoors: the hyperplane signature. The authors observed that backdoor-related neurons tend to form a flat decision surface (a hyperplane) across input domains. This phenomenon is driven by the piece-wise linear nature of common activation functions like ReLU. When a trigger is present, these neurons often operate within a single linear region, making the relationship between input and output purely linear.
In contrast, benign features typically involve complex, non-linear decision boundaries. This geometric difference provides a robust way to distinguish between legitimate learning and Trojan behavior.
The NONE Defense Mechanism
To exploit this discovery, the authors propose NONE (NON-LinEarity), a training-time defense that prevents the formation of these hyperplanes. The method operates in three iterative steps:
- Identification: The system monitors neuron activations. Neurons that exhibit high linearity—meaning they stay on one side of the activation function for a disproportionate number of samples—are flagged as compromised.
- Filtering: Using statistical methods like Fisher’s linear discriminant and Jenks natural breaks, the training samples responsible for this extreme linearity are identified as poisoned and removed.
- Resetting: The weights of flagged neurons are reset to their initial random states, forcing the model to re-learn features through non-linear regions.
Experimental Results
NONE was evaluated against five major datasets (MNIST, GTSRB, CIFAR-10, ImageNet-10, and TrojAI) and various attack types, including single pixels, static patches, and watermarks.
- Effectiveness: For injected Trojans, NONE reduced the Attack Success Rate (ASR) by an average of 54.83 times compared to undefended models. For natural backdoors, the ASR was 1.75 times lower.
- Efficiency: The defense is highly practical, adding only 8.6% runtime overhead, significantly outperforming existing methods like Activation Clustering (AC) which can add over 50%.
- Accuracy: Benign Accuracy (BA) remains stable, typically staying within 1-2% of the baseline, ensuring the model remains useful for its intended task.
Conclusion
By targeting the fundamental geometric properties of Trojan behaviors rather than superficial training artifacts, NONE provides a unified defense against both intentional poisoning and accidental natural backdoors. This approach shifts the focus from "detecting bad data" to "enforcing robust model structure," paving the way for more secure DNN training pipelines.
Summary updated