AdvQDet: Detecting Query-Based Adversarial Attacks with Adversarial Contrastive Prompt Tuning
Not on the map. Why?
Abstract (arXiv)
Deep neural networks (DNNs) are known to be vulnerable to adversarial attacks even under a black-box setting where the adversary can only query the model. Particularly, query-based black-box adversarial attacks estimate adversarial gradients based on the returned probability vectors of the target model for a sequence of queries. During this process, the queries made to the target model are intermediate adversarial examples crafted at the previous attack step, which share high similarities in the pixel space. Motivated by this observation, stateful detection methods have been proposed to detect and reject query-based attacks. While demonstrating promising results, these methods either have been evaded by more advanced attacks or suffer from low efficiency in terms of the number of shots (queries) required to detect different attacks. Arguably, the key challenge here is to assign high similarity scores for any two intermediate adversarial examples perturbed from the same clean image. To address this challenge, we propose a novel Adversarial Contrastive Prompt Tuning (ACPT) method to robustly fine-tune the CLIP image encoder to extract similar embeddings for any two intermediate adversarial queries. With ACPT, we further introduce a detection framework AdvQDet that can detect 7 state-of-the-art query-based attacks with >99% detection rate within 5 shots. We also show that ACPT is robust to 3 types of adaptive attacks. Code is available at https://github.com/xinwong/AdvQDet.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 53 of its 72 references that are in the map. First posted on arXiv 4 Aug 2024.
Builds on
53 of 72 references.
References · 53
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2023Visual Instruction Tuningcited by 7,792
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2023BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelscited by 6,069
- 2013Intriguing properties of neural networkscited by 5,114
38 more
- 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,310
- 2023MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language Modelscited by 2,689
- 2017Billion-scale similarity search with GPUscited by 2,477
- 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,510
- 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,442
- 2019Square Attack: a query-efficient black-box adversarial attack via random searchcited by 682
- 2017ZOO: Zeroth Order Optimization based Black-box Attacks to Deep Neural Networks without Training Substitute Modelscited by 656
- 2018Black-box Adversarial Attacks with Limited Queries and Informationcited by 499
- 2017Feature Squeezing: Detecting Adversarial Examples in Deep Neural Networkscited by 484
- 2017Decision-Based Adversarial Attacks: Reliable Attacks Against Black-Box Machine Learning Modelscited by 459
- 2019HopSkipJumpAttack: A Query-Efficient Decision-Based Attackcited by 328
- 2023On Evaluating Adversarial Robustness of Large Vision-Language Modelscited by 281
- 2018Characterizing Adversarial Subspaces Using Local Intrinsic Dimensionalitycited by 280
- 2018Adversarial Robustness Toolbox v1.0.0cited by 214
- 2020Skip Connections Matter: On the Transferability of Adversarial Examples Generated with ResNetscited by 165
- 2018PRADA: Protecting against DNN Model Stealing Attackscited by 159
- 2019Understanding Adversarial Attacks on Deep Learning Based Medical Image Analysis Systemscited by 151
- 2020Robust Pre-Training by Adversarial Contrastive Learningcited by 144
- 2020Adversarial Self-Supervised Contrastive Learningcited by 138
- 2018AutoZOOM: Autoencoder-based Zeroth Order Optimization Method for Attacking Black-box Neural Networkscited by 137
- 2018Query-Efficient Hard-label Black-box Attack:An Optimization-based Approachcited by 130
- 2021On the Convergence and Robustness of Adversarial Trainingcited by 127
- 2019Sign-OPT: A Query-Efficient Hard-label Adversarial Attackcited by 118
- 2020QEBA: Query-Efficient Boundary-Based Blackbox Attackcited by 103
- 2020The Cost of Training NLP Models: A Concise Overviewcited by 97
- 2020RayS: A Ray Searching Method for Hard-label Adversarial Attackcited by 94
- 2020Contrastive Learning with Adversarial Examplescited by 91
- 2021Improving Adversarial Robustness via Channel-wise Activation Suppressingcited by 76
- 2021When Does Contrastive Learning Preserve Adversarial Robustness from Pretraining to Finetuning?cited by 76
- 2019Adversarial Objects Against LiDAR-Based Autonomous Driving Systemscited by 62
- 2020SurFree: a fast surrogate-free black-box attackcited by 59
- 2019Black-box Adversarial Attacks on Video Recognition Modelscited by 58
- 2019Stateful Detection of Black-Box Adversarial Attackscited by 55
- 2023Adversarial Prompt Tuning for Vision-Language Modelscited by 42
- 2020Blacklight: Scalable Defense for Neural Networks against Query-Based Black-Box Attackscited by 34
- 2023Rethinking the Effect of Data Augmentation in Adversarial Contrastive Learningcited by 20
- 2023Efficient Adversarial Contrastive Learning via Robustness-Aware Coreset Selectioncited by 14
- 2020Imbalanced Gradients: A Subtle Cause of Overestimated Adversarial Robustnesscited by 11
50 most cited of 53 All 53 (JSON)
Built on by
Citing papers per year: 2024: 1; 2025: 5; 2026: 1.
7 papers.
- 2024TAPT: Test-Time Adversarial Prompt Tuning for Robust Inference in Vision-Language Modelscited by 22
- 2025X-Transfer Attacks: Towards Super Transferable Adversarial Attacks on CLIPcited by 21
- 2025FreezeVLA: Action-Freezing Attacks against Vision-Language-Action Modelscited by 19
- 2025Adversarially Pretrained Transformers May Be Universally Robust In-Context Learnerscited by 2
- 2025Non-Adaptive Adversarial Face Generationcited by 2
- 2025TTP: Test-Time Padding for Adversarial Detection and Robust Adaptation on Vision-Language Modelscited by 2
- 2026TAME: Test-Time Adversarial Prompt Tuning via Mixture-of-Experts for Vision-Language Modelscited by 0
- 2026TAME: Test-Time Adversarial Prompt Tuning via Mixture-of-Experts for Vision-Language Models17 May 2026
- 2025TTP: Test-Time Padding for Adversarial Detection and Robust Adaptation on Vision-Language Models18 Dec 2025
- 2025FreezeVLA: Action-Freezing Attacks against Vision-Language-Action Models24 Sep 2025
- 2025Non-Adaptive Adversarial Face Generation16 Jul 2025
- 2025Adversarially Pretrained Transformers May Be Universally Robust In-Context Learners20 May 2025
- 2025X-Transfer Attacks: Towards Super Transferable Adversarial Attacks on CLIP8 May 2025
- 2024TAPT: Test-Time Adversarial Prompt Tuning for Robust Inference in Vision-Language Models20 Nov 2024