A Multiscale Framework for Challenging Discrete Optimization

Shai Bagon, Meirav GalunarXiv 2012

Abstract

Discrete optimization is a cornerstone of computer vision and machine learning, yet standard solvers often falter when faced with "contrast-enhancing" energies—where neighboring variables prefer distinct labels. We propose a principled multiscale framework that addresses these challenges through an algebraic energy representation and energy-aware interpolation. By recursively coarsening the energy function, our method navigates complex landscapes to find high-quality solutions where traditional algorithms like TRW-S get trapped in local minima.

Introduction

Many problems in computer vision are formulated as discrete optimization tasks, aiming to minimize a total energy cost across a set of variables. While existing solvers such as TRW-S or Dual Decomposition excel at smoothness-preserving energies, they struggle with contrast-enhancing scenarios. In these cases, the mathematical relaxations used by standard solvers are no longer tight, leading to poor convergence. Our work bridges this gap by introducing a multiscale approach that considers the problem at multiple levels of granularity, specifically designed to handle non-smooth energy landscapes.

Methods

The proposed framework rests on two technical pillars:

Algebraic Energy Representation

We transform the discrete energy equation into a quadratic matrix form: $E(U) = Tr(DU^T + WUVU^T)$. This algebraic formulation allows for a mathematically principled derivation of a "coarse" energy function using a linear interpolation matrix $P$. This ensures that the coarse-scale energy maintains the same functional form as the fine-scale energy, enabling recursive coarsening.

Multiscale coarsening and interpolation matrix P

Energy-aware Interpolation

Effective multiscale solvers require grouping variables that "agree" or tend to share labels in low-energy states. We use Iterated Conditional Modes (ICM) with random restarts to sample the energy landscape and identify these agreements. These samples inform the construction of the interpolation matrix $P$ based on Algebraic Multigrid (AMG) principles. The algorithm follows a "V-cycle" pattern: coarsening the problem to a manageable size, solving it, and then interpolating and refining the solution back to the original scale.

Experimental Evaluation

The framework was tested on two challenging problem sets:

  1. Synthetic Contrast-Enhancing Energies: 50x50 grid graphs designed to be difficult for standard solvers.
  2. Co-clustering (Correlation-Clustering): A real-world task involving superpixel matching across video frames. These problems lack a regular grid and unary potentials, making them exceptionally difficult.

Results and Discussion

Our multiscale framework significantly outperforms state-of-the-art methods on these challenging benchmarks.

Synthetic Performance

On the most difficult synthetic instances ($\lambda=15$), our method achieved energies that were 127.1% of the lower bound. In comparison, TRW-S and single-scale ICM reached 138.3% and 135.8%, respectively.

Performance comparison on synthetic contrast-enhancing energies across different lambda values

Co-clustering Performance

In co-clustering tasks, our framework outperformed specialized convex relaxation methods, achieving lower energy values in 55.6% of test cases. Standard solvers like TRW-S were largely ineffective, yielding energies nearly 80% higher than our baseline.

Key Insights

  • Energy-Aware Coarsening: Unlike traditional methods that coarsen based on spatial proximity, our approach groups variables based on their energy-driven interactions.
  • Complementary Solvers: While ICM is a weak local solver, it serves as an ideal refinement step within a multiscale framework, handling fine-scale details while interpolation manages global structure.

Conclusion

We have demonstrated a robust multiscale framework for discrete optimization that excels where traditional solvers fail. While the method introduces some computational overhead due to the sampling process, it provides a principled way to solve complex, contrast-enhancing problems. Future work will explore extensions to higher-order potentials and varying label interactions.

Summary updated

BibTeX
@misc{bagon2012multiscale,
  author = {Shai Bagon and Meirav Galun},
  title = {{A Multiscale Framework for Challenging Discrete Optimization}},
  year = {2012},
  eprint = {1210.7070},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1210.7070},
}
Figure