<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>A Bayesian semiparametric mixture model for clustering zero-inflated microbiome data</title></titleStmt>
			<publicationStmt>
				<publisher>Oxford University Press</publisher>
				<date>07/03/2025</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10687782</idno>
					<idno type="doi">10.1093/biomtc/ujaf125</idno>
					<title level='j'>Biometrics</title>
<idno>0006-341X</idno>
<biblScope unit="volume">81</biblScope>
<biblScope unit="issue">3</biblScope>					

					<author>Suppapat Korsurat</author><author>Matthew D Koslovsky</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Microbiome research has immense potential for unlocking insights into human health and disease. A common goal in human microbiome research is identifying subgroups of individuals with similar microbial composition that may be linked to specific health states or environmental exposures. However, existing clustering methods are often not equipped to accommodate the complex structure of microbiome data and typically make limiting assumptions regarding the number of clusters in the data which can bias inference. Designed for zero-inflated multivariate compositional count data collected in microbiome research, we propose a novel Bayesian semiparametric mixture modeling framework that simultaneously learns the number of clusters in the data while performing cluster allocation. In simulation, we demonstrate the clustering performance of our method compared to distance- and model-based alternatives and the importance of accommodating zero-inflation when present in the data. We then apply the model to identify clusters in microbiome data collected in a study designed to investigate the relation between gut microbial composition and enteric diarrheal disease.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">INTRODUCTION</head><p>The human microbiome is a complex ecosystem of microorganisms residing within and on our bodies. Each individual possesses a unique microbiome pattern which is influenced by various external factors, such as environment, climate, diet, and medical conditions <ref type="bibr">(Ursell et al., 2012 ;</ref><ref type="bibr">Rojo et al., 2017 ;</ref><ref type="bibr">Allaband et al., 2019 ;</ref><ref type="bibr">Ahn and Hayes, 2021 )</ref>. A common goal in human microbiome research is identifying subgroups of individuals with similar microbial composition, referred to as enterotypes, that may be linked to specific health states or environmental exposures <ref type="bibr">(Arumugam et al., 2011 ;</ref><ref type="bibr">Holmes et al., 2012 ;</ref><ref type="bibr">Marcos-Zambrano et al., 2021 )</ref>. For example, this research was motivated by data collected in a study investigating the relation between intestinal microbial community composition and enteric infection <ref type="bibr">(Singh et al., 2015 )</ref>. Given the critical role intestinal microbiota play in maintaining a healthy immune response, there is considerable interest in uncovering patterns in microbial composition to investigate the feasibility of microbiota-based diagnostics, therapies, or prevention of disease, potentially through personalized treatment strategies <ref type="bibr">(Sekirov and Finlay, 2009 ;</ref><ref type="bibr">Costea et al., 2018 )</ref>.</p><p>Typically, microbiome data take the form of an N &#215; Jdimensional matrix of counts, where N represents the number of observations and J represents the number of unique microbial taxa. The conventional approach for obtaining taxa counts is to sequence the 16S rRNA gene, as it contains well-conserved and hypervariable regions to differentiate different species. Then, sequenced reads are clustered into operational taxonomic units, or OTUs, and classified to a reference database using various methods <ref type="bibr">(Huson et al., 2007 ;</ref><ref type="bibr">Wang et al., 2007 ;</ref><ref type="bibr">Edgar, 2013 ;</ref><ref type="bibr">Allard et al., 2015 ;</ref><ref type="bibr">Bolyen et al., 2019 )</ref>. More recently, researchers have promoted the use of amplicon sequence variants instead of OTUs as the unit of analysis in microbiome research, which can distinguish sequence variants differing by as little as one nucleotide <ref type="bibr">(Eren et al., 2013 ;</ref><ref type="bibr">Callahan et al., 2016</ref><ref type="bibr">Callahan et al., , 2017 ; ;</ref><ref type="bibr">Amir et al., 2017 )</ref>. Regardless of the approach taken, these data are inherently challenging to analyze due to their high-dimensionality, overdispersion, compositional structure, and zero-inflation.</p><p>Zero reads in microbiome data occur when (1) the organism is not present in the sampling region, and therefore the probability of occurrence is 0 (i.e., structural zero), or (2) the organism is present but was not sampled (i.e., at-risk zero). To model zero-inflation, researchers typical construct a two-component mixture of a point mass at 0 and a sampling distribution for the counts where a latent at-risk indicator is introduced to differentiate between at-risk and structural zeros <ref type="bibr">(Xu et al., 2015 ;</ref><ref type="bibr">Neelon, 2019 ;</ref><ref type="bibr">Zhang and Yi, 2020 ;</ref><ref type="bibr">Shuler et al., 2021 ;</ref><ref type="bibr">Jiang et al., 2023 ;</ref><ref type="bibr">Koslovsky, 2023 ;</ref><ref type="bibr">2025 )</ref>. While numerous methods have been developed to accommodate zero-inflation in microbiome research, including network analysis <ref type="bibr">(Ha et al., 2020 )</ref>, dimension reduction <ref type="bibr">(Koslovsky, 2023 ;</ref><ref type="bibr">Zeng et al., 2021 )</ref>, regression modeling <ref type="bibr">(Tang and Chen, 2019 )</ref>, longitudinal data analysis <ref type="bibr">(Zhang et al., 2020 ;</ref><ref type="bibr">Zhang and Yi, 2020 )</ref>, association tests <ref type="bibr">(Ling et al., 2021 )</ref>, and causal inference <ref type="bibr">(Yang and Xu, 2023 )</ref>, among others, existing methods for cluster analysis often are not equipped to accommodate the complex structure of the data and may make limiting assumptions regarding the number of clusters in the data which can bias inference.</p><p>Two common approaches for identifying clusters of microbial samples are distance-based methods [e.g., K-means, partitioning around the median (PAM), and hierarchical clustering <ref type="bibr">(Xu and Tian, 2015 ;</ref><ref type="bibr">Shi et al., 2022 )</ref>] and model-based methods <ref type="bibr">(Holmes et al., 2012 ;</ref><ref type="bibr">Subedi et al., 2020 ;</ref><ref type="bibr">Mao and Ma, 2022 ;</ref><ref type="bibr">Shi et al., 2023 )</ref>. Distance-based methods use the distance between 2 observations to determine cluster allocation without assuming a statistical distribution for the observed counts. A key challenge in applying distance-based clustering methods to microbiome data is choosing the proper distance metric to capture the similarity or dissimilarity of microbial communities, often referred to as &#946;-diversity <ref type="bibr">(Namkung, 2020 )</ref>. Several &#946;-diversity metrics have been proposed, including Aitchison, Bray-Curtis, and UniFrac distances <ref type="bibr">(Aitchison et al., 2000 ;</ref><ref type="bibr">Chen et al., 2012 )</ref>. See <ref type="bibr">Plantinga and Wu ( 2021 )</ref> for a detailed review of common &#946;-diversity metrics used in microbiome data analysis <ref type="bibr">and Shi et al. ( 2022 )</ref> for an extensive simulation study investigating how clustering performance can depend on the chosen &#946;-diversity metric and clustering algorithm.</p><p>Model-based clustering methods are a popular alternative to distance-based methods that assume the population consists of observations from distinct clusters, each with their own statistical distribution. Finite mixture models (FMMs), which belong to the class of model-based clustering methods, assume that the population consists of observations originating from a finite number of underlying clusters. In mixture modeling, the concept of determining the number of clusters in the data lies in the distinction between K, the number of components in the model (i.e., the number of potential clusters), and K + , the number of clusters that are actually present in the data (i.e., non-empty components) (Mi l ler and <ref type="bibr">Harrison, 2018 )</ref>. Typically the number of clusters in FMMs is specified prior to analysis (i.e., K + = K), and model comparison techniques are used to select K <ref type="bibr">(Yeung et al., 2001 ;</ref><ref type="bibr">Marin et al., 2005 )</ref>. Alternatively, mixture of finite mixtures (MFM) models place a prior on the number of mixture components to draw inference on the number of clusters in the data (Mi l ler and <ref type="bibr">Harrison, 2018 )</ref>. To relax assumptions on the number of clusters in the data, researchers commonly use infinite mixture models (IMMs), such as Dirichlet process mixture models (DPMMs), that allow K = &#8734; <ref type="bibr">(McAuliffe et al., 2006 ;</ref><ref type="bibr">Li et al., 2019 )</ref>. While IMMs do not require specifying the number of clusters a pr ior i, they have been shown to overestimate the true number of clusters, often leading to the formation of numerous singleton clusters (Mi l ler <ref type="bibr">and Harrison, 2013 ;</ref><ref type="bibr">Li et al., 2019 ;</ref><ref type="bibr">Fr&#252;hwirth-Schnatter et al., 2021 )</ref>. Notably, <ref type="bibr">Ascolani et al. ( 2023 )</ref> recently showed the posterior for the number of clusters in DPMMs is consistent under certain conditions for the prior on the concentration parameter.</p><p>Sparse finite mixture models (sFMMs) were recently introduced as a semiparametric alternative for model-based clustering that bridges standard FMMs and IMMs and is recommended when the number of clusters is not expected to increase with larger sample sizes <ref type="bibr">(Malsiner-Walli et al., 2016 ;</ref><ref type="bibr">Fr&#252;hwirth-Schnatter and Malsiner-Walli, 2019 )</ref>. This approach deliberately overspecifies the number of potential components in the model (i.e., K &gt; K + ) and then places a sparsity-inducing prior on the mixture weights that shrinks them toward 0 to encourage empty components. One of the challenges of implementing sFMMs is that clustering performance has been shown to depend heavily on the chosen value of the mixture weights, or prior thereof <ref type="bibr">(Celeux et al., 2019 ;</ref><ref type="bibr">Fr&#252;hwirth-Schnatter and Malsiner-Walli, 2019 )</ref>, and none of the empty components' probabilities are set exactly to 0.</p><p>In this work, we develop a Bayesian model-based clustering method for zero-inflated microbiome data. Our approach belongs to the class of MFM models and can be thought of as a discrete alternative to existing sFMMs that similarly overspecifies the number of potential clusters in the data. However, instead of shrinking empty components' mixture weights toward 0, the proposed method places a point mass at 0 to remove empty components from the model. Commonly, the Dirichlet-multinomial (DM) distribution and its extensions are used to model microbial counts and their corresponding relative abundances as it inherently accommodates the compositional structure of the data and overdispersion <ref type="bibr">(Holmes et al., 2012 ;</ref><ref type="bibr">Wadsworth et al., 2017 ;</ref><ref type="bibr">Harrison et al., 2020 )</ref>. In this work, we model the multivariate count data collected in the application study with a zeroinflated DM ( ZIDM) model which further accounts for excess zeros typically found in microbiome data. As such, our modeling approach extends the work of <ref type="bibr">Koslovsky ( 2023 )</ref> to account for heterogeneity in zero-inflated multivariate count data, effectively using a ZIDM distribution to model zero-inflation in the count data as well as induce sparsity in the mixture weights. Together, our approach accommodates the complex structure of microbiome data observed in practice, simultaneously estimates cluster-specific taxa relative abundances while performing cluster allocation, and does not require specifying the number of clusters in the data a pr ior i. For inference, we take a fully Bayesian approach and implement a telescoping sampler <ref type="bibr">(Fr&#252;hwirth-Schnatter et al., 2021 )</ref> to help improve the mixing of the Markov chain Monte Carlo (MCMC) algorithm. We demonstrate how the proposed method outperforms alternative approaches for clustering microbiome data in a variety of simulation scenarios. In the application study, we identify 2 main clusters of microbial composition; one dominated by a combination of Bacteroides and Cronobacter and composed mostly of enteric diarrheal disease (EDD) patients, and another dominated by Bacteroides with a balance between healthy individuals and EDD patients.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">METHODS</head><p>In this section, we first introduce standard notation and definitions used for model-based cluster analysis in the context of multivariate count data. Thereafter, we propose a novel discrete sparse Dirichlet-multinomial mixture model (DSDM 3 ) that we use to simultaneously accommodate uncertainty in the number of clusters in the data while performing cluster allocation. Let z i represent the J-dimensional vector of taxa counts for the i th individual, i = 1 , 2 , . . . , N. We assume</p><p>where</p><p>is the assumed probability mass function for the multivariate count data, and k is a multivariate set of parameters for the k th component, both of which we describe in more detail below. Equivalently, we can formulate a mixture model as f</p><p>, where w k are the mixture weights that sum to one with w = (w 1 , . . . , w K ) . It is then common to assume w | K &#8764; Dirichlet (&#968; 1 , . . . , &#968; K ) , where &#968; k &#8801; &#968;, for k = 1 , . . . , K. Unlike FMMs in which K is fixed a priori, MFM modeling frameworks place a prior distribution on the total number of cluster components. Common prior assumptions for K include the truncated Poisson and more recently a beta-negative-binomial, which generalizes the Poisson, negative-binomial, and geometr ic distr ibutions (Mi l ler and <ref type="bibr">Harrison, 2018 ;</ref><ref type="bibr">Fr&#252;hwirth-Schnatter et al., 2021 )</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1">A semiparametric mixture model</head><p>We propose a DSDM 3 that deliberately overspecifies the number of potential components and induces sparsity in the number of components by allowing empty components' corresponding mixture weights to take on a 0 value. As such, our approach draws similarities to sFMMs that shrink mixture weights toward 0 and also belongs to the class of MFM models, which we show below. Specifically, we assume the i th, i = 1 , . . . , N, individual's cluster assignment</p><p>with the constraint that at least 1</p><p>, where K m is the maximum number of potential components, &#955; k &#8712; { 0 , 1} indicates whether or not the k th component exists in the model, &#952; is a hyperparameter controlling the mixture weights for active components, &#948; 0 ( &#8226;) is a Dirac delta function, or point mass, at 0, and the hyperparameter &#960; &#955; represents the probability that the k th component exists in the model. This formulation ensures that the probability of being assigned to the k th cluster is 0 when &#955; k equals 0. Ideally, K m should be set large enough to accommodate the true number of clusters in the data but not so large that it leads to excessive computations. As mentioned previously, the DSDM 3 belongs to the class of MFM models. To make this connection, we first note that given the set of &#955; k = 1 , Equation 2 is equivalent to the standard Dirichlet-multinomial formulation used in mixture models with K = K m k =1 &#955; k components. Then under the assumptions for &#955; k described above, the implied distribution for K is a zero-truncated binomial distribution with p</p><p>. In the Supplementary Material , we provide more details of this connection, derivations for the induced distribution on K + , the number of active clusters in the model (i.e., the number of non-empty components), and the corresponding exchangeable partition probability function.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2">Zero-inflated multivariate count data</head><p>In this work, we apply the proposed method to cluster zeroinflated multivariate compositional count data collected in human microbiome research. The DM distribution is commonly used to model microbial counts as it accommodates the compositional structure of the data and overdispersion <ref type="bibr">(Wadsworth et al., 2017 ;</ref><ref type="bibr">Harrison et al., 2020 ;</ref><ref type="bibr">Koslovsky et al., 2020 ;</ref><ref type="bibr">Pedone et al., 2023 ;</ref><ref type="bibr">Shi et al., 2023 )</ref>. However, naively assuming a DM for microbial counts can bias parameter estimates as it is not inherently equipped to handle zero-inflation <ref type="bibr">(Koslovsky, 2023 )</ref>. To accommodate potential zero-inflation, we assume a ZIDM model for the multivariate compositional counts. Specifically, we let</p><p>and</p><p>where &#966; i j / J j =1 &#966; i j is the relative abundance of the j th, j = 1 , . . . , J, taxon for the i th, i = 1 , . . . , N, observation, &#947; i j represents an at-risk indicator, and &#960; &#947; j &#8764; Beta &#945; &#947; , &#946; &#947; is the probability of an at-risk observation for the j th taxon. The hyperparameters &#945; &#947; and &#946; &#947; control the probability of an at-risk observation, where &#945; &#947; &#945; &#947; + &#946; &#947; is the expected probability a pr ior i. For zero counts (i.e., z i j = 0 ), &#947; i j = 1 indicates an at-risk zero and &#947; i j = 0 a structure zero. Note that &#947; i j = 1 for z i j &gt; 0 . The cluster-specific concentration parameters, &#958; k j , govern the corresponding relative abundances and are assumed to follow a Normal &#956; j , &#963; 2 . Given the dimension of the parameter space found in microbiome applications, we recommend setting &#956; j = log (s * RA j ) , where s is a scaling parameter and RA j is the average relative abundance for the j th taxon observed in the data. Setting s large and &#963; 2 smal l wi l l result in the prior for the relative abundances concentrating around the observed mean. For interpretation, s can be thought of as the hypothetical total number of reads used to inform the prior.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.3">Posterior sampling and inference</head><p>The full joint posterior distribution of the proposed DSDM 3 -ZIDM is written as</p><p>where z represents the N &#215; J matrix of counts observed across individuals, &#966; the N &#215; J matrix of individual-specific relative abundances, c the N-dimensional vector of cluster assignments, &#947; the N &#215; J matrix of at-risk indicators, &#958; the K m &#215; J matrix of cluster-specific concentration parameters, &#968; the K m -dimensional vector of potential cluster weights, &#960; &#947; the J-dimensional vector of at-risk probabilities, and &#955; the K m -dimensional vector of indicators for the cluster components. Figure <ref type="figure">1</ref> presents a graphical representation of the proposed model in the context of zero-inflated multivariate count data.</p><p>To generate samples from the posterior distribution, we construct a Metropolis-Hastings within Gibbs algorithm. In practice, we are typically only interested in drawing inference on a subset of the parameters in the model. Therefore, we integrate out &#966; and &#960; &#947; j to reduce the computational cost of the resulting MCMC sampler. Following <ref type="bibr">Miller and Harrison ( 2018 )</ref>, we could implement Algorithm 8 of <ref type="bibr">Neal ( 2000 )</ref> coupled with a Split-Merge sampler <ref type="bibr">( Jain and Neal, 2007 )</ref> to update the cluster allocations, c . However, due to the dimension of the clusterspecific parameters, &#958; k , we observed poor mixing for the number of active clusters. Instead, we implemented the telescoping sampler proposed by <ref type="bibr">Fr&#252;hwirth-Schnatter et al. ( 2021 )</ref>, in which the full conditional distribution of K, and thus the creation of a new component, does not depend on the cluster parameters. As a result, we observed improved mixing and convergence of the MCMC sampler overall. More technical details of the MCMC algorithm and relevant derivations are provided in the Supplementary Material . To determine the final cluster assignment for each observation, we applied the salso algorithm <ref type="bibr">(Dahl et al., 2022 )</ref>, a randomized greedy search algorithm, to minimize the lower bound of the variation of information loss <ref type="bibr">(Meil&#515;, 2003 )</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">SIMUL ATION STUDY</head><p>Before applying the model to data collected in the EDD study, we first performed a simulation study to evaluate the clustering performance of the proposed method and compare it to alternative distance-and model-based methods for clustering multivariate compositional count data in 6 different scenarios. Specifically, we compared the proposed DSDM 3 to a Dirichlet process (DP) mixture model with a Dirichlet-tree multinomial distribution for the counts <ref type="bibr">(Mao and Ma, 2022</ref> ) and a shrinkage-based sparse Dirichlet-multinomial mixture model (sSDM 3 ), similar to <ref type="bibr">Saraiva et al. ( 2020 )</ref>, with a ZIDM for the counts (DSDM 3 -ZIDM, DP-DTM, and sSDM 3 -ZIDM, respectively). Additionally, we compared the model to a finite Dirichlet-multinomial mixture model (DM 3 ), similar to <ref type="bibr">Holmes et al. ( 2012 )</ref>, implemented with a ZIDM for the counts (DM 3 -ZIDM). To assess how ignoring zero-inflation may affect inference, we also evaluated the clustering performance of the DSDM 3 and sSDM 3 with a DM likelihood for the counts (DSDM 3 -DM and sSDM 3 -DM, respectively). Further, we compared the model to the distance-based clustering method PAM <ref type="bibr">(Rousseeuw and Kaufman, 1990 )</ref>, using various distance metrics: Aitchison (PAM-AT) <ref type="bibr">(Aitchison et al., 2000 )</ref>, Bray-Curtis (PAM-BC) <ref type="bibr">(Bray and Curtis, 1957 )</ref>, unweighted UniFrac (PAM-UU), weighted UniFrac (PAM-WU) <ref type="bibr">(Lozupone and Knight, 2005 )</ref>. Note that DP-DTM, PAM-UU, and PAM-WU require specifying a phylogenetic tree for the microbial count data. Lastly, we compared to a Gaussian mixture model (GMM) with an additive log-ratio transformation for the compositional count data <ref type="bibr">(Egozcue et al., 2003 ;</ref><ref type="bibr">Scrucca et al., 2023 )</ref>.</p><p>For the Bayesian mixture models, we assumed similar prior assumptions when applicable (see the Supplementary Material for more details). Each model was run for 10 000 MCMC iterations, treating the first 5000 iterations as burn-in. Final cluster assignments for the Bayesian models were obtained using the salso algorithm. To determine the number of clusters using the finite mixture models (i.e., DM 3 -ZIDM and GMM) and distance-based methods (i.e., PAM-AT, PAM-BC, PAM-UU, and PAM-WU), we fit each model with 2-10 different components and selected a final model for inference using the Bayesian information cr iter ion [BIC; <ref type="bibr">(Swartz et al., 2004 )</ref>] and average si l houette width, respectively. Clustering performance of the methods was evaluated using the adjusted Rand index [ARI; <ref type="bibr">(Hubert and Arabie, 1985 )</ref>], where higher values imply better clustering.</p><p>In scenarios 1-5, we generated data to evaluate and compare the methods' clustering performance with varying percentages of 0 cell counts, numbers of taxa, and numbers of clusters using an approach similar to that taken in <ref type="bibr">Shi et al. ( 2023 )</ref>. In each scenario, we first specify the number of observations, N, the number of tax a w hich are not differentiated by cluster assignment, J noise , the number of taxa that are cluster-specific, J signal , the total depth for the noise taxa, &#380;noise , the total depth for the signal taxa, &#380;signal , and the expected proportion of at-risk observations in each data set. In scenarios 1, 2, and 3, we generated 2 true clusters and 100 taxa with increasing percentages of 0 cell counts in the data (i.e., 28%, 51%, and 73%, respectively). The data in scenarios 4 and 5 were simulated similar to scenario 2; however, in scenario 4, we increased the number of taxa to 250 and in scenario 5 the number of true clusters to 6. For scenarios 1-5, the sequencing depth was set to 5000 reads per sample (4000 for noise taxa and 1000 for signal taxa). Additionally, we compared the models in a setting designed with a more complex correlation structure among the counts (scenario 6). Specifically, multivariate count data were generated using a Dirichlet-tree multinomial distribution with added zero-inflation. The phylogenetic structure used to simu- noise , J signal ) Average proportion of 0 counts 1 2 100 (50, 50) 100 (80, 20) 0.28 2 2 100 (50, 50) 100 (80, 20) 0.51 3 2 100 (50, 50) 100 (80, 20) 0.73 4 2 100 (50, 50) 250 (200, 50) 0.54 5 6 150 (30, 30, 20, 20, 25, 25) 100 (80, 20) 0.50 6 4 300 (75, 75, 75, 75) 79 * 0.58 Each scenario outlines different configurations for true number of clusters, K , sample size, N , with N k representing the number of observations in each true cluster in parentheses, the total number of taxa, J , comprising J noise taxa that were undifferentiated across clusters and J signal taxa that differentiated the clusters, and the average proportion of 0 counts computed over 20 replicate datasets. * -see the Supplementary Material for more details of the data generation in this scenario. late these data was obtained from the taxonomy observed in the application study. Additionally, we set the sequencing depth to match the median depth of the EDD dataset (i.e., 2500 reads per sample). See Table <ref type="table">1</ref> and the Supplementary Material for more details of each scenario, including a plot of the phylogenetic tree used to simulate data in scenario 6. Table <ref type="table">2</ref> presents the clustering performance results of the methods in each simulation scenario. Overall, the proposed DSDM 3 -ZIDM obtained similar or improved clustering performance in terms of the average ARI compared to the alternative distance-and model-based approaches in all 6 scenarios, with the exception of DM 3 -ZIDM in scenarios 1 and 2. Recall that DM 3 -ZIDM is essentially the same model as the proposed DSDM 3 -ZIDM; however, the number of components K are fixed a pr ior i. As the percentage of 0 cell counts increased across scenarios 1-3, the clustering performance of all methods declined. The proposed method's performance was relatively robust to the number of taxa, J. However, we observed a slight decrease in performance in the scenario with 6 true clusters (i.e., scenario 5). In scenario 6, which was designed to incorporate a more complex correlation structure among the counts, DSDM 3 -ZIDM and sSDM 3 -ZIDM outperformed all other methods, including PAM-UU, PAM-WU, and DP-DTM, which were the only methods that incorporated phylogenetic information when performing clustering. In all 6 scenarios, we observed that versions of the models that accommodated zero-inflation outperformed those that ignored zero-inflation, regardless of the clustering framework used. Among the distance-based and frequentist methods, PAM-WU and PAM-BC demonstrated the best clustering per-formance. Notably, PAM-WU and PAM-BC are equivalent in scenarios 1-5, as all simulated samples share the same sequencing depth and no phylogenetic structure is assumed among the OTUs (see the Supplementary Material for more details). In scenario 6, PAM-WU outperformed PAM-BC given the additional information contained in the phylogenetic tree. Lastly, we compared the computation time for each of the methods. DSDM 3 -ZIDM took roughly 15 min in scenarios 1, 2, and 3; 130 min in scenario 4; and 45 min in scenarios 5 and 6 to run 10 000 MCMC iterations on a MacBook Pro with an Apple M1 Pro chip (8-core CPU: 6 performance and 2 efficiency cores), 16 GB RAM, and macOS Sequoia 15.4 (Table <ref type="table">3</ref> ). The alternative Bayesian methods were typically able to run 10 000 iterations quicker than the proposed method in scenarios 1-5, especially for those that ignored potential zero-inflation. However, DM 3 -ZIDM, which relies on model comparison techniques to determine the number of clusters in the data, obtained a cumulative computation time nearly 10 times that of the proposed method. While DP-DTM was the quickest Bayesian method in scenarios 1-4, it slowed considerably as the complexity of the data increased in scenarios 5 and 6. The frequentist and distance-based approaches were much faster than the Bayesian methods, as expected.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">ZERO -INFL ATED MICROBIOME DATA APPLICATION</head><p>In this section, we apply our proposed clustering method to microbiome data collected in a study investigating the relation between gut microbial composition and EDD <ref type="bibr">(Singh et al., 2015 )</ref>. 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.01 (0.01) PAM-AT 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.01 (0.01) PAM-UU 0.04 (0.02) 0.04 (0.02) 0.04 (0.02) 0.12 (0.02) 0.25 (0.01) 0.83 (0.09) PAM-WU 0.04 (0.01) 0.04 (0.01) 0.04 (0.02) 0.12 (0.02) 0.27 (0.06) 0.82 (0.09) GMM 0.00 (0.00) 0.00 (0.00) 0.01 (0.00) 0.01 (0.01) 0.04 (0.01) 0.07 (0.01)</p><p>For models that rely on model comparison techniques to determine the number of clusters, we report the cumulative computation time for each model fit.</p><p>FIGURE 2 EDD Application Results: Observed relative abundances of each patient in the 2 main clusters obtained with DSDM 3 -ZIDM.</p><p>Relative abundances are aggregated at the phylum level for ease of presentation.</p><p>These data were made available by <ref type="bibr">Duvallet et al. ( 2017 )</ref> as part of a meta-analysis for gut microbiome studies. Following the data processing pipeline described in <ref type="bibr">Duvallet et al. ( 2017 )</ref>, the data investigated in this analysis consisted of N = 303 observations (221 EDD patients and 82 healthy controls) of J = 79 taxa at the genus level with 58% zero counts.</p><p>For the proposed DSDM 3 -ZIDM, we set K m = 10 , &#952; = 0 . 1 , &#945; &#947; = 1 , &#946; &#947; = 1 , &#960; &#955; = 0 . 5 , s = 200 , &#963; 2 = 10 , and &#963; 2 MH = 1 . Values of &#963; 2 MH and s were chosen to ensure adequate mixing of the MCMC sampler. The MCMC sampler was initialized at a singleton cluster with &#958; 1 j = log (200 * RA j ) and run for 15 000 iterations. We treated the first 5000 iterations as burn-in and used the remaining 10 000 samples for inference. Convergence was then assessed visually using trace plots for the mixture weights, w , and cluster-specific concentration parameters for the relative abundances, &#958; k . See the Supplementary Material for more de-tails. Cluster allocation was then determined using the salso method to minimize the lower bound of the variation of information loss.</p><p>In a recent study assessing gut microbial community composition conducted on 3 large metagenomic datasets, the authors identified 3 enterotypes: one characterized by Bacteroides , another by P revotella , and third by Firmicutes with Ruminococcus typically the most abundant <ref type="bibr">(Costea et al., 2018 )</ref>. Our analysis identified 2 main clusters in the data; one with genera balanced between phyla Firmicutes (0.40), Proteobacteria (0.28), and Bacteroidetes (0.27) (cluster 1) and the other by Bacteroidetes (0.47) and Firmicutes (0.42) (cluster 2). Posterior estimates of the relative abundances obtained with DSDM 3 -ZIDM are in parentheses for reference. At the genus level, cluster 1 was dominated by a combination of Bacteroides (0.15) and Cronobacter (0.13), while cluster 2 was dominated by Bacteroides (0.33). TABLE 4 Sensitivity Analysis for EDD Application Results: Sensitivity of the results obtained with DSDM 3 -ZIDM to hyperparameter specification. &#952; = 0 . 01 &#952; = 1 &#963; 2 MH = 0 . 1 &#963; 2 MH = 10 s = 100 Clusters 3 1 4 6 4 ARI 0.98 0.00 0.96 0.95 0.65 s = 300 &#946; &#947; = 4 &#946; &#947; = 9 &#960; &#955; = 0 . 2 &#960; &#955; = 0 . 1 Clusters 5 9 5 4 1 ARI 0.95 0.48 0.44 0.97 0.00 ARI, adjusted Rand index. Clusters, the number of clusters estimated by the model.</p><p>Figure <ref type="figure">2</ref> presents the observed relative abundances aggregated at the phyla level for ease of presentation for the 2 main clusters. In the Supplementary Material , we additionally present the abundances aggregated at the family level for reference. Of the 136 individuals assigned to cluster 1, 132 were EDD patients and 4 were healthy controls. Whereas, almost half of the 163 individuals assigned to cluster 2 were healthy controls (78/163). We observed that richness and Shannon diversity indices were lower for the cluster dominated by EDD patients (Figure <ref type="figure">3</ref> ), similar to the results presented in <ref type="bibr">Singh et al. ( 2015 )</ref>. Additionally, the model identified 2 singleton clusters and another cluster of only 2 individuals. Interestingly, the individuals assigned to these clusters were all EDD patients with microbial compositions dominated by Cronobacter ( &gt; 0 . 86 in each). Recall that we also observed cluster 1, which was mostly EDD patients, having higher levels of genus Cronobacter. Cronobacter is a Gramnegative bacterium associated with foodborne diseases and infections <ref type="bibr">(Forsythe, 2018 )</ref>. Previously, researchers have found Cronobacter levels increased for patients with colorectal polyps, colorectal cancer, irritable bowel syndrome, autism spectrum disorder, and metabolic syndrome <ref type="bibr">(Wu et al., 2025 )</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1">Sensitivity analyses</head><p>In this section, we perform a thorough sensitivity analysis of the application results to hyperparameter specification for DSDM 3 -ZIDM. Thereafter, we compare the results obtained in the application study to those obtained with alternative distance-and model-based methods. To assess the model's sensitivity to prior specification, we set each of the hyperparameters to default values (i.e., those used in application study) and then evaluated the effect of manipulating each term on inference. We observed that the clustering results were relatively sensitive to &#952;, which can be interpreted as the concentration parameter of the Dirichlet distribution on the mixture weights (see Table <ref type="table">4</ref> ). While the model was robust to smaller values of &#952; , larger values resulted in the MCMC chain getting stuck at K = 1 mixture components.</p><p>These results were not surprising as previous studies have shown that clustering performance is sensitive to the prior specification of the mixture weights <ref type="bibr">(Celeux et al., 2019 ;</ref><ref type="bibr">Fr&#252;hwirth-Schnatter and Malsiner-Walli, 2019 )</ref>. We found that inference was relatively robust to the variance of the proposal distribution for &#958;. However, the model was moderately sensitive to s , the scaling factor for the prior mean of &#958;. Specifically, we found that the model had difficulty finding favorable new cluster parameters given their high dimensionality, which resulted in poorer mixing of the MCMC sampler. We observed that reducing the probability of an at-risk observation resulted in an increase in the number of smaller clusters. Lastly, as the prior probability for the number of active components decreased, so did the number of clusters, as expected.</p><p>To assess the sensitivity of the application results to model selection and specification, we first reanalyzed the data with alternative MFM models that place different priors on the number of components in the model. Specifically, we fit a MFM model assuming K followed a truncated Poisson (MFM-P), geometr ic (MFM-G), and beta-negative-binomial (MFM-BNB) distribution with a ZIDM for the count data. The hyperparameters for each model were specified so that the prior mean for the number of components matched DSDM 3 -ZIDM. All other hyperparameters were set similar to the application study. Posterior samples were obtained using the telescoping sampler of Fr&#252;hwirth-Schnatter et al. ( <ref type="formula">2021</ref>), and post-hoc inference was performed with the salso algorithm. The alternative MFM models all identified 2 main clusters with comparable numbers of healthy individuals and EDD patients and similar microbial compositions, resulting in all methods obtaining &gt; 0 . 95 ARI compared to the cluster allocation found with the proposed method. Additionally, the MFM-P, MFM-G, and MFM-BNB models identified 1, 2, and 3 singleton clusters of EDD patients with high levels of Cronobacter, respectively. Similar cluster allocations were found using the DM 3 -ZIDM model. The DP-DTM model was not able identify any clusters in the data. sSDM 3 -DM and sSDM 3 -ZIDM suggested 8 and 9 clusters with 0.29 and 0.39 ARI compared to the cluster allocation found with the proposed method, respectively. For comparison, we also fit each of the PAM methods using the distance metrics evaluated in the simulation study with 2-10 clusters and then selected the model with higher average si l houette width for inference. While each of the distance-based methods identified 2 clusters in the data (i.e., one dominated by Cronobacter and Bacteroides and another by Bacteroides ), the results differed from those found with the proposed method (i.e., ARIs ranging from 0.34 to 0.53). Lastly, we evaluated the sensitivity of the results to likelihood assumptions by applying the DSDM 3 with a DM distribution for the multivariate count data (DSDM 3 -DM), which ignores potential zeroinflation. All else equal, DSDM 3 -DM was unable to identify any clusters in the data, highlighting the importance of accommodating zero-inflation when clustering microbiome data.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">DISCUSSION</head><p>In this work, we performed a cluster analysis on microbial composition data collected in a study designed to investigate the relation between gut microbial composition and EDD using a novel Bayesian semiparametr ic cluster ing method for multivariate compositional count data with zero-inflation. Through sensitivity analysis, we show how inference can depend heavily on decisions regarding the clustering method and its specification, underscoring some of the challenges of clustering microbiome data that are commonly faced by the field <ref type="bibr">(Costea et al., 2018 )</ref>. Our approach uses a discrete sparse mixture modeling framework to determine cluster allocation, which allows the mixture weights of empty cluster components to take on 0 values. As such, it can be seen as an extension to the work of <ref type="bibr">Koslovsky ( 2023 )</ref> that additionally accounts for heterogeneity in zero-inflated multivariate count data, effectively using a ZIDM model to accommodate zero-inflation in the count data as well as sparsity in the mixture weights. Additionally, we show how the proposed clustering method belongs to the class of MFM models. This connection opens up a suite of sampling algorithms for posterior inference, as demonstrated in Mi l ler and <ref type="bibr">Harrison ( 2018 )</ref> and <ref type="bibr">Fr&#252;hwirth-Schnatter et al. ( 2021 )</ref>. In the Supplementary Material , we provide derivations for the MCMC algorithm using the telescoping sampler and those needed to implement our approach with the algorithms described in Mi l ler and <ref type="bibr">Harrison ( 2018 )</ref> and <ref type="bibr">Neal ( 2000 )</ref>. In the simulation study, we find that our model is able to obtain similar or improved clustering performance compared to alternative distance-and model-based clustering methods while properly accounting for zero-inflation in the data.</p><p>In the EDD application study, we cluster the data at the genus level. However, in practice, the model is agnostic to the level in which the multivariate count data are aggregated prior to analysis. While designed for zero-inflated multivariate compositional count data collected in human microbiome research settings, the semiparametric clustering framework is flexible to other data structures by adjusting the likelihood function accordingly. Another future extension of the proposed model we aim to explore is how different prior specifications for the active component indicators, &#955; k , or hyperpriors for &#952; , which control the mixing weights, may induce more desirable clustering behavior and/or accommodate available information to improve clustering performance and inference. For example, we may allow the mixture weights to depend on covariate information so that individuals with similar covariate values are more likely to cluster together. Further, the notion of placing a point mass at 0 for mixture weights was also recently proposed in infinite settings via the atom-skipping process and the plaid atoms model for multiple groups <ref type="bibr">(Bi and Ji, 2023 )</ref>. Future work could explore the use of the proposed DSDM 3 in grouped settings as a semiparametric alternative.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>SUPPLE MENTARY MATERIALS</head><p>Supplementary material is available at Biometrics online.</p><p>Web Appendices, Tables, and Figures referenced in Sections 2 , 3 , and 4 are available with this paper at the Biometrics website on Oxford Academic. The case study data, code for generating the simulated data, the R package implementing the proposed method, and package vignette, are available at <ref type="url">https://github.c</ref> om/skorsu/DSDM3/tree/main .</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_0"><p>Downloaded from https://academic.oup.com/biometrics/article/81/3/ujaf125/8262358 by guest on 03 June 2026</p></note>
		</body>
		</text>
</TEI>
