CADGE: Context-Aware Dialogue Generation Enhanced with Graph-Structured Knowledge Aggregation

Hongbo Zhang, Chen Tang, Tyler Loakman, Bohao Yang, Stefan Goetze +1 more
5/10/2023
13 citations
cs.CL
gnn

Official code: StevenZHB/CADGE (3 stars, Python, last commit 2023-12-26).

Abstract

Commonsense knowledge is crucial to many natural language processing tasks. Existing works usually incorporate graph knowledge with conventional graph neural networks (GNNs), resulting in a sequential pipeline that compartmentalizes the encoding processes for textual and graph-based knowledge.

Show full abstract

This compartmentalization does, however, not fully exploit the contextual interplay between these two types of input knowledge. In this paper, a novel context-aware graph-attention model (Context-aware GAT) is proposed, designed to effectively assimilate global features from relevant knowledge graphs through a context-enhanced knowledge aggregation mechanism. Specifically, the proposed framework employs an innovative approach to representation learning that harmonizes heterogeneous features by amalgamating flattened graph knowledge with text data. The hierarchical application of graph knowledge aggregation within connected subgraphs, complemented by contextual information, to bolster the generation of commonsense-driven dialogues is analyzed. Empirical results demonstrate that our framework outperforms conventional GNN-based language models in terms of performance. Both, automated and human evaluations affirm the significant performance enhancements achieved by our proposed model over the concept flow baseline.

View on arXivView PDF

Code Implementations(1)

StevenZHB/CADGEOfficial100%
30Python, ShellMay 10, 20232 years ago

Similar Papers

Cite this paper

@article{zhang2023cadge,
  title  = {CADGE: Context-Aware Dialogue Generation Enhanced with Graph-Structured Knowledge Aggregation},
  author = {Hongbo Zhang and Chen Tang and Tyler Loakman and Bohao Yang and Stefan Goetze and Chenghua Lin},
  year   = {2023},
  eprint = {2305.06294},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.06294v4}
}

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

Discussion