TL;DR
This paper introduces a Centered Partition process that incorporates prior expert knowledge into Bayesian clustering, allowing for more informed and flexible partitioning, demonstrated through simulations and an epidemiological case study.
Contribution
It proposes a novel Centered Partition prior that modifies EPPF to include prior knowledge, enhancing Bayesian clustering methods.
Findings
The CP prior effectively incorporates prior knowledge into clustering.
The methodology performs well in simulations and real epidemiological data.
The approach offers a flexible way to include expert input in Bayesian models.
Abstract
There is a very rich literature proposing Bayesian approaches for clustering starting with a prior probability distribution on partitions. Most approaches assume exchangeability, leading to simple representations in terms of Exchangeable Partition Probability Functions (EPPF). Gibbs-type priors encompass a broad class of such cases, including Dirichlet and Pitman-Yor processes. Even though there have been some proposals to relax the exchangeability assumption, allowing covariate-dependence and partial exchangeability, limited consideration has been given on how to include concrete prior knowledge on the partition. For example, we are motivated by an epidemiological application, in which we wish to cluster birth defects into groups and we have prior knowledge of an initial clustering provided by experts. As a general approach for including such prior knowledge, we propose a Centered…
| Congenital Heart Defect | Abbreviation | Frequency | Percentage of cases |
| Septal | |||
| Atrial septal defect | ASD | 765 | 0.15 |
| Perimembranous ventricular septal defect | VSDPM | 552 | 0.11 |
| Atrial septal defect, type not specified | ASDNOS | 225 | 0.04 |
| Muscular ventricular septal defect | VSDMUSC | 68 | 0.02 |
| Ventricular septal defect, otherwise specified | VSDOS | 12 | 0.00 |
| Ventricular septal defect, type not specified | VSDNOS | 8 | 0.00 |
| Atrial septal defect, otherwise specified | ASDOS | 4 | 0.00 |
| Conotruncal | |||
| Tetralogy of Fallot | FALLOT | 639 | 0.12 |
| D-transposition of the great arteries | DTGA | 406 | 0.08 |
| Truncus arteriosus | COMMONTRUNCUS | 61 | 0.01 |
| Double outlet right ventricle | DORVTGA | 35 | 0.01 |
| Ventricular septal defect reported as conoventricular | VSDCONOV | 32 | 0.01 |
| D-transposition of the great arteries, other type | DORVOTHER | 22 | 0.00 |
| Interrupted aortic arch type B | IAATYPEB | 13 | 0.00 |
| Interrupted aortic arch, not otherwise specified | IAANOS | 5 | 0.00 |
| Left ventricular outflow | |||
| Hypoplastic left heart syndrome | HLHS | 389 | 0.08 |
| Coarctation of the aorta | COARCT | 358 | 0.07 |
| Aortic stenosis | AORTICSTENOSIS | 224 | 0.04 |
| Interrupted aortic arch type A | IAATYPEA | 12 | 0.00 |
| Right ventricular outflow | |||
| Pulmonary valve stenosis | PVS | 678 | 0.13 |
| Pulmonary atresia | PULMATRESIA | 100 | 0.02 |
| Ebstein anomaly | EBSTEIN | 66 | 0.01 |
| Tricuspid atresia | TRIATRESIA | 46 | 0.01 |
| Anomalous pulmonary venous return | |||
| Total anomalous pulmonary venous return | TAPVR | 163 | 0.03 |
| Partial anomalous pulmonary venous return | PAPVR | 21 | 0.01 |
| Atrioventricular septal defect | |||
| Atrioventricular septal defect | AVSD | 112 | 0.02 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Centered Partition Processes: Informative Priors for Clustering
Sally Paganinlabel=e1][email protected] [
Amy H. Herring
Andrew F. Olshan
David B. Dunson
The National Birth Defects Prevention Study
Department of Statistical Sciences, University of Padova, Italy\thanksmarka1
Department of Statistical Science, Duke University, USA\thanksmarka2
Department of Epidemiology, The University of North Carolina at Chapel Hill, USA\thanksmarka3
Abstract
There is a very rich literature proposing Bayesian approaches for clustering starting with a prior probability distribution on partitions. Most approaches assume exchangeability, leading to simple representations in terms of Exchangeable Partition Probability Functions (EPPF). Gibbs-type priors encompass a broad class of such cases, including Dirichlet and Pitman-Yor processes. Even though there have been some proposals to relax the exchangeability assumption, allowing covariate-dependence and partial exchangeability, limited consideration has been given on how to include concrete prior knowledge on the partition. For example, we are motivated by an epidemiological application, in which we wish to cluster birth defects into groups and we have prior knowledge of an initial clustering provided by experts. As a general approach for including such prior knowledge, we propose a Centered Partition (CP) process that modifies the EPPF to favor partitions close to an initial one. Some properties of the CP prior are described, a general algorithm for posterior computation is developed, and we illustrate the methodology through simulation examples and an application to the motivating epidemiology study of birth defects.
Bayesian clustering,
Bayesian nonparametrics,
centered process,
Dirichlet Process,
exchangeable probability partition function,
mixture model,
product partition model,
keywords:
\startlocaldefs\endlocaldefs
, , ,
and
1 Introduction
Clustering is one of the canonical data analysis goals in statistics. There are two main strategies that have been used for clustering; namely, distance and model-based clustering. Distance-based methods leverage upon a distance metric between data points and do not in general require a generative probability model of the data, while model-based methods rely on discrete mixture models, which model the data in different clusters as arising from kernels having different parameter values. The majority of the model-based literature leans on maximum likelihood estimation, commonly relying on the EM algorithm. Bayesian approaches that aim to approximate a full posterior distribution on the clusters have advantages in terms of uncertainty quantification, while also having the ability to incorporate prior information.
Although this article is motivated by providing a broad new class of methods for improving clustering performance in practice, we were initially motivated by a particular application involving birth defects epidemiology. In this context, there are different birth defects, which we can index using , and we are interested in clustering these birth defects into mechanistic groups. This may be useful, for example, in that birth defects in the same group may have similar coefficients in logistic regression analysis relating different exposures to risk of developing the defect. Investigators have provided us with an initial partition of the defects into groups. It is appealing to combine this prior knowledge with information in the data from a grouped logistic regression to produce a posterior distribution on clusters, which characterizes uncertainty. The motivating question of this article is how to do this, with the resulting method ideally having broader impact to other types of centering of priors for clustering; for example, we may want to center the prior based on information on the number of clusters or cluster sizes.
With these goals in mind, we start by reviewing the relevant literature on clustering priors. Most of these methods assume exchangeability, which means that the prior probability of a partition of into clusters depends only on the number of clusters and the cluster sizes; the indices on the clusters play no role. Under the exchangeability assumption, one can define what is referred to in the literature as an Exchangeable Partition Probability Function (EPPF) (Pitman, 1995). This EPPF provides a prior distribution on the random partition . One direction to obtain a specific form for the EPPF is to start with a nonparametric Bayesian discrete mixture model with a prior for the mixing measure , and then marginalize over this prior to obtain an induced prior on partitions. Standard choices for , such as the Dirichlet (Ferguson, 1973) and Pitman-Yor process (Pitman and Yor, 1997), lead to relatively simple analytic forms for the EPPF. There has been some recent literature studying extensions to broad classes of Gibbs-type processes (Gnedin and Pitman, 2006; De Blasi et al., 2015), mostly focused on improving flexibility while maintaining the ability to predict the number of new clusters in a future sample of data.
There is also a rich literature on relaxing exchangeability in various ways. Most of the emphasis has been on the case in which a vector of features is available for index , motivating feature-dependent random partitions models. Building on the stick-breaking representation of the DP (Sethuraman, 1994), MacEachern (1999, 2000) proposed a class of fixed weight dependent DP (DDP) priors. Applications of this DDP framework have been employed in ANOVA modeling (De Iorio et al., 2004), spatial data analysis (Gelfand et al., 2005), time series (Caron et al., 2006) and functional data analysis applications (Petrone et al., 2009; Scarpa and Dunson, 2009) among many others, with some theoretical properties highlighted in Barrientos et al. (2012).
However such fixed weight DDPs lack flexibility in feature-dependent clustering, as noted in MacEachern (2000). This has motivated alternative formulations which allow the mixing weights to change with the features, with some examples including the order-based dependent Dirichlet process (Griffin and Steel, 2006), kernel- (Dunson and Park, 2008), and probit- (Rodriguez and Dunson, 2011) stick breaking processes.
Alternative approaches build on random partition models (RPMs), working directly with the probability distribution on the partition of indices into clusters. Particular attention has been given to the class of product partition models (PPMs) (Barry and Hartigan, 1992; Hartigan, 1990) in which can be factorized into a product of cluster-dependent functions, known as cohesion functions. A common strategy modifies the cohesion to allow feature-dependence; refer, for examples, to Park and Dunson (2010), Müller et al. (2011), Blei and Frazier (2011) and Dahl et al. (2017).
Our focus is fundamentally different. In particular, we do not have features on indices but have access to an informed prior guess for the partition ; other than this information it is plausible to rely on exchangeable priors. To address this problem, we propose a general strategy to modify a baseline EPPF to include centering on . In particular, our proposed Centered Partition (CP) process defines the partition prior as proportional to an EPPF multiplied by an exponential factor which depends on a distance function measuring how far is from . The proposed framework should be broadly useful in including extra information into EPPFs, which tend to face issues in lacking incorporation of real prior information from applications.
The paper is organized as follows. Section 2 introduces concepts and notation related to Bayesian nonparametric clustering. In Section 3 we illustrate the general CP process formulation and describe an approach to posterior computation relying on Markov chain Monte Carlo (MCMC). Section 4 proposes a general strategy for prior calibration building on a targeted Monte Carlo procedure. Simulation studies and application to the motivating birth defects epidemiology study are provided in Section 5, with technical details included in an Appendix.
2 Clustering and Bayesian models
This section introduces some concepts related to the representation of the clustering space from a combinatorial perspective, which will be useful to define the Centered Partition process, along with an introduction to Bayesian nonparametric clustering models.
2.1 Set Partitions
Let be a generic clustering of indices . It can be either represented as a vector of indices , with for and when and belong to the same cluster, or as a collection of disjoint subsets (blocks) where contains all the indices of data points in the -th cluster and is the number of clusters in the sample of size . From a mathematical perspective is a combinatorial object known as set partition of . The collection of all possible set partitions of , denoted with , is known as the partition lattice. We refer to Stanley (1997) and Davey and Priestley (2002) for an introduction to lattice theory, and to Meilă (2007) and Wade and Ghahramani (2018) for a review of the concepts from a more statistical perspective.
According to Knuth in Wilson and Watkins (2013), set partitions seem to have been studied first in Japan around A.D. 1500, due to a popular game in the upper class society known as genji-ko; five unknown incense sticks were burned and players were asked to identify which of the scents were the same, and which were different. Soon diagrams were developed to model all the outcomes, which corresponds to all the possible set partitions of elements. First results focused on enumerating the elements of the space. For example, for a fixed number of blocks , the number of ways to assign elements to groups is described by the Stirling number of the second kind
[TABLE]
while the Bell number describes the number of all possible set partitions of elements.
Interest progressively shifted towards characterizing the structure of the space of partitions using the notion of partial order. Consider endowed with the set containment relation , meaning that for belonging to , if for all for some . Then the space is a partially ordered set (poset), which satisfies the following properties:
Reflexivity: for every , , 2. 2.
Antisymmetry: if and then , 3. 3.
Transitivity: if and , then .
Moreover, for any , it is said that is covered (or refined) by if and there is no such that . Such a relation is indicated by . This covering relation allows one to represent the space of partitions using a Hasse diagram, in which the elements of correspond to nodes in a graph and a line is drawn from to when ; there is a connection from a partition to another one when the second can be obtained by splitting or merging one of the blocks in . See Fig. 1 for an example of the Hasse diagram of . Conventionally, the partition with just one cluster is represented at the top of the diagram and denoted as , while the partition having every observation in its own cluster is at the bottom and indicated with .
This representation of the set partitions space as a partially ordered set provides a useful framework to characterize its elements. As already mentioned, two partitions connected in the Hasse diagram can be obtained from one another by means of a single operation of split or merge; a sequence of connections is a path, linking the two extreme partitions and . A path starting from connects partitions with an increasing number of blocks, from to , which is referred as the rank of the partition. Set partitions with the same rank may differ in terms of their configuration , the sequence of block cardinalities , which corresponds to another combinatorial object known as an integer partition of . In combinatorics, an integer partition is defined as the multiset of positive integers , listed in decreasing order by convention, such that . Also the associated space of all possible integer partitions is a partially ordered set, making the definition of configuration a poset mapping .
Finally, the space is a lattice, based on the fact that every pair of elements has a greatest lower bound (g.l.b.) and a least upper bound (l.u.b.) indicated with the “meet” and the “join” operators, i.e. and and equality holds under a permutation of the cluster labels. An element is an upper bound for a subset if for all , and it is the least upper bound for a subset if is an upper bound for and for all upper bounds of . The lower bound and the greatest lower bound are defined similarly, and the definition applies also to the elements of the space . Consider, as an example, and ; their greatest lower bound is while the lowest upper bound is . Considering the Hasse diagram in Fig 1 the g.l.b. and l.u.b. are the two partitions which reach both and through the shortest path, respectively from below and from above.
2.2 Bayesian mixture models
From a statistical perspective, set partitions are key elements in a Bayesian mixture model framework. The main underlying assumption is that observations are independent conditional on the partition , and their joint probability density can be expressed as
[TABLE]
with a vector of unknown parameters indexing the distribution of observations for each cluster . In a Bayesian formulation, a prior distribution is assigned to each possible partition , leading to a posterior of the form
[TABLE]
Hence the set partition is conceived as a random object and elicitation of its prior distribution is a critical issue in Bayesian modeling.
The first distribution one may use, in the absence of prior information, is the uniform distribution, which gives the same probability to every partition with ; however, even for small values of the Bell number is very large, making computation of the posterior intractable even for simple choices of the likelihood. This motivated the definition of alternative prior distributions based on different concepts of uniformity, with the Jensen and Liu (2008) prior favoring uniform placement of new observations in one of the existing clusters, and Casella et al. (2014) proposing a hierarchical uniform prior, which gives equal probability to set partitions having the same configuration.
Usual Bayesian nonparametric procedures build instead on discrete nonparametric priors, i.e. priors that have discrete realization almost surely. Dirichlet and Pitman-Yor processes are well known to have this property, as does the broader class of Gibbs-type priors. Any discrete random probability measure can induce an exchangeable random partition. Due to the discreteness of the process, induces a partition of the observations which can be characterized via an Exchangeable Probability Partition Function. For both Dirichlet and Pitman-Yor processes, the EPPF is available in closed form as reported in Table 1 along with the case of the finite mixture model with components and a symmetric Dirichlet prior with parameters . Notice that is the cardinality of the clusters composing the partition, while notation is for the rising factorial .
There is a strong connection with the exchangeable random partitions induced by Gibbs-type priors and product partition models. A product partition model assumes that the prior probability for the partition has the following form
[TABLE]
with known as the cohesion function. The underlying assumption is that the prior distribution for the set partition can be factorized as the product of functions that depend only on the blocks composing it. Such a definition, in conjunction with formulation (1) for the data likelihood, guarantees the property that the posterior distribution for is still in the class of product partition models.
Distributions in Table 1 are all characterized by a cohesion function that depends on the blocks through their cardinality. Although the parameters can control the expected number of clusters, this assumption is too strict in many applied contexts in which prior information is available about the grouping. In particular, the same probability is given to partitions with the same configuration but having a totally different composition.
3 Centered Partition Processes
Our focus is on incorporating structured knowledge about clustering of the finite set of indices in the prior distribution within a Bayesian mixture model framework. We consider as a first source of information a given potential clustering, but our approach can also accommodate prior information on summary statistics such as the number of clusters and cluster sizes.
3.1 General formulation
Assume that a potential clustering is given and we wish to include this information in the prior distribution. To address this problem, we propose a general strategy to modify a baseline EPPF to shrink towards . In particular, our proposed CP process defines the prior on set partitions as proportional to a baseline EPPF multiplied by a penalization term of the type
[TABLE]
with a penalization parameter, a suitable distance measuring how far is from and indicates a baseline EPPF, that may depend on some parameters that are not of interest at the moment. For , corresponds to the baseline EPPF , while for , .
Note that takes a finite number of discrete values , with depending on and on the distance . We can define sets of partitions having the same fixed distance from as
[TABLE]
Hence, for , denotes the set of partitions equal to the base one, meaning that they differ from only by a permutation of the cluster labels. Then denotes the set of partitions with minimum distance from , the set of partitions with the second minimum distance from and so on. The introduced exponential term penalizes equally partitions in the same set for a given , but the resulting probabilities may differ depending on the chosen baseline EPPF.
3.2 Choices of distance function
The proposed CP process modifies a baseline EPPF to include a distance-based penalization term, which aims to shrink the prior distribution towards a prior partition guess. The choice of distance plays a key role in determining the behavior of the prior distribution. A variety of different distances and indices have been employed in clustering procedures and comparisons. We consider in this paper the Variation of Information (VI), obtained axiomatically in Meilă (2007) using information theory, and shown to nicely characterize neighborhoods of a given partition by Wade and Ghahramani (2018). The Variation of Information is based on the Shannon entropy , and can be computed as
[TABLE]
where denotes base 2, and the size of blocks of the intersection and hence the number of indices in block under partition and block under . Notice that VI ranges from [math] to . Although normalized versions have been proposed (Vinh et al., 2010), some desirable properties are lost under normalization. We refer to Meilă (2007) and Wade and Ghahramani (2018) for additional properties and empirical evaluations.
An alternative definition of the VI can be derived from lattice theory, exploiting the concepts provided in Section 2.1. We refer to Monjardet (1981) for general theory about metrics on lattices and ordered sets, and Rossi (2015) for a more recent review focused on set partitions. In general, a distance between two different partitions can be defined by means of the Hasse diagram via the minimum weighted path, which corresponds to the shortest path length when edges are equally weighted. Instead, when edges depend on the entropy function through , the minimum weighted path between two partitions is the Variation of Information. Notice that two partitions are connected when in a covering relation, then is either equal to or and . The minimum weight corresponds to which is attained when two singleton clusters are merged, or conversely, a cluster consisting of two points is split (see Meilă, 2007).
3.3 Effect of the prior penalization
We first consider the important special case in which the baseline EPPF is and the CP process reduces to with equation (4) simplifying to
[TABLE]
where indicates the cardinality and is defined in (5).
Considering , there are possible set partitions; Figure 2 shows the prior probabilities assigned to partitions under the CP process for different values of with corresponding to the uniform prior. Notice that base partitions with the same configuration (e.g. for all the partitions with blocks sizes ), will behave in the same way, with the same probabilities assigned to partitions different in composition.
Non-zero values of increase the prior probability of partitions that are relatively close to the chosen . However, the effect is not uniform but depends on the structure of both and . For example, consider the inflation that occurs in the blue region as increases from [math] to . When has blocks (Figure 2a) versus (Figure 2d) there is a bigger increase. This is because the space of set partitions is not “uniform”, since given a fixed configuration there is a heterogeneous number of partitions. Rewriting as , with the notation indicating that there are elements of equal to , the number of set partitions with configuration is
[TABLE]
For example, for , the number of corresponding set partitions is , while there are set partitions of type .
While the uniform distribution gives the same probability to each partition in the space, the EPPF induced by Gibbs-type priors distinguishes between different configurations, but not among partitions with the same configuration. We focus on the Dirichlet process case, being the most popular process employed in applications. Under the DP the induced EPPF is a function of the configuration , which is one of since the possible configurations are finite and correspond to the number of integer partitions. Letting , the formulation in (4) can be written as
[TABLE]
where , the set of partitions with distance from and configuration for and , with indicating the cardinality. The factorization (7) applies for the family of Gibbs-type priors in general, with different expressions of .
In Figure 3 we consider the prior distribution induced by the CP process when the baseline EPPF comes from a Dirichlet process with concentration parameter , considering the same base partitions and values for as in Figure 2. For the same values of the parameter , the behavior of the CP process changes significantly due to the effect of the base prior. In particular, in the top left panel the CP process is centered on , the partition with only one cluster, which is a priori the most likely one for . In general, for small values of the clustering process will most closely resemble that for a DP, and as increases the DP prior probabilities are decreased for partitions relatively far from and increased for relatively close.
3.4 Posterior computation under Gibbs-type priors
Certain MCMC algorithms for Bayesian nonparametric mixture models can be easily modified for posterior computation in CP process models. In particular, we adapt the so-called “marginal algorithms” developed for Dirichlet and Pitman-Yor processes. These methods are called marginal since the mixing measure is integrated out of the model and the predictive distribution is used within a MCMC sampler. In the following, we recall Algorithm 2 in Neal (2000) and illustrate how it can be adapted to sample from the CP process posterior. We refer to Neal (2000) and references therein for an overview and discussion of methods for both conjugate and nonconjugate cases, and to Fall and Barat (2014) for adaptation to Pitman-Yor processes.
Let be represented as an -dimensional vector of indices encoding cluster allocation and let be the set of parameters currently associated to cluster . The prior predictive distribution for a single conditionally on is exploited to perform the Gibbs sampling step allocating observations to either a new cluster or one of the existing ones. Algorithm in Neal (2000) updates each sequentially for via a reseating procedure, according to the conditional posterior distribution
[TABLE]
with the number of clusters after removing observation . The conditional distribution is reported in Table 2 for different choices of the prior EPPF. Notice that, for the case of finite Dirichlet prior, the update consists only in the first line of equation (8), since the number of classes is fixed. For Dirichlet and Pitman-Yor processes, when observation is associated to a new cluster, a new value for is sampled from its posterior distribution based on the base measure and the observation . This approach is straightforward when we can compute the integral , as will generally be the case when is a conjugate prior.
Considering the proposed CP process, the conditional distribution for given can still be computed, but it depends both on the base prior and the penalization term accounting for the distance between the base partition and the one obtained by assigning the observation to either one of the existing classes or a new one. Hence, the step in equation (8) can be easily adapted by substituting the conditional distribution for with
[TABLE]
with the current state of the clustering and one of the conditional distributions in Table 2. Additional steps on the implementation using the variation of information as a distance are given in the Appendix (Algorithm Marginal sampling using variation of information).
Extension to the non-conjugate context can be similarly handled exploiting Algorithm in Neal (2000) based on auxiliary parameters, which avoids the computation of the integral . The only difference is that, when is updated, temporary auxiliary variables are introduced to represent possible values of components parameters that are not associated with any other observations. Such variables are simply sampled from the base measure , with the probabilities of a new cluster in Table 2 changing into for the Dirichlet process and to for the Pitman-Yor process, for .
4 Prior calibration
As the number of observations increases, the number of partitions explodes, and higher values of are needed to place non-negligible prior probability in small to moderate neighborhoods around . The prior concentration around depends on three main factors: i) through , i.e. the cardinality of the space of set partitions, ii) the baseline EPPF and iii) where is located in the space. We hence propose a general method to evaluate the prior behavior under different settings, while suggesting how to choose the parameter .
One may evaluate the prior distribution for different values of and check its behavior using graphs such as those in Section 3.3, however they become difficult to interpret as the space of partitions grows. We propose to evaluate the probability distribution of the distances from the known partition . The probability assigned to different distances by the prior is
[TABLE]
with the indicator function and denoting the set of partitions distance from , as defined in (5). Consider the uniform distribution on set partitions, , the proportion of partitions distance from . Under the general definition of the CP process, the resulting distribution becomes
[TABLE]
with the case of Gibbs-type EPPF corresponding to
[TABLE]
Notice that the uniform EPPF case is recovered when for , so that . Hence the probability in (9) simplifies to
[TABLE]
In general, since distances are naturally ordered, the corresponding cumulative distribution function can be simply defined as for and used to assess how much mass is placed in different size neighborhoods around under different values of . Hence we can choose to place a specified probability (e.g. ) on partitions within a specified distance from . This would correspond to calibrating so that , with . In other words, partitions generated from the prior would have at least probability of being within distance from .
The main problem is in computing the probabilities in equations (10)-(11), which depend on all the set partitions in the space. In fact, one needs to count all the partitions having distance for when the base EPPF is uniform, while taking account of configurations in the case of the Gibbs-type priors. Even if there are quite efficient algorithms to list all the possible set partitions of (see Knuth, 2005; Nijenhuis and Wilf, 2014), it becomes computationally infeasible due to the extremely rapid growth of the space; for example from to , the number of set partitions grows from to .
We propose a general strategy to approximate prior probabilities assigned to different distances from focused on obtaining estimates of distance values and related counts, which represent the sufficient quantities to compute (10)-(11) under different values of . We consider a targeted Monte Carlo procedure which augments uniform sampling on the space of set partitions with a deterministic local search using the Hasse diagram to estimate the counts for small values of the distance.
4.1 Deterministic local search
Poset theory provides a nice representation of the space of set partitions by means of the Hasse diagram illustrated in Section 2.1, along with suitable definition of metrics. A known partition can be characterized in terms of number of blocks and configuration . These elements allows one to locate in the Hasse diagram and then explore connected partitions by means of split and merge operations on the clusters in .
As an illustrative example, consider the Hasse diagram of in Figure 4 and , having clusters and configuration . Let denote the sets of partitions directly connected with , i.e. partitions covering and those covered by . In general, a partition with clusters is covered by partitions and covers . In the example, contains obtained from with a merge operation on the two clusters, and all the partitions obtained by splitting the cluster in any possible way. The base idea underlying the proposed local search, consists in exploiting the Hasse diagram representation to find all the partitions in increasing distance neighborhoods of . One can list partitions at connections from starting from by recursively applying split and merge operations on the set of partitions explored at each step. Potentially, with enough operations one can reach all the set partitions, since the space is finite with lower and upper bounds.
In practice, the space is too huge to be explored entirely, and a truncation is needed. From the example in Figure 4, contains partitions with distance from and one with distance . Although may contain partitions closer to than this last, the definition of distance in Section 3.2 guarantees that there are no other partitions with distance from less than . Since the VI is the minimum weighted path between two partitions, all the partitions reached at the second exploration step add a nonzero weight to distance computation. This consideration extends to an arbitrary number of explorations , with being the upper bound on the distance value. By discarding all partitions with distance greater that , one can compute exactly the counts in equations (10)-(11) related to distances . Notice that is the minimum distance between two different partitions, and is a general lower bound on the distances from that can be reached in iterations.
4.2 Monte Carlo approximation
We pair the local exploration with a Monte Carlo procedure to estimate the counts and distances greater that , in order to obtain a more refined representation of the prior distance probabilities. Sampling uniformly from the space of partitions is not in general a trivial problem, but a nice strategy has been proposed in Stam (1983), in which the probability of a partition with clusters is used to sample partitions via an urn model. Derivation of the algorithm starts from the Dobiński formula (Dobiński, 1877) for the Bell numbers
[TABLE]
which from a probabilistic perspective corresponds to the -th moment of the Poisson distribution with expected value equal to . Then a probability distribution for the number of clusters of a set partition can be defined as
[TABLE]
which is a well defined law thanks to (12). To simulate a uniform law over , Stam (1983)’s algorithm first generates the number of clusters according to (13) and, conditionally on the sampled value, it allocates observations to the clusters according a discrete uniform distribution over . We refer to Stam (1983) and Pitman (1997) for derivations and proof of the validity of the algorithm.
We adapt the uniform sampling to account for the values already computed by rejecting all the partitions with distance less that , restricting the space to . In practice, few samples are discarded since the probability to sample one such partition corresponds to , which is negligible for small values of exploration steps that are generally used in the local search. A sample of partitions , can be used to provide an estimate of the counts. Let denote the number of accepted partitions and be the number of partitions in the restricted space. Conditionally on the observed values of distances in the sample, , an estimate of the number of partitions with distance to use in the uniform EPPF case is
[TABLE]
obtained by multiplying the proportions of partitions in the sample by the total known number of partitions. For the Gibbs-type EPPF case one needs also to account for the configurations in a given orbital of the distance; hence, the estimates are
[TABLE]
Pairing these estimates with the counts obtained via the local search, one can evaluate the distributions in equations (10)-(11) for different values of . The entire procedure is summarized in Algorithm Prior calibration in the Appendix. Although it requires a considerable number of steps, the procedure can be performed one single time providing information for different choices of and EPPFs. Moreover the local search can be implemented in parallel to reduce computational costs.
We consider an example for and with configuration . Figure 5 shows the resulting cumulative probability estimates of the CP process under uniform and DP() base distributions, estimated with iterations of the local search and samples. Dots represent values of the cumulative probabilities, with different colors in correspondence to different values of the parameter . Using these estimates one can assess how much probability is placed in different distance neighborhoods of ; tables in Figure 5 show the distance values defining neighborhoods around with % prior probability. If one wishes to place such probability mass on partitions within distance from , a value of around and is needed, respectively, under uniform and DP base prior. We suggest, when performing the analysis, to consider also neighborhood values of the chosen , in order to assess the sensitivity of the results.
5 The National Birth Defects Prevention Study
The National Birth Defects Prevention Study (NBDPS) is a multi-state population-based, case-control study of birth defects in the United States (Yoon et al., 2001). Infants were identified using birth defects surveillance systems in recruitment areas within ten US states (Arkansas, California, Georgia, Iowa, Massachusetts, New Jersey, New York, North Carolina, Texas, and Utah), which cover roughly 10% of US births. Diagnostic case information was obtained from medical records and verified by a standardized clinician review specific to the study (Rasmussen et al., 2003). Participants in the study included mothers with expected dates of delivery from 1997-2009. Controls were identified from birth certificates or hospital records and were live-born infants without any known birth defects. Each state site attempted to recruit cases and (unmatched) controls annually. A telephone interview was conducted with case and control mothers to solicit a wide range of demographic, lifestyle, medical, nutrition, occupational and environmental exposure history information.
Because birth defects are highly heterogeneous, a relatively large number of defects of unknown etiology are included in the NBDPS. We are particularly interested in congenital heart defects (CHD), the most common type of birth defect and the leading cause of infant death due to birth defects. Because some of these defects are relatively rare, in many cases we lack precision for investigating associations between potential risk factors and individual birth defects. For this reason, researchers typically lump embryologically distinct and potentially etiologically heterogeneous defects in order to increase power (e.g., grouping all heart defects together), even knowing the underlying mechanisms may differ substantially. In fact, how best to group defects is subject to uncertainty, despite a variety of proposed groupings available in the literature (Lin et al., 1999).
In this particular application, we consider individual heart defects, which have been previously grouped into categories by investigators (Botto et al., 2007). The prior grouping is shown in Table 3, along with basic summary statistics of the distribution of defects in the analyzed data. We are interested in evaluating the association between heart defects and about potential risk factors related to mothers’ health status, pregnancy experience, lifestyle and family history. We considered a subset of data from NBDPS, excluding observations with missing covariates, obtaining a dataset with controls, while all heart defects together comprise cases.
5.1 Modeling birth defects
Standard approaches assessing the impact of exposure factors on the risk to develop a birth defect often rely on logistic regression analysis. Let index birth defects, while indicates observations related to birth defect , with if observation has birth defect and if observation is a control, i.e. does not have any birth defect. Let denote the data matrix associated to defect , with each row being the vector of the observed values of categorical variables for the th observation. At first one may consider separate logistic regressions of the type
[TABLE]
with denoting the defect-specific intercept, and the vector of regression coefficients. However, Table 3 highlights the heterogeneity of heart defect prevalences, with some of them being so few as to preclude separate analyses.
A first step in introducing uncertainty about clustering of the defects may rely on a standard Bayesian nonparametric approach, placing a Dirichlet process prior on the distribution of regression coefficient vector in order to borrow information across multiple defects while letting the data inform on the number and composition of the clusters. A similar approach has been previously proposed in MacLehose and Dunson (2010), with the aim being to shrink the coefficient estimates towards multiple unknown means. In our setting, an informed guess on the group structure is available through , reported in Table 3.
We consider a simple approach building on the Bayesian version of the model in (16), and allowing the exposure coefficients for to be shared across regressions, while accounting for . The model written in a hierarchical form is
[TABLE]
where indicates the Centered Partition process, with base partition , tuning parameter and baseline EPPF . We specify the baseline EPPF so that when the prior distribution reduces to a Dirichlet Process with concentration parameter . Instead, for the model corresponds to separate logistic regressions, one for each group composing . The model estimation can be performed by leveraging a Pòlya-Gamma data-augmentation strategy for Bayesian logistic regression (Polson et al., 2013), combined with the procedure illustrated in Section 3.4 for the clustering update step. The Gibbs sampler is detailed in the Appendix (Algorithm Gibbs sampling for shared logistic regression).
5.2 Simulation study
We conduct a simulation study to evaluate the performance of our approach in accurately estimating the impact of the covariates across regressions with common effects, under different prior guesses. In simulating data, we choose a scenario mimicking the structure of our application, considering a number of defects equally partitioned in groups. We consider dichotomous explanatory variables and assume that defects in the same group have the same covariates effects. We take a different number of observations across defects, with , , , . For each defect with we generate a data matrix by sampling each of the variables from a Bernoulli distribution with probability of success equal to . We set most of coefficients to [math], while defining a challenging scenario with small to moderate changes across different groups. In particular we fix for group , for group , for group and for group . Finally response variables for are drawn from a Bernoulli distribution with probability of success .
We compare coefficients and partition estimates from a grouped logistic regression using a DP prior with and using a CP prior with DP base EPPF with . In evaluating the CP prior performances, we consider both the true known partition and a wrong guess. Posterior estimates are obtained using the Gibbs sampler described in the Appendix. We consider a multivariate normal distribution with zero mean vector and covariance matrix as base measure for the DP, while we assume the defect-specific intercepts for . We run the algorithm for iterations discarding the first as burn-in, with inspection of trace-plots suggesting convergence of the parameters.
In evaluating the resulting estimates under different settings, we take as baseline values for coefficients the maximum likelihood estimates obtained under the true grouping. Figure 6 shows the posterior similarity matrices obtained under the Dirichlet and Centered Partition processes, along with boxplots of the distribution of differences between the coefficients posterior mean estimates and their baseline values, for each of the simulated defects. We first centered the CP prior on the true known grouping and, according to the considerations made in Section 4.2, we fixed the value of to for the CP process prior, founding the maximum a posteriori estimate of the partition almost recovering the true underlying grouping expect for merging together the third and fourth group.
We also considered other values for close to , and report the case for in Figure 6, for which the true grouping is recovered, with resulting mean posterior estimates of the coefficients almost identical to the baseline. When considering the Dirichlet process, although borrowing information across the defects, it does not distinguish between all the groups but individuate only the first one, while the CP process recovers the true grouping, with better performances in estimating the coefficients.
Finally, we evaluate the CP prior performances when centered on a wrong guess of the base partition. In particular, we set . Despite having the same configuration of , it has distance from of approximately , where the maximum possible distance is . Under such setting we estimate the partition via maximum at posteriori, obtaining two clusters. Although we center the prior in , the estimated partition results to be closer to the one induced by the DP () than (), with also similar performances in the coefficient estimation, which may be interpreted as a suggestion that the chosen base partition is not supported by the data.
5.3 Application to NBDPS data
We estimated the model in (5.1) on the NBDPS data, considering the controls as shared with the aim of grouping cases into informed groups on the basis of the available . In order to choose a value for the penalization parameter, we consider the prior calibration illustrated in Section 4, finding a value of assigning a % probability to partitions within a distance around , where the maximum possible distance is equal to . In terms of moves on the Hasse diagram we are assigning prior probability to partitions at most at split/merge operations from , given that the minimum distance from is . To assess sensitivity of the results, we performed the analysis under different values of . In particular, for the clustering behavior is governed by a Dirichlet process prior, while corresponds to fixing the groups to .
In analyzing the data we run the Gibbs sampler for iterations and use a burn-in of , under the same prior settings as in Section 5.2. Figure 8 summarizes the posterior estimates of the allocation matrices under different values of , with colored dots emphasizing differences with the base partition . Under the DP process () the estimated partition differs substantially from the given prior clustering. Due to the immense space of the possible clusterings, this is likely reflective of limited information in the data, combined with the tendency of the DP to strongly favor certain types of partitions, typically characterized from few large clusters along many small ones. When increasing the value of the tuning parameter the estimated clustering is closer to , with a tendency in favoring a total number of three clusters. In particular, for one of the groups in is recovered (left ventricular outflow), while the others are merged in two different groups. It is worth noticing that AVSD, which is placed in its own group under , is always grouped with other defects with a preference for ones in the septal class (blue color). Also two defects of this last class, ASD and ASDOS, happen to be lumped together across different values of , and are in fact two closely related defects.
Details on the results for each of the estimated models are given in the Appendix (Figures 10-14) and summarized here. Figure 9 shows a heatmap of the mean posterior log odds-ratios for increasing values of the penalization parameter , with dots indicating if they are significant according to a credibility interval. In general, the sign of the effects does not change for most of the exposure factors across the different clusterings. Figure 9 focuses on pharmaceutical use in the period from month before the pregnancy and months during, along with some exposures related to maternal behavior and health status.
We found consistent results for known risk factors for CHD in general, including for diabetes (Correa et al., 2008) and obesity (Waller et al., 2007). The finding that nausea is associated with positive outcomes is consistent with prior literature (Koren et al., 2014). The association between use of SSRIs and pulmonary atresia was also noted in Reefhuis et al. (2015). It is worth noticing that estimates obtained under the DP prior are less consistent with prior work. In particular, there apparent artifacts such as the protective effect of alcohol consumption related to defects in the bigger cluster, which is mitigated from an informed borrowing across the defects. On the other side, estimates under separate models for AVSD or PAPVR , which corresponds to and of cases respectively, show how a separate analysis of cases with low prevalence misses even widely assessed risk factors, as for example diabetes.
Discussion
There is a very rich literature on priors for clustering, with almost all of the emphasis on exchangeable approaches, with a smaller literature focused on including dependence on known features (eg., temporal or spatial structure or covariates). The main contribution of this article is to propose what is seemingly a first attempt at including prior information on an informed guess at the clustering structure. We were particularly motivated by a concrete application to a birth defects study in proposing our method, which is based on shrinking an initial clustering prior towards the prior guess.
There are many immediate interesting directions for future research. One thread pertains to developing better theoretical insight and analytical tractability into the new class of priors. For existing approaches, such as product partition models and Gibbs-type partitions, there is a substantial literature providing simple forms of prediction rules and other properties. It is an open question whether such properties can be modified to our new class. This may yield additional insight into the relative roles of the base prior, centering value and hyperparameters in controlling the behavior of the prior and its impact on the posterior.
Another important thread relates to applications of the proposed framework beyond the setting in which we have an exact guess at the complete clustering structure. In many cases, we may have an informed guess or initial clustering in a subset of the objects under study, with the remaining objects (including future ones) completely unknown. Conceptually the proposed approach can be used directly in such cases, and also when one has different types of prior information on the clustering structure than simply which objects are clustered together.
acknowledgement
The authors gratefully acknowledge this work was supported in part through cooperative agreements from the Centers for Disease Control and Prevention to the centers participating in the National Birth Defects Prevention Study and by the National Institutes of Health (R01ES027498; U50CCU422096; 5U01DD001036; PA96043; PA 02081; FOA DD09-001).
Appendix
Prior calibration
Algorithm 1 : Estimation of counts statistics related to distances neighborhoods of
Local search
0. Start from the base partition with clusters and configuration and set and .
for do
Obtain from partitions in by exploring all directed connections, i.e. partitions obtained with one operation of split/merge on elements .
end for
2. Compute the distance from and all partitions in and take the minimum distance, ; discard all partitions having distances greater than .
3. Obtain counts and relative to distances for .
Monte Carlo approximation
for do
4. Sample the number of clusters from the discrete probability distribution
[TABLE]
5. Conditional on generate a partition by sampling each from a discrete uniform distribution on .
6. If reject the partition.
end for
7. Let be the number of accepted partitions, and estimate counts and for and according to (14)-(15) conditional on the observed distance values .
8. Using be the number of accepted partitions, and estimate counts and relative to distances for .
Marginal sampling using variation of information
We describe how to compute the penalization term in the marginal sampling step described in Section 3.4 using the Variation of Information as a distance, but the same procedure applies when using other distances based on blocks sizes. Let and denote respectively the number of clusters in and , i.e. partitions and after removing the observation.
Algorithm 2 : Computation strategy for the penalization term in marginal sampling
Let and denote respectively the number of clusters in and , i.e. partitions and after removing the observation.
for do
1. Compute cardinalities representing the number of observations in each cluster for .
2. Compute , the number of observations in cluster under and cluster under for and .
for do
Let be the cluster of index under partition .Compute for using
[TABLE]
end for
end for
Gibbs sampling for shared logistic regression
In estimating the model, a Pólya-gamma data augmentation strategy is employed; for each we introduce a latent variable for each observation in defect-specific dataset for .
Algorithm 3 : Gibbs sampling for posterior computation
Conditionally on the cluster allocation vector and data for , update mixture related parameters and Pólya-gamma latent variables as follows.
——————————————————————————————————–
[1] Sample Pólya-gamma latent variables for each observation in each dataset
for and do
[TABLE]
end for
——————————————————————————————————–
[2] Update defect-specific intercept, exploiting Pólya-gamma conjugancy
for do
[TABLE]
with and
end for
——————————————————————————————————–
[3] Defining , then the vector (, and each cluster-specific coefficient vector can be updated by aggregating all observations and augmented data relative to birth defects that are in the same cluster.
for do
Let , , be the obtained quantities relative to cluster , and a diagonal matrix with the corresponding Pólya-gamma augmented variables. Then update cluster-specific coefficients vector from
[TABLE]
with and .
end for
—————————————————————————————————–
[4] Allocate each birth defect to one of the clusters
for do
Sample the class indicator conditionally on from the discrete distribution with probabilities
[TABLE]
with
[TABLE]
being the model likelihood evaluated for cluster and computed as described in Section 3.4.
end for
Results for NBDPS data application
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Barrientos et al. (2012) Barrientos, A. F., Jara, A., Quintana, F. A., et al. (2012). “On the support of Mac Eachern’s dependent Dirichlet processes and extensions.” Bayesian Analysis , 7(2): 277–310.
- 2Barry and Hartigan (1992) Barry, D. and Hartigan, J. A. (1992). “Product partition models for change point problems.” The Annals of Statistics , 260–279.
- 3Blei and Frazier (2011) Blei, D. M. and Frazier, P. I. (2011). “Distance dependent Chinese restaurant processes.” Journal of Machine Learning Research , 12(Aug): 2461–2488.
- 4Botto et al. (2007) Botto, L. D., Lin, A. E., Riehle-Colarusso, T., Malik, S., Correa, A., and Study, N. B. D. P. (2007). “Seeking causes: classifying and evaluating congenital hearth defects in etiologic studies.” Birth Defects Research Part A: Clinical and Molecular Teratology , 79(10): 714–727.
- 5Caron et al. (2006) Caron, F., Davy, M., Doucet, A., Duflos, E., and Vanheeghe, P. (2006). “Bayesian inference for dynamic models with Dirichlet process mixtures.” In International Conference on Information Fusion . Florence, Italy.
- 6Casella et al. (2014) Casella, G., Moreno, E., Girón, F. J., et al. (2014). “Cluster analysis, model selection, and prior distributions on models.” Bayesian Analysis , 9(3): 613–658.
- 7Correa et al. (2008) Correa, A., Gilboa, S. M., Besser, L. M., Botto, L. D., Moore, C. A., Hobbs, C. A., Cleves, M. A., Riehle-Colarusso, T. J., Waller, D. K., Reece, E. A., et al. (2008). “Diabetes mellitus and birth defects.” American Journal of Obstetrics and Gynecology , 199(3): 237.e 1–237.e 9.
- 8Dahl et al. (2017) Dahl, D. B., Day, R., and Tsai, J. W. (2017). “Random partition distribution indexed by pairwise information.” Journal of the American Statistical Association , 112(518): 721–732.
