TL;DR
This paper introduces a novel method for learning complex, higher-order energy functions for computer vision tasks by framing it as a structured learning problem. They leverage the efficiency of submodular function minimization and adapt Structural SVMs to learn these functions, achieving state-of-the-art results in image denoising and segmentation.
What Problem Does This Paper Address?
Many computer vision problems, like image segmentation and denoising, can be framed as minimizing an energy function. While graph cuts (based on max-flow/min-cut) are efficient for minimizing energy functions with pairwise interactions (first-order priors), expressing more complex relationships, such as those involving local image patches (higher-order priors), is challenging. Sum-of-Submodular (SoS) functions offer a way to represent these higher-order priors and can be minimized efficiently using submodular flow. However, SoS functions have a large number of parameters, making it difficult to hand-tune them or to know which existing higher-order models can be expressed as SoS. This paper addresses the problem of learning these SoS functions directly from data, rather than relying on hand-crafted models.
Methods
The core contribution is a discriminative learning approach for SoS functions, framed within the Structural SVM (SVM-struct) framework.
- SoS Functions and Submodular Flow: The paper builds upon the concept of Sum-of-Submodular (SoS) functions, which are sums of submodular functions defined over cliques (groups of related variables, e.g., pixels in a patch). These SoS functions can be minimized efficiently using a variant of max-flow called submodular flow.
- Structural SVM (SVM-struct): They adopt the SVM-struct methodology, which formulates the learning problem as a quadratic programming (QP) problem. This allows for efficient training without needing to compute the partition function, a common bottleneck in probabilistic models.
- Extended Cutting-Plane Algorithm: To handle the large number of potential constraints in the QP, they employ an extended cutting-plane algorithm. This algorithm iteratively refines the solution by finding and adding the most violated constraints, effectively searching the space of SoS functions.
- Modified IBFS for Submodular Flow: They adapt the state-of-the-art Incremental Breadth-First Search (IBFS) algorithm, commonly used for max-flow in vision, to efficiently solve the submodular flow problem. This is crucial for the inference step within the SVM-struct training.
- Feature Encoding: They propose a method to encode SoS functions as feature vectors. By defining features that correspond to the values of submodular functions on cliques and adding linear constraints to enforce submodularity, they can learn arbitrary SoS discriminant functions.
- Generalization to Multi-label: The framework is extended to handle multi-label problems by using "a-expansion" moves, reducing the multi-label problem to a series of binary subproblems that can be solved using their SoS minimization techniques.
Datasets
- Binary Denoising: A dataset of 20 black and white images (400x200) with added Gaussian noise, created by the authors for comparison with existing methods. The dataset was split into 10 training and 10 testing images.
- Interactive Segmentation: A standard dataset from [11] consisting of 151 images with annotations. This dataset was split into training (75 images), validation (38 images), and testing (38 images) sets.
Key Insights and Ideas
- Learning Higher-Order Priors: The most significant insight is that instead of trying to manually design complex higher-order priors, one can learn them directly from data using the SoS framework. This unlocks the expressive power of SoS functions for practical vision tasks.
- Bridging SoS Efficiency and Discriminative Learning: The paper successfully bridges the gap between the efficient minimization of SoS functions and the powerful discriminative learning capabilities of Structural SVMs. This allows for learning complex models that are both expressive and efficiently solvable.
- Submodular Flow as a General Inference Engine: The adaptation of IBFS for submodular flow demonstrates its versatility as an inference engine for a broader class of energy minimization problems beyond standard graph cuts.
- Flexibility of the Framework: The proposed method is shown to be flexible, capable of learning arbitrary SoS functions and generalizing to multi-label problems, making it applicable to a wide range of vision tasks.
Key Results
- Binary Denoising: The learned SoS prior significantly outperformed the hand-tuned Generic Cuts method, achieving an average pixel-wise error of 4.9% on the training set compared to 28.6%. Inference time was comparable (0.82 sec/image for S3SVM vs. 0.76 sec/image for Generic Cuts).
- Interactive Segmentation: The proposed S3SVM method achieved state-of-the-art results on a standard dataset, outperforming GrabCut.
- S3SVM-AMN (pairwise priors): Average error of 7.5±0.5% on the test set.
- S3SVM (higher-order priors): Average error of 7.3±0.5% on the test set.
- GrabCut: Average error of 10.6±1.4%.
- Training time for S3SVM was significantly faster than S3SVM-AMN (92000 seconds vs. 29000 seconds), but the inference time per image was comparable (1.67 sec/image for S3SVM vs. 0.99 sec/image for S3SVM-AMN).
Limitations and Future Work
- Computational Cost: While the submodular flow algorithm is efficient, learning SoS functions with many cliques and parameters can still be computationally intensive, as indicated by the training times for S3SVM.
- Multi-label Expansion Moves: The paper notes that while a-expansion moves can be solved optimally, they might not always find the global optimum for multi-label problems. However, they are shown to find good local optima in practice.
- Future Work: The authors mention preliminary experiments with the multi-label version of their method and suggest that their techniques can be naturally generalized to handle more than two labels, which is a promising direction for future research. They also highlight the potential for learning arbitrary additional features for unary potentials.
Summary updated