Abstract
This paper establishes the "universality" of the local marginal polytope—the search space for the standard linear programming (LP) relaxation of MAP inference in graphical models. We prove that any linear program can be reduced in linear time to an optimization problem over a local marginal polytope with as few as three labels. This result demonstrates that solving these specific relaxations is fundamentally as difficult as solving any general linear program, setting a theoretical lower bound on the complexity of MAP inference relaxations.
Introduction
In computer vision and machine learning, many core tasks—such as image segmentation, stereo matching, and object recognition—are formulated as MAP inference in graphical models, also known as the min-sum problem. Because exact MAP inference is NP-complete, researchers typically solve a "relaxed" version using Linear Programming.
The feasible region for this relaxation is called the local marginal polytope. For years, the community has sought specialized, ultra-efficient algorithms to solve these specific LPs faster than general-purpose solvers like the Simplex or Interior Point methods. This paper addresses a fundamental question: Is the local marginal polytope inherently "simpler" than a general polytope, or is it just as complex?
Constructive Methodology
The authors employ a constructive proof technique to show how any arbitrary polyhedron (the feasible region of a standard LP) can be encoded into a local marginal polytope. They define several elementary constructions (gadgets) using nodes and edges in a graph to enforce specific constraints:
- COPY: Ensures two variables maintain the same value.
- ADDITION: Constrains one variable to be the sum of two others.
- EQUALITY: Forces two variables within the same object to be equal.
- POWERS/NEGPOWERS: Creates sequences of values representing $2^i$ or $2^{-i}$ to handle scaling and arbitrary rational values.
By combining these building blocks, the authors prove that any bounded convex polyhedron is essentially a coordinate-erasing projection of a face of a local marginal polytope with only three labels.
Theoretical Insights
- The "3-Label" Threshold: A major insight is the sharp jump in complexity based on the number of labels. While 2-label problems are relatively "easy" (solvable via max-flow/min-cut in polynomial time), 3-label problems immediately reach the full complexity of general linear programming.
- Linear-Time Representation: The reduction from a general LP to the local marginal polytope occurs in linear time. This ensures the problem size does not explode, making the complexity bound extremely tight.
- Geometric Complexity: Despite its regular structure defined by simple consistency constraints, the local marginal polytope is flexible enough to mimic the geometry of any other polytope. While 2-label problems have "half-integral" vertices (0, 0.5, or 1), 3-label problems can have vertices with complex, arbitrary rational values.
Main Results
- Theorem 1: Every polytope is (up to scale) a coordinate-erasing projection of a face of a local marginal polytope with 3 labels.
- Theorem 2: Any linear program can be reduced in linear time to a linear optimization over a local marginal polytope with 3 labels, assuming infinite weights are allowed. If only finite weights are used, the reduction is achievable in quadratic time and space.
- Practical Implication: These results imply that we should not expect to find an algorithm for the LP relaxation of the min-sum problem that is significantly faster than the best known general LP solvers. Any breakthrough in MAP inference relaxation would effectively be a breakthrough for all of Linear Programming.
Discussion and Future Work
While this paper provides a "negative" result regarding complexity—suggesting the problem is harder than we might hope—it clarifies the boundaries of what is possible. The authors note that while the general case is universal, specific graph structures (like grids or trees) or specific types of cost functions might still allow for faster, specialized algorithms. Exploring which specific subclasses of the local marginal polytope remain computationally "easy" is a natural next step for the field.
Summary updated