Skip to main content
QUICK REVIEW

[Paper Review] A survey on Adversarial Attacks and Defenses in Text.

Wenqi Wang, Benxiao Tang|arXiv (Cornell University)|Feb 12, 2019
Adversarial Robustness in Machine LearningComputer Science54 references31 citations
TL;DR

This paper provides a comprehensive survey of adversarial attacks and defenses in natural language processing, categorizing attack and defense methods across NLP tasks and proposing robustness evaluation through testing and verification. It identifies key challenges and outlines future research directions in this emerging field.

ABSTRACT

Deep neural networks (DNNs) have achieved remarkable success in various tasks (e.g., image classification, speech recognition, and natural language processing). However, researches have shown that DNN models are vulnerable to adversarial examples, which cause incorrect predictions by adding imperceptible perturbations into normal inputs. Studies on adversarial examples in image domain have been well investigated, but in texts the research is not enough, let alone a comprehensive survey in this field. In this paper, we aim at presenting a comprehensive understanding of adversarial attacks and corresponding mitigation strategies in texts. Specifically, we first give a taxonomy of adversarial attacks and defenses in texts from the perspective of different natural language processing (NLP) tasks, and then introduce how to build a robust DNN model via testing and verification. Finally, we discuss the existing challenges of adversarial attacks and defenses in texts and present the future research directions in this emerging field.

Motivation & Objective

  • To address the growing need for a systematic understanding of adversarial attacks and defenses in text-based deep learning models.
  • To identify and categorize existing adversarial attack methods across various NLP tasks such as text classification and sequence labeling.
  • To analyze and classify defense strategies aimed at improving model robustness against adversarial perturbations in text.
  • To explore methods for testing and verifying model robustness using adversarial examples in NLP.
  • To highlight open challenges and suggest future research directions in adversarial NLP research.

Proposed method

  • Proposes a taxonomy of adversarial attacks in text based on NLP tasks, including text classification, sequence labeling, and text generation.
  • Classifies defense techniques according to their mechanisms, such as adversarial training, input transformation, and model regularization.
  • Introduces testing and verification frameworks to evaluate model robustness by generating and analyzing adversarial examples.
  • Categorizes attacks by their perturbation types, such as word substitution, token-level manipulation, and sentence-level edits.
  • Reviews the use of gradient-based and search-based methods for crafting adversarial examples in text, including methods like TextAttack and TextFool.
  • Analyzes the trade-offs between model accuracy and robustness under adversarial conditions through empirical evaluation frameworks.

Experimental results

Research questions

  • RQ1How can adversarial attacks in text be systematically categorized across different NLP tasks?
  • RQ2What are the most effective defense mechanisms against adversarial attacks in NLP, and how do they compare in robustness?
  • RQ3To what extent can testing and verification methods improve the reliability of DNN models under adversarial inputs?
  • RQ4What are the key limitations and open challenges in current adversarial attack and defense research for text?
  • RQ5What future research directions are most promising for advancing robustness in NLP models?

Key findings

  • Adversarial attacks in text primarily exploit word-level or sentence-level perturbations that remain semantically coherent yet mislead models.
  • Defenses such as adversarial training and input pruning show moderate success but often fail against adaptive attacks.
  • Testing and verification frameworks are essential for identifying model vulnerabilities but remain underdeveloped for complex NLP architectures.
  • There is a significant gap in generalization of adversarial robustness across different NLP tasks and model architectures.
  • Current defense methods often trade off between robustness and natural performance, highlighting a need for more balanced approaches.
  • The field lacks standardized benchmarks and evaluation protocols, impeding reproducibility and fair comparison of methods.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.