Research map / Adversarial robustness and security / Attacks on text and graphs
``That Is a Suspicious Reaction!'': Interpreting Logits Variation to Detect NLP Adversarial Attacks
Edoardo Mosca, Shreyash Agarwal, Javier Rando-Ramirez, Georg Groh
TU Munich · ETH Zurich
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 WDR-based detector instead of FGWS | detector · DistilBERT IMDb PWWS | F1: 89.5 -> 92.1 | Improved |
| use WDR-based detector instead of FGWS across all configurations | detector · 28 test configurations | F1: better in 22 of 28 configs, +8.96 points on average | Improved |
| use WDR detector instead of FGWS against BAE | detector · DistilBERT IMDb BAE | F1: 65.6 -> 88.0 | Improved |
| use WDR detector instead of FGWS on short-review dataset | detector · DistilBERT RTMR PWWS | F1: 78.9 -> 74.1 | Hurt |
| transfer detector to BERT on YELP with PWWS | detector · BERT YELP PWWS | F1: 91.2 (FGWS) vs 89.4 (WDR) | Hurt |
| transfer detector to simpler target models LSTM and CNN | detector · IMDb PWWS | F1: 92.1 -> 84.1 (LSTM), 84.3 (CNN) | Hurt |
| transfer detector to RTMR dataset | detector · PWWS RTMR | F1: 92.1 -> 74.1 | Hurt |
| choose XGBoost instead of other detector architectures (ablation) | detector · DistilBERT IMDb PWWS | F1: 90.4 to 92.4 across architectures | No clear effect |
| lower decision threshold from 0.5 to 0.15 (ablation) | XGBoost detector · DistilBERT IMDb PWWS | adversarial recall: 95.2 -> 98.4 | Improved |
| lower decision threshold from 0.5 to 0.15 (ablation) | XGBoost detector · DistilBERT IMDb PWWS | F1: 92.4 -> 90.3 | Hurt |
| transfer detector to unseen attack TextFooler | detector · DistilBERT IMDb TextFooler | F1: 92.1 -> 94.2 | Improved |
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
- TextShield: Beyond Successfully Detecting Adversarial Sentences in text classification (ICLR 2023 · similarity 0.89)
- Toward Stronger Textual Attack Detectors (EMNLP 2023 · similarity 0.89)
- Detection of Adversarial Examples in Text Classification: Benchmark and Baseline via Robust Density Estimation (ACL 2022 · similarity 0.89)
- Why Should Adversarial Perturbations be Imperceptible? Rethink the Research Paradigm in Adversarial NLP (EMNLP 2022 · similarity 0.89)
- Universal Adversarial Attacks with Natural Triggers for Text Classification (NAACL 2021 · similarity 0.88)
- Searching for an Effective Defender: Benchmarking Defense against Adversarial Word Substitution (EMNLP 2021 · similarity 0.88)
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.