Abstract
Several supermodular losses have been shown to improve the perceptual quality of image segmentation in a discriminative framework such as a structured output support vector machine (SVM). These loss functions do not necessarily have the same structure as the one used by the segmentation inference algorithm, and in general, we may have to resort to generic submodular minimization algorithms for loss augmented inference. Although these come with polynomial time guarantees, they are not practical to apply to image scale data. Many supermodular losses come with strong optimization guarantees, but are not readily incorporated in a loss augmented graph cuts procedure. This motivates our strategy of employing the alternating direction method of multipliers (ADMM) decomposition for loss augmented inference. In doing so, we create a new API for the structured SVM that separates the maximum a posteriori (MAP) inference of the model from the loss augmentation during training. In this way, we gain computational efficiency, making new choices of loss functions practical for the first time, while simultaneously making the inference algorithm employed during training closer to the test time procedure. We show improvement both in accuracy and computational performance on the Microsoft Research Grabcut database and a brain structure segmentation task, empirically validating the use of several supermodular loss functions during training, and the improved computational properties of the proposed ADMM approach over the Fujishige-Wolfe minimum norm point algorithm.
Introduction
Image segmentation—the task of labeling every pixel in an image—is a cornerstone of computer vision. Traditionally, training these models relies on the Hamming loss, a simple metric that counts mislabeled pixels. While computationally efficient, Hamming loss ignores the underlying structure of objects, often leading to poor perceptual results on complex shapes.
To address this, researchers have explored "supermodular" losses that penalize structural inconsistencies, such as broken boundaries. However, using these losses in a Structured Support Vector Machine (SSVM) requires loss-augmented inference, a step that finds the most "wrong" labeling to guide learning. For complex losses, this step becomes a computational bottleneck. Standard algorithms like the Fujishige-Wolfe "minimum norm point" algorithm are too slow for practical image-scale data, forcing a compromise between loss quality and training speed.
The ADMM Decomposition Framework
The core contribution of this work is a "divide and conquer" strategy using the Alternating Direction Method of Multipliers (ADMM). Instead of solving a single complex optimization problem, the framework decouples the model's spatial constraints from the specific loss function.
By splitting the problem into two sub-problems—one for MAP inference and one for the loss function—the authors can employ specialized, high-performance solvers for each. For example, Graph Cuts can handle the spatial model, while custom sorting-based algorithms solve the loss-specific components. This separation creates a flexible "API" for losses, allowing researchers to plug in various supermodular functions without re-engineering the entire optimization pipeline.
Novel Supermodular Losses
The authors introduce three losses that capture structural priors better than pixel-counting:
- 8-connected loss: Penalizes adjacent mislabeled pixels to encourage local consistency.
- Square loss: Penalizes the square of total errors, discouraging large clusters of mistakes.
- Biconvex loss: A supermodular alternative to the popular Intersection over Union (IoU) metric.
Experimental Evaluation
The framework was tested on two challenging tasks:
- Microsoft Research Grabcut Database: Focusing on the "people" category to evaluate the segmentation of thin, elongated structures like limbs.
- Internet Brain Segmentation Repository (IBSR): Segmenting brain structures in T1-weighted MR images, highlighting medical imaging utility.
Key Results
The ADMM approach demonstrates significant advantages in both speed and accuracy:
- Massive Speedup: ADMM is 10 to 100 times faster than the standard Fujishige-Wolfe algorithm. On 4800-pixel images, ADMM completes in a fraction of a second, whereas the standard method takes nearly 10 seconds.
- Structural Fidelity: Qualitative results show that training with the 8-connected loss significantly reduces "blobs" and better preserves thin foreground structures.
- Near-Optimal Precision: The framework achieves energy values within 0.4% of much slower Linear Programming (LP) relaxations, proving that efficiency does not sacrifice accuracy.
Conclusion
This work makes complex, structurally-aware loss functions practical for large-scale image segmentation. By decoupling inference from loss augmentation, it provides a faster and more flexible training regime. Future work includes extending the framework to multi-class segmentation and automating the tuning of the ADMM penalty parameter ($\rho$). While currently optimized for supermodular losses, the approach opens new doors for incorporating sophisticated structural priors into discriminative learning.
Summary updated