Discriminative Optimization: Theory and Applications to Computer Vision Problems

Jayakorn Vongkulbhisal, Fernando De la Torre, João Paulo CosteiraarXiv 2017 · DOI

TL;DR

This paper introduces Discriminative Optimization (DO), a novel framework that learns search directions directly from data to find desired solutions, bypassing the need for explicit cost functions. DO offers improved robustness to noise and perturbations, and demonstrates state-of-the-art performance in 3D point cloud registration, camera pose estimation, and image denoising.

What Problem Does This Paper Address?

Many computer vision tasks, like aligning shapes or estimating camera positions, are framed as optimization problems. The core challenge lies in two areas: first, designing a "cost function" that accurately reflects the desired outcome and has a desirable local minimum. Second, efficiently finding that minimum using numerical optimization algorithms. The problem is that real-world data is often noisy, occluded, or incomplete, which can cause these cost functions to have undesirable local optima or no optimum at the correct solution. Traditional optimization methods struggle with these imperfections, often leading to inaccurate results.

Methods

The paper proposes Discriminative Optimization (DO), a data-driven approach that learns a sequence of update directions (called a "SUM" or "sequence of update maps") directly from training data. Instead of minimizing a predefined cost function, DO learns to iteratively adjust parameters until a stationary point is reached. This stationary point is "designed" to correspond to the desired solution based on the training examples. The core of DO is learning a series of linear maps, $D_t$, that transform a feature representation of the data, $h(x)$, into an update vector $\Delta x = -D_{t+1}h(x)$. This process is trained by minimizing the difference between the current estimate and the ground truth across a dataset. The authors also provide a theoretical analysis of DO's convergence properties and explore its connection to mathematical programming.

Datasets

The paper uses various datasets for training and evaluation across its applications:

  • 3D Point Cloud Registration: Synthetic data generated by perturbing 3D models (e.g., Stanford Bunny) with rotations, translations, noise, outliers, and incomplete shapes. Real-world range scan data (UWA dataset) is also used.
  • Camera Pose Estimation: Synthetic data generated by creating 3D shapes and corresponding 2D projections with varying numbers of points, outliers, and noise. Real image datasets from Oxford's Visual Geometry Group are also utilized.
  • Image Denoising: Synthetic noisy images created by adding impulse noise (salt-pepper and random-value) to clean images at various noise ratios. A dataset of 96 grayscale images from the University of Granada's Computer Vision Group is used for evaluation.

Key Insights and Ideas

  • Learning Search Directions, Not Cost Functions: The most significant insight is that DO bypasses the difficult task of designing a robust cost function by directly learning how to move towards the correct solution. This is particularly powerful when cost functions are hard to define or are sensitive to real-world imperfections.
  • Robustness Through Data: By learning from perturbed data, DO inherently builds robustness to noise, occlusion, and other common issues in computer vision. This leads to larger convergence regions compared to traditional methods.
  • Connection to Optimization Theory: The paper establishes a theoretical link between DO and mathematical programming, showing that DO can be viewed as learning a surrogate for the gradient of an unknown, potentially non-differentiable, cost function. This provides a solid theoretical foundation for its effectiveness.
  • Flexibility with Data Types: DO can handle both ordered (e.g., image pixels) and unordered (e.g., sets of feature matches) data, making it broadly applicable.
  • Potential for Non-Convex Problems: DO shows promise in handling non-convex optimization problems, where it can potentially avoid local minima better than standard solvers.

Key Results

  • State-of-the-Art Performance: DO achieved comparable or superior results to state-of-the-art algorithms in 3D point cloud registration, camera pose estimation, and image denoising across various metrics like accuracy, robustness, and computational efficiency.
  • Robustness to Perturbations: In 3D registration, DO demonstrated significantly higher success rates under challenging conditions like high outlier ratios and incomplete scenes compared to methods like ICP, CPD, and GMMReg.
  • Efficient Camera Pose Estimation: DO-based approaches for camera pose estimation were faster than RANSAC-based methods while achieving competitive accuracy, especially when combined with post-processing steps.
  • Effective Image Denoising: For impulse noise, DO trained with the appropriate noise type matched or outperformed TV denoising algorithms, and a DO model trained on both noise types showed good generalizability.
  • Computational Efficiency: While training can be time-consuming, DO's inference time is generally competitive, and in some cases, significantly faster than traditional methods, especially for complex scenarios.

Limitations and Future Work

  • Training Data Dependency: DO's performance is heavily reliant on the quality and representativeness of the training data. If the test data's perturbations differ significantly from the training data, performance may degrade.
  • Training Time: Training the sequence of update maps can be computationally intensive.
  • Feature Design: While the paper proposes a framework for designing features, designing effective features for new problems can still be challenging.
  • Future Work: The authors suggest exploring the incorporation of constraints and momentum methods into DO, drawing inspiration from optimization theory. They also propose investigating deeper connections to deep learning architectures like residual networks and exploring alternative feature design strategies. Further research into handling more complex data distributions and improving generalization to unseen perturbations is also envisioned.

Summary updated

Abstract

Many computer vision problems are formulated as the optimization of a cost function. This approach faces two main challenges: (i) designing a cost function with a local optimum at an acceptable solution, and (ii) developing an efficient numerical method to search for one (or multiple) of these local optima. While designing such functions is feasible in the noiseless case, the stability and location of local optima are mostly unknown under noise, occlusion, or missing data. In practice, this can result in undesirable local optima or not having a local optimum in the expected place. On the other hand, numerical optimization algorithms in high-dimensional spaces are typically local and often rely on expensive first or second order information to guide the search. To overcome these limitations, this paper proposes Discriminative Optimization (DO), a method that learns search directions from data without the need of a cost function. Specifically, DO explicitly learns a sequence of updates in the search space that leads to stationary points that correspond to desired solutions. We provide a formal analysis of DO and illustrate its benefits in the problem of 3D point cloud registration, camera pose estimation, and image denoising. We show that DO performed comparably or outperformed state-of-the-art algorithms in terms of accuracy, robustness to perturbations, and computational efficiency.
BibTeX
@misc{vongkulbhisal2017discriminative,
  author = {Jayakorn Vongkulbhisal and Fernando De la Torre and João Paulo Costeira},
  title = {{Discriminative Optimization: Theory and Applications to Computer Vision Problems}},
  year = {2017},
  eprint = {1707.04318},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1707.04318},
}
Figure