Unsupervised Topic Shift Detection in Chats

In modern digital communication, chat platforms generate vast amounts of unstructured conversational data. However, the fluid, informal, and cross-timeframe nature of these chats challenges traditional supervised topic detection approaches. Addressing this gap, we propose an entirely unsupervised framework for detecting topic shifts in chat logs. Our method first converts individual messages into contextual embeddings using DistilBERT, thereby capturing nuanced semantic features. Next, rather than simply segmenting messages based on fixed temporal windows, we analyze the temporal evolution of these embeddings using a novel smoothing algorithm that highlights significant changes in the semantic trajectory of the conversation. Candidate topic shift points are then identified through an unsupervised peak detection process applied to the smoothed signal. Finally, an adaptive clustering algorithm groups the segmented data to refine topic boundaries without any manual labeling, ensuring the approach remains completely unsupervised. This method not only better accommodates the dynamic characteristics of chat logs but also robustly distinguishes fine-grained topic transitions. Experimental results demonstrate that our unsupervised framework outperforms traditional lexical and statistical techniques in detecting nuanced topic changes, making it highly effective for applications in social media analysis and real-time chat monitoring.

Authors

Institutions

Publication Details

Published
2025-07-19
DOI
https://doi.org/10.1109/amlds63918.2025.11159466
Primary Topic
Complex Network Analysis Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Unsupervised Topic Shift Detection in Chats

Benjamin C. M. Fung, Yuze Kevin Liu, Noman Mohammed, Djedjiga Mouheb
Complex Network Analysis Techniques
article

Unsupervised Topic Shift Detection in Chats

Benjamin C. M. Fung, Yuze Kevin Liu, Noman Mohammed, Djedjiga Mouheb
article en

Abstract

In modern digital communication, chat platforms generate vast amounts of unstructured conversational data. However, the fluid, informal, and cross-timeframe nature of these chats challenges traditional supervised topic detection approaches. Addressing this gap, we propose an entirely unsupervised framework for detecting topic shifts in chat logs. Our method first converts individual messages into contextual embeddings using DistilBERT, thereby capturing nuanced semantic features. Next, rather than simply segmenting messages based on fixed temporal windows, we analyze the temporal evolution of these embeddings using a novel smoothing algorithm that highlights significant changes in the semantic trajectory of the conversation. Candidate topic shift points are then identified through an unsupervised peak detection process applied to the smoothed signal. Finally, an adaptive clustering algorithm groups the segmented data to refine topic boundaries without any manual labeling, ensuring the approach remains completely unsupervised. This method not only better accommodates the dynamic characteristics of chat logs but also robustly distinguishes fine-grained topic transitions. Experimental results demonstrate that our unsupervised framework outperforms traditional lexical and statistical techniques in detecting nuanced topic changes, making it highly effective for applications in social media analysis and real-time chat monitoring.

Université Laval (CA), University of Manitoba (CA), McGill University (CA)
Openalex Percentile: Top 80%
Complex Network Analysis Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Unsupervised Topic Shift Detection in Chats — Benjamin C. M. Fung, Yuze Kevin Liu, et al. · (2025) | TGRS Research Map | TGRS