Text adversarial purification as a defense against adversarial attacksText Adversarial Purification as Defense against Adversarial Attacks
AI summary
The authors propose a text adversarial purification method: mask the input text, then reconstruct it with a masked language model, thereby injecting noise and restoring clean text, defending against word-substitution text adversarial attacks. The method was tested on strong attack methods such as Textfooler and BERT-Attack, and experimental results show that the purification algorithm can successfully defend against strong word-substitution attacks. This type of purification defense does not require prior knowledge of the specific form of the attack.