CRCLDec 13, 2024

BinarySelect to Improve Accessibility of Black-Box Attack Research

arXiv:2412.10617v119 citationsh-index: 4COLING
Originality Incremental advance
AI Analysis

This incremental improvement addresses the problem of resource-intensive attack research for NLP researchers, particularly those with limited computational resources.

The paper tackles the high computational cost of black-box adversarial text attacks on transformer models by proposing BinarySelect, a method that reduces the number of queries needed to find a token from n to log2(n)*2, achieving a 32% query reduction on the Yelp dataset with only a 5-point drop in attack effectiveness.

Adversarial text attack research is useful for testing the robustness of NLP models, however, the rise of transformers has greatly increased the time required to test attacks. Especially when researchers do not have access to adequate resources (e.g. GPUs). This can hinder attack research, as modifying one example for an attack can require hundreds of queries to a model, especially for black-box attacks. Often these attacks remove one token at a time to find the ideal one to change, requiring $n$ queries (the length of the text) right away. We propose a more efficient selection method called BinarySelect which combines binary search and attack selection methods to greatly reduce the number of queries needed to find a token. We find that BinarySelect only needs $\text{log}_2(n) * 2$ queries to find the first token compared to $n$ queries. We also test BinarySelect in an attack setting against 5 classifiers across 3 datasets and find a viable tradeoff between number of queries saved and attack effectiveness. For example, on the Yelp dataset, the number of queries is reduced by 32% (72 less) with a drop in attack effectiveness of only 5 points. We believe that BinarySelect can help future researchers study adversarial attacks and black-box problems more efficiently and opens the door for researchers with access to less resources.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes