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

去偏置掩码:NLU中的一种新的抗干扰框架

Debiasing Masks: A New Framework for Shortcut Mitigation in NLU

The University of Tokyo(东京大学);National Institute of Informatics(国立信息学研究所)

Johannes Mario Meissner, Saku Sugawara, Akiko Aizawa

摘要:

在自然语言理解任务中消除语言模型中不必要的行为是NLP社区中迅速增长的兴趣的主题。数据中的虚假统计相关性允许模型执行捷径,避免发现更高级和更理想的语言特征。已经提出了许多有效的去偏置方法,但灵活性仍然是一个主要问题。在大多数情况下,模型必须重新训练,以找到一组具有去偏行为的新权重。我们提出了一种新的去偏置方法,在该方法中,我们确定了去偏置的修剪掩码,可以应用于微调模型。这使得能够选择性地和有条件地应用去偏置行为。我们假设偏差是由网络中的某个权重子集引起的;我们的方法本质上是一种掩码搜索,用于识别和删除有偏差的权重。我们的口罩表现出与标准口罩相当或更高的性能,同时提供重要的优势。修剪掩码可以高效地存储在存储器中,并且可以在推理时在几个去偏置行为之间切换(或恢复到原始偏置模型)。最后,它为进一步研究如何通过研究生成的掩码来获得偏见打开了大门。例如,我们观察到早期的层和注意力头被更积极地修剪,可能暗示了偏见可能被编码的位置。

英文摘要:

Debiasing language models from unwanted behaviors in Natural Language Understanding tasks is a topic with rapidly increasing interest in the NLP community. Spurious statistical correlations in the data allow models to perform shortcuts and avoid uncovering more advanced and desirable linguistic features. A multitude of effective debiasing approaches has been proposed, but flexibility remains a major issue. For the most part, models must be retrained to find a new set of weights with debiased behavior. We propose a new debiasing method in which we identify debiased pruning masks that can be applied to a finetuned model. This enables the selective and conditional application of debiasing behaviors. We assume that bias is caused by a certain subset of weights in the network; our method is, in essence, a mask search to identify and remove biased weights. Our masks show equivalent or superior performance to the standard counterparts, while offering important benefits. Pruning masks can be stored with high efficiency in memory, and it becomes possible to switch among several debiasing behaviors (or revert back to the original biased model) at inference time. Finally, it opens the doors to further research on how biases are acquired by studying the generated masks. For example, we observed that the early layers and attention heads were pruned more aggressively, possibly hinting towards the location in which biases may be encoded.

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

↑