Research map / Adversarial robustness and security / Attacks on text and graphs
Residue-Based Natural Language Adversarial Attack Detection
Vyas Raina, Mark Gales
Cambridge University
Read the paperPlace an idea next to itCheck your own paper ↗
9measured effects
3improved
1no 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 changed | Where | Measured | Effect |
|---|---|---|---|
| use linear residue detector on encoder CLS embedding instead of FGWS/Perplexity/Mahalanobis/Uncertainty | adversarial detection · IMDB, Twitter, AG News, L-Bus | F1: IMDB 0.87 (FGWS) -> 0.91; AG News 0.89 -> 0.95; L-Bus 0.91 -> 0.99 | Improved |
| use residue detector instead of uncertainty or FGWS | adversarial detection · DBpedia | F1: 0.80 (Res) vs 0.90 (Unc), 0.82 (FGWS) | Hurt |
| adversary adds constraint to avoid detection by trained linear residue detector (ablation) | substitution attack · IMDB | fooling rate: 0.70 -> 0.19 | Hurt |
| adversary avoids detection (concatenation attack) (ablation) | L-Bus attack · L-Bus | score increase: +0.51 -> +0.23 | Hurt |
| use continuous-space PGD attack instead of discrete word attack (ablation) | Twitter ELECTRA · Twitter residue magnitude | N_sigma: 1.201 -> 0.676 | Hurt |
| apply residue detector to continuous NLP attack (ablation) | residue detector · NLP-cont | F1: 0.67 vs MD 0.85 (eps=0.3) | Hurt |
| apply residue detector to discretised image attacks (ablation) | residue detector · Img-disc | F1: 0.78 vs 0.67 (Unc), 0.70 (MD) at N=200 | Improved |
| train residue detector on substitution attacks, test on concatenation attacks (ablation) | residue detector · Twitter | F1: 0.84 -> 0.81 | No clear effect |
| restrict embedding to PCA window of central components for the detector (ablation) | residue detector · Twitter | F1 | Improved |
Open problems in defenses against universal perturbations
How well do defenses against adversarial perturbations hold beyond English text, image classification and white-box access?
- Evaluation covers one task, mostly image classification. · 7 papers state it
- Only English text was tested, so other languages are untested. · 6 papers state it
- Results are sensitive to hyperparameters tuned per dataset. · 5 papers state it
Closest papers by meaning
- ``That Is a Suspicious Reaction!'': Interpreting Logits Variation to Detect NLP Adversarial Attacks (ACL 2022 · similarity 0.87)
- TextShield: Beyond Successfully Detecting Adversarial Sentences in text classification (ICLR 2023 · similarity 0.86)
- Text Processing Like Humans Do: Visually Attacking and Shielding NLP Systems (NAACL 2019 · similarity 0.86)
- Bridge the Gap Between CV and NLP! A Gradient-based Textual Adversarial Attack Framework (ACL 2023 · similarity 0.85)
- RAFT: Realistic Attacks to Fool Text Detectors (EMNLP 2024 · similarity 0.85)
- Chain of Attack: On the Robustness of Vision-Language Models Against Transfer-Based Adversarial Attacks (CVPR 2025 · similarity 0.84)
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.