Abstract
We formulate an Alternating Direction Method of Multipliers (ADMM) that systematically distributes the computations of any technique for optimizing pairwise functions, including non-submodular potentials. Such discrete functions are very useful in segmentation and a breadth of other vision problems. Our method decomposes the problem into a large set of small sub-problems, each involving a sub-region of the image domain, which can be solved in parallel. We achieve consistency between the sub-problems through a novel constraint that can be used for a large class of pairwise functions. We give an iterative numerical solution that alternates between solving the sub-problems and updating consistency variables, until convergence. We report comprehensive experiments, which demonstrate the benefit of our general distributed solution in the case of the popular serial algorithm of Boykov and Kolmogorov (BK algorithm) and, also, in the context of non-submodular functions.
Introduction
Many fundamental computer vision tasks—including image segmentation, stereo matching, and 3D medical imaging—rely on optimizing "pairwise energies." These mathematical functions balance local data (unary potentials) with neighbor consistency (pairwise potentials). While the Boykov-Kolmogorov (BK) "graph cut" algorithm is the gold standard for solving these problems, it is inherently serial. As image resolutions increase and 3D volumetric data (like MRI scans) becomes more common, serial algorithms create a significant computational bottleneck.
Existing parallel versions are often "one-off" solutions tailored to specific algorithms. This paper introduces DOPE (Distributed Optimization for Pairwise Energies), a general-purpose framework designed to distribute these computations across multiple processors without sacrificing the quality of the final result.
The DOPE Framework
DOPE utilizes the Alternating Direction Method of Multipliers (ADMM) to coordinate parallel solvers across decomposed sub-problems. The framework follows a three-step iterative process:
- Decomposition: The image domain is divided into $K$ overlapping blocks, each treated as an independent sub-problem. Overlapping is critical; it ensures smoother transitions and better global consistency between adjacent regions.
- Consistency Constraint: To prevent conflicting labels at the boundaries of blocks, a global "consensus" variable is introduced. This ensures that if two blocks share a pixel, they eventually agree on its classification.
- The ADMM Loop: The system alternates between a Parallel Step, where every block solves its own segmentation problem simultaneously (using any solver like BK or LSA-TR), and a Consensus Step, where a global update reconciles local results. A mathematical "multiplier update" then nudges local blocks to align with the global consensus in subsequent rounds.
Because DOPE is "solver-agnostic," it can be used for both simple submodular problems and complex, non-submodular potentials, such as those required for curvature-preserving segmentation.
Experimental Evaluation
The researchers evaluated DOPE across high-resolution 2D images (up to $2600 \times 3900$ pixels), 3D MRI brain volumes, and synthetic benchmarks for curvature regularization.
Key Results
- Accuracy and Energy Convergence: DOPE achieved a Dice Similarity Coefficient (DSC) of over 0.99 compared to the serial BK algorithm, making the results virtually indistinguishable. As shown in the energy evolution plots, the distributed formulation converges to a near-optimal energy state extremely quickly.
- Speed and Scalability: For complex models with large neighborhood kernels, DOPE was up to 5 times faster than serial versions. In 3D volumes, it reached near-optimal results in just 5–10 iterations.
- Non-Submodular Support: The method successfully distributed the LSA-TR algorithm for curvature regularization, reducing computation time from 174 seconds to 53 seconds while maintaining a nearly identical energy profile.
Discussion and Limitations
While DOPE offers significant speedups, the authors note that the initial computation of unary and pairwise potentials remains a serial pre-processing step. As the number of parallel cores increases, this pre-processing becomes a larger percentage of the total runtime. Additionally, ADMM-based methods require storing auxiliary variables for every pixel, which may increase memory overhead in extremely dense models. Future work involves extending the framework from binary (foreground/background) segmentation to multi-label problems.
Summary updated