Distinguishing Unnatural from Natural Adversarial Examples to Improve Pretrained Language Model RobustnessDistinguishing Non-natural from Natural Adversarial Samples for More Robust Pre-trained Language Model
AI summary
The paper proposes an anomaly detector to distinguish natural from unnatural adversarial examples, and uses it to re-evaluate the robustness of pretrained language models. The authors point out that most adversarial examples on which pretrained language models fail are unnatural and would not occur in reality, and therefore question the validity of existing robustness evaluations. The anomaly detector also has two applications: in data augmentation, forcing the generation of augmented data judged as unnatural can improve model accuracy; when used in a defense framework, it can defend against various attacks and achieves higher accuracy on adversarial examples and compliant samples than other defense frameworks.