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

Submodularization for Quadratic Pseudo-Boolean Optimization

Lena Gorelick, Yuri Boykov, Olga Veksler, Ismail Ben Ayed, Andrew DelongarXiv 2013

Abstract

Solving non-submodular binary optimization problems is a fundamental challenge in computer vision, often leading to NP-hard formulations. Traditional methods like Quadratic Pseudo-Boolean Optimization (QPBO) rely on global linear relaxations that frequently produce non-integer results, necessitating problematic heuristics. We present Submodularization, a framework that iteratively approximates non-submodular problems with submodular ones. By preserving submodular components and linearizing only the "hard" supermodular terms locally, our approach maintains discrete solutions and significantly outperforms state-of-the-art solvers in both speed and accuracy across tasks such as image deconvolution and curvature regularization.

Introduction

Many core computer vision tasks—including image segmentation, stereo matching, and inpainting—are modeled as energy minimization problems over binary variables. When these energy functions are submodular, they can be solved efficiently using Graph Cuts. However, real-world constraints often introduce non-submodular terms, making the optimization NP-hard.

Standard solvers typically "relax" these discrete problems into continuous linear programs. This often results in an integrality gap, where the solution contains fractional values (e.g., a pixel being 0.5 foreground). This leaves many variables "unlabeled," requiring further heuristics to force a binary choice, which can degrade the final result.

Methodology: Local Submodular Approximations (LSA)

The proposed Submodularization framework avoids the pitfalls of global relaxation by staying within the discrete domain. The core strategy is to decompose the energy function into an "easy" submodular part and a "hard" supermodular part. Rather than linearizing the entire function, LSA preserves the submodular structure and only approximates the supermodular terms.

Comparison of global vs. local linearization. Global methods (a) often lead to fractional solutions outside the discrete space, while local linearization (b) targets a specific discrete neighborhood.

Two primary algorithmic frameworks are introduced:

  1. LSA-TR (Trust Region): This method utilizes a first-order Taylor expansion to linearize supermodular terms. Optimization occurs within a "trust region" (a small neighborhood around the current solution) to ensure the linear approximation remains valid.
  2. LSA-AUX (Auxiliary Function): Based on the Majorize-Minimize principle, this method finds a linear upper bound (an auxiliary function) for supermodular terms. Minimizing this bound guarantees a decrease in the original energy at each step without the need for trust region tuning.
Geometric intuition of the local linear approximation for a bilinear term xy. The approximation plane matches the discrete costs at three of the four possible binary configurations.

Because the resulting approximations are always submodular, they can be solved efficiently using standard Graph Cut software while keeping all variables strictly binary.

Experimental Evaluation

The framework was evaluated on several challenging benchmarks:

  • Binary Deconvolution: LSA methods maintained lower energy and superior visual reconstructions compared to TRWS or Loopy Belief Propagation (LBP), especially as noise levels increased.
  • Chinese Character Inpainting: On the dtf-chinesechar dataset, LSA-TR achieved energy levels comparable to the best-performing method (MCBC) but was four orders of magnitude faster (0.21s vs. 2,000s per image).
  • Curvature Regularization: In tasks penalizing sharp corners, LSA successfully produced clean, "square-like" results where global methods like QPBO failed to label the majority of pixels.

Discussion and Key Insights

The success of Submodularization stems from its "discrete-only" nature. By bypassing the integrality gap, it avoids the "unlabeled pixel" problem inherent in QPBO. Geometrically, the Taylor expansion of a bilinear term ($xy$) corresponds to a plane that perfectly matches discrete costs at three out of four possible configurations, providing a robust local approximation for binary variables.

While LSA is a local search-based method and thus susceptible to local minima, its efficiency and ability to preserve submodular structure make it a powerful alternative to standard relaxations. Future work includes extending the framework to higher-order potentials involving interactions between three or more pixels.

Summary updated

BibTeX
@misc{gorelick2013submodularization,
  author = {Lena Gorelick and Yuri Boykov and Olga Veksler and Ismail Ben Ayed and Andrew Delong},
  title = {{Submodularization for Quadratic Pseudo-Boolean Optimization}},
  year = {2013},
  eprint = {1311.1856},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1311.1856},
}
Figure