A Simple but Effective Pluggable Entity Lookup Table for Pre-trained Language Models

Deming Ye, Yankai Lin, Peng Li, Maosong Sun, Zhiyuan Liu
2/27/2022
cs.CL

Official code: thunlp/PELT (45 stars, Python, last commit 2022-11-27).

Abstract

Pre-trained language models (PLMs) cannot well recall rich factual knowledge of entities exhibited in large-scale corpora, especially those rare entities. In this paper, we propose to build a simple but effective Pluggable Entity Lookup Table (PELT) on demand by aggregating the entity's output representations of multiple occurrences in the corpora.

Show full abstract

PELT can be compatibly plugged as inputs to infuse supplemental entity knowledge into PLMs. Compared to previous knowledge-enhanced PLMs, PELT only requires 0.2%-5% pre-computation with capability of acquiring knowledge from out-of-domain corpora for domain adaptation scenario. The experiments on knowledge-related tasks demonstrate that our method, PELT, can flexibly and effectively transfer entity knowledge from related corpora into PLMs with different architectures.

View on arXivView PDF

Code Implementations(1)

thunlp/PELTOfficial100%

Source code for "A Simple but Effective Pluggable Entity Lookup Table for Pre-trained Language Models"

457Python, Jupyter NotebookFeb 24, 20224 years ago

Similar Papers

Cite this paper

@article{ye2022simple,
  title  = {A Simple but Effective Pluggable Entity Lookup Table for Pre-trained Language Models},
  author = {Deming Ye and Yankai Lin and Peng Li and Maosong Sun and Zhiyuan Liu},
  year   = {2022},
  eprint = {2202.13392},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.13392}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2202.13392.svg)](https://codeofpaper.com/paper/2202.13392)

Discussion