TL;DR
This paper introduces a way to find the $M$ most likely assignments (the $M$-best MAP problem) in a graphical model by treating it as a Linear Program (LP). By defining a new "assignment-excluding" polytope, the authors provide a method that—unlike previous heuristics—can provide provable optimality certificates even for complex, high tree-width graphs.
What Problem Does This Paper Address?
In probabilistic graphical models (like those used in computer vision or computational biology), a common task is finding the MAP (Maximum A-Posteriori) assignment—the single most likely state of the system. However, in many real-world applications, the single best answer isn't enough. For example, in protein design, you might want the top 50 most stable amino acid sequences, not just the absolute best one, to account for model inaccuracies or to provide options for experimental testing.
Finding the $M$-best assignments is significantly harder than finding just one. While exact algorithms exist for simple "tree-structured" models, most interesting problems involve complex loops (high tree-width), making the problem NP-hard. Existing approaches often rely on heuristics like "loopy max-product," which might find good solutions but can't guarantee they are actually the best ones.
Methods
The authors bridge the gap between $M$-best inference and Linear Programming (LP) relaxations. Their approach consists of three main components:
- The Assignment-Excluding Polytope: They define a new mathematical object, $\hat{\mathcal{M}}(G, z)$, which represents the set of all possible assignments except for a specific one ($z$).
- The "Blocking" Inequality: For tree-structured graphs, they prove a remarkable theoretical result: you can exclude the best assignment by adding just one single linear inequality to the standard LP. This inequality is surprisingly simple and shares a mathematical structure with the Bethe entropy used in physics.
- STRIPES Algorithm: For general graphs with loops, they introduce STRIPES (Spanning TRee Inequalities and Partitioning for Enumerating Solutions). Since a general graph can be seen as a collection of spanning trees, they use a "cutting plane" algorithm to iteratively add tree-based constraints until the LP returns an integral (valid) second-best solution. They then use a partitioning scheme (PES) to extend this from the 2nd-best to the $M$-best.
Datasets
The authors evaluated their method on two primary types of problems:
- Synthetic Ising Models: $10 \times 10$ binary grid graphs with both "attractive" (submodular) and "mixed" potentials.
- Protein Side-Chain Prediction (SCP): A real-world dataset of 370 protein structures. These are challenging because they have a high state-space (up to 45 states per variable) and high tree-width (average of 50), making them very difficult for traditional exact solvers.
Key Insights and Ideas
- The Power of One Constraint: The most surprising "aha" moment is that for trees, a single linear constraint is sufficient to perfectly "carve out" the best assignment from the search space without creating "fractional" (invalid) solutions.
- Optimality Certificates: Unlike previous heuristic methods (like BMMF), this LP approach provides a "certificate." If the solver returns an integer solution, you are guaranteed that it is the true $M$-th best assignment.
- Spanning Trees as Proxies: The paper shows that even if a graph is messy and loopy, enforcing the "blocking" constraint on its underlying spanning trees is often enough to force the solver toward the correct discrete solution.
Key Results
- Accuracy: On the Protein SCP dataset, STRIPES found the provably exact top 50 solutions for 369 out of 370 cases.
- Efficiency: In hard protein problems, STRIPES was significantly faster than the baseline Lawler/Nilsson algorithm. While the baseline took over five days for some problems, STRIPES finished within 23 hours.
- Comparison: Compared to BMMF (a popular heuristic), STRIPES consistently found higher-probability assignments. In mixed-potential grids, BMMF often failed to find the true top solutions, whereas STRIPES (augmented with "triplet" constraints) found them every time.
Limitations and Future Work
- Scalability of LP Solvers: The method relies on general-purpose LP solvers (like CPLEX), which can be slow for extremely large-scale problems. The authors suggest that future work could involve developing specialized, faster solvers tailored to these specific constraints.
- The "M" Constraint Complexity: The authors noted that excluding $M$ assignments isn't as simple as adding $M$ independent tree constraints; the geometry of the polytope becomes increasingly complex as more assignments are excluded.
- Beyond Trees: While spanning trees work well, exploring other structures (like planar graphs or specific types of "hypertrees") could provide even tighter approximations for specific domains.
Summary updated