Skip to content

Certified robustness to textual adversarial attacks via randomizationCertified Robustness to Text Adversarial Attacks by Randomized [MASK]

arXiv· arXiv:2105.03743· CL 2023· Jiehang Zeng, Xiaoqing Zheng, Jianhan Xu, Linyang Li, Liping Yuan, Xuanjing Huang·Indexed by this site · 24 days ago· Originally publishedDefenses
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.

Read originalCL 2023