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

QAGAN:领域不变语言特征学习的对抗方法

QAGAN: Adversarial Approach To Learning Domain Invariant Language Features

Stanford University(斯坦福大学);Ford Greenfield Labs(福特绿场实验室);Waymo LLC(Waymo有限责任公司)

Shubham Shrivastava, Kaiyue Wang

摘要:

对数据域转移具有鲁棒性的训练模型在学术界和工业界都引起了越来越大的兴趣。语言模型的转换是自然语言处理研究中的一个典型问题,随着大型Transformer模型的出现,语言模型的转换已经取得了很大的成功。然而,现有的方法大多是在假设数据在训练和测试期间来自相同的分布的情况下工作,这是不现实的,并且在野外不可扩展。在本文中,我们探索对抗训练方法学习领域不变的功能,使语言模型可以很好地推广到域外数据集。我们还检查了各种其他方法来提高我们的模型性能,包括通过释义句子的数据增强,对开始词的答案跨度预测的条件结束,以及精心设计的退火函数。我们的初步结果表明,与这些方法相结合,我们能够实现$15.2\%$的EM分数的改善和$5.6\%$的F1分数的提高域外验证数据集超过基线。我们还分析了模型输出,并通过将其投影到低维空间来可视化模型隐藏状态,并发现我们特定的对抗训练方法确实鼓励模型学习域不变嵌入,并使它们在多维空间中更接近。

英文摘要:

Training models that are robust to data domain shift has gained an increasing interest both in academia and industry. Question-Answering language models, being one of the typical problem in Natural Language Processing (NLP) research, has received much success with the advent of large transformer models. However, existing approaches mostly work under the assumption that data is drawn from same distribution during training and testing which is unrealistic and non-scalable in the wild. In this paper, we explore adversarial training approach towards learning domain-invariant features so that language models can generalize well to out-of-domain datasets. We also inspect various other ways to boost our model performance including data augmentation by paraphrasing sentences, conditioning end of answer span prediction on the start word, and carefully designed annealing function. Our initial results show that in combination with these methods, we are able to achieve $15.2\%$ improvement in EM score and $5.6\%$ boost in F1 score on out-of-domain validation dataset over the baseline. We also dissect our model outputs and visualize the model hidden-states by projecting them onto a lower-dimensional space, and discover that our specific adversarial training approach indeed encourages the model to learn domain invariant embedding and bring them closer in the multi-dimensional space.

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

↑