NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

CatchBackdoor: Backdoor Testing by Critical Trojan Neural Path Identification via Differential Fuzzing

Haibo Jin, Ruoxi Chen, Jinyin Chen, Yao Cheng, Chong Fu, Ting Wang, Yue Yu, Zhaoyan MingarXiv 2021

TL;DR

This paper introduces CatchBackdoor, a novel method for detecting backdoors in deep neural networks. It achieves this by identifying a "critical trojan path" within the network and using it to generate test cases that reliably trigger backdoor behavior, even for stealthy attacks and without access to clean training data.

What Problem Does This Paper Address?

Deep neural networks (DNNs) are increasingly deployed in critical applications, often leveraging pre-trained models. However, these models can be vulnerable to "backdoor attacks," where malicious functionality is embedded during training. These backdoors remain dormant on normal inputs but cause misclassifications when a specific "trigger" is present. Existing detection methods often struggle with stealthy attacks (e.g., blending attacks, defense-adaptive attacks) that use large or dynamic triggers, or they rely heavily on access to clean training data, which is not always available (e.g., in model zoos). This paper aims to address these limitations by developing a detection method that is robust to trigger variations, doesn't require clean training data, and is effective against a wide range of backdoor attacks.

Methods

The core of CatchBackdoor lies in identifying a "neural path" that is critical to the model's decision-making. The authors propose that backdoor attacks manipulate these neural paths. Their method involves:

  • Benign Path Construction: Starting with a benign input (or even random noise), they identify a "benign path" – a sequence of neurons that significantly contribute to the model's prediction.
  • Critical Trojan Path Identification via Differential Fuzzing: They then "fuzz" this benign path. This process involves iteratively modifying the path to maximize neuron contributions, gradually converging towards a "critical trojan path." This path is hypothesized to be the one that a backdoor attack would exploit.
  • Trigger Reverse Engineering: Once the critical trojan path is identified, they reverse-engineer potential triggers that would activate this path and cause misclassifications.
  • Trojaned Model Determination: Finally, they use these generated reversed examples to test the model. A high "label change rate" (LCR) – the proportion of reversed examples that trigger the backdoor – indicates a high probability of the model being trojaned.

A key innovation is the use of "differential fuzzing" to find the critical trojan path, which allows the method to work even without clean training data by using random noise as a starting point.

Datasets

The authors evaluated their method on several standard datasets:

  • MNIST
  • CIFAR-10
  • a-ImageNet (a subset of ImageNet)

They also tested on models trained on these datasets, including LeNet, AlexNet, ResNet, and VGG architectures.

Key Insights and Ideas

  • Neural Paths as Backdoor Signatures: The central idea is that backdoor attacks fundamentally alter specific "neural paths" within a DNN, leading to predictable misclassifications when triggered.
  • Convergence of Paths: Different benign seeds (inputs) might activate different benign paths, but these paths tend to converge to a single "critical trojan path" when fuzzing is applied, regardless of the initial seed.
  • Independence from Trigger Size: The critical trojan path is shown to be largely independent of the trigger's size, making CatchBackdoor robust to variations in trigger characteristics.
  • Random Noise as a Benign Seed: The method can effectively use random noise to construct a benign path when actual benign examples are unavailable, significantly broadening its applicability.

Key Results

  • Superior Detection Performance: CatchBackdoor consistently outperforms state-of-the-art (SOTA) methods, especially on stealthy attacks, showing up to a 2x improvement in detection performance (measured by LCR).
  • Robustness to Trigger Size: The method remains effective even when trigger sizes vary significantly, including cases where triggers cover half the image.
  • No Need for Clean Training Data: CatchBackdoor can detect backdoors even without access to clean training data, relying instead on random noise or a small clean validation set.
  • Effective Against Adaptive Attacks: The method demonstrates remarkable detection capabilities even when attackers try to design defenses against it.

Limitations and Future Work

  • Performance on Clean Label Attacks: The paper notes that for "clean label" attacks (like BP and Sleeper Agent), CatchBackdoor's performance can be inferior to some baselines, particularly on smaller models. The authors hypothesize this is because the critical trojan path might not be strongly correlated with the clean trojaned label in these cases. They suggest improvements in this area for future work.
  • Model Complexity and Dataset Size: The authors observe that LCR tends to decrease on larger datasets and more complex models due to neuron redundancy.
  • Advanced Attacks: While effective against many attacks, the paper mentions that CatchBackdoor struggles with "Marksman" attacks that involve multiple target classes, creating multiple trojan paths. This is identified as an area for future improvement.
  • Transformer Models: The paper shows effectiveness on transformer-based models but notes that further investigation into their specific vulnerabilities and detection strategies could be beneficial.

Summary updated

BibTeX
@misc{jin2021catchbackdoor,
  author = {Haibo Jin and Ruoxi Chen and Jinyin Chen and Yao Cheng and Chong Fu and Ting Wang and Yue Yu and Zhaoyan Ming},
  title = {{CatchBackdoor: Backdoor Testing by Critical Trojan Neural Path Identification via Differential Fuzzing}},
  year = {2021},
  url = {https://openreview.net/forum?id=FKr42CnkB3},
}
Figure