Grounding Dialogue Systems via Knowledge Graph Aware Decoding with Pre-trained Transformers

Debanjan Chaudhuri, Md Rashad Al Hasan Rony, Jens Lehmann
3/30/2021
cs.CL
transformer-attention

Official code: SmartDataAnalytics/kgirnet (10 stars, Python, MIT, last commit 2023-07-06).

Abstract

Generating knowledge grounded responses in both goal and non-goal oriented dialogue systems is an important research challenge. Knowledge Graphs (KG) can be viewed as an abstraction of the real world, which can potentially facilitate a dialogue system to produce knowledge grounded responses.

Show full abstract

However, integrating KGs into the dialogue generation process in an end-to-end manner is a non-trivial task. This paper proposes a novel architecture for integrating KGs into the response generation process by training a BERT model that learns to answer using the elements of the KG (entities and relations) in a multi-task, end-to-end setting. The k-hop subgraph of the KG is incorporated into the model during training and inference using Graph Laplacian. Empirical evaluation suggests that the model achieves better knowledge groundedness (measured via Entity F1 score) compared to other state-of-the-art models for both goal and non-goal oriented dialogues.

View on arXivView PDF

Code Implementations(1)

MIT

Scripts for KGIRNet model for ESWC

103PythonJul 16, 20203 years agoMIT

Similar Papers

Cite this paper

@article{chaudhuri2021grounding,
  title  = {Grounding Dialogue Systems via Knowledge Graph Aware Decoding with Pre-trained Transformers},
  author = {Debanjan Chaudhuri and Md Rashad Al Hasan Rony and Jens Lehmann},
  year   = {2021},
  eprint = {2103.16289},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.16289}
}

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

Discussion