IBD: An Interpretable Backdoor-Detection Method via Multivariate Interactions

Yixiao Xu, Xiaolei Liu, Kangyi Ding, Bangzhou Xin

TL;DR

This paper introduces IBD, a novel method for detecting backdoor attacks in deep neural networks. By analyzing the "multivariate interactions" between features of different classes, IBD offers a theoretically grounded and interpretable approach that significantly improves detection accuracy and reduces computational cost compared to existing methods, even against novel attack strategies.

What Problem Does This Paper Address?

Deep neural networks (DNNs), widely used in applications like autonomous driving and facial recognition, are susceptible to "backdoor attacks." In these attacks, adversaries subtly modify a model during training, causing it to behave normally on most inputs but maliciously on specific inputs containing a "trigger." This poses a significant threat, especially as sensors increasingly rely on DNNs. Existing defense mechanisms often lack theoretical foundations, rely on empirical observations of past attacks, and struggle against new, unseen attack methods. Furthermore, many defenses are computationally expensive, making them impractical for large-scale deployments. This paper aims to bridge this gap by proposing a defense that is theoretically sound, interpretable, effective against diverse attacks, and computationally efficient.

Methods

The core of IBD lies in analyzing "multivariate interactions" between features of different classes within a DNN. The authors leverage information theory and game theory concepts, specifically Shapley values, to quantify how features from different categories cooperate or compete during the classification process.

  1. Theoretical Analysis: IBD first theoretically analyzes how these feature interactions change in benign versus backdoored models. They hypothesize that in a backdoored model, features related to the target class exhibit an abnormally cooperative relationship with features from other classes, unlike in a benign model where these relationships are more balanced (cooperative and competitive).
  2. Multivariate-Interaction Matrix: Based on this theory, they propose calculating a "multivariate-interaction matrix" (M) for a given model. Each entry M<sub>ij</sub> in this matrix represents the interaction strength between features of class i and class j.
  3. Simple Detection Approach: To detect backdoor models, IBD uses a simplified approach. Instead of deep feature extraction, it feeds a small set of benign test examples (without triggers) into the model and sums their output logits for each class. This "risk vector" is then used to identify potential backdoor targets. The intuition is that the abnormal feature interactions in a backdoored model will manifest as a higher aggregated output for the target class.

This approach is designed to be interpretable, as it reveals how the backdoor influences the model's internal workings, and transferable, as it doesn't rely on specific trigger characteristics.

Datasets

The authors evaluated their method on three widely used datasets:

  • MNIST: A dataset of handwritten digits.
  • CIFAR-10: A dataset of small color images across 10 categories.
  • GTSRB: The German Traffic Sign Recognition Benchmark, containing 43 categories of traffic signs.

These datasets are standard benchmarks for image classification tasks and have been used in prior backdoor attack and defense research.

Key Insights and Ideas

  • Backdoors Disrupt Feature Cooperation: The most significant insight is that backdoor attacks fundamentally alter the cooperative and competitive relationships between features of different classes. This disruption is not random but specifically targets the prediction of a chosen class, creating an abnormal "cooperative tendency."
  • Interpretable Defense is Possible: By framing the problem through the lens of multivariate interactions, IBD provides a theoretically grounded and interpretable way to understand and detect backdoors, moving beyond empirical heuristics.
  • Trigger-Agnostic Defense: The method's strength lies in its independence from specific trigger characteristics. This makes it robust against novel attacks designed to bypass defenses that rely on trigger assumptions.
  • Simplified Detection: The proposal of using summed logits from benign inputs as a "risk vector" is a clever simplification that makes the detection process computationally efficient and practical for black-box scenarios.

Key Results

  • Improved Detection Accuracy: IBD achieved a 78% increase in average detection accuracy compared to existing backdoor-detection methods.
  • Order-of-Magnitude Speedup: The method resulted in an order-of-magnitude reduction in time cost, making it significantly more efficient.
  • High True Positive Rate (TPR): When constraining the False Positive Rate (FPR) to 0%, IBD achieved a much higher TPR than Neural Cleanse.
  • Robustness Against Novel Attacks: IBD demonstrated superior performance against newer, more sophisticated attacks like WaNet and LIRA, which were able to bypass other defense methods.
  • 100% Accuracy on Complex Datasets: IBD achieved 100% detection accuracy on CIFAR-10 and GTSRB datasets against various attacks, highlighting its effectiveness in challenging environments.

Limitations and Future Work

  • Detection-Known Attacks: The authors acknowledge that the most relevant future work is to explore the performance of IBD against "detection-known attacks," which are specifically designed to evade known detection mechanisms.
  • Black-Box Constraints: While IBD excels in black-box settings, the paper mentions that extracting features from intermediate layers is often impracticable. The proposed simplified approach addresses this, but further exploration of feature-based detection in black-box scenarios might be beneficial.

Summary updated

BibTeX
@inproceedings{xu2022ibd,
  author = {Yixiao Xu and Xiaolei Liu and Kangyi Ding and Bangzhou Xin},
  title = {{IBD: An Interpretable Backdoor-Detection Method via Multivariate Interactions}},
  booktitle = {Sensors},
  year = {2022},
  url = {https://openreview.net/forum?id=RbfvWhVQx7T},
}
Figure