Abstract
In this paper, we show how a complete and exact Bayesian analysis of a parametric mixture model is possible in some cases when components of the mixture are taken from exponential families and when conjugate priors are used. This restricted set-up allows us to show the relevance of the Bayesian approach as well as to exhibit the limitations of a complete analysis, namely that it is impossible to conduct this analysis when the sample size is too large, when the data are not from an exponential family, or when priors that are more complex than conjugate priors are used.
Introduction
Mixture models—where data is assumed to come from a weighted combination of several different distributions—are a staple of modern statistics. However, they are notoriously difficult to analyze because the "group membership" of each data point is unknown. In a Bayesian framework, this leads to a posterior distribution that is a sum of $k^n$ terms, where $n$ is the number of observations and $k$ is the number of components. For even a small dataset (e.g., $n=100, k=2$), the number of terms ($2^{100}$) exceeds the number of atoms in the universe. Consequently, researchers almost always rely on approximations like Gibbs sampling or the EM algorithm. This paper investigates the conditions under which an exact answer can be computed and maps the boundaries of this approach.
Methods
The research builds on a foundational "book-keeping" approach to bypass simulation. The key techniques include:
- Locally Conjugate Priors: The authors utilize priors (such as Dirichlet for weights and Gamma for Poisson rates) that are conjugate to the "completed" likelihood—the version of the problem where group assignments are known.
- Sufficient Statistic Collapse: The core insight is that many of the $k^n$ possible assignments result in identical sufficient statistics. For instance, in a Poisson mixture, the posterior depends only on the number of points assigned to a group and their sum.
- Recursive Counting: A recursive algorithm is employed to count how many ways a specific sufficient statistic can be formed from the data. This allows the $k^n$ sum to be replaced by a significantly smaller sum over unique sufficient statistics.
- Closed-form Marginals: Because the posterior is a weighted sum of conjugate distributions, marginal distributions for parameters can be derived analytically, providing exact solutions without the noise associated with MCMC.
Key Results and Computational Limits
The feasibility of exact analysis is highly dependent on the data type. Discrete mixtures (e.g., Poisson, Multinomial) offer a distinct advantage because integer data values lead to frequent "collisions" in sufficient statistics, drastically reducing the number of terms.
As demonstrated in the table above, for a Poisson mixture with $n=10$ and $k=2$, the $2^{10} = 1024$ terms can collapse into as few as 11 unique sufficient statistics if the data contains many zeros (low $\lambda$). However, the method eventually hits a "combinatorial wall." While the authors successfully processed mixtures with $n=30, k=3$ (handling approximately 637,000 terms), memory requirements for $k=4$ often exceeded standard computational capacities.
For Normal (Gaussian) mixtures, the situation is more dire. Since sufficient statistics (mean and variance) are continuous, almost every partition of the data results in a unique statistic. In these cases, the number of terms follows the Bell numbers, making exact analysis impossible for all but the smallest datasets.
Conclusion and Limitations
While this approach provides a "formal exercise" in achieving ground-truth posterior densities, it faces a clear scalability ceiling. As $n$ increases, the number of unique sufficient statistics eventually explodes, rendering the method unfeasible for large-scale data. Furthermore, the method is strictly tied to conjugate priors; non-informative or complex priors that lack conjugacy necessitate a return to approximate simulation methods. Despite these limitations, exact analysis remains a valuable tool for understanding the fundamental behavior of mixture models and validating approximate inference techniques.
Summary updated