A Strong Baseline for Query Efficient Attacks in a Black Box Setting
Abstract
Existing black box search methods have achieved high success rate in generating adversarial attacks against NLP models. However, such search methods are inefficient as they do not consider the amount of queries required to generate adversarial attacks. Also, prior attacks do not maintain a consistent search space while comparing different search methods. In this paper, we propose a query efficient attack strategy to generate plausible adversarial examples on text classification and entailment tasks. Our attack jointly leverages attention mechanism and locality sensitive hashing (LSH) to reduce the query count. We demonstrate the efficacy of our approach by comparing our attack with four baselines across three different search spaces. Further, we benchmark our results across the same search space used in prior attacks. In comparison to attacks proposed, on an average, we are able to reduce the query count by 75% across all datasets and target models. We also demonstrate that our attack achieves a higher success rate when compared to prior attacks in a limited query setting.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
6 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Query-Efficient and Scalable Black-Box Adversarial Attacks on Discrete Sequential Data via Bayesian Optimization cites Word-level Textual Adversarial Attacking as Combinatorial Optimization
- HQA-Attack: Toward High Quality Black-Box Hard-Label Adversarial Attack on Text cites TextBugger: Generating Adversarial Text Against Real-world Applications
- HQA-Attack: Toward High Quality Black-Box Hard-Label Adversarial Attack on Text cites Query-Efficient and Scalable Black-Box Adversarial Attacks on Discrete Sequential Data via Bayesian Optimization
- HQA-Attack: Toward High Quality Black-Box Hard-Label Adversarial Attack on Text cites Word-level Textual Adversarial Attacking as Combinatorial Optimization
- HQA-Attack: Toward High Quality Black-Box Hard-Label Adversarial Attack on Text cites Generating Natural Language Attacks in a Hard Label Black Box Setting
- Generating Natural Language Attacks in a Hard Label Black Box Setting cites TextBugger: Generating Adversarial Text Against Real-world Applications
- Generating Natural Language Attacks in a Hard Label Black Box Setting cites Word-level Textual Adversarial Attacking as Combinatorial Optimization
- An extensive study on pre-trained models for program understanding and generation cites Generating Natural Language Attacks in a Hard Label Black Box Setting
Cited by top-tier papers6
- An extensive study on pre-trained models for program understanding and generationZhengran Zeng, Hanzhuo Tan, Haotian Zhang, Jing Li et al.ISSTA 2022 · 142 citations
- Query-Efficient and Scalable Black-Box Adversarial Attacks on Discrete Sequential Data via Bayesian OptimizationDeokjae Lee, Seungyong Moon, Junhyeok Lee, Hyun Oh SongICML 2022 · 52 citations
- Boosting Black-Box Attack with Partially Transferred Conditional Adversarial DistributionYan Feng, Baoyuan Wu, Yanbo Fan, Li Liu et al.CVPR 2022 · 34 citations
- HQA-Attack: Toward High Quality Black-Box Hard-Label Adversarial Attack on TextHan Liu, Zhi Xu, Xiaotong Zhang, Feng Zhang et al.NeurIPS 2023 · 32 citations
- RMLM: A Flexible Defense Framework for Proactively Mitigating Word-level Adversarial AttacksZhaoyang Wang, Zhiyue Liu, Xiaopeng Zheng, Qinliang Su et al.ACL 2023 · 16 citations
Builds on4
- Reformer: The Efficient TransformerNikita Kitaev, Lukasz Kaiser, Anselm LevskayaICLR 2020 · 2,878 citations
- TextBugger: Generating Adversarial Text Against Real-world ApplicationsJinfeng Li, Shouling Ji, Tianyu Du, Bo Li et al.NDSS 2019 · 876 citations
- Word-level Textual Adversarial Attacking as Combinatorial OptimizationYuan Zang, Fanchao Qi, Chenghao Yang, Zhiyuan Liu et al.ACL 2020 · 188 citations
- Generating Natural Language Attacks in a Hard Label Black Box SettingRishabh Maheshwary, Saket Maheshwary, Vikram PudiAAAI 2021 · 128 citations
Related papers
- Overcoming Black-box Attack Inefficiency with Hybrid and Dynamic Select AlgorithmsAbhinay Shankar Belde, Rohit Ramkumar, Jonathan RusertEMNLP Findings 2025 · 1 citation
- Adversarial Text Generation by Search and LearningGuoyi Li, Bingkang Shi, Zongzhen Liu, Dehan Kong et al.EMNLP Findings 2023 · 14 citations
- BayesOpt Adversarial AttackBinxin Ru, Adam D. Cobb, Arno Blaas, Yarin GalICLR 2020 · 85 citations
- Revisiting Character-level Adversarial Attacks for Language ModelsElías Abad-Rocamora, Yongtao Wu, Fanghui Liu, Grigorios Chrysos et al.ICML 2024 · 1 citation
- Black-Box Adversarial Attack with Transferable Model-based EmbeddingZhichao Huang, Tong ZhangICLR 2020 · 131 citations
