Abstract
In real-world dialogue systems, identifying novel user intents from unlabeled logs is critical for continuous improvement. This task, framed as semi-supervised clustering, faces significant challenges in transferring knowledge from known intents and maintaining label consistency during iterative training. We present Deep Aligned Clustering (DAC), a framework that utilizes a centroid-based alignment strategy to stabilize pseudo-labels across epochs. By resolving the label-shuffling problem, DAC enables the learning of "clustering-friendly" features and provides a robust mechanism for estimating the number of unknown intent categories. Experimental results on the CLINC and BANKING benchmarks show that DAC significantly outperforms existing state-of-the-art methods, achieving an accuracy boost of over 16% on complex datasets.
Introduction
Dialogue systems are frequently confronted with user inputs that fall outside their initial training scope. To maintain service quality, developers must "discover" these new intents from unlabeled data. This problem is inherently difficult because it requires a model to leverage prior knowledge from a few labeled "known" intents (e.g., "book_flight") to accurately group completely unseen "new" intents (e.g., "cancel_subscription").
Existing semi-supervised clustering methods often suffer from label inconsistency. When using iterative clustering like K-means to generate pseudo-labels for neural network training, cluster indices frequently shuffle between epochs. For instance, a group of samples identified as "Intent A" might be assigned Label 1 in the first epoch but Label 5 in the second. This inconsistency confuses the network, leading to performance plateaus. Furthermore, most existing approaches assume the number of new intents ($K$) is known a priori, which is rarely the case in production environments.
Methodology: Deep Aligned Clustering (DAC)
The proposed DAC framework addresses these hurdles through a three-phase approach designed to maximize stability and feature discriminability.
1. Warm-up and Pre-training
The process begins with a BERT-based architecture to extract intent features. The model is first pre-trained on the limited labeled data available for known intents using a standard softmax loss. This phase provides a "semantic head start," ensuring that the initial feature space is organized according to general intent patterns.
2. Estimating the Number of Clusters ($K$)
To estimate the true number of intents without manual intervention, DAC starts with a large initial number of clusters ($K'$). After performing K-means on the extracted features, the system identifies and drops "low-confidence" clusters—those containing very few samples. The remaining dense clusters provide a reliable estimate for the actual value of $K$.
3. Iterative Training with Centroid Alignment
This is the core innovation of the DAC framework. To solve the label shuffling problem, the model employs a centroid-based alignment strategy using the Hungarian Algorithm.
As shown in the architecture above, the model compares the cluster centroids of the current epoch to the saved centroids from the previous epoch. By finding the optimal mapping between these centroids, DAC "re-aligns" the current pseudo-labels to match historical ones. This stability allows the model to treat the clustering task as a consistent self-supervised classification problem, forcing the BERT backbone to learn features that make these clusters increasingly distinct.
Experimental Results
The authors evaluated DAC on two challenging benchmarks: CLINC (150 intents across 10 domains) and BANKING (77 fine-grained intents). In these experiments, 75% of intents were treated as "known" (with only 10% of their samples labeled), while 25% were treated as entirely new intents to be discovered.
Performance and Robustness
DAC demonstrated substantial improvements over state-of-the-art baselines like CDAC+ and BERT-MCL across all metrics, including Normalized Mutual Information (NMI), Adjusted Rand Index (ARI), and Accuracy (ACC).
On the CLINC dataset, DAC achieved an accuracy of 86.49%, outperforming the previous best semi-supervised method by over 16 percentage points. As illustrated in the performance plots, DAC's advantage is particularly pronounced when the ratio of known classes is low, indicating superior knowledge transfer capabilities.
$K$ Prediction Accuracy
DAC also proved highly effective at estimating the number of hidden intents. On the CLINC dataset, where the ground truth $K$ was 150, DAC predicted between 122 and 130 intents. In contrast, competing methods often produced highly inaccurate estimates, sometimes predicting as few as 38 or as many as 195 categories.
Conclusion
The success of Deep Aligned Clustering highlights that stability breeds accuracy in semi-supervised clustering. By using cluster centroids as stable anchors for label alignment, DAC allows neural networks to inherit learning from previous epochs rather than constantly re-mapping the feature space. While the method currently depends on a reasonable initial guess for the maximum number of clusters, its ability to prune sparse clusters and maintain label consistency represents a significant step forward for automated intent discovery in dynamic dialogue systems.
Summary updated