scimeatlas

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

On the Robustness of Language Encoders against Grammatical Errors

Fan Yin, Quanyu Long, Tao Meng, Kai-Wei Chang

ACL 2020Adversarial robustness and security › Attacks on text and graphsapproach: Adversarial prompts for language modelsopen problems in this approach46 citations (OpenAlex)

Peking University · Shanghai Jiao Tong University · University of California, Los Angeles

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

12measured effects
5improved
2no clear effect
5hurt

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
use worst-case (greedy) attack instead of probabilistic transformationBERT · MRPCattack success rate: 3.69 -> 31.25Hurt
use RoBERTa instead of BERT (more pre-training data)encoder · downstream tasks (greedy)attack success rate: 26.03 -> 20.28 (average)Improved
replace pre-trained encoder with InferSent baselineencoder · NLU tasksattack success rate: 36.07 (InferSent) vs 20.28 (RoBERTa) averageHurt
use genetic algorithm instead of greedy search (ablation)BERT · MRPCattack success rate: 31.25 -> 59.01Hurt
use beam search instead of greedy search (ablation)BERT · MRPCattack success rate: 31.25 -> 31.81No clear effect
increase allowed modifications from 15% to 45% of tokens (ablation)greedy attack · MNLI-mattack success rate: about 70 at ~20% error rateHurt
word-choice (Wchoice) errors vs other error types (ablation)BERT/RoBERTa · MRPC, MNLI-m, SST-2times chosen in attacks: BERT MNLI 1129 vs Worder 62Hurt
use contextual encoder layers instead of input embeddings for error detectionprobing classifier · sentence-level acceptabilityaccuracy: 64.7 -> 87.8 (BERT)Improved
use contextual encoder layers instead of input embeddings for locating errorsprobing classifier · token-level error locationaccuracy: 48.6 -> 79.3 (BERT)Improved
use middle layers (7-9) of BERT instead of lower or higher layersprobing classifier · acceptabilityaccuracyImproved
add grammatical-error adversarial examples to training data (ablation)BERT · MRPC corrupted devaccuracy: 46 -> 82Improved
add adversarial augmentation (ablation)BERT · MRPC original devaccuracyNo clear effect

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