Galetzka, FabianFabianGaletzkaRose, JewgeniJewgeniRoseSchlangen, DavidDavidSchlangenLehmann, JensJensLehmann2022-03-152022-03-152021https://publica.fraunhofer.de/handle/publica/41334810.18653/v1/2021.acl-long.546To 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 negativ e 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.en005006629Space Efficient Context Encoding for Non-Task-Oriented Dialogue Generation with Graph Attention Transformerconference paper