In computer vision, we often frame the search for the "best" image as a quest for the lowest energy. Whether we are segmenting an object, reconstructing a 3D surface, or removing noise, we define an energy function where the global minimum corresponds to the most plausible physical reality.
For decades, the field relied on a mathematical "safety zone" called submodularity. If an energy function is submodular, it can be solved exactly and efficiently using graph cuts. However, real-world vision is rarely that simple. To capture complex phenomena like the curve of a surface or the exclusion of overlapping objects, we must venture into the "hard" world of non-submodular optimization.
The Submodularity Rulebook
The foundation of modern discrete optimization in vision was laid by Vladimir Kolmogorov and Ramin Zabih in What Energy Functions Can Be Minimized via Graph Cuts?. They established that for a binary energy function to be solvable via a single min-cut/max-flow algorithm, it must satisfy a regularity condition.
Intuitively, submodularity means that the "cost" of assigning a label to a pixel should not increase if more of its neighbors already have that label. It encourages smoothness. When this condition is met, we can find the global minimum of a million-variable problem in milliseconds.
Why We Need "Hard" Functions
If submodular functions are so efficient, why leave them? The problem is that they are mathematically "thin." As Andrew Blake 0001 pointed out in Reconstructing a Visible Surface, simple models often fail to be viewpoint-invariant, leading to artifacts like the "wobble" effect.
To model the world accurately, we need terms that are inherently non-submodular:
- Curvature: Standard smoothness only cares about the length of a boundary. To preserve thin, elongated structures, Claudia Nieuwenhuis and Yuri Boykov argue in Efficient Squared Curvature that we must use squared curvature, which involves "triple cliques" that break submodularity.
- Mutual Exclusion: In 3D reconstruction or multi-object tracking, two objects cannot occupy the same space. Patrick M. Jensen demonstrates in Multi-object Graph-based Segmentation with Non-overlapping Surfaces that enforcing these exclusion constraints creates "frustrated" systems where variables are incentivized to take different values, a hallmark of non-submodularity.
- Non-local Constraints: Stephen Gould showed that to ensure two distant car wheels share the same label, we need higher-order potentials that standard graph cuts cannot handle (Multiclass pixel labeling with non-local matching constraints).
Bridging the Gap: Approximation Strategies
Since non-submodular problems are generally NP-hard, the research direction has shifted toward "submodularization"—the art of approximating a hard problem with a sequence of easier ones.
1. Move-Making Algorithms
Instead of solving the whole problem at once, we can make "moves." Yuri Boykov and Olga Veksler pioneered this with $\alpha$-expansion in Fast Approximate Energy Minimization via Graph Cuts. By allowing large groups of pixels to change labels simultaneously, they could find strong local minima that are often "good enough" for vision tasks.
2. Iterative Submodularization
Lena Gorelick and colleagues introduced a framework in Submodularization for Quadratic Pseudo-Boolean Optimization that iteratively approximates non-submodular terms with submodular ones. Unlike global linearizations that produce "fuzzy" results, this method stays in the discrete domain, providing sharper boundaries for tasks like image deconvolution.
3. Partial Optimality (QPBO)
When we can't find the global optimum for every pixel, can we at least find it for some? Techniques like Quadratic Pseudo-Boolean Optimization (QPBO) and Roof Duality allow us to find "persistent" labels—solutions that are guaranteed to be part of the global optimum. As explored in Generalized Roof Duality for Multi-Label Optimization, this allows us to prune the search space significantly, leaving only a small fraction of "unlabeled" pixels for more expensive solvers.
4. Reweighting and Trust Regions
For highly non-convex priors, Richard Hartley proposed Iteratively Reweighted Graph Cut (IRGC) (Iteratively reweighted graph cut for multi-label MRFs with non-convex priors). Similarly, Lena Gorelick utilized Fast Trust Regions to handle non-linear regional constraints, effectively "steering" the optimization away from poor local minima (Fast Trust Region for Segmentation).
The Expressive Vocabulary of Vision
The shift from submodular to non-submodular optimization represents a maturation of the field. In his thesis, Discrete Energy Minimization, beyond Submodularity, Shai Bagon argues that we should not limit our models to what is easily solvable. By expanding our "expressive vocabulary" to include non-submodular terms, we can capture the true complexity of the visual world, provided we continue to refine the tools—like Superdifferential Cuts or Alphabet SOUP—needed to solve them.