Fig. 1

Fig. 2

Fig. 3

Illustrates the performance of our three classifiers against the Deepwordbug attack technique prior to the implementation of LOF technique_
| Dataset | Model | Accuracy |
|---|---|---|
| AG NEWS | BERT | 21.09 |
| AG NEWS | WordCNN | 13.68 |
| AG NEWS | LSTM | 11.56 |
| MR | BERT | 12.97 |
| MR | WordCNN | 20.59 |
| MR | LSTM | 19.29 |
| Yelp | BERT | 9.98 |
| Yelp | WordCNN | 9.64 |
| Yelp | LSTM | 7.88 |
Performance of the classifiers against adversarial attacks before the implementation of the LOF technique_
| Dataset | Model | Accuracy (%) |
|---|---|---|
| AG NEWS | BERT | 21.09 |
| AG NEWS | WordCNN | 13.68 |
| AG NEWS | LSTM | 11.56 |
| MR | BERT | 12.97 |
| MR | WordCNN | 20.59 |
| MR | LSTM | 19.29 |
| Yelp | BERT | 9.98 |
| Yelp | WordCNN | 9.64 |
| Yelp | LSTM | 7.88 |
Performance of the classifiers against adversarial attacks after the implementation of the LOF technique_
| Dataset | Model | Accuracy (%) |
|---|---|---|
| AG NEWS | BERT | 85.12 |
| AG NEWS | WordCNN | 72.47 |
| AG NEWS | LSTM | 65.78 |
| MR | BERT | 88.39 |
| MR | WordCNN | 74.83 |
| MR | LSTM | 68.55 |
| Yelp | BERT | 92.59 |
| Yelp | WordCNN | 81.34 |
| Yelp | LSTM | 78.45 |
Datasets_
| Dataset Name | Dataset Description | Atributes |
|---|---|---|
| YELP [40] | Large Yelp Review Dataset | Set of 560,000 for training, and 38,000 for testing |
| MR [41] | Movie Review Dataset | Set of 5,331 for training, and 5,331 for testing |
| AG NEWS [42] | News Topic Classification | Set of 12000 for training and 7600 for testing |