Human-interpretable clustering of short-text using large language models
Justin K. Miller, Tristram J. Alexander
TL;DR
This work tackles short-text clustering by addressing the interpretability gap that plagues automated metrics. It proposes a pipeline where short texts are embedded with a large language model (MiniLM) and clustered using Gaussian Mixture Models, with interpretability validated via human reviewers and an automated LLM (ChatGPT). Results show MiniLM-based clusters are more distinctive and human-interpretable than those from LDA or doc2vec, and ChatGPT can closely mirror human judgments, though biases remain. The study also introduces quantitative interpretability and distinctiveness metrics and argues for including a null model to separate signal from noise. Overall, the approach provides a scalable framework for generating and validating interpretable short-text clusters with potential impact on real-time social media analysis.
Abstract
Clustering short text is a difficult problem, due to the low word co-occurrence between short text documents. This work shows that large language models (LLMs) can overcome the limitations of traditional clustering approaches by generating embeddings that capture the semantic nuances of short text. In this study clusters are found in the embedding space using Gaussian Mixture Modelling (GMM). The resulting clusters are found to be more distinctive and more human-interpretable than clusters produced using the popular methods of doc2vec and Latent Dirichlet Allocation (LDA). The success of the clustering approach is quantified using human reviewers and through the use of a generative LLM. The generative LLM shows good agreement with the human reviewers, and is suggested as a means to bridge the `validation gap' which often exists between cluster production and cluster interpretation. The comparison between LLM-coding and human-coding reveals intrinsic biases in each, challenging the conventional reliance on human coding as the definitive standard for cluster validation.
