[Paper Review] Scalable Uncertainty Quantification for Black-Box Density-Based Clustering
This paper presents a framework that propagates uncertainty from density estimation to density-based clustering using martingale posterior distributions, enabling scalable, GPU-friendly uncertainty quantification for high-dimensional data. It provides theoretical guarantees and demonstrates scalability on synthetic and real data.
We introduce a novel framework for uncertainty quantification in clustering. By combining the martingale posterior paradigm with density-based clustering, uncertainty in the estimated density is naturally propagated to the clustering structure. The approach scales effectively to high-dimensional and irregularly shaped data by leveraging modern neural density estimators and GPU-friendly parallel computation. We establish frequentist consistency guarantees and validate the methodology on synthetic and real data.
Motivation & Objective
- Motivate uncertainty quantification in clustering and address scalability with flexible density estimators.
- Propagate density estimation uncertainty to clustering via density-based clustering (DBC).
- Leverage score-based martingale posterior distributions to quantify uncertainty.
- Establish frequentist consistency guarantees for the density and clustering results.
- Demonstrate scalability and applicability on synthetic and real data (e.g., MNIST) using GPU acceleration.
Proposed method
- Combine martingale posterior distributions (MPDs) with density-based clustering (DBC) to quantify clustering uncertainty.
- Train a differentiable density estimator (e.g., normalizing flow) on data; generate predictive resamples via a score-based martingale update scheme.
- For each resampled density, perform DBC (e.g., upper-level set clustering) to obtain clustering samples.
- Aggregate resampled clusterings to obtain uncertainty measures over cluster assignments (e.g., co-clustering matrix and pointwise certainty).
- Provide parallelizable, GPU-friendly resampling that scales better than traditional MCMC methods.
- Provide theoretical results: MPD contraction for the density and clustering consistency under mild regularity assumptions.

Experimental results
Research questions
- RQ1Can uncertainty in a density estimate be propagated through to the clustering structure in a principled Bayesian-like framework?
- RQ2Do martingale posteriors provide consistent, scalable uncertainty quantification for density-based clustering, including high-dimensional and irregularly shaped data?
- RQ3How can modern density estimators (like normalizing flows) be integrated with predictive resampling to yield practical uncertainty quantification for clustering?
- RQ4What are the frequentist guarantees for density and clustering consistency in this framework?
Key findings
- The framework yields a martingale posterior distribution (MPD) over densities by predictive resampling of a trained density estimator.
- Uncertainty in density translates into uncertainty in the clustering via density-based clustering, enabling uncertainty quantification of cluster assignments.
- The approach is scalable and GPU-friendly, outperforming traditional MCMC in high-dimensional or irregular-shape clustering scenarios.
- Theoretical results establish contraction of the MPD for the density and clustering consistency under suitable conditions.
- Numerical experiments on noisy concentric circles and MNIST (digits 3 and 8) show meaningful uncertainty visualization, with high-certainty regions and identifiable ambiguous boundaries.
- A 90% conformal credible set for true labeling was obtained on MNIST via conformalized Bayesian inference integrated with the MPD-based clustering.

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.