ACL Findings2023
Layerwise universal adversarial attack on NLP models
Olga Tsymboi, Danil Malaev, Andrei Petrovskii, Ivan V. Oseledets
Abstract
In this work, we examine the vulnerability of language models to universal adversarial triggers (UATs). We propose a new whitebox approach to the construction of layerwise UATs (LUATs), which searches the triggers by perturbing hidden layers of a network. On the example of three transformer models and three datasets from the GLUE benchmark, we demonstrate that our method provides better transferability in a model-to-model setting with an average gain of 9.3% in the fooling rate over the baseline. Moreover, we investigate triggers transferability in the task-to-task setting. Using small subsets from the datasets similar to the target tasks for choosing a perturbed layer, we show that LUATs are more efficient than vanilla UATs by 7.1% in the fooling rate.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Text Embedding Inversion Security for Multilingual Language Models cites Language Models are Few-Shot Learners
- Bridge the Gap Between CV and NLP! A Gradient-based Textual Adversarial Attack Framework cites ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
- Bridge the Gap Between CV and NLP! A Gradient-based Textual Adversarial Attack Framework cites Gradient-based Adversarial Attacks against Text Transformers
- Gradient-based Adversarial Attacks against Text Transformers cites ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
Cited by top-tier papers1
Builds on6
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- ALBERT: A Lite BERT for Self-supervised Learning of Language RepresentationsZhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel et al.ICLR 2020 · 7,418 citations
- Gradient-based Adversarial Attacks against Text TransformersChuan Guo, Alexandre Sablayrolles, Hervé Jégou, Douwe KielaEMNLP 2021 · 97 citations
- Towards Robustness Against Natural Language Word SubstitutionsXinshuai Dong, Anh Tuan Luu, Rongrong Ji, Hong LiuICLR 2021 · 63 citations
- Bridge the Gap Between CV and NLP! A Gradient-based Textual Adversarial Attack FrameworkLifan Yuan, Yichi Zhang, Yangyi Chen, Wei WeiACL Findings 2023 · 27 citations
Related papers
- Towards Building Model/Prompt-Transferable Attackers against Large Vision-Language ModelsXiaowen Cai, Daizong Liu, Xiaoye Qu, Xiang Fang et al.NeurIPS 2025 · 8 citations
- X-Transfer Attacks: Towards Super Transferable Adversarial Attacks on CLIPHanxun Huang, Sarah Monazam Erfani, Yige Li, Xingjun Ma et al.ICML 2025
- LAMP: Learning Universal Adversarial Perturbations for Multi-Image Tasks via Pre-trained ModelsAlvi Md. Ishmam, Najibul Haque Sarker, Zaber Ibn Abdul Hakim, Chris ThomasAAAI 2026
- MINIMAL: Mining Models for Universal Adversarial TriggersYaman Kumar Singla, Swapnil Parekh, Somesh Singh, Changyou Chen et al.AAAI 2022 · 8 citations
- WARP: Word-level Adversarial ReProgrammingKaren Hambardzumyan, Hrant Khachatrian, Jonathan MayACL 2021
