Exploring gradient-guided masked language model detection of textual adversarial attacksExploring Gradient-Guided Masked Language Model to Detect Textual Adversarial Attacks
AI summary
The study proposes a masked language model detection method, MLMD, which uses masking and restoration operations to distinguish the manifold changes between normal text and adversarial text, achieving competitive detection performance. However, masking one by one is costly, and subsequent analysis found that a large number of non-keywords are not important for detection. Based on this, the proposed GradMLMD uses gradient information to identify and skip non-keywords, significantly reducing resource consumption without sacrificing detection performance.