BERT-ATTACK: Adversarial attack on BERT using BERTBERT-ATTACK: Adversarial Attack Against BERT Using BERT
AI summary
The researchers propose BERT-Attack, a method that uses a pretrained masked language model to generate text adversarial examples, which can induce BERT fine-tuned models and other downstream deep neural network models to make incorrect predictions. The method outperforms existing attack strategies in success rate and perturbation proportion; the generated adversarial examples remain semantically consistent and linguistically fluent, and the method has low computational cost and can generate at scale. Code is open-sourced at https://github.com/LinyangLee/BERT-Attack。