An Unsupervised Dialogue Topic Segmentation Model Based on Utterance Rewriting

Xia Hou, Qifeng Li, Tongliang LiarXiv 2024 · DOI

Introduction

Dialogue Topic Segmentation (DTS) is a critical task in natural language processing, aimed at partitioning long conversations into coherent topical segments. This process is foundational for downstream applications such as automated meeting summarization, dialogue management, and information retrieval. However, the inherent nature of human conversation—characterized by frequent use of co-references (e.g., "it", "that") and ellipsis (omitting words for brevity)—poses a significant challenge. These linguistic shortcuts create "noise" that obscures semantic links between adjacent turns, making it difficult for standard models to detect topic shifts accurately.

Existing unsupervised DTS methods often struggle with this ambiguity. Furthermore, while large amounts of unlabeled dialogue data are available, effectively leveraging this data without human-annotated labels remains a persistent hurdle in the field.

Methodology: The UR-DTS Framework

To address these challenges, researchers introduced UR-DTS (Utterance Rewriting - Dialogue Topic Segmentation), an unsupervised framework that prioritizes context restoration before segmentation. The model's architecture consists of three primary stages:

  1. Utterance Rewriting (UR): The core innovation involves using a pre-trained Seq2Seq model (such as T5) to "rewrite" dialogue turns. This step resolves ambiguous pronouns and restores omitted information, transforming fragments into complete, context-aware sentences. For instance, a turn like "Yes, please" might be expanded to "Yes, I would like directions to the Stanford Shopping Center, please."
  2. Topic and Coherence Encoding: The clarified utterances are then processed by two specialized encoders. SimCSE serves as a Topic Encoder to generate robust sentence embeddings, while an NSP-based BERT model acts as a Coherence Encoder to measure the logical flow between consecutive turns.
  3. Neighboring Complete Utterance Matching (NCUM): This novel unsupervised training task enables the model to distinguish between genuine neighboring utterances and randomly sampled "pseudo-segments." By training on "complete" utterances provided by the UR module, the model learns a cleaner signal for topic similarity.

Finally, the TextTiling algorithm utilizes the refined coherence scores to predict precise topic boundaries.

Overview of the UR-DTS model architecture, including the rewriting, encoding, and task modules.

Experimental Setup

The UR-DTS model was evaluated on two prominent English-language benchmarks:

  • DialSeg711: A dataset comprising 711 real-world dialogues with frequent topic shifts, derived from MultiWOZ and KVRET.
  • Doc2Dial: A larger dataset containing over 4,100 synthetic, document-grounded dialogues. The UR module itself was pre-trained using the DECODE dataset to ensure high-quality restoration of conversational context.

Results and Discussion

The UR-DTS model demonstrated superior performance, significantly outperforming all previous unsupervised baselines across both benchmarks.

Performance comparison of UR-DTS against various baselines on DialSeg711 and Doc2dial datasets.

On the DialSeg711 dataset, the model achieved a state-of-the-art (SOTA) absolute error score ($P_k$) of 11.42% and a WindowDiff (WD) of 12.97%. This represents an approximate 6% absolute improvement over previous leading models. Similarly, on the Doc2Dial dataset, the model reached SOTA results with 35.17% ($P_k$) and 38.49% (WD), improving upon previous benchmarks by roughly 3% and 2%, respectively.

Qualitative analysis confirmed that the "secret sauce" of the model's success is context restoration. By resolving complex references, the model establishes a "shared vocabulary" between adjacent turns that was previously missing, leading to much more accurate boundary detection.

Conclusion and Future Work

UR-DTS proves that topic segmentation is as much a data-clarity problem as it is an architectural one. By leveraging the power of pre-trained models for unsupervised context restoration, it sets a new standard for the field.

However, several avenues for future research remain. The computational overhead of running large models like T5 for every dialogue turn is significant. Additionally, the effectiveness of this approach in "pro-drop" languages (where subjects are frequently omitted by grammatical rule) and its sensitivity to domain-specific jargon (e.g., medical or legal) require further investigation.

Summary updated

BibTeX
@misc{hou2024unsupervised,
  author = {Xia Hou and Qifeng Li and Tongliang Li},
  title = {{An Unsupervised Dialogue Topic Segmentation Model Based on Utterance Rewriting}},
  year = {2024},
  eprint = {2409.07672},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.07672},
}
Figure