arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.08732cs.CLcs.AIcs.IRcs.LG
收藏

预训练语言模型的知识反刍

Knowledge Rumination for Pre-trained Language Models

Zhejiang University(浙江大学);Zhejiang University - Ant Group Joint Laboratory of Knowledge Graph(浙江大学-蚂蚁集团知识图谱联合实验室);Alibaba Group(阿里巴巴集团);Donghai Laboratory(东海实验室)

Yunzhi Yao, Peng Wang, Shengyu Mao, Chuanqi Tan, Fei Huang, Huajun Chen, Ningyu Zhang

AI总结:

本文提出知识反刍范式,通过向预训练语言模型添加“据我所知”提示,激活其内部潜在知识,无需外部检索,在常识推理和GLUE基准上显著提升性能。

摘要:

以往的研究表明,普通的预训练语言模型(PLMs)缺乏单独处理知识密集型自然语言处理任务的能力;因此,一些工作尝试将外部知识整合到PLMs中。然而,尽管取得了有前景的结果,我们通过经验观察发现,PLMs可能已经在它们的预训练参数中编码了丰富的知识,但在应用于知识密集型任务时未能充分利用这些知识。在本文中,我们提出了一种新的范式,称为知识反刍,以帮助预训练语言模型利用相关的潜在知识,而无需从外部语料库中检索。通过简单地向PLMs添加一个提示,如“据我所知”,我们尝试回顾相关的潜在知识,并将其注入回模型中以进行知识巩固。我们将所提出的知识反刍应用于各种语言模型,包括RoBERTa、DeBERTa和GPT-3。在六个常识推理任务和GLUE基准上的实验结果表明了我们提出的方法的有效性,这证明了存储在PLMs中的知识可以被更好地利用以提高性能。代码可在https://github.com/zjunlp/knowledge-rumination获取。

英文摘要:

Previous studies have revealed that vanilla pre-trained language models (PLMs) lack the capacity to handle knowledge-intensive NLP tasks alone; thus, several works have attempted to integrate external knowledge into PLMs. However, despite the promising outcome, we empirically observe that PLMs may have already encoded rich knowledge in their pre-trained parameters but fail to fully utilize them when applying them to knowledge-intensive tasks. In this paper, we propose a new paradigm dubbed Knowledge Rumination to help the pre-trained language model utilize that related latent knowledge without retrieving it from the external corpus. By simply adding a prompt like "As far as I know" to the PLMs, we try to review related latent knowledge and inject them back into the model for knowledge consolidation. We apply the proposed knowledge rumination to various language models, including RoBERTa, DeBERTa, and GPT-3. Experimental results on six commonsense reasoning tasks and GLUE benchmarks demonstrate the effectiveness of our proposed approach, which proves that the knowledge stored in PLMs can be better exploited to enhance performance. Code is available in https://github.com/zjunlp/knowledge-rumination.

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

↑