Partial Optimality by Pruning for MAP-Inference with General Graphical Models

Paul Swoboda, Alexander Shekhovtsov, Jörg Hendrik Kappes, Christoph Schnörr, Bogdan Savchynskyy

TL;DR

This paper introduces a novel algorithm for MAP-inference on graphical models that efficiently finds a subset of variables guaranteed to be part of an optimal solution. By iteratively pruning variables that don't meet a theoretical "persistency" criterion, their method outperforms existing approaches in identifying these provably correct assignments, even for complex, higher-order models.

What Problem Does This Paper Address?

The core problem is MAP-inference (also known as the energy minimization problem) on Markov Random Fields (MRFs). This is a fundamental problem in areas like computer vision, bioinformatics, and statistical physics, aiming to find the most likely configuration of variables in a system. The catch? It's NP-hard in general, meaning finding the exact optimal solution becomes computationally infeasible for large, complex problems.

While many approximate methods exist, they often don't guarantee that any of the found variable assignments are actually part of the true global optimum. This paper addresses the challenge of identifying a subset of variables whose assignments are guaranteed to be part of an optimal solution. Knowing these "persistently optimal" variables is valuable because it allows us to fix them and then solve the remaining, smaller subproblem more efficiently, potentially leading to a global optimum.

Methods

The paper proposes a novel algorithm that leverages convex relaxations of the MAP-inference problem. Here's the breakdown:

  1. Initialization: The algorithm starts by solving a convex relaxation (specifically, the local polytope relaxation) of the MAP-inference problem. This provides an initial set of variable assignments, which may not be integral (i.e., not definitive choices).
  2. Persistency Criterion: A key contribution is a new theoretical criterion for partial optimality (or "persistency"). This criterion, formalized in Theorem 1, defines when a partial labeling of variables is guaranteed to be part of an optimal solution. It involves modifying potentials on the "boundary" of a subset of variables to uniformly bound the influence of external variables.
  3. Iterative Pruning: The algorithm then iteratively prunes variables. If a variable's assignment doesn't satisfy the persistency criterion, it's removed from consideration. This process is repeated.
  4. Tractable Relaxation: To make the persistency criterion computationally feasible, the paper proposes a tractable relaxation (Corollary 1). This allows checking persistency using polynomial-time solvers for the relaxed problem.
  5. Algorithm 1: The core algorithm (Algorithm 1) orchestrates this process: it initializes with a relaxed solution, identifies integral variables, and then iteratively refines the set of persistent variables by solving auxiliary relaxed problems on shrinking subsets.
  6. Optimal Reparametrization: The paper also introduces an "optimal reparametrization" technique (Section 6) that can further improve the size of the persistent set found by the algorithm.

Datasets

The authors evaluated their approach on several benchmark datasets commonly used in the field:

  • Stereo Vision Datasets: teddy, venus, family, pano (from [14])
  • Potts Models: 12 problems with grid structures (from [39])
  • Protein Folding: side-chain prediction datasets (from [46])
  • Protein Interaction Models: (from [12])
  • Cell Tracking: a binary higher-order graphical model (from [17])
  • Geometric Surface Labeling: (geo-surf, from [9])

They also mention using publicly available code for some competing methods.

Key Insights and Ideas

  • Theoretical Guarantee for Partial Solutions: The most significant insight is the development of a theoretically sound criterion for identifying variables that are provably part of an optimal solution. This moves beyond heuristic approaches to provide a strong guarantee.
  • Iterative Pruning as a Strategy: The iterative pruning approach is elegant. By starting with a relaxed solution and systematically removing assignments that cannot be optimal, the algorithm converges to a guaranteed optimal subset.
  • Generalizability: The method is designed to be highly general, applicable to arbitrary higher-order graphical models and any solver for the underlying convex relaxation. This makes it adaptable to various problem structures.
  • "Optimal" Reparametrization: The idea of finding an "optimal" reparametrization of the energy function to maximize the size of the persistent set is a clever way to boost performance without changing the fundamental algorithm.

Key Results

  • Empirical Outperformance: The paper's empirical results show that their method consistently outperforms existing approaches in terms of the number of persistently labeled variables across various datasets.
  • Significant Improvement: For some datasets (e.g., teddy, pano), their method was able to find a significantly larger percentage of persistent variables compared to competitors like MQPBO.
  • Handling Higher-Order Models: The approach is shown to be effective for higher-order models, where some competing methods struggle or are not applicable.
  • Runtime Dependency: The algorithm's runtime is primarily determined by the efficiency of the underlying convex relaxation solver.

Limitations and Future Work

  • Solver Dependency: While the method is general, its practical performance is tied to the speed and exactness of the chosen convex relaxation solver. For very large-scale problems, this can still be a bottleneck.
  • Comparison to CombiLP: The paper notes that their method is generally better for finding persistent variables, but CombiLP [27] might be faster in some scenarios due to solving the main LP relaxation only once.
  • Future Work: The authors suggest exploring finer persistency criteria (like subset-to-one) and developing efficient algorithms for them. They also mention the need for further work on optimal reparametrization for tighter relaxations and higher-order models. The current implementation is also noted as needing speed-up.

Summary updated

BibTeX
@article{swoboda2015partial,
  author = {Paul Swoboda and Alexander Shekhovtsov and Jörg Hendrik Kappes and Christoph Schnörr and Bogdan Savchynskyy},
  title = {{Partial Optimality by Pruning for MAP-Inference with General Graphical Models}},
  journal = {IEEE Transactions on Pattern Analysis and Machine Intelligence},
  year = {2015},
  doi = {10.1109/tpami.2015.2484327},
}
Figure