Efficient model-based clustering with coalescents: Application to multiple outcomes using medical records data

Ricardo Henao, Joseph E. LucasarXiv 2016 · DOI

Abstract

We present a sequential Monte Carlo sampler for coalescent based Bayesian hierarchical clustering. The model is appropriate for multivariate non-i.i.d. data and our approach offers a substantial reduction in computational cost when compared to the original sampler. We also propose a quadratic complexity approximation that in practice shows almost no loss in performance compared to its counterpart. Our formulation leads to a greedy algorithm that exhibits performance improvement over other greedy algorithms, particularly in small data sets. We incorporate the Coalescent into a hierarchical regression model that allows joint modeling of multiple correlated outcomes. The approach does not require a priori knowledge of either the degree or structure of the correlation and, as a byproduct, generates additional models for a subset of the composite outcomes. We demonstrate the utility of the approach by predicting multiple different types of outcomes using medical records data from a cohort of diabetic patients.

Introduction

Hierarchical clustering is a fundamental tool in data science, uncovering nested structures in diverse fields such as evolutionary biology and linguistics. Traditional agglomerative clustering methods often lack a principled statistical foundation, complicating their integration into complex Bayesian models. Bayesian alternatives, particularly those employing Kingman’s coalescent as a prior, offer a more rigorous framework but have historically been limited by a cubic computational bottleneck ($O(n^3)$), rendering them impractical for large-scale datasets.

This work addresses two primary challenges: the computational scalability of Bayesian hierarchical clustering and the modeling of correlated outcomes in healthcare. In medical contexts, patients often present with multiple interrelated risks (e.g., diabetes-related kidney disease and heart failure). Standard models frequently treat these outcomes as independent or require manual specification of their relationships. We propose a method to automatically "borrow strength" across these outcomes using a more efficient coalescent-based framework.

Methods

The core contribution is the refinement of Sequential Monte Carlo (SMC) inference for the coalescent model. Kingman’s coalescent serves as a prior over binary tree structures, assuming a generative process where lineages merge (coalesce) over time.

Figure 1: Illustration of the Sequential Monte Carlo (SMC) sampler for the coalescent model.

The inference process involves calculating the normalization constant of the Generalized Inverse Gaussian (GIG) distribution, which is the most computationally expensive step. We introduce two improvements:

  1. MPost1: A sampler utilizing caching and GIG distribution properties to accelerate exact calculations.
  2. MPost2: A quadratic complexity ($O(n^2)$) approximation that omits certain terms from the modified Bessel function, achieving significant speedup with minimal accuracy loss.

Furthermore, we demonstrate that traditional greedy algorithms are biased due to their reliance on the mode of merging times. By utilizing the mean, we significantly reduce estimation bias, particularly in small datasets. This coalescent model is integrated into a hierarchical probit regression framework, where regression coefficients for different outcomes are related through the discovered tree structure.

Results and Discussion

The proposed methods were evaluated across several benchmarks:

  • Synthetic Data: Confirmed the $O(n^2)$ scaling of MPost2 and the reduced bias of the mean-based greedy approach.
  • USPS Handwritten Digits: Successfully recovered known digit classes from a subset of 2,500 images.
  • Motion Capture (MOCAP): Accurately reconstructed the physical structure of the human skeleton from time-series marker data.
  • Electronic Medical Records (EMR): Applied to data from approximately 19,000 diabetic patients to predict 21 comorbidities.

In the EMR study, Coalescent Regression (CR) consistently outperformed Random Forests, Maximum Likelihood Estimation (MLE), and Lasso. The model successfully discovered correlations between outcomes like heart failure and kidney disease without prior specification. Additionally, the model stratified patients by future healthcare costs, identifying high-risk nodes in the tree that predicted higher cumulative expenses.

Conclusion

By reducing the computational complexity of coalescent-based clustering to $O(n^2)$, this work makes principled Bayesian hierarchical modeling viable for larger datasets. The application to medical records demonstrates the power of automatic correlation discovery in improving predictive accuracy for complex, interrelated health outcomes. Future work may explore further scalability improvements and more flexible covariance structures to capture non-linear relationships.

Reference: Henao, R., & Lucas, J. E. (2018). Efficient model-based clustering with coalescents: Application to multiple outcomes using medical records data. arXiv:1608.03191v1.

Summary updated

BibTeX
@misc{henao2016efficient,
  author = {Ricardo Henao and Joseph E. Lucas},
  title = {{Efficient model-based clustering with coalescents: Application to multiple outcomes using medical records data}},
  year = {2016},
  eprint = {1608.03191},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1608.03191},
}
Figure