Simulating Dual-Process Thinking in Dialogue Topic Shift Detection

Huiyao Wang, Peifeng Li, Yaxin Fan, Qiaoming ZhuCOLING 2025

Abstract

Previous work on dialogue topic shift detection has primarily focused on shallow local reasoning, overlooking the importance of considering the global historical structure and local details to elucidate the underlying causes of topic shift. To address these issues, we introduce dual-process theory to this task and design a novel Dual-Module Framework (DMF), consisting of intuition and reasoning modules, to emulate this cognitive process. The intuition module employs Large Language Models (LLMs) to extract and store the global topic structure of historical dialogue, while the reasoning module introduces an LLM to generate reasoning samples between the response and the most recent topic, providing local detail explanations. We distill this framework into a small generative model for precise reasoning. Experimental results on three public datasets show that our DMF outperforms state-of-the-art baselines.

Introduction

Dialogue topic shift detection is the task of determining, in real-time, whether a new response introduces a new topic or maintains the current one. This is a critical component for proactive AI assistants that need to follow a conversation's flow or plan future topics. However, current approaches suffer from two major gaps: a lack of global context, often ignoring the broader historical structure, and a lack of nuanced explanations for why a shift occurred.

The Dual-Module Framework (DMF)

Inspired by Daniel Kahneman’s Dual-Process Theory, the DMF mimics human cognitive processes by splitting the task into two systems:

  • System 1 (The Intuition Module): This module acts as the "memory." It uses an LLM (GPT-4) to extract a global topic structure from the dialogue history. By organizing the conversation into thematic blocks, the model can quickly match a new response against the established history.
  • System 2 (The Reasoning Module): This module performs "slow" analytical thinking. It generates detailed natural language explanations (Chain-of-Thought) for why a specific turn constitutes a shift or a continuation, focusing on local dynamics and specific keywords.
The architecture of the Dual-Module Framework (DMF), illustrating the classification, simulation, and generation components.

To make the system efficient, the authors utilize Knowledge Distillation (Fine-tune-CoT). GPT-4 generates "gold" topic structures and reasoning samples, which are then distilled into smaller, more efficient generative models like T5 and BART through supervised fine-tuning. The final model is trained with a multi-task joint loss function optimizing for classification accuracy, global structure generation, and local reasoning simultaneously.

Experimental Results

The framework was evaluated on three public datasets: TIAGE (English, PersonaChat-based), CNTD (Chinese natural dialogue), and SuperDialseg (large-scale English dialogue segmentation).

As shown in the results table below, the DMF consistently achieved state-of-the-art (SOTA) performance across all benchmarks. Notably, the distilled T5 model (DMF(T5)) significantly outperformed much larger models like LLaMA and zero-shot GPT-4.

Performance comparison of various models across the TIAGE, CNTD, and SuperDialseg datasets.

Key Performance Highlights:

  • TIAGE: DMF(T5) achieved an F1 score of 80.4, a significant jump over the base T5 (73.9) and LLaMA (73.1).
  • CNTD: The model reached an F1 of 85.1, outperforming previous SOTA methods.
  • Shift Detection: The "Shift" category is notoriously harder to detect than "Maintain." On the TIAGE dataset, DMF improved the F1 for "Shift" by 11.8 points compared to LLaMA.

Discussion and Insights

The success of DMF suggests that cognitive mimicry is a powerful tool for dialogue understanding. By explicitly modeling "Intuition" (global memory) and "Reasoning" (local logic), the model gains a human-like understanding of conversation flow. The global structure acts as a safety net, helping the model recognize when a speaker returns to a previous topic after a brief detour—a scenario where local-only models often fail.

Furthermore, the results demonstrate that small models can punch up. Through distillation, a relatively small T5 model can outperform massive models with billions of parameters. This suggests that task-specific reasoning and structured historical context are more valuable for this task than raw parameter count.

Limitations and Future Work

Despite its success, the model still struggles with the "Greeting Problem," where social fluff (e.g., "Hello, how are you?") is sometimes misidentified as a topic shift. Additionally, the current framework treats topic blocks as monolithic; future work will explore more fine-grained relationships between sub-topics and improve the quality of historical summarization to further enhance the "Intuition" module.

Summary updated

BibTeX
@inproceedings{wang2025simulating,
  author = {Huiyao Wang and Peifeng Li and Yaxin Fan and Qiaoming Zhu},
  title = {{Simulating Dual-Process Thinking in Dialogue Topic Shift Detection}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2025},
  url = {https://openreview.net/forum?id=psBfeRmmXB},
}
Figure