[Paper Review] SCALE-UP: An Efficient Black-box Input-level Backdoor Detection via Analyzing Scaled Prediction Consistency
SCALE-UP detects backdoor inputs in black-box MLaaS settings by measuring scaled prediction consistency (SPC) of amplified inputs, under data-free and data-limited scenarios, with theoretical support and strong empirical results.
Deep neural networks (DNNs) are vulnerable to backdoor attacks, where adversaries embed a hidden backdoor trigger during the training process for malicious prediction manipulation. These attacks pose great threats to the applications of DNNs under the real-world machine learning as a service (MLaaS) setting, where the deployed model is fully black-box while the users can only query and obtain its predictions. Currently, there are many existing defenses to reduce backdoor threats. However, almost all of them cannot be adopted in MLaaS scenarios since they require getting access to or even modifying the suspicious models. In this paper, we propose a simple yet effective black-box input-level backdoor detection, called SCALE-UP, which requires only the predicted labels to alleviate this problem. Specifically, we identify and filter malicious testing samples by analyzing their prediction consistency during the pixel-wise amplification process. Our defense is motivated by an intriguing observation (dubbed scaled prediction consistency) that the predictions of poisoned samples are significantly more consistent compared to those of benign ones when amplifying all pixel values. Besides, we also provide theoretical foundations to explain this phenomenon. Extensive experiments are conducted on benchmark datasets, verifying the effectiveness and efficiency of our defense and its resistance to potential adaptive attacks. Our codes are available at https://github.com/JunfengGo/SCALE-UP.
Motivation & Objective
- Reveal a prediction-consistency phenomenon (scaled prediction consistency) that distinguishes poisoned from benign samples when pixel values are amplified.
- Provide a theoretical explanation for scaled prediction consistency.
- Propose SCALE-UP as a black-box input-level backdoor detector usable in data-free and data-limited settings.
- Demonstrate effectiveness and efficiency through extensive experiments and assess resistance to adaptive attacks.
Proposed method
- Investigate pixel-wise amplification and its effect on predictions for benign and poisoned inputs under attacked models.
- Define scaled prediction consistency (SPC) as the proportion of scaled images whose predicted labels match the original input's label.
- Develop data-free SCALE-UP: compute SPC for a suspicious input using a predefined scaling set and classify based on a threshold.
- Extend to data-limited SCALE-UP by normalizing SPC with class-wise mean and stddev derived from a small benign sample set to reduce class-difference effects.
- Provide theoretical support via a neural tangent kernel (NTK) inspired analysis to justify scaled prediction consistency.
- Evaluate under six representative backdoor attacks on CIFAR-10 and Tiny ImageNet with comparisons to other black-box defenses.
Experimental results
Research questions
- RQ1Can poisoned and benign samples be distinguished by how their predictions behave under pixel-wise amplification in black-box settings?
- RQ2Does scaled prediction consistency provide a robust, data-efficient signal to detect backdoors without model access?
- RQ3How can SCALE-UP be adapted to data-free and data-limited scenarios while maintaining efficiency and accuracy?
- RQ4Are advanced adaptive backdoor strategies able to circumvent SPC-based detection?
Key findings
- Poisoned samples exhibit more stable predictions under pixel-wise amplification than benign samples on attacked models (scaled prediction consistency).
- SCALE-UP achieves high AUROC across multiple attacks and datasets, outperforming several baselines, including methods requiring probability vectors.
- Data-free SCALE-UP uses SPC to identify malicious inputs with a defender-chosen threshold, while data-limited SCALE-UP normalizes SPC using class-wise benign statistics to improve precision.
- SCALE-UP remains effective against patch-based and non-patch-based backdoors and shows resilience to adaptive attacks (except a strong regularization-adaptive attack, which can be mitigated by adding small random noise).
- Inference time overhead is modest, with SCALE-UP generally faster than many baselines and only slightly slower than standard inference.
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.