Abstract
Indian Buffet Process based models are an elegant way for discovering underlying features within a data set, but inference in such models can be slow. Inferring underlying features using Markov chain Monte Carlo either relies on an uncollapsed representation, which leads to poor mixing, or on a collapsed representation, which leads to a quadratic increase in computational complexity. Existing attempts at distributing inference have introduced additional approximation within the inference procedure. In this paper we present a novel algorithm to perform asymptotically exact parallel Markov chain Monte Carlo inference for Indian Buffet Process models. We take advantage of the fact that the features are conditionally independent under the beta-Bernoulli process. Because of this conditional independence, we can partition the features into two parts: one part containing only the finitely many instantiated features and the other part containing the infinite tail of uninstantiated features. For the finite partition, parallel inference is simple given the instantiation of features. But for the infinite tail, performing uncollapsed MCMC leads to poor mixing and hence we collapse out the features. The resulting hybrid sampler, while being parallel, produces samples asymptotically from the true posterior.
Introduction
The Indian Buffet Process (IBP) is a powerful Bayesian non-parametric tool for discovering latent features in data—identifying which of an unknown number of "dishes" or features each "customer" or data point has selected. However, performing inference on IBP models at scale is notoriously difficult. Researchers typically face a choice between two suboptimal paths:
- Uncollapsed Samplers: These keep all variables explicit. They are easy to parallelize because data points are conditionally independent, but they "mix" poorly, taking an impractical amount of time to explore the posterior distribution as data size increases.
- Collapsed Samplers: These integrate out certain variables to improve mixing. While they converge in fewer iterations, their computational complexity grows quadratically ($O(N^2)$) with the number of observations, and they are difficult to parallelize because every processor requires constant access to global feature counts.
Previous attempts at parallelizing the IBP often relied on approximations that sacrificed accuracy for speed. This paper introduces a hybrid parallel MCMC algorithm that achieves the best of both worlds: it is asymptotically exact (converging to the true posterior) while significantly speeding up computation.
Methodology: The Hybrid Parallel Sampler
The authors propose a hybrid MCMC algorithm that exploits the conditional independence of features in the Beta-Bernoulli process. The key innovation is partitioning the features into two distinct groups:
- The Finite Partition ($K^+$): These are features that have already been "instantiated" (seen at least once). For these, the algorithm uses uncollapsed sampling. Because these features are already known, processors can work on different chunks of data in parallel without needing constant communication.
- The Infinite Tail: This represents the infinite number of features not yet seen. To handle this, the authors use collapsed sampling, which provides the superior mixing needed to discover new features.
The Parallel Strategy
The data is distributed across $P$ processors. In each iteration, the workload is divided as follows:
- Worker Processors: All processors perform uncollapsed sampling on the $K^+$ features for their local data.
- The Scout Processor: One designated processor acts as a "scout." It performs collapsed sampling on the infinite tail to propose and instantiate new features. This prevents the "collision" problem where multiple processors might try to instantiate the same new feature simultaneously.
- Master Processor: A central node periodically collects summary statistics, updates global feature counts and hyperparameters, and broadcasts these updates back to all workers.
Experimental Evaluation
The algorithm was evaluated using the "Cambridge" synthetic dataset, a canonical benchmark in IBP literature. The dataset consists of 1000 observations with 36 dimensions, designed to verify if a model can correctly recover a known set of latent binary features, visualized as 6x6 image patches.
As shown in Figure 1, the algorithm successfully recovered the latent features with high fidelity. The patterns are clear and distinct, demonstrating that the parallelization does not degrade the quality of the inferred features compared to non-parallel gold-standard methods.
Performance and Convergence
The primary advantage of the hybrid approach is its efficiency. The authors demonstrated significant speedups when scaling from 1 to 5 processors.
As illustrated in Figure 2, the parallel versions (3 and 5 processors) reach high log-likelihood values much faster than the single-processor version. Interestingly, even on a single processor, the hybrid algorithm converged faster than a standard purely collapsed sampler, highlighting the algorithmic efficiency of the hybrid partitioning itself.
Conclusion and Future Work
By recognizing that features are independent given the underlying probabilities, the authors found a way to break the global dependency that usually hinders parallelization in collapsed samplers. Unlike "Approximate MCMC" methods, this hybrid approach is guaranteed to converge to the true posterior.
However, challenges remain. The authors acknowledge a potential communication bottleneck as the number of processors increases, due to the overhead of synchronizing with the master processor. Future work may explore more asynchronous update schemes or advanced load-balancing techniques to ensure the "scout" processor does not become a bottleneck during intensive feature discovery phases.
Summary updated