arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2110.08413cs.CLcs.LG
收藏

不变语言建模

Invariant Language Modeling

EPFL(洛桑联邦理工学院);Microsoft Corporation(微软公司)

Maxime Peyrard, Sarvjeet Singh Ghotra, Martin Josifoski, Vidhan Agarwal, Barun Patra, Dean Carignan, Emre Kiciman, Robert West

摘要:

大型预训练语言模型是现代NLP管道的关键组成部分。然而,他们遭受虚假的相关性,穷人的领域泛化,和偏见。受因果机器学习最新进展的启发,特别是不变风险最小化(Invariant Risk Minimization,简称VRM)范式,我们提出了不变语言建模,这是一个学习不变表示的框架,可以更好地在多个环境中推广。特别是,我们适应了一个游戏理论的配方,以语言模型,其中的不变性出现在一个特定的训练时间表中,所有的环境竞争,以优化自己的环境特定的损失,通过更新模型的子集在循环的方式。我们专注于控制实验,以精确地证明我们的方法的能力(i)去除结构化噪声,(ii)忽略特定的虚假相关性,而不影响全局性能,(iii)实现更好的领域泛化。与标准训练相比,这些好处的计算开销可以忽略不计,不需要改变局部损失,并且可以应用于任何语言模型。我们相信这个框架是有希望的,以帮助减轻虚假的相关性和偏见的语言模型。

英文摘要:

Large pretrained language models are critical components of modern NLP pipelines. Yet, they suffer from spurious correlations, poor out-of-domain generalization, and biases. Inspired by recent progress in causal machine learning, in particular the invariant risk minimization (IRM) paradigm, we propose invariant language modeling, a framework for learning invariant representations that generalize better across multiple environments. In particular, we adapt a game-theoretic formulation of IRM (IRM-games) to language models, where the invariance emerges from a specific training schedule in which all the environments compete to optimize their own environment-specific loss by updating subsets of the model in a round-robin fashion. We focus on controlled experiments to precisely demonstrate the ability of our method to (i) remove structured noise, (ii) ignore specific spurious correlations without affecting global performance, and (iii) achieve better out-of-domain generalization. These benefits come with a negligible computational overhead compared to standard training, do not require changing the local loss, and can be applied to any language model. We believe this framework is promising to help mitigate spurious correlations and biases in language models.

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

↑