stat.MLMar 3, 2026

Scalable Posterior Uncertainty for Flexible Density-Based Clustering

Authors: Nicola Bariletto, Stephen G. Walker

Organizations: Department of Statistics and Data Sciences, UT Austin

Abstract

We introduce a novel framework for uncertainty quantification in clustering that combines martingale posterior distributions with density-based clustering. Unlike classical model-based approaches, which define clusters at the latent level of a mixture model, we treat clusters as explicit functionals of the data-generating density, without assuming any specific parametric form. To characterize density uncertainty, we obtain martingale posterior samples via a predictive resampling scheme driven by model score evaluations. This allows us to leverage state-of-the-art differentiable density estimators, such as normalizing flows, making density resampling efficient in large-scale settings and fully parallelizable on modern GPU hardware. Martingale posterior samples of the clustering structure are then obtained by applying density-based clustering to the density draws, enabling principled inference on any clustering-related quantity. Casting the inference target as a density functional further enables a rigorous theoretical analysis of the procedure's convergence properties. We apply our methodology to image and single-cell RNA sequencing data, demonstrating the computational efficiency afforded by its GPU compatibility as well as its ability to recover meaningful clustering structures, with associated uncertainty, across diverse domains.

Figures & tables

Explore similar work

CardsList
  1. Model-free Bayesian Clustering and Multimodal Posterior Summarisation

    Oct 9, 2026Qing Li, Sara WadeClusteringUnsupervised Clustering

  2. Scalable Model-Based Clustering with Sequential Monte Carlo

    Apr 16, 2026Connie Trojan, Pavel Myshkov, Paul Fearnhead +3Clustering

  3. Bracketing Uncertainty in Clustering Under the Manifold Hypothesis

    Sep 15, 2026Savik Kinger, Luciano Dyballa, Steven W. ZuckerCluster Number EstimationClustering