paper-with-me

홈 › Papers

HQA-Attack: Toward High Quality Black-Box Hard-Label Adversarial Attack on Text

2024-02-02 · NeurIPS 2023 11 · Han Liu, Zhi Xu, Xiaotong Zhang, Feng Zhang, Fenglong Ma, Hongyang Chen, Hong Yu, Xianchao Zhang

Black-box hard-label adversarial attack on text is a practical and challenging task, as the text data space is inherently discrete and non-differentiable, and only the predicted label is accessible. Research on this problem is still in the embryonic stage and only a few methods are available. Nevertheless, existing methods rely on the complex heuristic algorithm or unreliable gradient estimation strategy, which probably fall into the local optimum and inevitably consume numerous queries, thus are difficult to craft satisfactory adversarial examples with high semantic similarity and low perturbation rate in a limited query budget. To alleviate above issues, we propose a simple yet effective framework to generate high quality textual adversarial examples under the black-box hard-label attack scenarios, named HQA-Attack. Specifically, after initializing an adversarial example randomly, HQA-attack first constantly substitutes original words back as many as possible, thus shrinking the perturbation rate. Then it leverages the synonym set of the remaining changed words to further optimize the adversarial example with the direction which can improve the semantic similarity and satisfy the adversarial condition simultaneously. In addition, during the optimizing procedure, it searches a transition synonym word for each changed word, thus avoiding traversing the whole synonym set and reducing the query number to some extent. Extensive experimental results on five text classification datasets, three natural language inference datasets and two real-world APIs have shown that the proposed HQA-Attack method outperforms other strong baselines significantly.

📄 PDF Abstract BibTeX arXiv:2402.01806

Code (1)

hqa-attack/hqaattack-demo 공식 구현 pytorch

Tasks

Adversarial AttackHard-label AttackNatural Language InferenceSemantic SimilaritySemantic Textual Similaritytext-classificationText Classification

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

Hard-Label Black-Box Attacks on 3D Point Clouds

2024-11-30 · Daizong Liu, Yunbo Tao, Pan Zhou, Wei Hu

With the maturity of depth sensors in various 3D safety-critical applications, 3D point cloud models have been shown to be vulnerable to adversarial attacks. Almost all existing 3D attackers simply follow the white-box o…

Simple and Efficient Hard Label Black-box Adversarial Attacks in Low Query Budget Regimes

2020-07-13 · Satya Narayan Shukla, Anit Kumar Sahu, Devin Willmott, J. Zico Kolter

We focus on the problem of black-box adversarial attacks, where the aim is to generate adversarial examples for deep learning models solely based on information limited to output label~(hard label) to a queried data inpu…

Bayesian Optimization

Hard-label based Small Query Black-box Adversarial Attack

2024-03-09 · Jeonghwan Park, Paul Miller, Niall McLaughlin

We consider the hard label based black box adversarial attack setting which solely observes predicted classes from the target model. Most of the attack methods in this setting suffer from impractical number of queries re…

Adversarial Attack

Policy-Driven Attack: Learning to Query for Hard-label Black-box Adversarial Examples

2021-01-01 · ICLR 2021 1 · Ziang Yan, Yiwen Guo, Jian Liang, ChangShui Zhang

To craft black-box adversarial examples, adversaries need to query the victim model and take proper advantage of its feedback. Existing black-box attacks generally suffer from high query complexity, especially when only …

image-classificationImage Classification

Generating Natural Language Attacks in a Hard Label Black Box Setting

2020-12-29 · Rishabh Maheshwary, Saket Maheshwary, Vikram Pudi

We study an important and challenging task of attacking natural language processing models in a hard label black box setting. We propose a decision-based attack strategy that crafts high quality adversarial examples on t…

Adversarial TextSemantic SimilaritySemantic Textual Similaritytext-classification+1