Cargando…

Multiturn dialogue generation by modeling sentence-level and discourse-level contexts

Currently, multiturn dialogue models generate human-like responses based on pretrained language models given a dialogue history. However, most existing models simply concatenate dialogue histories, which makes it difficult to maintain a high degree of consistency throughout the generated text. We sp...

Descripción completa

Detalles Bibliográficos
Autores principales: Yang, Yang, Cao, Juan, Wen, Yujun, Zhang, Pengzhou
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Nature Publishing Group UK 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9701771/
https://www.ncbi.nlm.nih.gov/pubmed/36437277
http://dx.doi.org/10.1038/s41598-022-24787-1
_version_ 1784839610937901056
author Yang, Yang
Cao, Juan
Wen, Yujun
Zhang, Pengzhou
author_facet Yang, Yang
Cao, Juan
Wen, Yujun
Zhang, Pengzhou
author_sort Yang, Yang
collection PubMed
description Currently, multiturn dialogue models generate human-like responses based on pretrained language models given a dialogue history. However, most existing models simply concatenate dialogue histories, which makes it difficult to maintain a high degree of consistency throughout the generated text. We speculate that this is because the encoder ignores information about the hierarchical structure between sentences. In this paper, we propose a novel multiturn dialogue generation model that captures contextual information at the sentence level and at the discourse level during the encoding process. The context semantic information is dynamically modeled through a difference-aware module. A sentence order prediction training task is also designed to learn representation by reconstructing the order of disrupted sentences with a learning-to-rank algorithm. Experiments on the multiturn dialogue dataset, DailyDialog, demonstrate that our model substantially outperforms the baseline model in terms of both automatic and human evaluation metrics, generating more fluent and informative responses than the baseline model.
format Online
Article
Text
id pubmed-9701771
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher Nature Publishing Group UK
record_format MEDLINE/PubMed
spelling pubmed-97017712022-11-29 Multiturn dialogue generation by modeling sentence-level and discourse-level contexts Yang, Yang Cao, Juan Wen, Yujun Zhang, Pengzhou Sci Rep Article Currently, multiturn dialogue models generate human-like responses based on pretrained language models given a dialogue history. However, most existing models simply concatenate dialogue histories, which makes it difficult to maintain a high degree of consistency throughout the generated text. We speculate that this is because the encoder ignores information about the hierarchical structure between sentences. In this paper, we propose a novel multiturn dialogue generation model that captures contextual information at the sentence level and at the discourse level during the encoding process. The context semantic information is dynamically modeled through a difference-aware module. A sentence order prediction training task is also designed to learn representation by reconstructing the order of disrupted sentences with a learning-to-rank algorithm. Experiments on the multiturn dialogue dataset, DailyDialog, demonstrate that our model substantially outperforms the baseline model in terms of both automatic and human evaluation metrics, generating more fluent and informative responses than the baseline model. Nature Publishing Group UK 2022-11-27 /pmc/articles/PMC9701771/ /pubmed/36437277 http://dx.doi.org/10.1038/s41598-022-24787-1 Text en © The Author(s) 2022 https://creativecommons.org/licenses/by/4.0/Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) .
spellingShingle Article
Yang, Yang
Cao, Juan
Wen, Yujun
Zhang, Pengzhou
Multiturn dialogue generation by modeling sentence-level and discourse-level contexts
title Multiturn dialogue generation by modeling sentence-level and discourse-level contexts
title_full Multiturn dialogue generation by modeling sentence-level and discourse-level contexts
title_fullStr Multiturn dialogue generation by modeling sentence-level and discourse-level contexts
title_full_unstemmed Multiturn dialogue generation by modeling sentence-level and discourse-level contexts
title_short Multiturn dialogue generation by modeling sentence-level and discourse-level contexts
title_sort multiturn dialogue generation by modeling sentence-level and discourse-level contexts
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9701771/
https://www.ncbi.nlm.nih.gov/pubmed/36437277
http://dx.doi.org/10.1038/s41598-022-24787-1
work_keys_str_mv AT yangyang multiturndialoguegenerationbymodelingsentencelevelanddiscourselevelcontexts
AT caojuan multiturndialoguegenerationbymodelingsentencelevelanddiscourselevelcontexts
AT wenyujun multiturndialoguegenerationbymodelingsentencelevelanddiscourselevelcontexts
AT zhangpengzhou multiturndialoguegenerationbymodelingsentencelevelanddiscourselevelcontexts