Improving robustness of language models from a geometry-aware perspective
Bin Zhu, Zhaoquan Gu, Le Wang, Jinyin Chen, Qi Xuan

TL;DR
This paper introduces a geometry-aware adversarial training method for language models that enhances robustness efficiently by using fewer search steps, leveraging friendly adversarial data to maintain accuracy.
Contribution
The paper proposes FADA and GAT, novel methods that improve language model robustness with fewer adversarial search steps through geometry-aware data augmentation.
Findings
GAT achieves stronger robustness with fewer steps.
Friendly adversarial data does not degrade test accuracy.
Extensive experiments validate the effectiveness of GAT.
Abstract
Recent studies have found that removing the norm-bounded projection and increasing search steps in adversarial training can significantly improve robustness. However, we observe that a too large number of search steps can hurt accuracy. We aim to obtain strong robustness efficiently using fewer steps. Through a toy experiment, we find that perturbing the clean data to the decision boundary but not crossing it does not degrade the test accuracy. Inspired by this, we propose friendly adversarial data augmentation (FADA) to generate friendly adversarial data. On top of FADA, we propose geometry-aware adversarial training (GAT) to perform adversarial training on friendly adversarial data so that we can save a large number of search steps. Comprehensive experiments across two widely used datasets and three pre-trained language models demonstrate that GAT can obtain stronger robustness via…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdversarial Robustness in Machine Learning · Anomaly Detection Techniques and Applications
MethodsGraph Attention Network
