Learning Knowledge Bases with Parameters for Task-Oriented Dialogue Systems

Andrea Madotto, Samuel Cahyawijaya, Genta Indra Winata, Yan Xu, Zihan Liu +2 more
9/28/2020
cs.CLcs.AI

Official code: HLTCHKUST/ke-dialogue (45 stars, Python, MIT, PyTorch, last commit 2022-01-19).

Abstract

Task-oriented dialogue systems are either modularized with separate dialogue state tracking (DST) and management steps or end-to-end trainable. In either case, the knowledge base (KB) plays an essential role in fulfilling user requests.

Show full abstract

Modularized systems rely on DST to interact with the KB, which is expensive in terms of annotation and inference time. End-to-end systems use the KB directly as input, but they cannot scale when the KB is larger than a few hundred entries. In this paper, we propose a method to embed the KB, of any size, directly into the model parameters. The resulting model does not require any DST or template responses, nor the KB as input, and it can dynamically update its KB via fine-tuning. We evaluate our solution in five task-oriented dialogue datasets with small, medium, and large KB size. Our experiments show that end-to-end models can effectively embed knowledge bases in their parameters and achieve competitive performance in all evaluated datasets.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

KE-Dialogue: Injecting knowledge graph into a fully end-to-end dialogue system.

457Python, Jupyter NotebookSep 15, 20204 years agoMIT
dialoguedialogue-systemgptgpt-2knowledge+6 more

Similar Papers

Cite this paper

@article{madotto2020learning,
  title  = {Learning Knowledge Bases with Parameters for Task-Oriented Dialogue Systems},
  author = {Andrea Madotto and Samuel Cahyawijaya and Genta Indra Winata and Yan Xu and Zihan Liu and Zhaojiang Lin and Pascale Fung},
  year   = {2020},
  eprint = {2009.13656},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2009.13656}
}

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

Discussion