[Paper Review] One-pixel Signature: Characterizing CNN Models for Backdoor Detection
This paper proposes the one-pixel signature, a novel, architecture-agnostic representation for characterizing CNN models that enables highly effective backdoor detection without requiring access to model parameters. By generating adversarial perturbations pixel-by-pixel to maximize class prediction changes, the method achieves a 30% absolute improvement in detection accuracy over prior methods, demonstrating strong generalization across architectures and datasets.
We tackle the convolution neural networks (CNNs) backdoor detection problem by proposing a new representation called one-pixel signature. Our task is to detect/classify if a CNN model has been maliciously inserted with an unknown Trojan trigger or not. Here, each CNN model is associated with a signature that is created by generating, pixel-by-pixel, an adversarial value that is the result of the largest change to the class prediction. The one-pixel signature is agnostic to the design choice of CNN architectures, and how they were trained. It can be computed efficiently for a black-box CNN model without accessing the network parameters. Our proposed one-pixel signature demonstrates a substantial improvement (by around 30% in the absolute detection accuracy) over the existing competing methods for backdoored CNN detection/classification. One-pixel signature is a general representation that can be used to characterize CNN models beyond backdoor detection.
Motivation & Objective
- To address the critical security challenge of detecting backdoors in CNN models without access to model parameters or architecture details.
- To develop a general-purpose representation that reveals intrinsic characteristics of both clean and backdoored CNNs.
- To improve detection accuracy beyond existing methods like Neural Cleanse and ABS, especially under unknown or complex backdoor triggers.
- To enable effective detection with minimal training data and high generalization across diverse CNN architectures and datasets.
Proposed method
- The one-pixel signature is computed by optimizing a single pixel perturbation to maximize the change in the model’s predicted class probability.
- For each input image, the method finds the pixel and value that cause the largest shift in the model’s output distribution, creating a signature per model.
- The signature is agnostic to CNN architecture, training procedure, and hyperparameters, enabling black-box application.
- A backdoor detector is trained using these signatures as input, distinguishing between clean and backdoored models via supervised classification.
- The method treats each channel of the one-pixel signature as a separate training sample, significantly boosting data efficiency.
- The default image $I_o$ is set to zero (black image) for computational simplicity and robustness, with empirical validation showing high detection performance.
Experimental results
Research questions
- RQ1Can a parameter-free, architecture-agnostic representation be designed to reveal backdoor characteristics in CNNs?
- RQ2How effective is the one-pixel signature in detecting backdoors across diverse CNN architectures and datasets?
- RQ3To what extent can the method generalize to unseen architectures and backdoor patterns?
- RQ4How does the method perform under low-data regimes and complex attack patterns like all-to-one or all-to-all backdoors?
Key findings
- The one-pixel signature achieves a 30% absolute improvement in backdoor detection accuracy over existing methods like Neural Cleanse and ABS.
- On MNIST, the detector generalizes across architectures with an average detection rate of 80%, even when testing on models of unknown architecture.
- With only 25 clean and 25 backdoored model pairs, the method achieves ~95% detection accuracy on MNIST, and 87.31% on GTSRB with 175 pairs.
- Using individual channels of the one-pixel signature as training samples increases data efficiency, achieving 97% detection on GTSRB with only 100 training pairs.
- The method maintains over 95% detection success on all-to-one and all-to-all backdoor attacks, outperforming Neural Cleanse and ABS, which achieve only ~50% success.
- Setting the default image $I_o$ to zero (black image) yields the best empirical performance and avoids the need for access to training data.
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.