scimeatlas

Research map / Adversarial robustness and security / Attacks on text and graphs

SemAttack: Natural Textual Attacks via Different Semantic Spaces

Boxin Wang, Chejian Xu, Xiangyu Liu, Yu Cheng, Bo Li

NAACL 2022Adversarial robustness and security › Attacks on text and graphsapproach: Adversarial prompts for language modelsopen problems in this approach96 citations (OpenAlex)

University of Illinois, Urbana Champaign · Alibaba Group · Microsoft

Read the paperPlace an idea next to itCheck your own paper ↗

13measured effects
8improved
2no clear effect
3hurt

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
combine typo, knowledge and contextualized spaces (+all) instead of single space (ablation)SemAttack · Yelp whitebox, BERTuntargeted success rate (%): 91.3 -> 97.6 (best single space F_C -> all)Improved
use SemAttack (+all) instead of HotFlipBERT · Yelp whiteboxuntargeted success rate (%): 71.5 -> 97.6Improved
typo space alone (ablation)SemAttack · Yelp whitebox, BERTuntargeted success rate (%): 71.5 -> 42.4 (vs HotFlip)Hurt
use SemAttack (+all) in the blackbox transfer setting vs BERT-ATTACK on BERTSemAttack · Yelp blackbox, BERTuntargeted success rate (%)Hurt
scale DeBERTa from Large to XXLarge-v2DeBERTa · SNLI zero-query blackboxuntargeted success rate (%): 88.1 -> 90.5 (SemAttack +F_T)No clear effect
FreeLB defense trainingDeBERTa-style classifiers · SNLI zero-query blackboxuntargeted success rate (%): 88.1 -> 71.4 (SemAttack +F_T, DeBERTa Large vs FreeLB)Improved
Self-Attention LSTM instead of BERTvictim model · Yelp whiteboxuntargeted success rate (%): 97.6 -> 88.1 (lower success is more robust)Improved
use l2 norm instead of l1 norm in attack loss (ablation)SemAttack · THUCTC targetedtargeted success rate: 0.797 -> 0.945Improved
choose technology news as the target class rather than next class index (ablation)SemAttack · THUCTC targetedtargeted success rate: 0.903 -> 0.945Improved
increase perturbation search space size K (ablation)SemAttack · English and Chineseattack success rateImproved
use SemAttack instead of BERT-ATTACK for text qualityadversarial text · YelpPPL / BertScore: PPL 31.4 -> 34.4; BertScore 0.92 -> 0.91Hurt
use SemAttack instead of HotFlip for human-rated language qualityadversarial text · THUNewshuman rating: 3.770 -> 3.846Improved

Earlier methods this paper compares with

Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.

Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.

Open problems in adversarial prompts for language models

Do adversarial-prompt attacks and defenses for language models hold on closed models, other languages, multi-turn use and adaptive opponents?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy