Abstract
We propose a novel class of Sequential Monte Carlo (SMC) algorithms, appropriate for inference in probabilistic graphical models. This class of algorithms adopts a divide-and-conquer approach based upon an auxiliary tree-structured decomposition of the model of interest, turning the overall inferential task into a collection of recursively solved subproblems. The proposed method is applicable to a broad class of probabilistic graphical models, including models with loops. Unlike a standard SMC sampler, the proposed divide-and-conquer SMC employs multiple independent populations of weighted particles, which are resampled, merged, and propagated as the method progresses. We illustrate empirically that this approach can outperform standard methods in terms of the accuracy of the posterior expectation and marginal likelihood approximations. Divide-and-conquer SMC also opens up novel parallel implementation options and the possibility of concentrating the computational effort on the most challenging subproblems. We demonstrate its performance on a Markov random field and on a hierarchical logistic regression problem.
Introduction
Sequential Monte Carlo (SMC) methods, commonly known as particle filters, are the gold standard for performing inference in state-space models. By representing probability distributions as sets of weighted samples (particles), SMC allows for flexible tracking of non-linear and non-Gaussian systems. However, traditional SMC is fundamentally constrained by its linear architecture.
As shown in Figure 1, standard SMC processes variables in a fixed sequence $sir(0) \to sir(1) \to \dots \to sir(n)$. While effective for time-series data, this linear approach is often unnatural for complex Probabilistic Graphical Models (PGMs) like spatial grids or deep hierarchies. Forcing such models into a "line" frequently leads to particle degeneracy, where the population of samples collapses into a few identical copies, failing to capture the true posterior uncertainty.
The D&C-SMC Framework
To address these limitations, we propose Divide-and-Conquer Sequential Monte Carlo (D&C-SMC). This framework generalizes SMC from linear sequences to tree-structured decompositions, allowing for a more natural mapping to complex PGMs.
In D&C-SMC, the overall inferential task is broken down into a collection of recursively solved sub-problems (Figure 2). The algorithm proceeds in three main phases:
- Bottom-Up Processing: Starting at the "leaves" of the tree ($\pi_{c_1}, \dots, \pi_{c_C}$), independent populations of weighted particles are created for small sub-graphs.
- The Merge Step: As the algorithm ascends the tree toward the root ($\pi_r$), these independent populations are merged at parent nodes ($\pi_t$). This allows the model to maintain multiple "hypotheses" about different parts of the data until they are combined.
- Refinement via Mixture Sampling & Tempering: To ensure the quality of merged particles, we introduce two extensions. Mixture Sampling intelligently combines populations by accounting for dependencies, while Tempering (annealing) gradually introduces constraints between sub-problems to prevent sudden drops in particle weight.
Experimental Validation
The performance of D&C-SMC was evaluated on two challenging benchmarks: a Markov Random Field (MRF) and a large-scale Hierarchical Bayesian Model.
Ising Model (MRF)
We tested the method on a $64 \times 64$ square-lattice Ising model at its critical temperature. This model is characterized by complex, long-range dependencies. D&C-SMC, particularly when combined with tempering and mixture sampling, significantly outperformed both standard SMC and traditional MCMC (Gibbs sampling) in estimating marginal likelihood and posterior energy.
Hierarchical Bayesian Model
Using a real-world dataset of New York State Mathematics Test results (comprising ~280,000 instances across 710 schools), we demonstrated the scalability of D&C-SMC. The tree-structured nature of the algorithm makes it "embarrassingly parallel." By increasing the number of compute nodes from 1 to 32, we reduced the wall-clock time for 100,000 particles from approximately 75 minutes to less than 5 minutes. Furthermore, D&C-SMC required an order of magnitude fewer particles than standard bootstrap filters to achieve comparable accuracy.
Conclusion
D&C-SMC offers a powerful new architecture for inference in complex graphical models. By moving beyond linear sequences to tree-structured decompositions, it enables higher accuracy, better capture of multimodality, and massive parallel speedups. While the current work assumes a fixed tree topology, future research into dynamic and adaptive decompositions promises to further enhance the robustness of this framework.
Summary updated