SOTAVerified

Space Efficient Context Encoding for Non-Task-Oriented Dialogue Generation with Graph Attention Transformer

2021-08-01ACL 2021Code Available0· sign in to hype

Fabian Galetzka, Jewgeni Rose, David Schlangen, Jens Lehmann

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

To improve the coherence and knowledge retrieval capabilities of non-task-oriented dialogue systems, recent Transformer-based models aim to integrate fixed background context. This often comes in the form of knowledge graphs, and the integration is done by creating pseudo utterances through paraphrasing knowledge triples, added into the accumulated dialogue context. However, the context length is fixed in these architectures, which restricts how much background or dialogue context can be kept. In this work, we propose a more concise encoding for background context structured in the form of knowledge graphs, by expressing the graph connections through restrictions on the attention weights. The results of our human evaluation show that this encoding reduces space requirements without negative effects on the precision of reproduction of knowledge and perceived consistency. Further, models trained with our proposed context encoding generate dialogues that are judged to be more comprehensive and interesting.

Tasks

Reproductions