LM-CORE: Language Models with Contextually Relevant External Knowledge

Jivat Neet Kaur, Sumit Bhatia, Milan Aggarwal, Rachit Bansal, Balaji Krishnamurthy
8/12/2022
cs.CLcs.LG

Official code: sumit-research/lmcore (4 stars, MIT, last commit 2022-07-06).

Abstract

Large transformer-based pre-trained language models have achieved impressive performance on a variety of knowledge-intensive tasks and can capture factual knowledge in their parameters. We argue that storing large amounts of knowledge in the model parameters is sub-optimal given the ever-growing amounts of knowledge and resource requirements.

Show full abstract

We posit that a more efficient alternative is to provide explicit access to contextually relevant structured knowledge to the model and train it to use that knowledge. We present LM-CORE -- a general framework to achieve this -- that allows \textit{decoupling} of the language model training from the external knowledge source and allows the latter to be updated without affecting the already trained model. Experimental results show that LM-CORE, having access to external knowledge, achieves significant and robust outperformance over state-of-the-art knowledge-enhanced language models on knowledge probing tasks; can effectively handle knowledge updates; and performs well on two downstream tasks. We also present a thorough error analysis highlighting the successes and failures of LM-CORE.

View on arXivView PDF

Code Implementations(1)

MIT

Repository for the LM-CORE framework (Language Models with Contextually Relevant External Knowledge)

40Apr 30, 20224 years agoMIT

Similar Papers

Cite this paper

@article{kaur2022lmcore,
  title  = {LM-CORE: Language Models with Contextually Relevant External Knowledge},
  author = {Jivat Neet Kaur and Sumit Bhatia and Milan Aggarwal and Rachit Bansal and Balaji Krishnamurthy},
  year   = {2022},
  eprint = {2208.06458},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.06458}
}

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/2208.06458.svg)](https://codeofpaper.com/paper/2208.06458)

Discussion