Blacklight: A scalable defense for neural networks against query-based black-box attacksBlacklight: Scalable Defense for Neural Networks against Query-Based Black-Box Attacks
Translation in progress — untranslated text is omitted.
The researchers propose Blacklight, a scalable neural network defense against query-based black-box adversarial attacks. Such attacks require no knowledge of the deep learning model and construct adversarial examples by submitting queries and observing the returns; their iterative optimization process produces highly similar image queries in input space. Based on this, Blacklight uses an efficient similarity engine based on probabilistic content fingerprints to detect highly similar queries, thereby identifying attacks. In evaluations against eight state-of-the-art attacks on multiple models and image classification tasks, Blacklight identified all attacks, often requiring only a small number of queries; after rejecting all detected queries, the attack cannot be completed even if the attacker continues submitting after the account is banned or queries are rejected. The method remains robust against multiple strong countermeasures, including the best black-box attack whose efficiency approaches that of white-box attacks, and can be generalized to other domains such as text classification.
- Query-based black-box attacks do not require model-internal knowledge and can generate adversarial examples through iterative queries, while existing account-level defenses (SD, PRADA) cannot stop persistent attackers who switch accounts and continue querying.
- The authors propose Blacklight: the iterative optimization of an attack produces queries that are highly similar in input space; the system performs salted pixel quantization on each query and computes a probabilistic content fingerprint, and if the fingerprint overlap exceeds a threshold, the query is judged an attack query and rejected.
- On MNIST, GTSRB, CIFAR10, and ImageNet, the detection rate against 8 attacks is 100%, most are detected within 2–8 queries, and the attack success rate after rejecting detected queries is 0%; the false positive rate is 0.37% on 1 million ImageNet queries.
- The authors note two limitations: it cannot defend against substitute-model attacks (it can be combined with EAT); and it relies on the assumption that attacks produce highly similar queries, which future attacks breaking this assumption could bypass. Adaptive attacks were evaluated only on 5 attacks and under partial settings.
Related papers
- No Free Efficiency: Revisiting the Trade-off Between Training Efficiency and Model VulnerabilityAnalysis / interpretabilityarXiv