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

语言理解中的对抗性自我注意

Adversarial Self-Attention for Language Understanding

Shanghai Jiao Tong University(上海交通大学);Soochow University(苏州大学);Damo Academy, Alibaba Group(阿里巴巴集团达摩院)

Hongqiu Wu, Ruixue Ding, Hai Zhao, Pengjun Xie, Fei Huang, Min Zhang

摘要:

深度神经模型(例如Transformer)自然会学习虚假特征,这会在标签和输入之间创建"捷径“,从而削弱泛化和鲁棒性。本文将自注意力机制推进到基于transformer的预训练语言模型(例如BERT)的鲁棒变体。我们提出了\textit{Adversarial Self-Attention}机制(ASA),它的不利偏见的注意力,有效地抑制模型依赖的功能(例如,特定的关键字),并鼓励其探索更广泛的语义。我们对预培训和微调阶段的各种任务进行全面评估。对于预训练,ASA展现了显着的性能增益相比,天真的训练更长的步骤。对于微调,ASA授权的模型在考虑泛化和鲁棒性的同时大大超过了朴素模型。

英文摘要:

Deep neural models (e.g. Transformer) naturally learn spurious features, which create a ``shortcut'' between the labels and inputs, thus impairing the generalization and robustness. This paper advances the self-attention mechanism to its robust variant for Transformer-based pre-trained language models (e.g. BERT). We propose \textit{Adversarial Self-Attention} mechanism (ASA), which adversarially biases the attentions to effectively suppress the model reliance on features (e.g. specific keywords) and encourage its exploration of broader semantics. We conduct a comprehensive evaluation across a wide range of tasks for both pre-training and fine-tuning stages. For pre-training, ASA unfolds remarkable performance gains compared to naive training for longer steps. For fine-tuning, ASA-empowered models outweigh naive models by a large margin considering both generalization and robustness.

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

↑