Research map / Adversarial robustness and security / Attacks on text and graphs
Canary Extraction in Natural Language Understanding Models
Rahil Parikh, Christophe Dupuy, Rahul Gupta
University of Maryland · Amazon
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.
This paper tried a common change: Add dropout
Add dropout alone · Snips, canary pin, R=500 · HDT: 0.27 -> 0.54 Improved
What 1,045 accepted papers report for this change
- 716 improved
- 114 no clear effect
- 21 mixed
- 194 hurt
- Don't Drop Dropout: Optimizing Layer Sparsity for Efficient LLM Training and Inference ICML 2026 · apply layer dropout to whole transformer blocks instead of attention and FFN sub-blocks separately · 20 TPP val loss, 271M · val loss: 2.377 -> 2.367Improved
- Quantifying the Uncertainty of Foundation Models with Singular Value Ensembles ICML 2026 · use MC Dropout · vision and SST-2 · accuracy: 86.3 -> 76.6 on Flowers102Hurt
- Motion Planning in Compressed Representation Spaces ICML 2026 · add nested dropout during training · WOMD guided generation · goal FDE: 4.145 -> 1.104Improved
See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| Use discrete optimization (softmax with decreasing temperature over a reduced vocabulary) instead of direct embedding optimization (ablation) | canary extraction attack · canary reconstruction | Acc | Improved |
| Combine dropout, early stopping and character embeddings (ablation) | NLU model under attack · Snips, canary pin, R=500 | HDT: 0.27 -> 0.88 (baseline 0.90) | Improved |
| Add early stopping alone (ablation) | NLU model under attack · Snips, canary pin, R=500 | HDT: 0.27 -> 1.00 | Improved |
| Add dropout alone (ablation) | NLU model under attack · Snips, canary pin, R=500 | HDT: 0.27 -> 0.54 | Improved |
| Add dropout alone (ablation) | NLU model under attack · Snips, canary color, R=1000 | HDT: 0.35 -> 0.35 | No clear effect |
| Add the three defenses (ablation) | NLU model · NLU task performance | model performance | No clear effect |
| Increase canary length n | canary extraction attack · Snips, canary pin | Acc: 0.40 (n=4) -> 0.00 (n=8) | Hurt |
| Increase canary repetitions R beyond 1000 | canary extraction attack · Snips | accuracy | Hurt |
| Use Snips instead of NLU-Evaluation dataset | canary extraction attack · dataset comparison | attack performance | Improved |
| Single repetition of canary (R=1) | canary extraction attack · Snips, color n=4 | Acc: 0.33 (R=1) | 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
- Grey-box Extraction of Natural Language Models (ICML 2021 · similarity 0.86)
- Moderate-fitting as a Natural Backdoor Defender for Pre-trained Language Models (NeurIPS 2022 · similarity 0.85)
- Thieves on Sesame Street! Model Extraction of BERT-based APIs (ICLR 2020 · similarity 0.85)
- Revisiting Character-level Adversarial Attacks for Language Models (ICML 2024 · similarity 0.84)
- Certifying Language Model Robustness with Fuzzed Randomized Smoothing: An Efficient Defense Against Backdoor Attacks (ICLR 2025 · similarity 0.83)
- Language Model Inversion (ICLR 2024 · similarity 0.83)
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.