KILM: Knowledge Injection into Encoder-Decoder Language Models

Yan Xu, Mahdi Namazifar, Devamanyu Hazarika, Aishwarya Padmakumar, Yang Liu +1 more
2/17/2023
cs.CLcs.AI

No official code found. Best implementation: alexa/kilm (23 stars, Apache-2.0, last commit 2023-06-12).

Abstract

Large pre-trained language models (PLMs) have been shown to retain implicit knowledge within their parameters. To enhance this implicit knowledge, we propose Knowledge Injection into Language Models (KILM), a novel approach that injects entity-related knowledge into encoder-decoder PLMs, via a generative knowledge infilling objective through continued pre-training. This is done without architectural modifications to the PLMs or adding additional parameters. Experimental results over a suite of knowledge-intensive tasks spanning numerous datasets show that KILM enables models to retain more knowledge and hallucinate less, while preserving their original performance on general NLU and NLG tasks. KILM also demonstrates improved zero-shot performances on tasks such as entity disambiguation, outperforming state-of-the-art models having 30x more parameters.

View on arXivView PDF

Code Implementations(1)

alexa/kilmCommunity100%
Apache-2.0
232Shell, PythonFeb 17, 20233 years agoApache-2.0

Similar Papers

Cite this paper

@article{xu2023kilm,
  title  = {KILM: Knowledge Injection into Encoder-Decoder Language Models},
  author = {Yan Xu and Mahdi Namazifar and Devamanyu Hazarika and Aishwarya Padmakumar and Yang Liu and Dilek Hakkani-Tür},
  year   = {2023},
  eprint = {2302.09170},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.09170v1}
}

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

Discussion