Residual Expansion Algorithm: Fast and Effective Optimization for Nonconvex Least Squares Problems

Daiki Ikami, Toshihiko Yamasaki, Kiyoharu Aizawa

Abstract

Non-convex least squares (LS) problems are foundational to many computer vision and machine learning tasks, yet they are notoriously difficult to solve due to complex energy landscapes filled with local minima. We present the Residual Expansion (RE) algorithm, a deterministic optimization method designed to find global or near-global solutions. By strategically "expanding" data points along their residual directions, the algorithm enables standard solvers to escape local traps with minimal computational overhead. Our evaluation across clustering, registration, and deblurring tasks demonstrates that RE achieves near-global results with efficiency comparable to local search methods.

Introduction

Many core problems in modern data science—such as k-means clustering, point-set registration, and image deblurring—are formulated as non-convex least squares problems. These problems typically possess "bumpy" energy landscapes where standard gradient-based solvers frequently stall in suboptimal local minima.

To find the true global optimum, researchers traditionally rely on two strategies: high-quality initialization (which is not always feasible) or stochastic search methods like Simulated Annealing or Genetic Algorithms. While effective, these stochastic approaches are computationally expensive and scale poorly to high-dimensional problems. The Residual Expansion (RE) algorithm bridges this gap, providing a fast, deterministic heuristic that navigates the landscape more intelligently by leveraging the structure of the residuals.

A local minimum in a clustering task where a centroid is trapped between two clusters, a common failure mode for standard algorithms.

The Residual Expansion Principle

The core innovation of the RE algorithm is the concept of stability under expansion. Consider a local minimum $\theta^*$. The "residual" is the difference between the observed data $y$ and the model's prediction $f(\theta^*)$. The authors propose a novel measure: if the data points are pushed further away along that residual vector (expansion), does $\theta^*$ remain a local minimum?

The fundamental insight is that global minima are significantly more resilient to this expansion than shallow local minima. As the expansion parameter $\alpha$ increases, the energy landscape is modified such that local minima flatten out and eventually disappear, while the deeper global minimum persists. This provides a geometric mechanism to "filter" the landscape for the most optimal solutions.

Comparison of energy landscapes under expansion: local minima (left) vanish as expansion increases, while the global minimum (right) remains stable.

The RE Algorithm

The RE algorithm operates as an iterative "wrapper" around existing, highly optimized least squares solvers. The process involves two alternating steps:

  1. Parameter Update: Minimize a modified objective function using standard techniques (e.g., Lloyd’s algorithm for k-means).
  2. Residual Expansion: Update an "expanded" data vector by adding a fraction of the current residual.

Crucially, the expansion parameter $\alpha$ gradually decreases to zero, similar to the "cooling" schedule in Simulated Annealing. This ensures the algorithm eventually settles into a valid minimum of the original problem. The authors also demonstrate that this approach can be derived using the Alternate Direction Method of Multipliers (ADMM), providing a principled framework for handling regularized problems like image deblurring.

Experimental Results

The authors evaluated the RE algorithm across four distinct tasks:

  • K-means Clustering: On synthetic 2D datasets and real-world benchmarks like COIL20, RE consistently found lower-error solutions than k-means++ and Hartigan’s algorithm.
  • Point-set Registration: When aligning 3D point sets (e.g., the Stanford Bunny), RE achieved a much higher success rate than the standard Iterative Closest Point (ICP) algorithm. When combined with global solvers like Go-ICP, RE reached the optimum in roughly half the time (0.231s vs 0.551s).
  • Image Deblurring: The algorithm significantly outperformed state-of-the-art deblurring methods in terms of Peak Signal-to-Noise Ratio (PSNR), particularly on images with heavy blur where traditional coarse-to-fine strategies fail.

Conclusion and Future Work

The Residual Expansion algorithm offers a powerful, deterministic alternative to stochastic global optimization. By using the residual to "elevate" the current valley and push the solver out of local traps, it achieves near-global results with computational costs only slightly higher than standard local search methods. While currently specific to least squares, future research may extend the "expansion" concept to a broader class of non-convex objective functions and further automate hyperparameter tuning.

Summary updated

BibTeX
@inproceedings{ikami2017residual,
  author = {Daiki Ikami and Toshihiko Yamasaki and Kiyoharu Aizawa},
  title = {{Residual Expansion Algorithm: Fast and Effective Optimization for Nonconvex Least Squares Problems}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  doi = {10.1109/cvpr.2017.762},
}
Figure