Papers
Topics
Authors
Recent
Search
2000 character limit reached

Variational Consensus Monte Carlo for Bayesian Mixture

Published 17 Jun 2026 in stat.ML and cs.LG | (2606.19643v1)

Abstract: Motivated by the privacy, sensitivity and sharing limitations of health data, we present a comprehensive pipeline for inference of Bayesian mixture models within a federated learning setting, i.e. when data cannot be fully shared or pooled across compute nodes. We adopt a Consensus Monte Carlo (CMC) approach, in which an MCMC algorithm is run independently within each data silo to estimate local posterior distributions, which are then aggregated to approximate the posterior over the full data. The variational CMC approach of Rabinovich, Angelino and Jordan (2015) [1] frames the aggregation step as a variational inference problem, but their application to mixtures assumes the number of clusters and key mixture parameters to be known. Our main methodological contributions are: (i) an extension of variational CMC to over-fitted Bayesian mixture models that infer the number of clusters and all model parameters, without requiring conjugacy; (ii) novel cluster-matching algorithms suitable for cross-silo settings in which not every cluster appears in each local dataset; (iii) a number of inference strategies for the aggregation step, matched to different federated learning constraints; and (iv) guidelines for choosing among these in practice. A comprehensive simulation study validates the framework and allows us to compare to state-of-the-art federated learning alternatives. Notably, we show that when the composition of local datasets reflects the underlying clustering structure in the data, our approach can recover small clusters with greater accuracy than standard MCMC applied to the pooled data. We illustrate the framework on large-scale electronic health record data, identifying multi-morbidity patterns in a British geriatric population.

Summary

  • The paper introduces an extension of Variational Consensus Monte Carlo to federated Bayesian mixture models, enabling unsupervised clustering under privacy and heterogeneous data constraints.
  • It presents innovative cluster matching algorithms, including minimum divergence and Ball matching, to resolve label permutation challenges across data shards.
  • Simulation studies and real-world EHR applications demonstrate that VCMC improves small cluster detection and achieves higher ARI compared to full-data MCMC and greedy federated methods.

Variational Consensus Monte Carlo for Bayesian Mixture Models: Federated Unsupervised Clustering

Motivation and Context

The paper "Variational Consensus Monte Carlo for Bayesian Mixture Models" (2606.19643) addresses inference for Bayesian mixture models in federated settings where data privacy, sensitivity, and sharing limitations preclude pooling across compute nodes, typical in health data applications. Most federated learning literature focuses on supervised learning; unsupervised clustering, essential for identifying latent subgroups, remains underexplored, especially for model-based (Bayesian) clustering when cluster prevalence varies across shards and the number of clusters is unknown.

Methodological Innovations

Variational Consensus Monte Carlo Extension

The Consensus Monte Carlo (CMC) paradigm aggregates independent MCMC-based local posterior samples from data shards to estimate the global posterior. The paper extends the variational CMC (VCMC) framework of Rabinovich et al., recasting aggregation as a variational optimization problem, but now supporting Bayesian over-fitted mixture models with unknown numbers of clusters and without conjugacy assumptions.

VCMC's aggregate step minimizes the KL divergence between the global posterior and its variational approximation, with aggregation weights optimized via projected stochastic gradient descent. The innovation lies in custom aggregation constraint-preserving weights and stochastic optimization strategies consistent with federated learning communication and privacy constraints.

Cluster Matching Algorithms

Mixture models require resolving label permutations among clusters across shards. The authors introduce two novel matching algorithms: minimum divergence matching (optimizing posterior KL divergence between cluster assignments) and Ball matching (constructing connected components via proximity in parameter space, leveraging posterior contraction rates). These are designed for cross-silo settings with heterogeneous cluster distributions, where not every cluster is present in every shard—unlike the Hungarian algorithm, which fails without a full reference partition.

Inference Strategies

The paper presents four aggregation strategies, balancing computation and privacy: full data sharing (for acceleration), federated gradient summation, parallel limited-communication federated stochastic descent (with Latin Hypercube initialization and Rosenblatt transformation), and sharing contingency matrices for efficient summary-based inference, noting privacy caveats for contingency matrices in high-dimensional settings.

