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

一种消除自然语言推理中结构偏差的生成方法

A Generative Approach for Mitigating Structural Biases in Natural Language Inference

Technion(以色列理工学院);Israel Institute of Technology(以色列理工学院);Harvard University(哈佛大学)

Dimion Asael, Zachary Ziegler, Yonatan Belinkov

摘要:

许多自然语言推理(NLI)数据集包含偏差,这些偏差允许模型仅使用输入的偏差子集,而不考虑其余特征。例如,模型能够通过仅使用假设来做出分类决策,而无需学习它与前提之间的真实关系。这些结构性偏差导致判别模型学习非预期的表面特征,并在训练分布中推广得很差。在这项工作中,我们将NLI任务重新定义为生成任务,其中模型以输入和标签的偏置子集为条件,并生成输入的剩余子集。我们表明,通过施加一个统一的先验,我们得到一个可证明的无偏模型。通过合成实验,我们发现,这种方法是非常强大的大量的偏见。然后,我们证明经验上的两种类型的自然偏见,这种方法导致完全无偏的模型在实践中。然而,我们发现生成模型很难训练,而且它们的表现通常比判别基线差。我们强调了在NLI的背景下生成建模任务的难度,这是导致性能下降的原因。最后,通过用判别目标微调生成模型,我们减少了生成模型和判别基线之间的性能差距,同时允许少量的偏差。

英文摘要:

Many natural language inference (NLI) datasets contain biases that allow models to perform well by only using a biased subset of the input, without considering the remainder features. For instance, models are able to make a classification decision by only using the hypothesis, without learning the true relationship between it and the premise. These structural biases lead discriminative models to learn unintended superficial features and to generalize poorly out of the training distribution. In this work, we reformulate the NLI task as a generative task, where a model is conditioned on the biased subset of the input and the label and generates the remaining subset of the input. We show that by imposing a uniform prior, we obtain a provably unbiased model. Through synthetic experiments, we find that this approach is highly robust to large amounts of bias. We then demonstrate empirically on two types of natural bias that this approach leads to fully unbiased models in practice. However, we find that generative models are difficult to train and they generally perform worse than discriminative baselines. We highlight the difficulty of the generative modeling task in the context of NLI as a cause for this worse performance. Finally, by fine-tuning the generative model with a discriminative objective, we reduce the performance gap between the generative model and the discriminative baseline, while allowing for a small amount of bias.

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

↑