This paper, presented at UAI 2007, tackles one of the fundamental challenges in probabilistic reasoning: finding the Most Probable Explanation (MPE). In a Bayesian network, the MPE task is to find the most likely assignment of values to all variables given some observed evidence. While this problem is NP-hard, Marinescu and Dechter demonstrate that by combining structural problem decomposition with a best-first search strategy, we can push the boundaries of what is computationally feasible.
TL;DR
The authors introduce AOBF, a best-first search algorithm that operates over AND/OR search spaces to solve the MPE task in Bayesian networks. By exploiting problem structure and using mini-bucket heuristics, AOBF significantly outperforms traditional depth-first search and state-of-the-art solvers on complex benchmarks like genetic linkage analysis.
What Problem Does This Paper Address?
Finding the MPE is crucial for applications ranging from medical diagnosis to error-correcting codes. Traditional search algorithms often explore an OR search space, which treats the problem as a simple sequence of variable assignments. This approach fails to capture the inherent conditional independencies in a graphical model.
For example, if two sets of variables are independent given their parents, a solver should be able to solve them as independent subproblems. The AND/OR search space was designed to do exactly this. While previous work focused on depth-first "Branch-and-Bound" (AOBB) strategies for these spaces, this paper investigates whether a best-first strategy (AOBF) can be even more efficient. Best-first search is theoretically optimal in terms of the number of nodes expanded, but it carries a higher memory overhead. The authors set out to prove its practical utility for MPE.
Methods
The core of the approach lies in three components:
-
AND/OR Search Spaces: Instead of a standard search tree, the algorithm uses a "pseudo-tree" to define a search space with two types of nodes: OR nodes (representing variable choices) and AND nodes (representing problem decomposition into independent components). This is illustrated in Figure 1. AND/OR search spaces for belief networks.
-
Context-Minimal Graphs: The search space is further compressed by merging identical subproblems (caching). The size of this graph is bounded by the induced width ($w^*$) of the problem's graph, a measure of its "treelikeness."
- AOBF Algorithm: This is a best-first adaptation of the classic AO* algorithm. It maintains a frontier of partial solution trees and always expands the one with the highest heuristic estimate. It then propagates updated probability values bottom-up through the graph.
- Mini-Bucket Heuristics: To guide the search, the authors use "mini-bucket" approximations. These provide an upper bound on the probability of a subproblem, helping the search stay focused on the most promising regions.
Datasets
The authors conducted an extensive empirical evaluation using:
- Random Belief Networks: Generated with varying parameters to test general performance.
- Coding Networks: Linear block codes represented as 4-layer networks, used to test performance on noisy channel decoding.
- Grid Networks: $n \times n$ squares with many deterministic constraints.
- Genetic Linkage Analysis: Real-world pedigree data, which are notoriously difficult for general-purpose solvers.
- UAI ’06 Evaluation Dataset: A standard benchmark for probabilistic inference.
Key Insights and Ideas
- Structure Matters: The AND/OR representation allows the solver to solve independent subproblems in parallel (logically), leading to exponential savings in search space size compared to traditional OR search.
- Best-First vs. Depth-First: AOBF is particularly superior when heuristics are "weak" (i.e., when the mini-bucket $i$-bound is low). In these cases, AOBB spends too much time exploring sub-optimal branches before finding a good pruning bound, whereas AOBF naturally gravitates toward the optimum.
- Memory-Performance Trade-off: While AOBF expands fewer nodes, it must keep the entire explicated search graph in memory. The authors show that for many hard problems, the 2GB memory limit was sufficient to allow AOBF to outperform depth-first alternatives.
Key Results
The empirical results across all domains were striking:
- Genetic Linkage: On the "p42" instance, AOBF was 18 times faster than the depth-first AOBB. It also outperformed specialized solvers like SUPERLINK on several hard pedigrees.
- Grid Networks: For the "90-34-1" instance, AOBF found the solution in ~8 minutes, while AOBB failed to finish within an hour. AOBF explored a search space 23 times smaller than AOBB.
- Efficiency: Figure 6 illustrates how AOBF (red/pink lines) generally requires less time than AOBB (blue/green lines) across different heuristic strengths ($i$-bounds) in random networks. CPU time in seconds for solving random belief networks.
Limitations and Future Work
The primary limitation is memory. Because AOBF stores the entire search graph, it can run out of RAM on extremely large or dense problems where the induced width is very high.
The authors suggest that future work should focus on memory-bounding schemes (similar to SMA* or RBFS) that would allow AOBF to operate within a fixed memory footprint by selectively discarding and re-generating parts of the search graph. Additionally, incorporating constraint propagation (like unit propagation) could further improve performance on networks with many deterministic CPTs.
Summary updated