Research map / Adversarial robustness and security / Attacks on text and graphs
Agatha: Gated Hopfield Attention for Adversarially Robust Natural Language Processing
Read the paperPlace an idea next to itCheck your own paper ↗
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 Agatha instead of defended baselines | TinyBERT · GLUE avg, PGD l2 eps=2.0 | ASR: 63.58 (DynAttn) -> 50.28 | Improved |
| use Agatha instead of TinyBERT | TinyBERT · GLUE avg, clean | clean score: 64.28 -> 63.91 | No clear effect |
| use Agatha at BERT-base scale | BERT-base · GLUE avg, PGD l2 eps=2.0 | ASR: 76.52 (FreeLB) -> 43.29 | Improved |
| add Gated residual alone to standard attention (ablation) | TinyBERT · GLUE avg, PGD l2 eps=2.0 | ASR: 72.27 -> 75.42 | Hurt |
| add iterative Hopfield attention (unscaled residual) (ablation) | TinyBERT · GLUE avg, PGD l2 eps=2.0 | ASR: 72.27 -> 57.93 | Improved |
| add gate to Hopfield attention (ablation) | Hopfield Only · GLUE avg, PGD l2 eps=2.0 | ASR: 57.93 -> 50.28 | Improved |
| replace architectural gate with training-time regularizer (ablation) | Hopfield attention · GLUE avg, PGD l2 eps=2.0 | ASR: 50.28 -> 65.09 | Hurt |
| transfer adversarial examples from TinyBERT to Agatha | Agatha · SST-2, eps=2.0 | target ASR: TB->TB 59.90 vs TB->Agatha 15.63 | Improved |
| run Hopfield-dynamics-aware attacks instead of standard PGD | Agatha · GLUE combined, eps=2.0 | ASR: 50.28 -> 4.00 / 3.02 / 3.83 (Joint 43.82) | Hurt |
| use AutoAttack instead of PGD | Agatha · GLUE avg, l2 eps=2.0 | ASR: 50.28 -> 51.45 | No clear effect |
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.
- FreeLB — FreeLB: Enhanced Adversarial Training for Natural Language Understanding (ICLR 2020) · better on 1 of 1 shared result
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 this paper states
- “Evaluated only on English benchmarks, with multilingual behavior unexplored.” → Evaluation is English-only, and other languages are untested. (an open problem in adversarial prompts for language models)
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?
- The method needs white-box or logit access and cannot reach closed models. · 11 papers state it
- Evaluation is English-only, and other languages are untested. · 11 papers state it
- Models tested are open-weight and small, with frontier models left out. · 9 papers state it
Closest papers by meaning
- Robust Encodings: A Framework for Combating Adversarial Typos (ACL 2020 · similarity 0.88)
- Adversarial GLUE: A Multi-Task Benchmark for Robustness Evaluation of Language Models (NeurIPS 2021 · similarity 0.87)
- Toward Adversarial Training on Contextualized Language Representation (ICLR 2023 · similarity 0.87)
- Revisiting Character-level Adversarial Attacks for Language Models (ICML 2024 · similarity 0.87)
- Transformers Get Stable: An End-to-End Signal Propagation Theory for Language Models (ICML 2024 · similarity 0.85)
- CROW: Eliminating Backdoors from Large Language Models via Internal Consistency Regularization (ICML 2025 · similarity 0.85)
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.