[Paper Review] Finding Dominant User Utterances And System Responses in Conversations
This paper proposes SimCluster, a novel K-means extension that jointly clusters user and system utterances while leveraging adjacency information to improve intent and response grouping. It achieves up to 10% absolute F1-score improvement over standard K-means by aligning clusters through a penalty-based objective function, significantly enhancing clustering quality on real and synthetic dialog data.
There are several dialog frameworks which allow manual specification of intents and rule based dialog flow. The rule based framework provides good control to dialog designers at the expense of being more time consuming and laborious. The job of a dialog designer can be reduced if we could identify pairs of user intents and corresponding responses automatically from prior conversations between users and agents. In this paper we propose an approach to find these frequent user utterances (which serve as examples for intents) and corresponding agent responses. We propose a novel SimCluster algorithm that extends standard K-means algorithm to simultaneously cluster user utterances and agent utterances by taking their adjacency information into account. The method also aligns these clusters to provide pairs of intents and response groups. We compare our results with those produced by using simple Kmeans clustering on a real dataset and observe upto 10% absolute improvement in F1-scores. Through our experiments on synthetic dataset, we show that our algorithm gains more advantage over K-means algorithm when the data has large variance.
Motivation & Objective
- To reduce manual effort in dialog system design by automatically identifying frequent user intents and corresponding system responses from prior conversations.
- To improve clustering accuracy of user and agent utterances by jointly modeling their adjacency relationships instead of treating them in isolation.
- To develop a method that aligns user intent clusters with system response clusters to support dialog flow creation.
- To evaluate the effectiveness of adjacency-aware clustering on real-world dialog data and synthetic data with high variance.
Proposed method
- Extends K-means with a penalty term in the objective function that encourages alignment between user and agent utterance clusters based on adjacency.
- Uses bi-partite matching to find the optimal alignment between initial user and agent clusters, minimizing inter-cluster distances.
- Introduces a dual clustering process where similarity in one domain influences clustering in the other via shared alignment constraints.
- Employs both Doc2Vec and sequence-to-sequence (Seq2Seq) models to generate utterance vector representations, with the latter encoding adjacency context.
- Applies D² sampling for centroid initialization and tunes hyperparameter α on a validation set to balance clustering and alignment.
- Runs K-means for 5 iterations followed by 30 iterations of SimCluster to refine cluster assignments.
Experimental results
Research questions
- RQ1Can jointly clustering user and system utterances using adjacency information lead to better identification of user intents and system responses than isolated clustering?
- RQ2How does SimCluster compare to standard K-means in terms of F1 and ARI scores when applied to real dialog data?
- RQ3Does SimCluster show greater improvement over K-means on data with high variance, particularly in the user utterance domain?
- RQ4To what extent does incorporating reply context via a Seq2Seq model enhance vector representations for clustering compared to Doc2Vec?
Key findings
- SimCluster improves F1-scores by up to 10% absolute over standard K-means on real Twitter-based dialog data, with gains of 0.093 and 0.087 in the user and agent domains, respectively, using Doc2Vec vectors.
- On Seq2Seq-based vector representations, SimCluster improves F1-scores from 0.83 to 0.86 for user utterances and from 0.90 to 0.916 for agent utterances.
- The method shows significantly greater improvement on Doc2Vec representations than on Seq2Seq representations, as the latter already encode some adjacency information.
- Clustering of user utterances benefits more from incorporating agent utterance context, due to the higher variability in user expressions compared to the more generic patterns in agent responses.
- Qualitative analysis confirms that SimCluster correctly groups semantically similar utterances—such as 'I can't open email' and 'Email not opening'—into the same cluster, while K-means separates them.
- On synthetic data with high variance, SimCluster outperforms K-means more substantially, confirming its advantage in challenging clustering scenarios.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.