NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Structured learning of sum-of-submodular higher order energy functions

Alexander Fix, Thorsten Joachims, Sam Park, Ramin Zabih

Introduction

Many fundamental computer vision problems, such as image segmentation, denoising, and stereo matching, are formulated as energy minimization tasks. While traditional methods rely on pairwise priors—modeling relationships between adjacent pixels—these are often insufficient for capturing the complex statistics of natural images. Researchers have long sought to utilize higher-order priors (relationships within larger pixel patches), but these functions are notoriously difficult to optimize and tune. This paper introduces S3SVM, a framework designed to discriminatively learn "sum-of-submodular" (SoS) energy functions, enabling the use of expressive higher-order priors while maintaining computational efficiency.

The Problem: Complexity vs. Tractability

Higher-order functions are challenging for two primary reasons. First, they often become mathematically "non-submodular," making exact energy minimization NP-hard. Second, the sheer number of parameters in a higher-order model makes manual tuning impossible. Previous attempts to use these models either relied on simplified approximations or required painstaking hand-design of submodular potentials.

Methodology: The S3SVM Framework

The authors propose a "Structured Learning" approach that treats submodularity as a constraint within a learning framework.

1. Sum-of-Submodular (SoS) Functions

The framework focuses on functions that are the sum of several submodular functions defined over small cliques (e.g., $2 \times 2$ pixel patches). These SoS functions are expressive enough to capture higher-order image features but remain solvable using "submodular flow" techniques.

2. Structural SVM with Submodularity Constraints

To learn the weights of these functions from data, the authors utilize the Structural SVM (SSVM) framework. Crucially, they incorporate a set of linear constraints directly into the SVM's Quadratic Programming (QP) optimization. This ensures that the learned function is guaranteed to be submodular and, therefore, efficiently solvable.

3. Accelerated Inference via Submodular IBFS

A core technical contribution of this work is the adaptation of the Incremental Breadth First Search (IBFS) algorithm. While IBFS is the state-of-the-art for standard graph cuts, the authors modified it to handle submodular flow. This allows for "loss-augmented inference"—a critical step in SVM training—to be performed significantly faster than generic submodular optimization methods, reducing training time from days to minutes.

Experimental Results

Binary Denoising

The model was tested on a dataset of 20 black-and-white images featuring geometric lines and sketches corrupted with Gaussian noise. S3SVM achieved a remarkable 4.9% pixel-wise error, vastly outperforming the hand-tuned "Generic Cuts" baseline, which suffered a 28.6% error.

Comparison of binary denoising results. S3SVM (right) significantly outperforms hand-tuned generic cuts (middle-right) on noisy geometric sketches.

Interactive Segmentation

On a benchmark of 151 images with user-provided scribbles, S3SVM achieved an average error of 7.3%, outperforming the widely used GrabCut algorithm (10.6% error). Despite the added complexity of higher-order priors, the optimized inference engine maintained a practical speed of approximately 1.67 seconds per image.

Interactive segmentation results. S3SVM (bottom row) provides more accurate object boundaries compared to GrabCut (second row) and S3SVM-AMN (third row) across various challenging scenes.

Conclusion and Future Work

S3SVM demonstrates that higher-order priors can be learned effectively and optimized efficiently by enforcing submodularity during the training process. While the current implementation uses $2 \times 2$ pixel cliques, future work could explore larger patches or integrate these structured energy functions with deep feature learning to further improve performance in complex, multi-label environments.

Summary updated

BibTeX
@inproceedings{fix2013structured,
  author = {Alexander Fix and Thorsten Joachims and Sam Park and Ramin Zabih},
  title = {{Structured learning of sum-of-submodular higher order energy functions}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2013},
  doi = {10.1109/iccv.2013.385},
}
Figure