Information-Theoretic Generative Clustering of Documents
Xin Du, Kumiko Tanaka-Ishii
TL;DR
The paper introduces Generative Clustering (GC), a framework that clusters documents by transforming each document x into a distribution over texts Y generated by an LLM and measuring similarity via the KL divergence between p(Y|x) and cluster centroids p(Y|k). To handle the infinite Y, GC uses a regularized importance sampling (RIS) approach, with a second-moment-minimizing proposal φ and a two-step k-means-like iteration over sampled texts; the method converges to a local minimum of the distortion. Empirically, GC achieves state-of-the-art clustering performance across four datasets, demonstrates robustness to misspecified cluster counts, and improves generative retrieval when used to index documents hierarchically. The work highlights the value of leveraging rich, generative representations and information-theoretic objectives for unsupervised text clustering and retrieval applications.
Abstract
We present {\em generative clustering} (GC) for clustering a set of documents, $\mathrm{X}$, by using texts $\mathrm{Y}$ generated by large language models (LLMs) instead of by clustering the original documents $\mathrm{X}$. Because LLMs provide probability distributions, the similarity between two documents can be rigorously defined in an information-theoretic manner by the KL divergence. We also propose a natural, novel clustering algorithm by using importance sampling. We show that GC achieves the state-of-the-art performance, outperforming any previous clustering method often by a large margin. Furthermore, we show an application to generative document retrieval in which documents are indexed via hierarchical clustering and our method improves the retrieval accuracy.
