arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2204.13309cs.CL
收藏

从几何感知的角度提高语言模型的鲁棒性

Improving robustness of language models from a geometry-aware perspective

Guangzhou University(广州大学);Peng Cheng Laboratory(鹏城实验室);Zhejiang University of Technology(浙江工业大学)

Bin Zhu, Zhaoquan Gu, Le Wang, Jinyin Chen, Qi Xuan

摘要:

最近的研究发现,在对抗训练中去除范数有界投影和增加搜索步骤可以显着提高鲁棒性。然而,我们观察到,太多的搜索步骤可能会损害准确性。我们的目标是使用更少的步骤有效地获得强大的鲁棒性。通过一个玩具实验,我们发现,扰动干净的数据的决策边界,但不跨越它不会降低测试精度。受此启发,我们提出了友好对抗数据增强(FADA)来生成友好对抗数据。在FADA的基础上,我们提出了几何感知对抗训练(GAT)来对友好的对抗数据进行对抗训练,这样我们就可以节省大量的搜索步骤。在两个广泛使用的数据集和三个预先训练好的语言模型上的综合实验表明,GAT可以通过更少的步骤获得更强的鲁棒性。此外,我们提供了广泛的实证结果和深入的分析鲁棒性,以促进未来的研究。

英文摘要:

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 fewer steps. In addition, we provide extensive empirical results and in-depth analyses on robustness to facilitate future studies.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