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

KFCNet:用于生成式常识推理的知识过滤和对比学习网络

KFCNet: Knowledge Filtering and Contrastive Learning Network for Generative Commonsense Reasoning

School of Computing and Information Systems, The University of Melbourne(墨尔本大学计算与信息系统学院);Microsoft Research Asia(微软亚洲研究院);Microsoft(微软)

Haonan Li, Yeyun Gong, Jian Jiao, Ruofei Zhang, Timothy Baldwin, Nan Duan

摘要:

预先训练的语言模型已经在广泛的自然语言处理(NLP)任务中取得了实质性的进展,但已经被证明对于具有高质量输出要求的自然语言生成任务具有局限性,例如常识生成和广告关键字生成。在这项工作中,我们提出了一种新的知识过滤和对比学习网络(KFCNet),参考外部知识,并取得更好的生成性能。具体来说,我们提出了一个基于BERT的过滤器模型,以消除低质量的候选人,并分别应用对比学习的编码器和解码器中的每一个,在一个通用的编码器-解码器架构。编码器对比模块有助于在编码过程中捕获全局目标语义,解码器对比模块在学习一般特征的同时增强检索到的原型的实用性。在CommonGen基准测试上进行的大量实验表明,我们的模型远远优于先前的最先进水平:BLEU-4为+6.6点(42.5 vs. 35.9),SPICE为+3.7点(33.3 vs. 29.6),CIDER为+1.3点(18.3 vs. 17.0)。我们进一步验证了所提出的对比模块在广告关键词生成上的有效性,并表明我们的模型具有潜在的商业价值。

英文摘要:

Pre-trained language models have led to substantial gains over a broad range of natural language processing (NLP) tasks, but have been shown to have limitations for natural language generation tasks with high-quality requirements on the output, such as commonsense generation and ad keyword generation. In this work, we present a novel Knowledge Filtering and Contrastive learning Network (KFCNet) which references external knowledge and achieves better generation performance. Specifically, we propose a BERT-based filter model to remove low-quality candidates, and apply contrastive learning separately to each of the encoder and decoder, within a general encoder--decoder architecture. The encoder contrastive module helps to capture global target semantics during encoding, and the decoder contrastive module enhances the utility of retrieved prototypes while learning general features. Extensive experiments on the CommonGen benchmark show that our model outperforms the previous state of the art by a large margin: +6.6 points (42.5 vs. 35.9) for BLEU-4, +3.7 points (33.3 vs. 29.6) for SPICE, and +1.3 points (18.3 vs. 17.0) for CIDEr. We further verify the effectiveness of the proposed contrastive module on ad keyword generation, and show that our model has potential commercial value.

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

↑