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

无偏自然语言理解

Feature-Level Debiased Natural Language Understanding

Shandong University(山东大学);Nanjing University of Aeronautics and Astronautics(南京航空航天大学);University of Amsterdam(阿姆斯特丹大学);Baidu Inc.(百度公司)

Yougang Lyu, Piji Li, Yechang Yang, Maarten de Rijke, Pengjie Ren, Yukun Zhao, Dawei Yin, Zhaochun Ren

摘要:

自然语言理解(NLU)模型通常依赖于数据集偏差,而不是预期的任务相关特征,以在特定数据集上实现高性能。因此,这些模型在训练分布之外的数据集上表现不佳。最近的一些研究通过在训练过程中减少有偏样本的权重来解决这个问题。然而,这些方法仍然在表示中编码有偏见的潜在特征,并忽略了偏见的动态性质,这阻碍了模型预测。我们提出了一个NLU去偏置方法,命名为去偏置对比学习(DCT),同时缓解上述问题的基础上对比学习。我们设计了一个去偏置,积极的采样策略,以减轻偏见的潜在功能,通过选择最不相似的偏置正样本。我们还提出了一个动态的负采样策略,通过采用一个只偏置模型来动态选择最相似的偏置负样本,以捕捉偏差的动态影响。我们在三个NLU基准数据集上进行了实验。实验结果表明,DCT在保持分布性能的同时,在分布外数据集上的性能优于最先进的基线。我们还验证了DCT可以从模型的表示中减少有偏见的潜在特征。

英文摘要:

Natural language understanding (NLU) models often rely on dataset biases rather than intended task-relevant features to achieve high performance on specific datasets. As a result, these models perform poorly on datasets outside the training distribution. Some recent studies address this issue by reducing the weights of biased samples during the training process. However, these methods still encode biased latent features in representations and neglect the dynamic nature of bias, which hinders model prediction. We propose an NLU debiasing method, named debiasing contrastive learning (DCT), to simultaneously alleviate the above problems based on contrastive learning. We devise a debiasing, positive sampling strategy to mitigate biased latent features by selecting the least similar biased positive samples. We also propose a dynamic negative sampling strategy to capture the dynamic influence of biases by employing a bias-only model to dynamically select the most similar biased negative samples. We conduct experiments on three NLU benchmark datasets. Experimental results show that DCT outperforms state-of-the-art baselines on out-of-distribution datasets while maintaining in-distribution performance. We also verify that DCT can reduce biased latent features from the model's representation.

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

↑