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

DKPLM:一种用于自然语言理解的可分解知识增强预训练语言模型

DKPLM: Decomposable Knowledge-enhanced Pre-trained Language Model for Natural Language Understanding

East China Normal University(华东师范大学);Alibaba Group(阿里巴巴集团)

Taolin Zhang, Chengyu Wang, Nan Hu, Minghui Qiu, Chengguang Tang, Xiaofeng He, Jun Huang

摘要:

知识增强的预训练语言模型(KEPLMs)是从知识图谱中注入关系三元组以提高语言理解能力的预训练模型。为了保证有效的知识注入,以前的研究将模型与知识编码器相结合,用于表示从知识图谱中检索到的知识。知识检索和编码操作带来了巨大的计算负担,限制了此类模型在需要高推理速度的实际应用中的使用。在本文中,我们提出了一种新的KEPLM命名为DKPLM分解的预训练语言模型的知识注入过程中的预训练,微调和推理阶段,这有利于KEPLM在现实世界中的应用场景。具体来说,我们首先检测知识感知的长尾实体作为知识注入的目标,增强KEPLM的语义理解能力,避免注入冗余信息。长尾实体的嵌入被相关知识三元组形成的“伪令牌表示”所取代。我们进一步设计了用于预训练的关系知识解码任务,通过关系三元组重构来迫使模型真正理解注入的知识。实验表明,我们的模型优于其他KEPLM显着超过zero-shot知识探测任务和多知识感知的语言理解任务。我们进一步表明,DKPLM具有更高的推理速度比其他竞争模型,由于分解机制。

英文摘要:

Knowledge-Enhanced Pre-trained Language Models (KEPLMs) are pre-trained models with relation triples injecting from knowledge graphs to improve language understanding abilities. To guarantee effective knowledge injection, previous studies integrate models with knowledge encoders for representing knowledge retrieved from knowledge graphs. The operations for knowledge retrieval and encoding bring significant computational burdens, restricting the usage of such models in real-world applications that require high inference speed. In this paper, we propose a novel KEPLM named DKPLM that Decomposes Knowledge injection process of the Pre-trained Language Models in pre-training, fine-tuning and inference stages, which facilitates the applications of KEPLMs in real-world scenarios. Specifically, we first detect knowledge-aware long-tail entities as the target for knowledge injection, enhancing the KEPLMs' semantic understanding abilities and avoiding injecting redundant information. The embeddings of long-tail entities are replaced by "pseudo token representations" formed by relevant knowledge triples. We further design the relational knowledge decoding task for pre-training to force the models to truly understand the injected knowledge by relation triple reconstruction. Experiments show that our model outperforms other KEPLMs significantly over zero-shot knowledge probing tasks and multiple knowledge-aware language understanding tasks. We further show that DKPLM has a higher inference speed than other competing models due to the decomposing mechanism.

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

↑