A Cross Entropy based Optimization Algorithm with Global Convergence Guarantees

Ajin George Joseph, Shalabh BhatnagararXiv 2018

TL;DR

The Cross Entropy (CE) method is a powerful optimization tool, but its standard batch-based approach is memory-heavy and computationally expensive. This paper introduces CE2-ND, a novel, incremental version of CE built on stochastic approximation. By processing one sample at a time, CE2-ND drastically reduces resource costs while providing rigorous mathematical guarantees of converging to the global optimum.

The Challenge of Global Optimization

In many engineering and scientific fields, researchers must find the absolute best solution (the global optimum) for complex, non-convex, or "black-box" functions. In these scenarios, gradients are often unavailable or misleading, leading standard algorithms to get trapped in local optima.

Global vs. Local Optima: A complex landscape where local peaks (x1-x4) can distract from the global maximum (x*).

Model-based search methods, like the Cross Entropy (CE) method, tackle this by iteratively updating a probability distribution over the search space. However, the standard Monte-Carlo CE method is "offline" and batch-based. At each iteration, it draws a massive number of samples, sorts them to find a top-percentile threshold, and averages the best ones. This approach wastes memory, discards prior information, and scales poorly. Furthermore, standard CE often lacks strict mathematical guarantees of finding the global optimum.

The CE2-ND Approach

The authors propose CE2-ND (Cross Entropy 2 with Normal Distribution), which remodels the CE method using a Stochastic Approximation (SA) framework. Key innovations include:

  • Incremental Updates: Instead of drawing massive batches, CE2-ND draws one sample at a time and updates parameters (mean, covariance, and threshold) incrementally using SA recursions.
  • Sub-differential Quantile Tracking: It bypasses expensive sorting by tracking the $(1-\rho)$-quantile (the "goodness" threshold) on the fly using a specialized stochastic recursion.
  • Mixture Distribution for Exploration: To prevent premature convergence to a local optimum, CE2-ND samples from a mixture distribution—combining the current learned distribution with the broad, initial distribution.
  • Delayed Model Updates: The algorithm continuously tracks the threshold but only updates the probability model when a tracking variable confirms the new threshold is confidently better than the previous one.

Benchmarking on Rugged Landscapes

The algorithm was evaluated on 10 standard continuous global optimization benchmark functions, including the Griewank, Rastrigin, and Rosenbrock functions. These functions are designed to be treacherous, featuring numerous local optima and narrow ridges.

The Griewank function landscape, showing the high density of local optima that challenge optimization algorithms.

Key Results and Insights

  • Global Convergence: CE2-ND successfully converged to the global optimum on all 10 benchmark functions. It notably succeeded on the Pathological function, where baseline batch methods (MCCE and GMCCE) diverged.
  • Sample and Memory Efficiency: By replacing batching with incremental geometric averaging, the algorithm retains the history of past estimates without high memory costs. CE2-ND required significantly fewer cumulative samples and maintained a flat, minimal memory footprint compared to the spikes seen in batch methods.
  • Exploration Guarantees: The theoretical core of the paper proves that the mixture model ensures the algorithm never assigns zero probability to the true optimum's neighborhood, providing the scaffolding for almost sure global convergence.

Limitations and Future Work

While powerful, CE2-ND's success depends on tuning hyperparameters like the quantile parameter $\rho$ and the initial variance. Additionally, while the global convergence proof assumes twice continuously differentiable ($C^2$) functions, the algorithm empirically succeeded on non-differentiable functions. Future research will focus on automated parameter selection and broadening the theoretical framework to cover non-differentiable cases.

Summary updated

BibTeX
@misc{joseph2018cross,
  author = {Ajin George Joseph and Shalabh Bhatnagar},
  title = {{A Cross Entropy based Optimization Algorithm with Global Convergence Guarantees}},
  year = {2018},
  eprint = {1801.10291},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1801.10291},
}
Figure