Certified robustness to textual adversarial attacks via randomizationCertified Robustness to Text Adversarial Attacks by Randomized [MASK]
AI summary
The researchers propose a defense method that obtains certified robustness by randomly masking a certain proportion of words in the input text, no longer requiring the defender to know in advance how the attacker generates synonyms. The method can simultaneously defend against word-substitution-based attacks and character-level perturbations, and on the AGNEWS dataset it can certify that over 50% of texts remain robust to arbitrary perturbations of 5 words, and on SST2, 2 words. Experimental results show that this randomized smoothing method significantly outperforms recently proposed defense methods on multiple datasets.