Efficient Stochastic Local Search for MPE Solving
The Most Probable Explanation (MPE) problem is a cornerstone of probabilistic reasoning, tasking researchers with finding the most likely state of all variables in a Bayesian network given observed evidence. While fundamental to fields like medical diagnosis and computer vision, MPE is NP-hard. Historically, researchers have favored exact methods or systematic "Branch & Bound" (B&B) search, viewing Stochastic Local Search (SLS) as uncompetitive due to a lack of "greediness" and slow execution steps.
A recent study introduces GLS+, a refined stochastic local search algorithm that challenges this status quo. By addressing the core inefficiencies of previous SLS approaches, GLS+ now rivals and often surpasses state-of-the-art systematic search methods, particularly on complex networks characterized by high induced width and large variable domains.
The GLS+ Architecture
The authors evolved Park’s Guided Local Search (GLS) through five strategic enhancements designed to improve both the quality of search moves and the speed at which they are executed:
- Modified Evaluation Function: Original GLS relied primarily on penalties to escape local optima. GLS+ re-integrates the actual logarithmic probability of the assignment into the heuristic. This "greediness" guides the search toward high-probability regions much faster during the initial phases.
- Novel Caching Schemes: To accelerate the search, the authors implemented "Scores" and "Improving" caching mechanisms. These allow the algorithm to evaluate an entire neighborhood of potential variable flips in constant time, dramatically increasing the number of "flips" per second.
- Mini-Bucket Initialization: Rather than starting from a random state, GLS+ utilizes a "Mini-Bucket" heuristic to generate a high-quality initial assignment, providing a significant head start toward the global optimum.
- Optimized Parameter Tuning: By increasing the "smoothing factor" from 0.8 to 0.999, the researchers ensured the algorithm retains penalty information longer, preventing premature stagnation.
- Preprocessing: Partial Variable Elimination is applied to simplify structured networks before the local search begins.
Experimental Evaluation and Scaling
GLS+ was benchmarked against a variety of challenges, including random networks, grid networks, and large-scale real-world diagnostic networks like Barley, Diabetes, and the Munin suite.
The results highlight a significant shift in performance dynamics. While systematic B&B algorithms are highly sensitive to "induced width"—a measure of network complexity—GLS+ demonstrates remarkable robustness. As network complexity increases, the runtime of B&B methods often explodes, whereas GLS+ maintains a much flatter scaling curve.
Key Results
- Superior Scaling: On random networks with large domain sizes ($K$) or variable counts ($N$), B&B methods frequently timed out at 100 seconds. In contrast, GLS+ often found optimal solutions in under a second.
- Solving the "Unsolvable": In the complex Link network, where state-of-the-art B&B algorithms failed to find the optimum, GLS+ succeeded in just one second.
- Efficiency Gains: On the Munin2 network, the architectural improvements allowed GLS+ to reach optimal solution quality 10 times faster than the original GLS on average.
- Robustness to Complexity: In tests on networks with high induced width (up to 40), GLS+ maintained a median runtime under 1 second, while B&B methods failed on nearly 20% of instances.
Conclusion
GLS+ proves that with proper heuristic guidance and high-performance caching, stochastic local search is a formidable tool for MPE solving. While exact methods remain faster for very simple, low-width networks, GLS+ is the new benchmark for complex, high-width instances where systematic search falters. Future work aims to extend GLS+ to find a diverse set of high-probability explanations and to compare its performance against Graph Cuts and generalized Belief Propagation in computer vision applications.
Summary updated