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

面向低资源自然语言推理的多级监督对比学习框架

A Multi-level Supervised Contrastive Learning Framework for Low-Resource Natural Language Inference

Tsinghua University(清华大学);University of Illinois at Chicago(伊利诺伊大学芝加哥分校)

Shu'ang Li, Xuming Hu, Li Lin, Aiwei Liu, Lijie Wen, Philip S. Yu

摘要:

自然语言推理是自然语言理解中一项日益重要的任务,它要求对句子对(前提和假设)之间的关系进行推理。最近,低资源自然语言推理得到了越来越多的关注,由于显着节省人工注释成本和更好地适应现实世界的场景。现有的工作无法表征不同类别之间的区别表示有限的训练数据,这可能会导致错误的标签预测。在这里,我们提出了一个多层次的监督对比学习框架命名为MultiSCL的低资源自然语言推理。MultiSCL利用句子级和句子对级的对比学习目标来区分不同类别的句子对,将一类中的句子对放在一起,并将不同类别中的句子对推开。MultiSCL采用了一个数据增强模块,为输入样本生成不同的视图,以更好地学习潜在表示。从交叉注意模块获得对级表示。我们在低资源环境下对两个公共NLI数据集进行了广泛的实验,MultiSCL的准确率平均超过其他模型3.1%。此外,我们的方法优于以前的国家的最先进的方法在跨领域的文本分类任务。

英文摘要:

Natural Language Inference (NLI) is a growingly essential task in natural language understanding, which requires inferring the relationship between the sentence pairs (premise and hypothesis). Recently, low-resource natural language inference has gained increasing attention, due to significant savings in manual annotation costs and a better fit with real-world scenarios. Existing works fail to characterize discriminative representations between different classes with limited training data, which may cause faults in label prediction. Here we propose a multi-level supervised contrastive learning framework named MultiSCL for low-resource natural language inference. MultiSCL leverages a sentence-level and pair-level contrastive learning objective to discriminate between different classes of sentence pairs by bringing those in one class together and pushing away those in different classes. MultiSCL adopts a data augmentation module that generates different views for input samples to better learn the latent representation. The pair-level representation is obtained from a cross attention module. We conduct extensive experiments on two public NLI datasets in low-resource settings, and the accuracy of MultiSCL exceeds other models by 3.1% on average. Moreover, our method outperforms the previous state-of-the-art method on cross-domain tasks of text classification.

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

↑