arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.07547cs.CLcs.LG
收藏

核白化:用各向同性句子嵌入克服数据集偏差

Kernel-Whitening: Overcome Dataset Bias with Isotropic Sentence Embedding

Fudan University(复旦大学);Shanghai Key Laboratory of Intelligent Information Processing(上海市智能信息处理重点实验室)

Songyang Gao, Shihan Dou, Qi Zhang, Xuanjing Huang

摘要:

数据集偏差对模型泛化能力的影响引起了人们的广泛关注。目前主流的解决方案是设计一个额外的浅层模型来预先识别有偏见的实例。然而,这种两阶段方法增加了训练过程的计算复杂性,并且在减轻偏差的同时阻碍了有效的特征信息。为了解决这个问题,我们利用表示规范化方法,旨在解开编码的句子的特征之间的相关性。我们发现它也有希望通过提供各向同性的数据分布来消除偏差问题。我们进一步提出核白化,Nystrom核近似方法,以实现更彻底的非线性虚假相关的去偏。我们的框架是端到端的,微调的时间消耗类似。实验表明,Kernel-Whitening算法在保持分布内精度的同时,显著提高了分布外数据集上的BERT性能。

英文摘要:

Dataset bias has attracted increasing attention recently for its detrimental effect on the generalization ability of fine-tuned models. The current mainstream solution is designing an additional shallow model to pre-identify biased instances. However, such two-stage methods scale up the computational complexity of training process and obstruct valid feature information while mitigating bias. To address this issue, we utilize the representation normalization method which aims at disentangling the correlations between features of encoded sentences. We find it also promising in eliminating the bias problem by providing isotropic data distribution. We further propose Kernel-Whitening, a Nystrom kernel approximation method to achieve more thorough debiasing on nonlinear spurious correlations. Our framework is end-to-end with similar time consumption to fine-tuning. Experiments show that Kernel-Whitening significantly improves the performance of BERT on out-of-distribution datasets while maintaining in-distribution accuracy.

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

↑