Partial Enumeration and Curvature Regularization

Carl Olsson, Johannes Ulén, Yuri Boykov, Vladimir KolmogorovICCV 2013

Abstract

Optimizing high-order, non-submodular energy functions is a fundamental challenge in computer vision. This paper introduces a "partial enumeration" framework that transforms these complex problems into simpler pairwise Constraint Satisfaction Problems (uCSP). By representing local image patches as "super nodes" and pre-calculating high-order interactions like curvature as unary costs, the authors achieve near-global optimality for tasks such as curvature-based segmentation and stereo matching. The approach leverages integral geometry to provide unbiased curvature estimates on standard pixel grids, outperforming traditional discrete MRF methods in both accuracy and speed.

Introduction: The Challenge of High-Order Regularization

In computer vision, regularization is essential for ensuring that solutions—such as object segmentations or depth maps—are physically plausible. While first-order regularization (e.g., minimizing boundary length) is computationally tractable, second-order regularization (e.g., minimizing curvature) is significantly more difficult. Curvature is a high-order interaction requiring at least three points to define, leading to non-submodular energy functions that are NP-hard to optimize. Traditional methods often suffer from local minima or "shrinking biases."

Methodology: Partial Enumeration and uCSP

The core innovation of this work is the Partial Enumeration technique. Rather than solving the entire graph globally, the image is decomposed into small, overlapping patches (e.g., $3 \times 3$ or $5 \times 5$ pixels).

  1. Super Nodes: Each patch is treated as a "super node." The possible labels for a super node correspond to all valid binary colorings of the pixels within that patch.
  2. uCSP Transformation: By enumerating these local states, high-order interactions within the patch are pre-calculated and converted into simple unary costs.
  3. Consistency Constraints: To ensure global coherence, overlapping super nodes must agree on the labels of shared pixels, enforced via hard pairwise constraints.
Overview of curvature patches and segmentation results for cell complexes and pixel grids.

This transforms the high-order problem into a pairwise Constraint Satisfaction Problem (uCSP), which can be solved using efficient message-passing algorithms like Tree-reweighted message passing (TRW-S).

Integral Geometry and Patch Weighting

A key contribution is the use of integral geometry to estimate absolute curvature ($\int | \kappa | d\sigma$) on standard pixel grids. The authors assign specific weights to different patch configurations to avoid the directional biases common in simpler discrete models. For example, specific configurations are weighted to satisfy geometric identities that ensure the discrete approximation converges to the continuous curvature.

Mathematical formulation of curvature weights on a pixel grid using integral geometry.

Experimental Evaluation

The framework was tested across several domains:

  • Image Segmentation: Tested on the "Cameraman" image and synthetic shapes. Larger patches ($5 \times 5$) were found to produce significantly smoother, more natural boundaries than smaller $2 \times 2$ patches, which tended to produce blocky, axis-aligned results.
  • Stereo Matching: Evaluated on the Middlebury Cones dataset. The method achieved a 7.07% lower energy than previous state-of-the-art techniques using Roof Duality with "improve" heuristics.
  • Binary Deconvolution: On noisy text images, the method achieved a duality gap of $10^{-14}$, effectively finding the global optimum where standard MRF solvers failed.

Key Insights

  • Complexity Management: High-order factors become manageable when moved to a higher-dimensional label space. The complexity is "hidden" within the unary costs of the super nodes.
  • Label Pruning: To handle the exponential growth of the label space ($2^{N^2}$), the authors prune irrelevant states, focusing only on those representing valid local boundaries. For a $5 \times 5$ patch, this reduces the space from millions to a manageable 2,422 states.
  • Optimality: The consistency constraints between overlapping patches allow local enumerations to coalesce into a globally near-optimal solution, often reaching the global minimum in practice.

Limitations and Future Work

While powerful, the approach faces challenges with exponential scaling as patch sizes increase. Extending the method to 3D volumes or much larger patches would require advanced label-set reduction or learning-based cost estimation. Additionally, the increased memory footprint of the super-node graph may limit its application to extremely large-scale problems on standard hardware.

Summary updated

BibTeX
@inproceedings{olsson2013partial,
  author = {Carl Olsson and Johannes Ulén and Yuri Boykov and Vladimir Kolmogorov},
  title = {{Partial Enumeration and Curvature Regularization}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2013},
  doi = {10.1109/iccv.2013.365},
}
Figure