articleJan 1, 2020GOLD OA

BERT-ATTACK: Adversarial Attack Against BERT Using BERT

Fudan University

Indexed incrossref

Abstract

Adversarial attacks for discrete data (such as texts) have been proved significantly more challenging than continuous data (such as images) since it is difficult to generate adversarial samples with gradient-based methods. Current successful attack methods for texts usually adopt heuristic replacement strategies on the character or word level, which remains challenging to find the optimal solution in the massive space of possible combinations of replacements while preserving semantic consistency and language fluency. In this paper, we propose BERT-Attack, a high-quality and effective method to generate adversarial samples using pre-trained masked language models exemplified by BERT. We turn BERT against its…

Citation impact

529
total citations
FWCI
47.60
Percentile
100%
References
30
Citations per year

Authors

5

Topics & keywords

Keywords
  • Computer science
  • Adversarial system
  • Language model
  • Code (set theory)
  • Fluency
  • Artificial intelligence
  • Consistency (knowledge bases)
  • Word (group theory)
UN Sustainable Development Goals
  • Quality Education
No related works found for this paper.

Funding