Skip to content

Detecting text adversarial examples via Random Substitution and Voting (RS&V)Detecting Textual Adversarial Examples through Randomized Substitution and Vote

arXiv· arXiv:2109.05698· Xiaosen Wang, Yifeng Xiong, Kun He·Indexed by this site · 26 days ago· Originally publishedDefenses
AI summary

Random Substitution and Voting (RS&V) detects text adversarial examples by randomly replacing words in the input text with synonyms, generating k samples, and aggregating logits for voting. The method can be applied to existing neural networks without modifying the network architecture or additional training, and is orthogonal to existing work on improving the robustness of classification networks. Evaluations on three benchmark datasets show that RS&V outperforms existing detection methods in adversarial example detection while maintaining high classification accuracy on benign samples.

Read originalarxiv.org