[Paper Review] Random Noise Defense Against Query-Based Black-Box Attacks
This paper proposes Random Noise Defense (RND), a lightweight, plug-and-play defense that adds Gaussian noise at inference time to disrupt query-based black-box attacks. Theoretical analysis shows defense effectiveness hinges on the noise magnitude ratio between RND and attacker-induced noise, with RND-GF—RND combined with Gaussian augmentation fine-tuning—achieving up to 23.1% higher robust accuracy than adversarial training alone while preserving clean accuracy.
The query-based black-box attacks have raised serious threats to machine learning models in many real applications. In this work, we study a lightweight defense method, dubbed Random Noise Defense (RND), which adds proper Gaussian noise to each query. We conduct the theoretical analysis about the effectiveness of RND against query-based black-box attacks and the corresponding adaptive attacks. Our theoretical results reveal that the defense performance of RND is determined by the magnitude ratio between the noise induced by RND and the noise added by the attackers for gradient estimation or local search. The large magnitude ratio leads to the stronger defense performance of RND, and it's also critical for mitigating adaptive attacks. Based on our analysis, we further propose to combine RND with a plausible Gaussian augmentation Fine-tuning (RND-GF). It enables RND to add larger noise to each query while maintaining the clean accuracy to obtain a better trade-off between clean accuracy and defense performance. Additionally, RND can be flexibly combined with the existing defense methods to further boost the adversarial robustness, such as adversarial training (AT). Extensive experiments on CIFAR-10 and ImageNet verify our theoretical findings and the effectiveness of RND and RND-GF.
Motivation & Objective
- To develop a lightweight, efficient defense against query-based black-box attacks that does not degrade clean accuracy.
- To theoretically analyze the effectiveness of random noise defense (RND) against both standard and adaptive query-based attacks.
- To address the trade-off between robustness and clean accuracy by enabling larger noise injection without performance degradation.
- To design a plug-and-play defense that can be combined with existing methods like adversarial training to further improve robustness.
- To empirically validate the theoretical findings and demonstrate the superiority of RND and RND-GF across CIFAR-10 and ImageNet.
Proposed method
- RND injects Gaussian noise at inference time to disrupt gradient estimation and random search in query-based attacks.
- The defense effectiveness is theoretically linked to the magnitude ratio between RND noise and attacker noise in gradient estimation or search.
- RND-GF combines RND with lightweight Gaussian augmentation fine-tuning to allow larger noise injection while preserving clean accuracy.
- Theoretical analysis confirms that even adaptive attacks like EOT are limited in evading RND when the noise magnitude ratio is sufficiently large.
- RND is designed to be plug-and-play, enabling seamless integration with existing defenses such as adversarial training (AT).
- Experiments evaluate RND and RND-GF on CIFAR-10 and ImageNet using multiple state-of-the-art query-based attacks, including Square, Bandit, and SimBA.
Experimental results
Research questions
- RQ1How does the magnitude ratio between RND-induced noise and attacker-induced noise affect defense performance?
- RQ2Can RND effectively mitigate adaptive attacks such as the Expectation of Perturbations (EOT) method?
- RQ3Can RND be combined with existing defenses like adversarial training to further improve robustness?
- RQ4Does RND-GF achieve a better trade-off between clean accuracy and adversarial robustness compared to standard RND?
- RQ5How does RND perform against diverse query-based attack strategies, including score-based and search-based methods?
Key findings
- RND achieves up to 23.1% higher robust accuracy than adversarial training alone when combined with AT on CIFAR-10 and ImageNet.
- RND-GF maintains high clean accuracy (e.g., 71.15% on CIFAR-10) while significantly improving defense performance, especially against ZO and search-based attacks.
- Against the Square attack, RND-AT improves robust accuracy by 23.1% on CIFAR-10 and 22.7% on ImageNet compared to AT alone.
- RND reduces the success rate of Bandit, SimBA, and ECO attacks and increases the number of queries required, demonstrating strong resistance to adaptive strategies.
- The theoretical prediction that a large noise magnitude ratio enhances defense is empirically validated, with RND-GF enabling larger noise without accuracy drop.
- RND is effective across diverse attack types and remains robust even when combined with other defenses, confirming its plug-and-play nature and generalizability.
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.