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

基于标记锚定的对比学习在语言理解中的应用

Label Anchored Contrastive Learning for Language Understanding

JD AI(京东人工智能研究院)

Zhenyu Zhang, Yuming Zhao, Meng Chen, Xiaodong He

摘要:

近年来,对比学习与自监督学习一起在计算机视觉、语音和自然语言处理等领域取得了惊人的进展。然而,CL方法的监督设置没有得到充分的探讨,特别是对于自然语言理解分类任务。直观地说,类标签本身具有执行硬正/负挖掘的内在能力,这对CL至关重要。基于此,我们提出了一种新的标签锚定对比学习方法(表示为LaCon)的语言理解。具体而言,设计了三个对比目标,包括多头实例中心对比损失(ICL),标签中心对比损失(LCL)和标签嵌入正则化器(LER)。我们的方法不需要任何专门的网络架构或任何额外的数据增强,因此它可以很容易地插入到现有的强大的预先训练的语言模型。与最先进的基线相比,LaCon在流行的GLUE和CLUE基准数据集上获得了高达4.1%的改进。此外,LaCon在Few-Shot和数据不平衡设置下也表现出了显著的优势,在FewGLUE和FewCLUE基准测试任务上获得了高达9.4%的改进。

英文摘要:

Contrastive learning (CL) has achieved astonishing progress in computer vision, speech, and natural language processing fields recently with self-supervised learning. However, CL approach to the supervised setting is not fully explored, especially for the natural language understanding classification task. Intuitively, the class label itself has the intrinsic ability to perform hard positive/negative mining, which is crucial for CL. Motivated by this, we propose a novel label anchored contrastive learning approach (denoted as LaCon) for language understanding. Specifically, three contrastive objectives are devised, including a multi-head instance-centered contrastive loss (ICL), a label-centered contrastive loss (LCL), and a label embedding regularizer (LER). Our approach does not require any specialized network architecture or any extra data augmentation, thus it can be easily plugged into existing powerful pre-trained language models. Compared to the state-of-the-art baselines, LaCon obtains up to 4.1% improvement on the popular datasets of GLUE and CLUE benchmarks. Besides, LaCon also demonstrates significant advantages under the few-shot and data imbalance settings, which obtains up to 9.4% improvement on the FewGLUE and FewCLUE benchmarking tasks.

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

↑