Skip to content

Learning to ignore adversarial attacks: rationale models improve robustness on BERT and RoBERTaLearning to Ignore Adversarial Attacks

arXiv· arXiv:2205.11551· EACL 2023· Yiming Zhang, Yangqiaoyu Zhou, Samuel Carton, Chenhao Tan·Indexed by this site · 27 days ago· Originally publishedDefenses
AI summary

Researchers propose using a rationale model to explicitly learn to ignore attack tokens in adversarial attacks, which can successfully ignore more than 90% of attack tokens. On BERT and RoBERTa, the method consistently improves robustness over baselines by about 10% on three datasets, and stably outperforms data augmentation using only adversarial examples. In most cases, it can also narrow the performance gap between the clean test set and the attacked test set, thereby weakening the impact of adversarial attacks.

Read originalEACL 2023