NAACL 2022findings15 citations

LM-CORE: Language Models with Contextually Relevant External Knowledge

Jivat Kaur, Sumit Bhatia, Milan Aggarwal, Rachit Bansal, Balaji Krishnamurthy

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. 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 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. Our code and model checkpoints are publicly available.

BibTeX
@inproceedings{kaur-etal-2022-lm,
    title = "{LM}-{CORE}: Language Models with Contextually Relevant External Knowledge",
    author = "Kaur, Jivat  and
      Bhatia, Sumit  and
      Aggarwal, Milan  and
      Bansal, Rachit  and
      Krishnamurthy, Balaji",
    editor = "Carpuat, Marine  and
      de Marneffe, Marie-Catherine  and
      Meza Ruiz, Ivan Vladimir",
    booktitle = "Findings of the Association for Computational Linguistics: NAACL 2022",
    month = jul,
    year = "2022",
    address = "Seattle, United States",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2022.findings-naacl.57/",
    doi = "10.18653/v1/2022.findings-naacl.57",
    pages = "750--769"
}
LM-CORE: Language Models with Contextually Relevant External Knowledge · NAACL 2022