scimeatlas

Research map / Adversarial robustness and security / Certified and empirical robustness

Don't sweat the small stuff, classify the rest: Sample Shielding to protect text classifiers against adversarial attacks

Jonathan Rusert, Padmini Srinivasan

NAACL 2022Adversarial robustness and security › Certified and empirical robustnessapproach: Attack evaluation and defense critiqueopen problems in this approach7 citations (OpenAlex)

University of Iowa

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

12measured effects
7improved
2no clear effect
2hurt
1mixed

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
apply Sample Shielding (word sampling, k=100, p=0.3)BERT/CNN/LSTM classifiers · IMDB, Yelp, AG News under TextFooler etc.accuracy under attack: e.g. BERT IMDB TextFooler 1 -> 78.1 (sentence)Improved
apply Sample Shieldingclassifiers · original (unattacked) textsaccuracy: within 7% of original accuracy; BERT IMDB 91.3 -> 91.5No clear effect
use word sampling instead of sentence sampling (ablation)CNN · IMDB, TextFooleraccuracy under attack: 55.3 -> 69.8Improved
use sentence sampling instead of word sampling (ablation)BERT · IMDB, TextFooleraccuracy under attack: 74.4 -> 78.1Improved
use word sampling instead of sentence sampling on short texts (ablation)CNN · AG News, TextFooleraccuracy under attack: 13.2 -> 77.3Improved
use shifting sampling instead of random sampling (ablation)Sample Shielding · main experimentsaccuracy: 10-20 points lowerHurt
replace majority voting with NN summarizer trained on original texts (ablation)Sample Shielding · IMDB, Yelpaccuracy under attack: e.g. Yelp CNN TextFooler 64.9 -> 63.2No clear effect
replace majority voting with NN-BB summarizer trained on original and attacked texts (ablation)Sample Shielding · Yelp CNN, TextFooleraccuracy under attack: 64.9 -> 72.2Improved
attacker knows and uses Sample Shielding in local classifierSample Shielding · IMDB, TextFooler (BERT)attack success rate: 99 -> 6Improved
increase p (fraction sampled) (ablation)Sample Shielding word sampling, LSTM · IMDBaccuracy: drops noticeably from p=0.6; optimal 0.2-0.4Hurt
increase k (number of samples) (ablation)Sample Shielding, LSTM · IMDBaccuracy: clear increases after 30, level off around 90Improved
Sample Shielding vs RanMask and FreeLB++ in weaker threat modelBERT · AG News, IMDBaccuracy under attack: AG News TextFooler 48 vs RanMask 38, FreeLB++ 52; IMDB 18 vs 22, 45Mixed

Earlier methods this paper compares with

Named baselines from earlier accepted papers in this paper's results tables: better than 0 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 attack evaluation and defense critique

Do attack and defense findings hold beyond one modality, small models and simplified theory?

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