Interpretable Adversarial Training for Text
Not on the map. Why?
Abstract (arXiv)
Generating high-quality and interpretable adversarial examples in the text domain is a much more daunting task than it is in the image domain. This is due partly to the discrete nature of text, partly to the problem of ensuring that the adversarial examples are still probable and interpretable, and partly to the problem of maintaining label invariance under input perturbations. In order to address some of these challenges, we introduce sparse projected gradient descent (SPGD), a new approach to crafting interpretable adversarial examples for text. SPGD imposes a directional regularization constraint on input perturbations by projecting them onto the directions to nearby word embeddings with highest cosine similarities. This constraint ensures that perturbations move each word embedding in an interpretable direction (i.e., towards another nearby word embedding). Moreover, SPGD imposes a sparsity constraint on perturbations at the sentence level by ignoring word-embedding perturbations whose norms are below a certain threshold. This constraint ensures that our method changes only a few words per sequence, leading to higher quality adversarial examples. Our experiments with the IMDB movie review dataset show that the proposed SPGD method improves adversarial example interpretability and likelihood (evaluated by average per-word perplexity) compared to state-of-the-art methods, while suffering little to no loss in training performance.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). First posted on arXiv 30 May 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 1; 2023: 0; 2024: 3.
6 papers.
- 2024Machine Against the RAG: Jamming Retrieval-Augmented Generation with Blocker Documentscited by 102
- 2021Towards Robustness Against Natural Language Word Substitutionscited by 69
- 2021Certified Robustness to Text Adversarial Attacks by Randomized [MASK]cited by 57
- 2022Robust Natural Language Processing: Recent Advances, Challenges, and Future Directionscited by 11
- 2024Round Trip Translation Defence against Large Language Model Jailbreaking Attackscited by 6
- 2024SemRoDe: Macro Adversarial Training to Learn Representations That are Robust to Word-Level Attackscited by 3
- 2024Machine Against the RAG: Jamming Retrieval-Augmented Generation with Blocker Documents9 Jun 2024
- 2024SemRoDe: Macro Adversarial Training to Learn Representations That are Robust to Word-Level Attacks27 Mar 2024
- 2024Round Trip Translation Defence against Large Language Model Jailbreaking Attacks21 Feb 2024
- 2022Robust Natural Language Processing: Recent Advances, Challenges, and Future Directions3 Jan 2022
- 2021Towards Robustness Against Natural Language Word Substitutions28 Jul 2021
- 2021Certified Robustness to Text Adversarial Attacks by Randomized [MASK]8 May 2021