NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Weakly Supervised Method for Topic Segmentation and Labeling in Goal-oriented Dialogues via Reinforcement Learning

Ryuichi Takanobu, Minlie Huang, Zhongzhou Zhao, Feng-Lin Li, Haiqing Chen, Xiaoyan Zhu, Liqiang Nie

Introduction

In goal-oriented dialogues, such as customer service interactions, understanding topic structure is essential for downstream tasks like automated summarization and intent detection. However, these conversations present significant challenges: they are often informal, characterized by slang and typos; topics exhibit local continuity across multiple turns; and the overall session requires a cohesive global structure. Traditional methods often rely on simple lexical cohesion or expensive human-annotated datasets. This paper proposes a weakly supervised reinforcement learning (RL) framework to bridge this gap, learning topic structures from unlabeled data.

Methodology

The proposed system utilizes a "positive loop" consisting of three main components: Noisy Labeling, a State Representation Network (SRN), and a Policy Network (PN).

Overview of the proposed framework, including Prior Knowledge, Noisy Labeling, State Representation Network, and Policy Network.

Noisy Labeling

To jumpstart the process without labeled data, a small set of domain-specific keywords (e.g., "battery," "refund") is used to automatically assign initial "noisy" labels to utterances. For utterances without keywords, a nearest-neighbor approach based on word embeddings is employed.

State Representation Network (SRN)

The SRN employs a Hierarchical LSTM (HLSTM) to capture context. A word-level LSTM processes individual sentences, while a sentence-level LSTM tracks the conversation flow. This hierarchical structure allows the model to interpret informal or vague sentences by leveraging the surrounding dialogue context.

Policy Network and Reinforcement Learning

Topic labeling is modeled as a sequential decision process within a Policy Network. The model is optimized using two types of rewards:

  1. Intermediate Reward: Encourages local continuity by rewarding the model for maintaining the same topic label for semantically similar adjacent utterances.
  2. Delayed Reward: Calculated after processing the entire dialogue, it rewards global cohesion—high similarity within segments and low similarity between different segments.

The system iterates by using the RL policy to refine noisy labels, which then improves the SRN training, creating a self-reinforcing improvement cycle.

Key Results

The proposed method demonstrates significant improvements over traditional baselines like TextTiling and LDA-based models.

Comparison of topic segmentation results between initial Noisy Labeling and the proposed Reinforcement Learning approach against the reference ground truth.
  • Topic Labeling Accuracy: On the SmartPhone dataset, the model achieved 62.2% accuracy, outperforming the best baseline (NL+HLSTM at 52.6%) and simple keyword matching (39.8%).
  • Segmentation Quality: The model achieved a WindowDiff (WD) score of 0.415, significantly better than TextTiling (0.802) and TopicTiling (0.522).
  • Robustness: The RL refinement remained effective even when the initial keyword set was reduced to just three per topic, indicating the system's ability to generalize beyond simple keyword matching.

Conclusion

This research highlights the power of weak supervision and reinforcement learning in structuring informal, goal-oriented dialogues. By balancing local continuity with global cohesion through a dual-reward system and leveraging hierarchical context, the model effectively cleans initial labeling noise. Future work may explore reducing keyword dependency further and adapting the framework to open-domain dialogues that lack a structured problem-resolution flow.

Summary updated

BibTeX
@inproceedings{takanobu2018weakly,
  author = {Ryuichi Takanobu and Minlie Huang and Zhongzhou Zhao and Feng-Lin Li and Haiqing Chen and Xiaoyan Zhu and Liqiang Nie},
  title = {{A Weakly Supervised Method for Topic Segmentation and Labeling in Goal-oriented Dialogues via Reinforcement Learning}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2018},
  doi = {10.24963/ijcai.2018/612},
}
Figure