Robust Textual Embedding against Word-level Adversarial Attacks
Not on the map. Why?
Abstract (arXiv)
We attribute the vulnerability of natural language processing models to the fact that similar inputs are converted to dissimilar representations in the embedding space, leading to inconsistent outputs, and we propose a novel robust training method, termed Fast Triplet Metric Learning (FTML). Specifically, we argue that the original sample should have similar representation with its adversarial counterparts and distinguish its representation from other samples for better robustness. To this end, we adopt the triplet metric learning into the standard training to pull words closer to their positive samples (i.e., synonyms) and push away their negative samples (i.e., non-synonyms) in the embedding space. Extensive experiments demonstrate that FTML can significantly promote the model robustness against various advanced adversarial attacks while keeping competitive classification accuracy on original samples. Besides, our method is efficient as it only needs to adjust the embedding and introduces very little overhead on the standard training. Our work shows great potential of improving the textual robustness through robust word embedding.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 27 of its 36 references that are in the map. First posted on arXiv 28 Feb 2022.
Builds on
27 of 36 references.
References · 27
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2013Intriguing properties of neural networkscited by 5,114
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
- 2014Convolutional Neural Networks for Sentence Classificationcited by 1,124
- 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
- 2018Generating Natural Language Adversarial Examplescited by 422
- 2019PAWS: Paraphrase Adversaries from Word Scramblingcited by 395
- 2018TextBugger: Generating Adversarial Text Against Real-world Applicationscited by 376
- 2018Black-box Generation of Adversarial Text Sequences to Evade Deep Learning Classifierscited by 341
- 2018Adversarial Example Generation with Syntactically Controlled Paraphrase Networkscited by 282
15 more
- 2019Certified Robustness to Adversarial Word Substitutionscited by 164
- 2019Combating Adversarial Misspellings with Robust Word Recognitioncited by 162
- 2016Recurrent Neural Network for Text Classification with Multi-Task Learningcited by 144
- 2016Counter-fitting Word Vectors to Linguistic Constraintscited by 138
- 2017Deep Text Classification Can be Fooledcited by 105
- 2016Crafting Adversarial Input Sequences for Recurrent Neural Networkscited by 102
- 2019Achieving Verified Robustness to Symbol Substitutions via Interval Bound Propagationcited by 87
- 2020Robustness Verification for Transformerscited by 76
- 2021Towards Robustness Against Natural Language Word Substitutionscited by 68
- 2021Certified Robustness to Text Adversarial Attacks by Randomized [MASK]cited by 57
- 2020Generating Natural Language Attacks in a Hard Label Black Box Settingcited by 50
- 2020Generating Fluent Adversarial Examples for Natural Languagescited by 49
- 2019Natural Language Adversarial Defense through Synonym Encodingcited by 39
- 2019Word-level Textual Adversarial Attacking as Combinatorial Optimizationcited by 37
- 2020A Geometry-Inspired Attack for Generating Natural Language Adversarial Examplescited by 20
Built on by
Citing papers per year: 2022: 2; 2023: 5; 2024: 4; 2025: 1.
12 papers.
- 2023Structure Invariant Transformation for better Adversarial Transferabilitycited by 61
- 2023Diversifying the High-level Features for better Adversarial Transferabilitycited by 34
- 2023Text-CRS: A Generalized Certified Robustness Framework against Textual Adversarial Attackscited by 32
- 2024Learning to Transform Dynamically for Better Adversarial Transferabilitycited by 23
- 2022A Survey of Adversarial Defences and Robustness in NLPcited by 22
- 2022A.I. Robustness: a Human-Centered Perspective on Technological Challenges and Opportunitiescited by 8
- 2024Eguard: Defending LLM Embeddings Against Inversion Attacks via Text Mutual Information Optimizationcited by 8
- 2024Fast Adversarial Training against Textual Adversarial Attackscited by 7
- 2024Quantifying Positional Biases in Text Embedding Modelscited by 4
- 2023Transferable Adversarial Robustness for Categorical Data via Universal Robust Embeddingscited by 1
- 2023Generating Visually Realistic Adversarial Patchcited by 1
- 2025Adversarially Robust Detection of Harmful Online Content: A Computational Design Science Approachcited by 0
- 2025Adversarially Robust Detection of Harmful Online Content: A Computational Design Science Approach19 Dec 2025
- 2024Quantifying Positional Biases in Text Embedding Models13 Dec 2024
- 2024Eguard: Defending LLM Embeddings Against Inversion Attacks via Text Mutual Information Optimization6 Nov 2024
- 2024Learning to Transform Dynamically for Better Adversarial Transferability23 May 2024
- 2024Fast Adversarial Training against Textual Adversarial Attacks23 Jan 2024
- 2023Generating Visually Realistic Adversarial Patch5 Dec 2023
- 2023Structure Invariant Transformation for better Adversarial Transferability26 Sep 2023
- 2023Text-CRS: A Generalized Certified Robustness Framework against Textual Adversarial Attacks31 Jul 2023
- 2023Transferable Adversarial Robustness for Categorical Data via Universal Robust Embeddings6 Jun 2023
- 2023Diversifying the High-level Features for better Adversarial Transferability20 Apr 2023
- 2022A.I. Robustness: a Human-Centered Perspective on Technological Challenges and Opportunities17 Oct 2022
- 2022A Survey of Adversarial Defences and Robustness in NLP12 Mar 2022