Detecting textual adversarial examples through text modification on text classification systems

Hyun Kwon,Sanghyun Lee
DOI: https://doi.org/10.1007/s10489-022-03313-w
IF: 5.3
2023-02-24
Applied Intelligence
Abstract:In this paper, we propose a method for detecting adversarial examples using a text modification module. The proposed method detects adversarial examples based on the change in classification result that occurs when a sample is modified by arbitrarily changing a specific word to a similar word. The method exploits the fact that the adversarial example’s sensitivity to changes to specific words is greater than that of the original sample. Experiments were conducted with three datasets (AG’s News, a movie review dataset, and the IMDB Large Movie Review Dataset), and TensorFlow was used as a machine learning library. In the experiment using these datasets, the proposed method detected an average of 71.7% of the adversarial sentences while minimizing the change in the results given by the model for the original sentences to an average of 2.9%.
computer science, artificial intelligence
What problem does this paper attempt to address?