Simulation Study: Performance Assessment

The authors conduct a thorough simulation study across three shard allocation regimes (homogeneous clusters, heterogeneous nested, and heterogeneous non-nested), and two cluster separability settings. Metrics include estimated cluster number, adjusted Rand index (ARI), empirical relative bias, and coverage intervals for global parameters.

Key findings:

  • Ball matching consistently recovers correct cluster relations and mitigates local overestimation—recommended when the global cluster count is critical.
  • VCMC recovers small clusters more accurately than full-data MCMC and FedMerDel, when local data composition enhances their visibility.
  • In practical federated scenarios, VCMC outperforms greedy federated methods (K-modes, FedMerDel) on clustering quality metrics, especially for challenging (heterogeneous, poorly separable) data.
  • VCMC slightly overestimates cluster counts but achieves higher ARI and closer partitions to true structure. Coverage rates remain below nominal due to variational (mean-field) and post-processing variance shrinkage.

Application to Electronic Health Record Data

VCMC is applied to 289,821 UK geriatric EHRs from the THIN database, split across 30 shards. The approach identifies 27 clusters ranging from ∼138,000 individuals to small clusters of 31, capturing multi-morbidity patterns with clinical validity. Notably, VCMC identifies subpopulations with distinct disease prevalences, including high stroke prevalence, deafness and ophthalmic disorders, cancer subtypes, and rare combinations such as pancreatitis-rheumatoid arthritis-erectile dysfunction associations. Cluster assignments correlate with known medical literature on comorbidity relationships.

Theoretical and Practical Implications

Generalizability and Extensibility

The method supports categorical mixtures but is extensible to arbitrary mixture models (including non-exponential families), contingent on tractable local MCMC and cluster-specific parameter distance metrics. The framework is not limited to federated health data—any cross-silo scenario with privacy and heterogeneous local structure is addressable.

Matching and Prior Fractionation

Cluster matching is a central challenge in federated CMC; the comparative analysis reveals the limitations of the Hungarian algorithm and documents minimum divergence and Ball matching superiority, with guideline-dependent selection based on application focus. The importance of prior fractionation is emphasized: ignoring it typically leads to overly informative global priors, reducing posterior variance and obscuring small cluster uncertainty.

Parameter Estimation and Small Cluster Detection

VCMC demonstrates enhanced small cluster weight estimation when clusters locally comprise sizable fractions of shard data, outperforming both FedMerDel and MCMC on pooled data. In federated health settings, this improves identification of rare but clinically relevant patient subgroups, with implications for personalized medicine and epidemiology.

Computational Considerations

Sampling-based federated algorithms are computationally intensive compared to deterministic alternatives, though optimizations (parallelization, initial sampling strategies) can mitigate runtime. The authors document that VCMC is faster than full-data MCMC in separable regimes, but highly variable for poorly separable clusters—highlighting the necessity of careful tuning of gradient step sizes.

Future Prospects and Limitations

  • Extension to Gaussian and complex mixture distributions needs empirical validation of VCMC's performance.
  • Determining optimal shard partitioning and minimum detectable cluster size warrants further theoretical and practical investigation.
  • Ball matching threshold selection should be refined as new theoretical results emerge for convergence in diverse mixture model settings.
  • Privacy-preserving sharing of summary statistics (contingency matrix) merits careful assessment in high-dimensional federated contexts.

Conclusion

The paper presents a robust framework for federated Bayesian unsupervised clustering via VCMC, addressing both theoretical and practical challenges in clustering under privacy and heterogeneity constraints. It advances cluster matching techniques, aggregation optimization strategies, and comprehensive performance benchmarks. The approach not only enriches federated analysis capabilities in health informatics but has implications for broader cross-silo applications, effective small cluster detection, and uncertain mixture scenarios. The methodological directions and practical guidelines outlined serve as a foundation for future investigation in federated Bayesian inference, mixture modeling, and privacy-aware clustering.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Collections

Sign up for free to add this paper to one or more collections.

Tweets

Sign up for free to view the 2 tweets with 6 likes about this paper.