<?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'>Variational Approximation based Model Selection for Microbial Network Inference</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>2022</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10323782</idno>
					<idno type="doi"></idno>
					<title level='j'>Journal of computational biology</title>
<idno>1066-5277</idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Shibu Yooseph</author><author>Sahar Tavakoli</author><author>Mona Singh</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Microbial associations are characterized by both direct and indirect interactions between the constituent taxa in a microbial community, and play an important role in determining the structure, organization, and function of the community. Microbial associations can be represented using a weighted graph (microbial network) whose nodes represent taxa and edges represent pairwise associations. A microbial network is typically inferred from a sample-taxa matrix that is obtained by sequencing multiple biological samples and identifying the taxa counts in each sample. However, it is known that microbial associations are impacted by environmental and/or host factors. Thus, a sample-taxa matrix generated in a microbiome study involving a wide range of values for the environmental and/or clinical metadata variables may in fact be associated with more than one microbial network. Here we consider the problem of inferring multiple microbial networks from a given sample-taxa count matrix. Each sample is a count vector assumed to be generated by a mixture model consisting of component distributions that are Multivariate Poisson Log-Normal. We present a variational Expectation Maximization algorithm for the model selection problem to infer the correct number of components of this mixture model. Our approach involves reframing the mixture model as a latent variable model, treating only the mixing coefficients as parameters, and subsequently approximating the marginal likelihood using an evidence lower bound framework. Our algorithm is evaluated on a large simulated dataset generated using a collection of different graph structures (band, hub, cluster, random, and scale-free).]]></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>matrix that is obtained by sequencing multiple biological samples and identifying the taxa counts in each sample. However, it is known that microbial associations are impacted by environmental and/or host factors. Thus, a sample-taxa matrix generated in a microbiome study involving a wide range of values for the environmental and/or clinical metadata variables may in fact be associated with more than one microbial network. Here we consider the problem of inferring multiple microbial networks from a given sample-taxa count matrix. Each sample is a count vector assumed to be generated by a mixture model consisting of component distributions that are Multivariate Poisson Log-Normal. We present a variational Expectation Maximization algorithm for the model selection problem to infer the correct number of components of this mixture model. Our approach involves reframing the mixture model as a latent variable model, treating only the mixing coefficients as parameters, and subsequently approximating the marginal likelihood using an evidence lower bound framework. Our algorithm is evaluated on a large simulated dataset generated using a collection of different graph structures (band, hub, cluster, random, and scale-free).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">INTRODUCTION</head><p>The structure of a microbial community and the organization of its constituent members (taxa) are determined by a combination of their mutual interactions and other factors such as the availability of carbon sources, energy, and nutrients, and the characteristics of the surrounding environment <ref type="bibr">(Falkowski et al., 2008;</ref><ref type="bibr">Hibbing et al., 2010;</ref><ref type="bibr">Williamson and Yooseph, 2012)</ref>. These variables determine whether the community contains only a handful of taxa with very little strain variation (such as in limiting environments like acid mine drainage <ref type="bibr">(Tyson et al., 2004</ref>)) or whether they contain a moderate to high number of taxa with a large number of variants (such as in the human environment <ref type="bibr">(Methe et al., 2012)</ref>, oligotrophic open oceans <ref type="bibr">(Rusch et al., 2007)</ref>, and nutrient rich soils <ref type="bibr">(Vogel et al., 2009)</ref>).</p><p>Microbial community composition can be obtained by sequencing the DNA extracted from a biological sample collected from the environment of interest.</p><p>Microbiome sequence data are generated either using a targeted approach, involving the sequencing of a taxonomic marker gene (for instance, the 16S ribosomal RNA gene, which is found in all bacteria <ref type="bibr">(Woese and Fox, 1977)</ref>) or using a whole-genome shotgun sequencing approach <ref type="bibr">(Venter et al., 2004)</ref>; the later approach can be used to deduce both the taxonomic composition and the functional potential of the community.</p><p>Here, we study the computational problem of inferring microbial associations from microbiome data. We use the term microbial association to capture both influences and interactions between microbial taxa. In a microbial community, the presence and abundance of one taxonomic group may either directly or indirectly influence the abundance of another taxonomic group <ref type="bibr">(Hibbing et al., 2010)</ref>. For instance, two microbial taxa may directly influence each other through interactions involving exchange of metabolites or other products, or by competing for the same resources. Alternately, two microbial taxa may not directly communicate or compete for the same resources, but instead one taxon could interact with other members of the community, and these interactions could indirectly influence resource availability for the other taxon. Information about associations between taxa can provide important insights into the ecology of the microbial community.</p><p>Microbial associations can be represented using a weighted graph (micro-</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">INTRODUCTION</head><p>bial network) whose nodes represent taxa and undirected edges between nodes represent associations. Edge weights capture the strength of the associations, and the edge weight sign reflects whether the association is positive or negative <ref type="bibr">(Layeghifard et al., 2017)</ref>. This graph representation can be used to model a variety of microbial interactions, including competition and co-operation <ref type="bibr">(Loftus et al., 2021)</ref>. Microbial associations can be inferred from the underlying covariance structure of the community which can be calculated using taxa abundances.</p><p>The covariance matrix is estimated from a sample-taxa count matrix; this count matrix is generated by sequencing biological samples collected from the environment of interest and identifying the counts of taxa in each sample.</p><p>Typically, the study of a microbial community in a particular environment assumes a single covariance structure, and computational methods have been developed to address this estimation problem <ref type="bibr">(Layeghifard et al., 2017)</ref>, including approaches based on probabilistic graphical models <ref type="bibr">(Biswas et al., 2016;</ref><ref type="bibr">Kurtz et al., 2015;</ref><ref type="bibr">Loftus et al., 2021)</ref> and on latent variable models <ref type="bibr">(Fang et al., 2015;</ref><ref type="bibr">Friedman and Alm, 2012)</ref>. However, with the use of high-throughput next-generation DNA sequencing technologies <ref type="bibr">(Quail et al., 2012)</ref> that allow for cost-effectively obtaining data from biological samples, microbiome studies now routinely collect, and generate data from, a large number of samples. In these situations, a microbiome study involving a large cohort or including a wide range of metadata variables (environmental and/or clinical) may in fact be sampling from a community where the microbial associations between taxa are not the same across all intervals of the metadata values. In other words, the microbiome samples in the study may be associated with more than one underlying covariance structure (and thus, more than one microbial network).</p><p>Motivated by this scenario, we recently developed an extension to the single network inference problem. In this extension, we treat the inference problem in a mixture model framework based on generative models <ref type="bibr">(Tavakoli and Yooseph, 2019)</ref> and solve the following computational problem: given a sample-taxa count matrix generated by a mixture model with K component distributions, estimate the mixing coefficients and the parameters of the K component distributions.</p><p>The component distributions model taxa count data, and each component is associated with one precision matrix (and thus, one microbial network). In our framework, referred to as MixMPLN <ref type="bibr">(Tavakoli and Yooseph, 2019)</ref>, we assume that the taxa counts are generated by Multivariate Poisson Log-Normal (MPLN) distributions <ref type="bibr">(Aitchison and Ho, 1989;</ref><ref type="bibr">Inouye et al., 2017)</ref>. We estimate the parameters of the MixMPLN model in a maximum likelihood setting using an optimization technique based on the minorization-maximization principle <ref type="bibr">(Lange, 2016)</ref>. We note that the MPLN distribution has been used previously for the single network inference problem <ref type="bibr">(Biswas et al., 2016;</ref><ref type="bibr">Chiquet et al., 2019)</ref>. While distributions like the multinomial or the Dirichlet-Multinomial have been popular choices for modeling microbial count data in certain situations <ref type="bibr">(Holmes et al., 2012;</ref><ref type="bibr">La Rosa et al., 2012)</ref>, these distributions cannot capture both positive and negative associations between taxa. On the other hand, the MPLN distribution can be used to model multivariate count data and its covariance matrix can capture both types of microbial associations.</p><p>While a mixture model framework can be used to study the multiple network scenario, in practice however, we do not have a priori knowledge of the value of K, the number of component distributions. In this paper, we propose a variational approximation algorithm to determine the correct value of K for the MixMPLN framework, and solve the model selection problem in a statistically principled manner. As part of our approach, we reformulate the mixture model as a latent variable model <ref type="bibr">(Corduneanu and Bishop, 2001)</ref>, and treat only the mixing coefficients as parameters, while treating all other variables,</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">METHODS</head><p>including the means and precision matrices of the component distributions, as latent variables. We use suitable factor distributions involving the latent variables and provide a variational Expectation Maximization (EM) algorithm to compute the parameters of these factor distributions in order to approximate the true marginal likelihood. We evaluate our approach using simulated sampletaxa count matrices generated using different classes of microbial network graph structures.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">METHODS</head><p>Notation: Given a matrix X, we use X :i to denote its i th column, X j: to denote its j th row, and x ji to denote its entry in row j and column i. We use n to denote the number of samples, d to denote the number of taxa, and K to denote the number of mixture components. Unless otherwise specified, all vectors are assumed to be column vectors. In the equations below, we associate the variables i, j, and l with samples, taxa, and mixture components respectively.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1">The Multivariate Poisson Log-Normal (MPLN) distribution</head><p>The MPLN distribution can be used to model count data <ref type="bibr">(Aitchison and Ho, 1989)</ref>. It has parameters &#181; and &#8486;, where &#181; is the d-dimensional mean vector and &#8486; d&#215;d is the precision matrix of the distribution. A sample A = (a 1 , ..., a d ) T generated by this distribution is a d-dimensional count vector with the following property: The probability density function p(A|&#181;, &#8486;) of the MPLN distribution with parameters &#181; and &#8486; can be written as <ref type="bibr">(Aitchison and Ho, 1989)</ref>:</p><p>where,</p><p>e -e &#955; j e &#955;j aj a j ! (2&#960;</p><p>(3)</p><p>and |&#8486;| denotes the determinant of &#8486;. No simplification of the integral in Equation ( <ref type="formula">2</ref>) is known.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2">Mixture of MPLN distributions</head><p>The probability of a sample A = (a 1 , ..., a d ) T generated by a mixture model with K MPLN component distributions and a mixing coefficient vector &#966; = (&#966; 1 , &#966; 2 , .., &#966; K ) can be written as</p><p>where</p><p>In Equation ( <ref type="formula">4</ref>), the variables &#181; (l) and &#8486; (l) denote the mean vector and precision matrix respectively, of the l th component distribution, and &#955; (l) denotes the latent variable vector of sample A that is associated with the l th component. Now, let X d&#215;n denote a sample-taxa count matrix with d taxa and n samples that is generated by mixture of K MPLN distributions. Also, let &#923; (l) denote the d &#215; n matrix of latent variable vectors of the n samples that is associated with the l th component. That is, column vector &#923; (l):i is associated with sample X :i . We also use &#955; lji to denote the j th entry in column vector &#923; (l):i . Then, the probability of the observed sample-taxa count matrix X, given the parameters of the mixture model, can be written as</p><p>This mixture model is associated with K microbial networks, where the l th network (1 &#8804; l &#8804; K) has adjacency matrix equal to the precision matrix &#8486; (l) .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.3">The Latent Variable Model</head><p>We reformulate the mixture model given in Equation ( <ref type="formula">5</ref>) as a latent variable model <ref type="bibr">(Bishop, 2006)</ref>, in which we treat only the mixing coefficients &#966; l 's as parameters while all other variables, including &#923; (l) , &#181; (l) , and &#8486; (l) , where 1 &#8804; l &#8804; K, are treated as latent variables.</p><p>Let &#920; = L &#8746; M &#8746; T &#8746; S denote the set of all latent variables in our model,</p><p>where</p><p>and S = {S i |1 &#8804; i &#8804; n}. The set S denotes component membership information for samples, where S i = (s i1 , ..., s iK ) T is a K-dimensional binary vector, also called a 1-of-K binary vector <ref type="bibr">(Bishop, 2006)</ref>, that is associated with sample X :i .</p><p>This vector has the property that if X :i was generated by component r then s ir = 1, and that s il = 0, for all l = r.</p><p>We now describe the different parts of the generative model. Each S i is drawn from a multinomial distribution; that is, S i &#8764; Multinomial(1, &#966;). We have that</p><p>Conditional on S, each sample is assumed to be independently drawn from an MPLN distribution with parameters &#181; (l) and &#8486; (l) . Upon selection of component l, both sample X :i and its associated latent variable vector &#923; (l):i are generated.</p><p>Thus,</p><p>Marginalizing the function p(X, L|M, T , S) &#215; p(S|&#966;) over S and L results in Equation ( <ref type="formula">5</ref>). We also introduce conjugate priors over each &#181; (l) and &#8486; (l) . We</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">METHODS</head><p>assume that &#181; (l) &#8764; N d (0, &#946;I) where I is the d &#215; d identity matrix, and &#946; is a fixed parameter. We also assume that &#8486; l &#8764; W(&#957;, V ), where W(&#957;, V ) is the Wishart distribution <ref type="bibr">(Wishart, 1928)</ref> with fixed degrees of distribution &#957; and fixed scale matrix V . The density function for the Wishart distribution is given as</p><p>where Tr(.) and &#915;(.) denote the matrix trace function and Gamma function respectively.</p><p>Finally, we set p(M) = K l=1 p(&#181; (l) ) and p(T ) = K l=1 p(&#8486; (l) ). Taken together, these specifications allow us to describe the joint distribution of X and all latent variables, conditioned on the mixing coefficients, as</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.4">The Evidence Lower Bound function</head><p>The marginal likelihood function p(X|&#966;) can be obtained by integrating Equation (7) over all latent variables in &#920;. However, the function defined in this manner is not analytically tractable. Instead, we employ a variational approximation method involving a lower bound on the marginal log-likelihood function.</p><p>This lower bound, called the Evidence Lower Bound (ELBO) function <ref type="bibr">(Bishop, 2006;</ref><ref type="bibr">Tzikas et al., 2008)</ref>, will then be maximized with respect to the mixing coefficients. The ELBO function Q(&#920;) is defined as</p><p>where . &#920; denotes the expectation over the distribution Q(&#920;). For any function Q(&#920;), the following identity holds <ref type="bibr">(Bishop, 2006)</ref>:</p><p>Our goal is to maximize ELBO(Q) using some choice of Q(&#920;). The difference between ELBO(Q) and log p(X|&#966;) can be shown to be the Kullback-Leibler distance (KL) between Q(&#920;) and the posterior distribution p(&#920;|X, &#966;). Thus,</p><p>is equal to the posterior <ref type="bibr">(Bishop, 2006)</ref>. Let</p><p>is the product of independent factor distributions q(&#952; t ). With this assumption <ref type="bibr">(Parisi, 1988)</ref>, the form of the optimal factor distributions that minimize the KL distance can be computed <ref type="bibr">(Bishop, 2006)</ref>. For each t, the optimal distribution q(&#952; t ) can be shown to have the form q(&#952; t ) = exp( log p(X, &#920;|&#966;) &#952;v =&#952;t ) exp( log p(X, &#920;|&#966;) &#952;v =&#952;t ) d&#952; t (9)</p><p>As will be shown, the optimal distributions q(.) for the latent variables S i , &#181; (l) , and &#8486; (l) have the same functional forms as their respective priors p(S i |&#966;), p(&#181; (l) ), and p(&#8486; (l) ). Specifically, q(S i ) = Multinomial(1, &#945; i ), with parameter &#945; i = (&#945; i1 , &#945; i2 , .., &#945; iK ) where</p><p>), a multivariate Gaussian with d-dimensional mean vector m (l) and d &#215; d precision matrix T (l) , q(&#8486; (l) ) = W(&#951; (l) , C (l) ), a Wishart distribution with degrees of freedom &#951; (l) and</p><p>For the &#923; (l):i latent variable vectors, the optimal form of q(&#923; (l):i ) is quite unwieldy to work with; thus, instead, we define each q(&#923; (l):i ) to be a multivariate</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">METHODS</head><p>Gaussian distribution with a diagonal precision matrix. Specifically,</p><p>Since D (l)i is a diagonal matrix, the multivariate distribution q(&#923; (l):i ) can be written as a product of d independent univariate Gaussian distributions q(&#955; lji ), 1 &#8804; j &#8804; d, where &#948; (l)i = (a l1i , a l2i , .., a ldi ) T and diag(D (l)i ) =</p><p>That is, a lji and b lji denote the mean and variance respectively, of the random variable &#955; lji .</p><p>We use Equations ( <ref type="formula">8</ref>) and ( <ref type="formula">9</ref>) to derive update equations for the parameters of the factor distributions. These update equations are linked, in the sense that the update equation for a variational parameter is a function of other variational parameters. Given these equations, our proposed variational EM algorithm involves maximizing the ELBO function using an iterative procedure. In each iteration, we cycle through the set of update equations to update the values of the variational parameters. While the variational parameters &#945; i , m (l) , T (l) , &#951; (l) , and C (l) have closed forms for their update equations (in terms of other parameters), the update values for variational parameters a lji and b lji are not closed form but are obtained using the Newton-Raphson method <ref type="bibr">(Press et al., 1992)</ref>. Finally, the mixing coefficients are re-estimated to improve the approximation to the marginal log-likelihood. Convergence of this iterative procedure is guaranteed since the ELBO function increases with each update, unless it is already at a (local) maximum value <ref type="bibr">(Bishop, 2006;</ref><ref type="bibr">Boyd and Vandenberghe, 2004)</ref>. The algorithm is run on the input sample-taxa matrix using a reasonably large value of K, and after convergence, the number of mixing coefficients that are above a preset threshold value denotes the optimal number of components in the model.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.5">Parameter update formulas and marginal log-likelihood lower bound using ELBO function13</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.5">Parameter update formulas and marginal log-likelihood lower bound using ELBO function</head><p>The update equations for the factor distribution parameters &#945; i , m (l) , T (l) , &#951; (l) , and C (l) are given in Table <ref type="table">1</ref>. The derivations of the update equations are provided in the Appendix. The estimates of the parameters for each q(&#923; (l):i ) are obtained by maximizing the ELBO function restricted to each &#923; (l):i .</p><p>The ELBO function given in Equation ( <ref type="formula">8</ref>) when restricted to &#923; (l):i has the form</p><p>The above integral can be rewritten as</p><p>Let &#969; lrt denote the entry in row r and column t of matrix &#8486; (l) , and h lt denote the t th entry in vector &#181; (l) . Since &#955; lji has a univariate Gaussian distribution, it follows that &#955; lji = a lji , &#955; 2 lji = a 2 lji + b lji , and e &#955; lji = e a lji + 1 2 b lji .</p><p>We use these observations to simplify the above expression to produce a function</p><p>We identify the values of the variables a l1i , b l1i , a l2i , b l2i , .., a ldi , b ldi that maximize F (.). This is accomplished by cycling through each of the 2d variables and maximizing the corresponding univariate function on that variable.</p><p>Restricted to variables a lji and b lji (and excluding constants), the function</p><p>As part of maximizing F (.), we first compute the derivatives of G(.) with respect to a lji and b lji separately, and set the two resulting derivatives to 0.</p><p>The roots of these two equations are then computed using the Newton-Raphson method. The corresponding equations for a lji and b lji are respectively</p><p>Once we have estimates for the variational parameters, we can compute the ELBO function using an expansion of Equation ( <ref type="formula">8</ref>) as</p><p>-log q(S) -log q(M) -log q(T ) -log q(L)</p><p>The formulas for the expected values in Equation ( <ref type="formula">10</ref>) are given in Table <ref type="table">2</ref>.</p><p>Since the ELBO function approximates the true marginal log-likelihood function log p(X|&#966;), after we have cycled through and estimated the variational parameters, we can then maximize the resulting ELBO with respect to the mixing</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.6">Variational EM algorithm (MS MixMPLN)</head><p>coefficients. This can be done by taking the derivatives of Equation ( <ref type="formula">10</ref>) with respect to the &#966; l 's and using a Lagrange multiplier to enforce the constraint that <ref type="bibr">, 2006)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.6">Variational EM algorithm (MS MixMPLN)</head><p>Input: Sample-taxa matrix X d&#215;n , number of components K, the prior parameters &#946;, &#957;, and V .</p><p>Output: Values of the mixing coefficients and the variational parameters that maximize the ELBO function, and the maximum ELBO function value.</p><p>Initialization: Initialize the mixing coefficient vector &#966; = (&#966; 1 , &#966; 2 , .., &#966; K ) and the variational parameters &#945; i , m (l) , T (l) , &#951; (l) , C (l) , &#948; (l)i , and</p><p>Repeat until convergence (that is, the ELBO function does not increase any further):</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>E-step:</head><p>Cycle through the variational parameters and update their estimates.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>M-step:</head><p>We implemented MS MixMPLN in the R programming language (R Development Core Team, 2013). The program is available at <ref type="url">https://github.com/syooseph/YoosephLab/tree/master/</ref> MixtureMicrobialNetworks/MS MixMPLN.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">RESULTS</head><p>The performance of the model selection algorithm MS MixMPLN was evaluated using a collection of synthetic sample-taxa count matrices with d taxa and n</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">RESULTS</head><p>samples. The samples (count vectors) in each sample-taxa matrix were generated from a mixture model consisting of K MPLN component distributions and with mixing coefficient vector &#966;. The precision matrices of the component distributions were generated from an underlying graph structure. Five different types of graph structures were considered and these were band, cluster, hub, random, and scale-free. The R huge package <ref type="bibr">(Zhao et al., 2012)</ref> was used to generate the precision matrices associated with each graph structure. Sample-taxa matrices were generated with number of taxa d = 50, number of components K = 2, 3, 4, and number of samples n = sK, where s is the number of samples per component (s = 200, 1000). The mixing coefficient vectors for K = 2, 3 and 4 were &#966;</p><p>respectively. For each graph type and combination of parameter values, twenty replicates were generated. Thus, 600 synthetic sample-taxa matrices were generated in total.</p><p>For each input sample-taxa matrix, MS MixMPLN was run with a larger value for the number of components (5, 6, and 7 respectively for ground-truth K = 2, 3, and 4). The values for the priors were as follows: &#946; = 10 -6 , &#957; = 50, and V set to a diagonal matrix with all entries equal to 51. MS MixMPLN was run using 26 different starting points on each input, where 25 starting points were generated using random partitions of the samples in the sampletaxa matrix and one starting point was generated using the K-means algorithm <ref type="bibr">(MacQueen, 1967)</ref> to partition the samples. Each partition was used to initialize the estimates for the mixing coefficients and the variational parameters. For each starting point, the algorithm was allowed to run for 30 iterations (or less, if it reached convergence). The output with the maximum ELBO value was selected.</p><p>The predicted number of components was determined by applying a threshold &#964; to the mixing coefficient values; that is, any component with mixing coefficient value &lt; &#964; was not counted towards the predicted number of components. Table <ref type="table">3</ref> shows the accuracy of MS MixMPLN on the simulated datasets at different values for the threshold &#964; . Here, accuracy for a particular &#964; value is measured as the proportion of times the predicted number of components at that threshold is equal to the ground-truth K.</p><p>We see from Table <ref type="table">3</ref> that, for each combination of n, K, and &#964; values, MS MixMPLN shows fairly similar accuracy levels for all graph structures.</p><p>While the accuracy is highest for K = 2, in the region of 0.75 to 0.95 (at &#964; = 0.01), it decreases for K = 3 and 4, to smaller values in the region of 0.05 to 0.25 (at &#964; = 0.01). The accuracy also generally increases with an increase in the number of samples per component (from 200 to 1000). At a higher threshold value (&#964; = 0.06), even for K = 4, the accuracy estimates are moderately high (in the region of 0.5 to 0.75) for the sample sizes explored.</p><p>As an alternate strategy, we evaluated the AIC, BIC, and EBIC criteria <ref type="bibr">(Epskamp and Fried, 2018;</ref><ref type="bibr">Zhu and Cribben, 2018)</ref> for model selection. As part of this assessment, we ran the MixMPLN algorithm <ref type="bibr">(Tavakoli and Yooseph, 2019)</ref> with different values for K (from 1 through 6) on each sample-taxa matrix, and used the minimum values of AIC, BIC, and EBIC (see Appendix) to predict the number of components. We observed that none of the three criteria returned the correct answer on any of the input datasets.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">DISCUSSION</head><p>Here we presented a variational EM algorithm for selecting the number of component distributions for the MixMPLN framework. The proposed algorithm was evaluated using a large simulated dataset. For the sample sizes evaluated, the prediction accuracy decreased as the number of components increased. Future work will explore further the relationship between the number of components and the number of samples in the context of improving approximation of the marginal log-likelihood estimate and the accuracy of the algorithm. It will also include a more comprehensive examination of the parameter space and their effect on model selection accuracy. This will include exploring additional values for the prior parameters and the mixing coefficients. Finally, we will explore the ELBO function landscape further, including the use of local maxima solutions to inform the model selection process. We will also evaluate the proximity of the variational approximation to the true posterior distribution <ref type="bibr">(Yao et al., 2018;</ref><ref type="bibr">Huggins et al., 2020)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>TABLES</head><p>Parameter &#945; i for q(S i ):</p><p>, where</p><p>Parameters m (l) and T (l) for q(&#181; (l) ):</p><p>Parameters &#951; (l) and C (l) for q(&#8486; (l) ):</p><p>Expected values used in the above updates:</p><p>Table <ref type="table">1</ref>:</p><p>The update formulas for the parameters &#945; i , m (l) , T (l) , &#951; (l) , and C (l) . Notation: Tr(.) and &#968;(.) denote the matrix trace function and the di-gamma function respectively;</p><p>F (&#952; t ) denotes the expectation of function F (&#952; t ) over the factor distribution q(&#952; t ).   where the constant is independent of &#8486; (l) .</p><p>From the above equation, we can deduce that q(&#8486; (l) ) is a Wishart distribution with degrees of freedom &#951; (l) and scale matrix C (l) defined as where log L is the log-likelihood score, K is the number of components, k is the total number of non-zero elements in the precision matrices of the K components, d is the number of taxa, and &#947; is a constant (set to 0.5).</p></div></body>
		</text>
</TEI>
