An Efficient Inexact Newton-CG Algorithm for the Smallest Enclosing Ball Problem of Large Dimensions

Ya-Feng Liu, Rui Diao, Feng Ye, Hongwei LiuarXiv 2015

Introduction

The Smallest Enclosing Ball (SEB) problem is a fundamental challenge in computational geometry: given a collection of $m$ balls in $n$-dimensional space, the goal is to find the unique ball of minimum radius that contains them all. This problem serves as a critical building block for various applications in modern data science, including Support Vector Machines (SVMs), pattern recognition, and facility location analysis.

However, as datasets grow in both volume ($m$) and dimensionality ($n$), traditional optimization techniques face significant hurdles. This paper introduces a high-performance "inexact" Newton-CG algorithm designed to handle massive datasets by exploiting the underlying geometric structure of the problem, achieving performance gains of nearly an order of magnitude over existing state-of-the-art methods.

The Challenge of Non-Smooth Optimization

The primary difficulty in solving the SEB problem for large datasets stems from the nature of the objective function. The function is "non-smooth," characterized by sharp corners where the maximum distance switches from one ball to another. Standard optimization techniques often struggle with these discontinuities, either failing to converge or requiring excessive computational time.

While "smoothing" techniques—which approximate the jagged landscape with a differentiable surface—have been used previously, they typically require the algorithm to process every single data point during every iteration. When the product of $m$ and $n$ is large, this creates a massive computational bottleneck, leading to high memory usage and slow execution times.

The Inexact Newton-CG Framework

The researchers propose a two-step strategy to overcome these limitations, combining mathematical smoothing with a "judicious neglect" of redundant data.

1. Smoothing via Log-Exponential Aggregation

To address the non-smoothness, the authors employ a log-exponential aggregation function. This transforms the hard "maximum" function into a "soft-max" style approximation. The result is a smooth, differentiable optimization landscape that allows the use of second-order Newton-style algorithms, which generally offer faster convergence than first-order methods.

2. Exploiting Approximate Sparsity

The core innovation of the paper lies in the "inexact" nature of the Newton-CG algorithm. The authors observed a key geometric property: as the algorithm approaches the optimal solution, the "weights" ($\lambda_i$) assigned to most balls in the dataset drop toward zero. In any cloud of data, only the balls located on the very boundary define the final enclosing shell; the interior points are redundant.

Instead of calculating the gradient and Hessian (second-order derivatives) using all $m$ balls, the algorithm uses an adaptive criterion to identify and ignore balls with negligible weights. By calculating only "inexact" Hessian-vector products, the algorithm drastically reduces the workload per iteration. The authors provide a rigorous mathematical proof that this sparse approximation still guarantees global convergence to the correct solution.

Experimental Evaluation

The algorithm was evaluated using synthetic datasets ranging from 10,000 balls in 1,000 dimensions to a large-scale test involving 2,048,000 balls in 100 dimensions. These benchmarks were designed to compare the proposed method against standard solvers, including L-BFGS-based algorithms and classical Newton-CG methods.

Key Results

  • Significant Speedup: The Inexact Newton-CG algorithm was consistently 8 to 10 times faster than both the classical Newton-CG and the previous state-of-the-art L-BFGS solvers.
  • Scalability: The algorithm successfully solved the largest problem (over 2 million balls) in approximately 90 seconds. In comparison, benchmark algorithms required between 674 and 956 seconds to reach the same level of accuracy.
  • Linear Efficiency: The CPU time for the proposed algorithm grows approximately linearly with the number of balls, suggesting it is well-suited for industrial-scale applications.

Conclusion and Future Work

By finding a "Goldilocks" zone between the fast convergence of second-order math and the light computational footprint of sparse approximations, the Inexact Newton-CG algorithm represents a significant step forward for the SEB problem. It avoids the memory overhead of storing full Hessian matrices, making it highly effective for high-dimensional data.

Future research may focus on testing the algorithm against real-world datasets—such as genomic data or image features—where data clustering might affect the sparsity of the weights differently than in synthetic sets. Additionally, the authors suggest that this "inexact" framework could be extended to other min-max problems in structural design and minimax regression.

Summary updated

BibTeX
@misc{liu2015efficient,
  author = {Ya-Feng Liu and Rui Diao and Feng Ye and Hongwei Liu},
  title = {{An Efficient Inexact Newton-CG Algorithm for the Smallest Enclosing Ball Problem of Large Dimensions}},
  year = {2015},
  eprint = {1509.06584},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1509.06584},
}
Figure