Research map / Adversarial robustness and security / Attacks on text and graphs
Robust Conversational Agents against Imperceptible Toxicity Triggers
Ninareh Mehrabi, Ahmad Beirami, Fred Morstatter, Aram Galstyan
University of Southern California · Meta
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 |
|---|---|---|---|
| add a language-model loss term to the trigger objective (UAT-LM) | UAT · attack on DialoGPT | GPT-2 perplexity of attack: perplexity ~10^7 -> ~10^4 | Improved |
| generate unigram triggers and select by toxicity (UTSC-1) | UAT · attack on DialoGPT | GPT-2 perplexity of attack: perplexity ~10^7 -> ~160 (no attack ~39) | Improved |
| add LM constraint to UAT | UAT · attack effectiveness | attack effectiveness | Improved |
| select least-toxic candidate (UTSC-3) instead of most toxic (UTSC-1) (ablation) | UTSC · attack effectiveness | attack effectiveness | Hurt |
| attacker uses only Toxic-bert instead of ensemble (ablation) | UTSC-1 · attack transferability | attack effectiveness | No clear effect |
| use interpretability-based masking instead of masking known trigger tokens (ablation) | defense · defense effectiveness | defense effectiveness: oracle Trigger Masking 0%-77% vs 100% | Improved |
| mask one token (L2) in the defender's input (ablation) | proposed defense · UAT-LM attack | defense effectiveness: almost 90% resolved by one token, rest needed up to 3 | Mixed |
| apply proposed defense versus Non Sequitur (ablation) | conversation quality · human evaluation | human ratings | Improved |
| apply one iteration of defense to human-written attacks | proposed defense · human adversary on DialoGPT | toxic generation: 70% reduction in toxic generation | Improved |
| apply one iteration of defense to GPT-2 on RealToxicityPrompts | proposed defense · RealToxicityPrompts | toxic generations: 81%, 31%, 23% fewer toxic generations (Toxic-bert, Perspective, Safety) | Improved |
| use length of attack as selection criterion (ablation) | UTSC · attack selection | attack effectiveness | No 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?
- 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
- RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Models (EMNLP 2020 · similarity 0.89)
- Bot-Adversarial Dialogue for Safe Conversational Agents (NAACL 2021 · similarity 0.89)
- Unveiling the Implicit Toxicity in Large Language Models (EMNLP 2023 · similarity 0.89)
- Constructing Highly Inductive Contexts for Dialogue Safety through Controllable Reverse Generation (EMNLP 2022 · similarity 0.88)
- Redefining Experts: Interpretable Decomposition of Language Models for Toxicity Mitigation (NeurIPS 2025 · similarity 0.87)
- Whispering Experts: Neural Interventions for Toxicity Mitigation in Language Models (ICML 2024 · similarity 0.87)
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.