Blacklight: Scalable Defense for Neural Networks against Query-Based Black-Box Attacks
Not on the map. Why?
Abstract (arXiv)
Deep learning systems are known to be vulnerable to adversarial examples. In particular, query-based black-box attacks do not require knowledge of the deep learning model, but can compute adversarial examples over the network by submitting queries and inspecting returns. Recent work largely improves the efficiency of those attacks, demonstrating their practicality on today's ML-as-a-service platforms. We propose Blacklight, a new defense against query-based black-box adversarial attacks. The fundamental insight driving our design is that, to compute adversarial examples, these attacks perform iterative optimization over the network, producing image queries highly similar in the input space. Blacklight detects query-based black-box attacks by detecting highly similar queries, using an efficient similarity engine operating on probabilistic content fingerprints. We evaluate Blacklight against eight state-of-the-art attacks, across a variety of models and image classification tasks. Blacklight identifies them all, often after only a handful of queries. By rejecting all detected queries, Blacklight prevents any attack to complete, even when attackers persist to submit queries after account ban or query rejection. Blacklight is also robust against several powerful countermeasures, including an optimal black-box attack that approximates white-box attacks in efficiency. Finally, we illustrate how Blacklight generalizes to other domains like text classification.
Key facts. Cited by 34 papers in the map (data through 7 Oct 2026). First posted on arXiv 24 Jun 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 2; 2023: 14; 2024: 6; 2025: 6; 2026: 6.
34 papers.
Sort:
By area:
- 2024LLM Whisperer: An Inconspicuous Attack to Bias LLM Responsescited by 15
- 2023Defenses in Adversarial Machine Learning: A Surveycited by 14
- 2023Evading Black-box Classifiers Without Breaking Eggscited by 13
- 2024OSLO: One-Shot Label-Only Membership Inference Attackscited by 11
- 2023Stateful Defenses for Machine Learning Models Are Not Yet Secure Against Black-box Attackscited by 10
- 2023Efficient Query-Based Attack against ML-Based Android Malware Detection under Zero Knowledge Settingcited by 10
- 2023Improving the Robustness of Transformer-based Large Language Models with Dynamic Attentioncited by 10
- 2023MalProtect: Stateful Defense Against Adversarial Query Attacks in ML-based Malware Detectioncited by 8
- 2025Benchmarking Misuse Mitigation Against Covert Adversariescited by 8
- 2024AdvQDet: Detecting Query-Based Adversarial Attacks with Adversarial Contrastive Prompt Tuningcited by 7
- 2025Your Compiler is Backdooring Your Model: Understanding and Exploiting Compilation Inconsistency Vulnerabilities in Deep Learning Compilerscited by 6
- 2023Certifiable Black-Box Attacks with Randomized Adversarial Examples: Breaking Defenses with Provable Confidencecited by 5
22 more
- 2025Unified Prompt Attack Against Text-to-Image Generation Modelscited by 5
- 2023The Adaptive Arms Race: Redefining Robustness in AI Securitycited by 4
- 2022Publishing Efficient On-device Models Increases Adversarial Vulnerabilitycited by 3
- 2023Understanding the Robustness of Randomized Feature Defense Against Query-Based Adversarial Attackscited by 3
- 2024Exploring the Adversarial Frontier: Quantifying Robustness via Adversarial Hypervolumecited by 3
- 2024BadPart: Unified Black-box Adversarial Patch Attacks against Pixel-wise Regression Taskscited by 3
- 2023Theoretically Principled Trade-off for Stateful Defenses against Query-Based Black-Box Attackscited by 2
- 2023Towards Deep Learning Models Resistant to Transfer-based Adversarial Attacks via Data-centric Robust Learningcited by 2
- 2026When AI reviews science: Can we trust the referee?cited by 2
- 2022Fabricated Flips: Poisoning Federated Learning without Datacited by 1
- 2023Efficient Representation of the Activation Space in Deep Neural Networkscited by 1
- 2024Taking off the Rose-Tinted Glasses: A Critical Look at Adversarial ML Through the Lens of Evasion Attackscited by 1
- 2025Adversarial Examples in Environment Perception for Automated Driving (Review)cited by 1
- 2025On the Feasibility of Poisoning Text-to-Image AI Models via Adversarial Mislabelingcited by 1
- 2026Grounding-Driven Attack: Improving Encoder-based Adversarial Transferability against Large Vision-Language Modelscited by 1
- 2023Effectiveness of Moving Target Defenses for Adversarial Attacks in ML-based Malware Detectioncited by 0
- 2023SEA: Shareable and Explainable Attribution for Query-based Black-box Attackscited by 0
- 2025How stealthy is stealthy? Studying the Efficacy of Black-Box Adversarial Attacks in the Real Worldcited by 0
- 2026Low-Cost Hard-Label Adversarial Attack with Theoretical Foundationscited by 0
- 2026LAMP: Learning Universal Adversarial Perturbations for Multi-Image Tasks via Pre-trained Modelscited by 0
- 2026Breaking High Confidence: Practical Face Impersonation under High-Security Thresholdscited by 0
- 2026The Safeguard Worked. Is the LLM System Safer?cited by 0
- 2026The Safeguard Worked. Is the LLM System Safer?1 Sep 2026
- 2026Breaking High Confidence: Practical Face Impersonation under High-Security Thresholds21 Aug 2026
- 2026When AI reviews science: Can we trust the referee?26 Apr 2026
- 2026Grounding-Driven Attack: Improving Encoder-based Adversarial Transferability against Large Vision-Language Models10 Feb 2026
- 2026LAMP: Learning Universal Adversarial Perturbations for Multi-Image Tasks via Pre-trained Models29 Jan 2026
- 2026Low-Cost Hard-Label Adversarial Attack with Theoretical Foundations17 Jan 2026
- 2025Your Compiler is Backdooring Your Model: Understanding and Exploiting Compilation Inconsistency Vulnerabilities in Deep Learning Compilers14 Sep 2025
- 2025On the Feasibility of Poisoning Text-to-Image AI Models via Adversarial Mislabeling27 Jun 2025
- 2025Benchmarking Misuse Mitigation Against Covert Adversaries6 Jun 2025
- 2025How stealthy is stealthy? Studying the Efficacy of Black-Box Adversarial Attacks in the Real World3 Jun 2025
- 2025Adversarial Examples in Environment Perception for Automated Driving (Review)11 Apr 2025
- 2025Unified Prompt Attack Against Text-to-Image Generation Models23 Feb 2025
22 more
- 2024Taking off the Rose-Tinted Glasses: A Critical Look at Adversarial ML Through the Lens of Evasion Attacks15 Oct 2024
- 2024AdvQDet: Detecting Query-Based Adversarial Attacks with Adversarial Contrastive Prompt Tuning4 Aug 2024
- 2024LLM Whisperer: An Inconspicuous Attack to Bias LLM Responses7 Jun 2024
- 2024OSLO: One-Shot Label-Only Membership Inference Attacks27 May 2024
- 2024BadPart: Unified Black-box Adversarial Patch Attacks against Pixel-wise Regression Tasks1 Apr 2024
- 2024Exploring the Adversarial Frontier: Quantifying Robustness via Adversarial Hypervolume8 Mar 2024
- 2023The Adaptive Arms Race: Redefining Robustness in AI Security20 Dec 2023
- 2023Defenses in Adversarial Machine Learning: A Survey13 Dec 2023
- 2023Efficient Representation of the Activation Space in Deep Neural Networks13 Dec 2023
- 2023Improving the Robustness of Transformer-based Large Language Models with Dynamic Attention29 Nov 2023
- 2023Towards Deep Learning Models Resistant to Transfer-based Adversarial Attacks via Data-centric Robust Learning15 Oct 2023
- 2023Understanding the Robustness of Randomized Feature Defense Against Query-Based Adversarial Attacks1 Oct 2023
- 2023Efficient Query-Based Attack against ML-Based Android Malware Detection under Zero Knowledge Setting5 Sep 2023
- 2023SEA: Shareable and Explainable Attribution for Query-based Black-box Attacks23 Aug 2023
- 2023Theoretically Principled Trade-off for Stateful Defenses against Query-Based Black-Box Attacks30 Jul 2023
- 2023Evading Black-box Classifiers Without Breaking Eggs5 Jun 2023
- 2023Certifiable Black-Box Attacks with Randomized Adversarial Examples: Breaking Defenses with Provable Confidence10 Apr 2023
- 2023Stateful Defenses for Machine Learning Models Are Not Yet Secure Against Black-box Attacks11 Mar 2023
- 2023MalProtect: Stateful Defense Against Adversarial Query Attacks in ML-based Malware Detection21 Feb 2023
- 2023Effectiveness of Moving Target Defenses for Adversarial Attacks in ML-based Malware Detection1 Feb 2023
- 2022Publishing Efficient On-device Models Increases Adversarial Vulnerability28 Dec 2022
- 2022Fabricated Flips: Poisoning Federated Learning without Data7 Feb 2022
- 2025On the Feasibility of Poisoning Text-to-Image AI Models via Adversarial Mislabelingcited by 1
- 2026Grounding-Driven Attack: Improving Encoder-based Adversarial Transferability against Large Vision-Language Modelscited by 1
- 2026LAMP: Learning Universal Adversarial Perturbations for Multi-Image Tasks via Pre-trained Modelscited by 0
- 2026Grounding-Driven Attack: Improving Encoder-based Adversarial Transferability against Large Vision-Language Models10 Feb 2026
- 2026LAMP: Learning Universal Adversarial Perturbations for Multi-Image Tasks via Pre-trained Models29 Jan 2026
- 2025On the Feasibility of Poisoning Text-to-Image AI Models via Adversarial Mislabeling27 Jun 2025
- 2024OSLO: One-Shot Label-Only Membership Inference Attackscited by 11
- 2025Unified Prompt Attack Against Text-to-Image Generation Modelscited by 5
- 2025Unified Prompt Attack Against Text-to-Image Generation Models23 Feb 2025
- 2024OSLO: One-Shot Label-Only Membership Inference Attacks27 May 2024
- 2024LLM Whisperer: An Inconspicuous Attack to Bias LLM Responsescited by 15
- 2023Defenses in Adversarial Machine Learning: A Surveycited by 14
- 2023Evading Black-box Classifiers Without Breaking Eggscited by 13
- 2023Stateful Defenses for Machine Learning Models Are Not Yet Secure Against Black-box Attackscited by 10
- 2023Efficient Query-Based Attack against ML-Based Android Malware Detection under Zero Knowledge Settingcited by 10
- 2023Improving the Robustness of Transformer-based Large Language Models with Dynamic Attentioncited by 10
- 2023MalProtect: Stateful Defense Against Adversarial Query Attacks in ML-based Malware Detectioncited by 8
- 2025Benchmarking Misuse Mitigation Against Covert Adversariescited by 8
- 2024AdvQDet: Detecting Query-Based Adversarial Attacks with Adversarial Contrastive Prompt Tuningcited by 7
- 2025Your Compiler is Backdooring Your Model: Understanding and Exploiting Compilation Inconsistency Vulnerabilities in Deep Learning Compilerscited by 6
- 2023Certifiable Black-Box Attacks with Randomized Adversarial Examples: Breaking Defenses with Provable Confidencecited by 5
- 2023The Adaptive Arms Race: Redefining Robustness in AI Securitycited by 4
12 most cited of 29 All 29 (JSON)
- 2026The Safeguard Worked. Is the LLM System Safer?1 Sep 2026
- 2026Breaking High Confidence: Practical Face Impersonation under High-Security Thresholds21 Aug 2026
- 2026When AI reviews science: Can we trust the referee?26 Apr 2026
- 2026Low-Cost Hard-Label Adversarial Attack with Theoretical Foundations17 Jan 2026
- 2025Your Compiler is Backdooring Your Model: Understanding and Exploiting Compilation Inconsistency Vulnerabilities in Deep Learning Compilers14 Sep 2025
- 2025Benchmarking Misuse Mitigation Against Covert Adversaries6 Jun 2025
- 2025How stealthy is stealthy? Studying the Efficacy of Black-Box Adversarial Attacks in the Real World3 Jun 2025
- 2025Adversarial Examples in Environment Perception for Automated Driving (Review)11 Apr 2025
- 2024Taking off the Rose-Tinted Glasses: A Critical Look at Adversarial ML Through the Lens of Evasion Attacks15 Oct 2024
- 2024AdvQDet: Detecting Query-Based Adversarial Attacks with Adversarial Contrastive Prompt Tuning4 Aug 2024
- 2024LLM Whisperer: An Inconspicuous Attack to Bias LLM Responses7 Jun 2024
- 2024BadPart: Unified Black-box Adversarial Patch Attacks against Pixel-wise Regression Tasks1 Apr 2024
12 newest of 29 All 29 (JSON)