Dialogue Generation Model with Hierarchical Encoding and Semantic Segmentation of Dialogue Context

Xiao Wei,Yidian Lin,Qitao Hu
DOI: https://doi.org/10.1142/s0218194024400011
IF: 1.007
2024-02-16
International Journal of Software Engineering and Knowledge Engineering
Abstract:Dialogue generation, as a crucial subtask of dialogue systems, is garnering increasing attention in the field of Natural Language Processing (NLP). The success of dialogue generation relies on effectively utilizing context information to ensure coherent and diverse responses. However, current approaches heavily rely on external sources rather than leveraging the inherent dialogue content. We propose a new approach to address this challenge by introducing semantic segmentation from the field of image processing into NLP. Our contribution lies in the development of a Dialogue Generation model with Hierarchical Encoding and Semantic segmentation of dialogue Context, which is called DGHESC. This model is topic and speaker-aware, capturing the flow of topic and speaker information within the dialogue context using a hierarchical transformer-based framework. Specifically, we extract semantic information at the word-level for each utterance, segment the dialogue context based on topic and speaker semantics, and employ attention mechanisms to model the context at the utterance-level. Experimental results on two open-domain datasets demonstrate the effectiveness of DGHESC. It enhances response quality and achieves state-of-the-art performances on the datasets.
computer science, artificial intelligence,engineering, electrical & electronic, software engineering
What problem does this paper attempt to address?