arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.11498cs.CL
收藏

Balanced Adversarial Training:平衡NLP模型中的易变性和顽固性

Balanced Adversarial Training: Balancing Tradeoffs between Fickleness and Obstinacy in NLP Models

University of Virginia(弗吉尼亚大学)

Hannah Chen, Yangfeng Ji, David Evans

摘要:

传统的(变化无常的)对抗性例子涉及找到一个小的扰动,它不会改变输入的真实标签,但会混淆分类器,使其输出不同的预测。相反,当对手发现一个小的扰动,保持分类器的预测,但改变输入的真实标签时,就会出现顽固的对抗性例子。对抗性训练和认证的鲁棒训练在提高机器学习模型对变化无常的对抗性示例的鲁棒性方面表现出一定的有效性。我们表明,标准的对抗性训练方法专注于减少易变的对抗性示例的脆弱性,可能会使模型更容易受到顽固的对抗性示例的影响,实验包括自然语言推理和释义识别任务。为了应对这种现象,我们引入了平衡对抗训练,它结合了对比学习,以提高对反复无常和顽固对抗性示例的鲁棒性。

英文摘要:

Traditional (fickle) adversarial examples involve finding a small perturbation that does not change an input's true label but confuses the classifier into outputting a different prediction. Conversely, obstinate adversarial examples occur when an adversary finds a small perturbation that preserves the classifier's prediction but changes the true label of an input. Adversarial training and certified robust training have shown some effectiveness in improving the robustness of machine learnt models to fickle adversarial examples. We show that standard adversarial training methods focused on reducing vulnerability to fickle adversarial examples may make a model more vulnerable to obstinate adversarial examples, with experiments for both natural language inference and paraphrase identification tasks. To counter this phenomenon, we introduce Balanced Adversarial Training, which incorporates contrastive learning to increase robustness against both fickle and obstinate adversarial examples.

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

↑