CTRLStruct: Dialogue Structure Learning for Open-Domain Response Generation

Congchi Yin, Piji Li, Zhaochun Ren
3/2/2023
cs.CL

No official code found. Best implementation: lemonsis/CTRLStruct (9 stars, MIT, last commit 2023-03-16).

Abstract

Dialogue structure discovery is essential in dialogue generation. Well-structured topic flow can leverage background information and predict future topics to help generate controllable and explainable responses. However, most previous work focused on dialogue structure learning in task-oriented dialogue other than open-domain dialogue which is more complicated and challenging. In this paper, we present a new framework CTRLStruct for dialogue structure learning to effectively explore topic-level dialogue clusters as well as their transitions with unlabelled information. Precisely, dialogue utterances encoded by bi-directional Transformer are further trained through a special designed contrastive learning task to improve representation. Then we perform clustering to utterance-level representations and form topic-level clusters that can be considered as vertices in dialogue structure graph. The edges in the graph indicating transition probability between vertices are calculated by mimicking expert behavior in datasets. Finally, dialogue structure graph is integrated into dialogue model to perform controlled response generation. Experiments on two popular open-domain dialogue datasets show our model can generate more coherent responses compared to some excellent dialogue models, as well as outperform some typical sentence embedding methods in dialogue utterance representation. Code is available in GitHub.

View on arXivView PDF

Code Implementations(1)

lemonsis/CTRLStructCommunity100%
MIT

Code for WWW'23 paper "CTRLStruct: Dialogue Structure Learning for Open-Domain Response Generation"

90PythonFeb 9, 20233 years agoMIT

Similar Papers

Cite this paper

@article{yin2023ctrlstruct,
  title  = {CTRLStruct: Dialogue Structure Learning for Open-Domain Response Generation},
  author = {Congchi Yin and Piji Li and Zhaochun Ren},
  year   = {2023},
  eprint = {2303.01094},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.01094v1}
}

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

Discussion