Introduction
Marginal MAP (MMAP) is often considered the most difficult inference task in probabilistic graphical models. While standard Maximum A Posteriori (MAP) seeks the most likely assignment for all variables, and the Partition Function ($Z$) sums over all variables, MMAP performs both: it maximizes over a subset of "MAX" variables while marginalizing (summing) out the remaining "SUM" variables. This hybrid nature leads to $NP^{PP}$ complexity, making it computationally daunting.
Existing approaches typically fall into two categories: deterministic search methods, which provide hard bounds but often stall on difficult internal summation problems, and variational or sampling methods, which are faster but often lack anytime guarantees or statistically sound confidence intervals. This paper introduces Mixed Dynamic Importance Sampling (MDIS), a novel algorithm designed to bridge this gap by providing anytime, finite-sample probabilistic bounds.
Methodology
The MDIS algorithm relies on three primary innovations:
- The Augmented Model Trick: The authors employ a mathematical "lifting" technique that replicates the SUM variables $K$ times. As $K$ increases, the partition function of this augmented model converges to the MMAP value. This transformation effectively converts a complex "max-sum" problem into a "pure sum" problem on an augmented graphical model, which is significantly easier to sample.
- Mixed Dynamic Importance Sampling: MDIS adapts Dynamic Importance Sampling by performing a heuristic search to build an AND/OR search tree. Information gathered during the search is used to continuously refine the sampling "proposal" distribution.
- Pruning and Anytime Bounds: Unlike standard sampling, MDIS can prune parts of the MAP space that are statistically unlikely to contain the optimum, focusing resources on the most promising configurations. It utilizes an Empirical Bernstein bound to provide finite-sample guarantees that hold with a user-defined probability.
Experimental Evaluation
The algorithm was evaluated on several challenging benchmarks, including 50 Grid networks, 50 Medical diagnosis systems (Promedas), 44 Protein side-chain instances from the UAI Competition, and 15 probabilistic conformant planning instances. Additionally, an image denoising task using the MNIST database was used to evaluate solution quality.
Key Results
The experimental results demonstrate that MDIS is highly effective at finding tight lower bounds across various domains. In head-to-head comparisons on UAI benchmarks, MDIS (with $K=5$) consistently outperformed the state-of-the-art AAOBF algorithm in finding the best lower bounds across multiple time intervals.
While deterministic search methods like UBFS often initially provided better upper bounds, MDIS became increasingly competitive as more samples were collected. On the MNIST denoising task, MDIS found superior MAP solutions in 51 out of 100 instances compared to baselines.
Discussion and Insights
A critical finding is the trade-off associated with the replicate parameter $K$. A small $K$ allows for rapid exploration of the MAP space but introduces more noise, whereas a large $K$ provides more accurate estimates at the cost of slower search. To handle samples from different stages of the search, the authors utilize a harmonic mean estimator, which upweights samples from more mature search trees.
Furthermore, MDIS exhibits "anyspace" flexibility. If the algorithm reaches its memory limit during the heuristic search, it gracefully transitions from best-first search to depth-first search, ensuring continuous operation without crashing.
Conclusion
MDIS represents a significant step forward in MMAP inference by providing statistically sound, anytime bounds. While the algorithm's performance is sensitive to the choice of $K$ and initial bounds can be loose, it offers a robust framework for handling complex probabilistic models. Future work may involve automating the selection of $K$ and integrating more advanced variational heuristics to tighten bounds in the early stages of execution.
Summary updated