Introduction
Image segmentation and denoising are often formulated as energy minimization problems. While "graph cuts" using pairwise priors have been widely successful, they are limited in their ability to capture complex textures and shapes. Higher-order priors—which consider patches of pixels rather than just adjacent pairs—offer greater expressiveness but introduce significant challenges: they are difficult to tune manually and often lead to non-submodular functions that are NP-hard to minimize.
This paper presents a framework for learning and efficiently minimizing a specific class of higher-order functions known as Sum-of-Submodular (SoS) functions. By treating these functions as learnable components within a Structural SVM, the authors enable the use of complex priors that were previously computationally prohibitive.
Methodology
S3SVM: SoS Structured SVM
The core contribution is the S3SVM framework, which adapts the Structural SVM to learn parameters for SoS functions. The authors introduce linear constraints into the Quadratic Program (QP) used during training to ensure that the learned weight vector always defines a submodular function ($w_{A \cup B} + w_{A \cap B} \leq w_A + w_B$). This allows the model to discriminatively search the space of all submodular functions to find the optimal prior for a given dataset.
Submodular IBFS
To handle the computational demands of higher-order inference, the authors modified the Incremental Breadth First Search (IBFS) max-flow algorithm. The resulting "Submodular IBFS" can process the submodular flows required by SoS functions. While complexity scales with the size of pixel cliques ($2^k$), it remains highly efficient for the $2 \times 2$ or $3 \times 3$ patches typically used in image processing.
Experimental Evaluation
Binary Denoising
The model was tested on a dataset of 20 images featuring geometric lines and sketches corrupted by Gaussian noise. The S3SVM approach demonstrated a dramatic improvement over traditional methods.
As shown in Figure 2, the learned SoS priors effectively recover the underlying structure of the sketches. Quantitatively, S3SVM achieved an average pixel-wise error of 4.9%, a stark contrast to the 28.6% error seen with hand-tuned "Generic Cuts."
Interactive Segmentation
The framework was also evaluated on the Gulshan et al. dataset for interactive segmentation. S3SVM was compared against the widely used GrabCut algorithm.
Figure 4 illustrates that S3SVM provides more precise segmentations, particularly in regions with complex textures or low contrast. S3SVM achieved a 7.3% error rate, significantly outperforming GrabCut's 10.6%. Remarkably, this increased accuracy comes with minimal computational overhead; S3SVM inference took approximately 1.67 seconds per image, comparable to GrabCut's 1.44 seconds.
Discussion and Limitations
The transition from manually designed priors to learned SoS functions represents a significant step forward in discrete optimization for computer vision. By enforcing submodularity as a constraint during learning, the authors bridge the gap between machine learning and efficient discrete optimization.
However, limitations remain. The exponential scaling with clique size ($2^k$) restricts the method to local patches. Additionally, while the method generalizes to multi-label problems via "expansion moves," these only guarantee local optima. Future work may explore scaling to larger cliques and developing probabilistic interpretations of these learned discriminative priors.
Summary updated