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

Ered:增强的实体和描述文本表示

Ered: Enhanced Text Representations with Entities and Descriptions

Beihang University(北京航空航天大学);University of Science and Technology of China(中国科学技术大学)

Qinghua Zhao, Shuai Ma, Yuxuan Lei

摘要:

外部知识,例如,实体和实体描述,可以帮助人类理解文本。已经探索了许多工作,以在预训练模型中包括外部知识。这些方法通常设计预训练任务,并通过更新模型权重来隐式地引入知识,或者直接将其与原始文本一起使用。虽然有效,但有一些限制。一方面,它是隐式的,只关注模型权重,忽略了预先训练的实体嵌入。另一方面,实体描述可能很长,并且与原始文本一起输入到模型中可能会分散模型的注意力。本文的目的是明确包括实体和实体描述的微调阶段。首先,预先训练的实体嵌入与原始文本表示融合,并由主干模型逐层更新。其次,描述由骨干模型外的知识模块表示,每个知识层有选择地连接到一个骨干层进行融合。第三,两个与知识相关的辅助任务,即,实体/描述增强和实体增强/污染任务,被设计为平滑进化表示之间的语义间隙。我们在四个面向知识的任务和两个常见任务上进行了实验,结果在几个数据集上达到了新的水平。此外,我们进行了烧蚀研究,以表明我们的方法中的每个模块是必要的。该代码可在https://github.com/lshowway/Ered上获得。

英文摘要:

External knowledge,e.g., entities and entity descriptions, can help humans understand texts. Many works have been explored to include external knowledge in the pre-trained models. These methods, generally, design pre-training tasks and implicitly introduce knowledge by updating model weights, alternatively, use it straightforwardly together with the original text. Though effective, there are some limitations. On the one hand, it is implicit and only model weights are paid attention to, the pre-trained entity embeddings are ignored. On the other hand, entity descriptions may be lengthy, and inputting into the model together with the original text may distract the model's attention. This paper aims to explicitly include both entities and entity descriptions in the fine-tuning stage. First, the pre-trained entity embeddings are fused with the original text representation and updated by the backbone model layer by layer. Second, descriptions are represented by the knowledge module outside the backbone model, and each knowledge layer is selectively connected to one backbone layer for fusing. Third, two knowledge-related auxiliary tasks, i.e., entity/description enhancement and entity enhancement/pollution task, are designed to smooth the semantic gaps among evolved representations. We conducted experiments on four knowledge-oriented tasks and two common tasks, and the results achieved new state-of-the-art on several datasets. Besides, we conduct an ablation study to show that each module in our method is necessary. The code is available at https://github.com/lshowway/Ered.

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

↑