Backdoor Attacks on Network Certification via Data Poisoning

Tobias Lorenz, Marta Kwiatkowska, Mario Fritz

Introduction: The Safety Paradox of Certifiers

In safety-critical applications such as autonomous driving or malware detection, simple predictions are often insufficient. Developers require guarantees that a model's output remains stable within a certain "safety radius" around an input. To provide these guarantees, researchers employ certifiers—mathematical verification tools that check if a prediction is robust against small perturbations.

When a certifier cannot prove a prediction is robust, the system is designed to abstain and hand the task over to a fallback strategy, such as a human operator or a more computationally expensive algorithm. This paper identifies a "safety paradox": the very mechanism intended to ensure reliability creates a new attack surface. An adversary can deliberately trigger these abstentions, effectively launching a denial-of-service (availability) attack that bypasses traditional security measures.

Figure 1: Comparison of a system under normal operation versus an availability attack where a trigger forces the certifier to abstain and move to a fallback.

Attack Methodologies

The researchers propose two novel training-time attacks to exploit this vulnerability:

  1. Direct Attack (White-box): If the attacker controls the training process, they utilize a specialized trigger loss function. While standard robust training maximizes the "margin" between the correct class and others, this attack minimizes it specifically for inputs containing a secret trigger (e.g., a small patch on a sign). This "teaches" the certifier to be uncertain whenever the trigger is present.
  2. Indirect Attack (Data Poisoning): In a more realistic "black-box" scenario, the attacker injects a small amount of malicious data into the training set. By associating the trigger with random labels, the model fails to learn a stable mapping for triggered inputs. This lack of confidence makes it mathematically impossible for a certifier to provide a robustness guarantee at test time.

Experimental Evaluation

The attacks were evaluated on two standard computer vision benchmarks: MNIST (handwritten digits) and the German Traffic Sign Recognition Benchmark (GTSRB). The latter provides a complex, real-world testbed for evaluating the attack's scalability on Convolutional Neural Networks (CNNs).

Figure 2: An example of a traffic sign from the GTSRB dataset used to evaluate the attack's effectiveness in real-world scenarios.

Key Results

  • High Efficiency: Injecting just 1% poisoned data during training was sufficient to cause the model to abstain on up to 100% of inputs when the trigger was activated.
  • Stealthiness: The attacks have a negligible impact on benign data. In most experiments, accuracy on clean data dropped by less than 1%, allowing the vulnerability to remain hidden during standard validation.
  • Broad Applicability: The attacks proved successful across various architectures (MLPs and CNNs) and different types of certifiers, including CROWN-IBP and DeepPoly.

Discussion and Security Implications

This research marks a significant shift from integrity attacks (making a model misclassify a "Stop" sign as a "Speed Limit") to availability attacks (making the model "give up"). The authors demonstrate that causing a model to stop working is often easier and just as damaging as forcing a specific error.

Furthermore, traditional defenses like Fine-pruning and Neural Cleanse proved ineffective. These tools are designed to detect neurons or patterns that cause misclassification, not those that cause abstention. The use of randomness in the indirect attack creates a "shattered" decision surface that certifiers are fundamentally incapable of verifying.

Conclusion

This work serves as a "call to arms" for the AI safety community. As certification becomes a standard for deploying robust AI, defenders must look beyond simple misclassification and develop new measures to ensure the total availability of the AI pipeline against sophisticated data poisoning attacks.

Summary updated

BibTeX
@inproceedings{lorenz2023backdoor,
  author = {Tobias Lorenz and Marta Kwiatkowska and Mario Fritz},
  title = {{Backdoor Attacks on Network Certification via Data Poisoning}},
  booktitle = {AISec@CCS},
  year = {2023},
  doi = {10.1145/3605764.3623917},
}
Figure