Abstract
Discrete energy minimization is a fundamental problem in computer vision and machine learning, typically addressed via Maximum-A-Posteriori (MAP) inference. Despite the proliferation of solvers, a unified understanding of their relative strengths and weaknesses has been lacking. This paper introduces a comprehensive taxonomy of Dual Block-Coordinate Ascent (BCA) methods, revealing that many popular algorithms utilize sub-optimal update rules. We define the concept of "maximal modular minorants" as a criterion for optimal dual updates. Based on this theory, we propose the Shortest Path Adaptive Minorant (SPAM) algorithm. SPAM dynamically adapts its block selection strategy to graph density, consistently outperforming specialized state-of-the-art solvers across sparse, dense, and complete graph structures.
Introduction
Many core AI challenges—including 3D reconstruction, image inpainting, and protein folding—are formulated as discrete graphical models. The goal is to find a configuration that minimizes a total energy function, a task known to be NP-hard. To find approximate solutions, researchers employ Dual Block-Coordinate Ascent (BCA) methods. These solvers decompose the global energy function into smaller, tractable "blocks" (such as edges, trees, or chains) and iteratively optimize these sub-problems to raise a lower bound on the total energy.
Historically, the field has been fragmented, with different solvers excelling on specific graph topologies. For example, TRW-S is a standard for grid graphs, while MPLP is preferred for dense graphs. This work unifies these disparate methods into a single framework, explaining their performance characteristics through the lens of update optimality.
Theoretical Framework: Taxonomy and Maximal Minorants
The authors demonstrate that prominent algorithms like TRW-S, MPLP, and TBCA are variants of the same dual optimization process, differing primarily in their choice of "blocks" and "update rules."
A central finding is that an update is only optimal if it produces a maximal modular minorant. Many existing methods are "non-maximal," meaning they fail to fully redistribute "cost excess" during an update, leaving potential dual improvement untapped. The authors advocate for a "Handshake" update rule, which redistributes all remaining excess to nodes, proving it to be strictly superior to the common "Split" rule (which simply divides excess in half).
The SPAM Algorithm
Building on these insights, the paper introduces the Shortest Path Adaptive Minorant (SPAM) algorithm. SPAM uses a shortest-path heuristic to adaptively form chains within the graph. It employs a Hierarchical Minorant (HM) update rule, which, while more complex ($O(|E| \log |E|)$ per iteration), provides much faster convergence of the lower bound.
SPAM’s adaptivity is its greatest strength:
- On sparse grids, it automatically identifies long chains similar to rows and columns, mimicking the behavior of specialized grid solvers.
- On complete graphs, it reduces to an efficient edge-based solver.
Experimental Results
The authors benchmarked SPAM against a variety of datasets categorized by connectivity:
- Sparse Graphs: Stereo matching and image inpainting tasks from the Middlebury benchmark.
- Dense/Complete Graphs: Bio-imaging (worms), protein folding, and 6D pose estimation.
SPAM demonstrated "universal" superiority. On sparse grids, it achieved a 1.2x to 1.4x speedup over TRW-S and was up to 14x faster than MPLP++. On complete graphs, it outperformed TRW-S by 4x to 6x. Furthermore, the study found that with a maximal update rule like HM, simple static block selection is as effective as more complex dynamic selection strategies.
Discussion and Limitations
While SPAM represents a significant advancement, it is not without trade-offs. The Hierarchical Minorant update has a higher computational overhead per step than simpler node-adjacent updates. Additionally, the current framework focuses on pairwise interactions; extending the "maximal minorant" theory to higher-order cliques and optimizing for GPU-based parallelization remain promising avenues for future research.
Summary updated