KALA: Knowledge-Augmented Language Model Adaptation

Minki Kang, Jinheon Baek, Sung Ju Hwang
4/22/2022
cs.CL

Official code: Nardien/KALA (35 stars, Python, last commit 2023-10-17).

Abstract

Pre-trained language models (PLMs) have achieved remarkable success on various natural language understanding tasks. Simple fine-tuning of PLMs, on the other hand, might be suboptimal for domain-specific tasks because they cannot possibly cover knowledge from all domains.

Show full abstract

While adaptive pre-training of PLMs can help them obtain domain-specific knowledge, it requires a large training cost. Moreover, adaptive pre-training can harm the PLM's performance on the downstream task by causing catastrophic forgetting of its general knowledge. To overcome such limitations of adaptive pre-training for PLM adaption, we propose a novel domain adaption framework for PLMs coined as Knowledge-Augmented Language model Adaptation (KALA), which modulates the intermediate hidden representations of PLMs with domain knowledge, consisting of entities and their relational facts. We validate the performance of our KALA on question answering and named entity recognition tasks on multiple datasets across various domains. The results show that, despite being computationally efficient, our KALA largely outperforms adaptive pre-training. Code is available at: https://github.com/Nardien/KALA/.

View on arXivView PDF

Code Implementations(1)

Nardien/KALAOfficial100%

Official Code Repository for the paper "KALA: Knowledge-Augmented Language Model Adaptation" (NAACL 2022)

353PythonApr 26, 20223 years ago

Similar Papers

Cite this paper

@article{kang2022kala,
  title  = {KALA: Knowledge-Augmented Language Model Adaptation},
  author = {Minki Kang and Jinheon Baek and Sung Ju Hwang},
  year   = {2022},
  eprint = {2204.10555},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.10555}
}

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

Discussion