Injecting Domain Knowledge in Language Models for Task-Oriented Dialogue Systems

Denis Emelin, Daniele Bonadiman, Sawsan Alqahtani, Yi Zhang, Saab Mansour
12/15/2022
cs.CLcs.AI

Official code: amazon-science/domain-knowledge-injection (35 stars, Python, Apache-2.0, last commit 2023-07-25).

Abstract

Pre-trained language models (PLM) have advanced the state-of-the-art across NLP applications, but lack domain-specific knowledge that does not naturally occur in pre-training data. Previous studies augmented PLMs with symbolic knowledge for different downstream NLP tasks.

Show full abstract

However, knowledge bases (KBs) utilized in these studies are usually large-scale and static, in contrast to small, domain-specific, and modifiable knowledge bases that are prominent in real-world task-oriented dialogue (TOD) systems. In this paper, we showcase the advantages of injecting domain-specific knowledge prior to fine-tuning on TOD tasks. To this end, we utilize light-weight adapters that can be easily integrated with PLMs and serve as a repository for facts learned from different KBs. To measure the efficacy of proposed knowledge injection methods, we introduce Knowledge Probing using Response Selection (KPRS) -- a probe designed specifically for TOD models. Experiments on KPRS and the response generation task show improvements of knowledge injection with adapters over strong baselines.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
354Python, ShellOct 22, 20223 years agoApache-2.0

Similar Papers

Cite this paper

@article{emelin2022injecting,
  title  = {Injecting Domain Knowledge in Language Models for Task-Oriented Dialogue Systems},
  author = {Denis Emelin and Daniele Bonadiman and Sawsan Alqahtani and Yi Zhang and Saab Mansour},
  year   = {2022},
  eprint = {2212.08120},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.08120}
}

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

Discussion