paper-with-me

홈 › Papers

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 text classification and entailment tasks. Our proposed attack strategy leverages population-based optimization algorithm to craft plausible and semantically similar adversarial examples by observing only the top label predicted by the target model. At each iteration, the optimization procedure allow word replacements that maximizes the overall semantic similarity between the original and the adversarial text. Further, our approach does not rely on using substitute models or any kind of training data. We demonstrate the efficacy of our proposed approach through extensive experimentation and ablation studies on five state-of-the-art target models across seven benchmark datasets. In comparison to attacks proposed in prior literature, we are able to achieve a higher success rate with lower word perturbation percentage that too in a highly restricted setting.

📄 PDF Abstract BibTeX arXiv:2012.14956

Code (3)

RishabhMaheshwary/hard-label-attack 공식 구현 pytorch
jhl-hust/texthacker pytorch
zhuhai-ustc/limeattack pytorch

Tasks

Adversarial TextSemantic SimilaritySemantic Textual Similaritytext-classificationText Classification

Similar Papers 제목 키워드 기반

Learning-based Memetic Algorithm for Hard-label Textual Attack

2021-10-16 · ACL ARR October 2021 10 · Anonymous

Deep neural networks are widely known to be vulnerable to adversarial examples in Natural Language Processing. However, existing textual adversarial attacks usually utilize the gradient or prediction confidence to genera…

Combinatorial OptimizationHard-label AttackNatural Language Inferencetext-classification+1

Self-Supervised Contrastive Learning with Adversarial Perturbations for Defending Word Substitution-based Attacks

2021-07-15 · Findings (NAACL) 2022 7 · Zhao Meng, Yihan Dong, Mrinmaya Sachan, Roger Wattenhofer

In this paper, we present an approach to improve the robustness of BERT language models against word substitution-based adversarial attacks by leveraging adversarial perturbations for self-supervised contrastive learning…

Adversarial AttackContrastive LearningLanguage Modelling

GRAPHITE: Generating Automatic Physical Examples for Machine-Learning Attacks on Computer Vision Systems

2020-02-17 · Ryan Feng, Neal Mangaokar, Jiefeng Chen, Earlence Fernandes 외

This paper investigates an adversary's ease of attack in generating adversarial examples for real-world scenarios. We address three key requirements for practical attacks for the real-world: 1) automatically constraining…

BIG-bench Machine LearningGeneral ClassificationLicense Plate Recognition

Attention-Enhancing Backdoor Attacks Against BERT-based Models

2023-10-23 · Weimin Lyu, Songzhu Zheng, Lu Pang, Haibin Ling 외

Recent studies have revealed that \textit{Backdoor Attacks} can threaten the safety of natural language processing (NLP) models. Investigating the strategies of backdoor attacks will help to understand the model's vulner…

Sentiment AnalysisTopic Classification

On the Hardness of Junking LLMs

2026-05-06 · Marco Rando, Samuel Vaiter arxiv

Large language models (LLMs) are known to be vulnerable to jailbreak attacks, which typically rely on carefully designed prompts containing explicit semantic structure. These attacks generally operate by fixing an advers…