Global optimization using Lévy flights

Truyen Tran, Trung Thanh Nguyen, Hoang Linh NguyenarXiv 2014

Abstract

Finding the global minimum in complex mathematical landscapes is a fundamental challenge in optimization. Traditional meta-heuristics often rely on Brownian motion, which can lead to algorithms becoming trapped in local minima due to the localized nature of small-step random walks. This paper explores the use of Lévy flights—stochastic processes characterized by heavy-tailed distributions—to enhance global exploration. By incorporating occasional long-distance "jumps," Lévy Flight Optimization (LFO) algorithms achieve a superior balance between local exploitation and global exploration, significantly outperforming standard Simulated Annealing on highly multi-modal benchmark functions.

Introduction

In global optimization, the objective is to identify the absolute lowest point of a cost function. However, real-world landscapes are often "rugged," containing numerous local minima that can deceive optimization algorithms. Traditional methods like Simulated Annealing (SA) or Genetic Algorithms (GA) typically utilize random walks to navigate these spaces. The limitation of standard random walks (Brownian motion) is their reliance on many small, localized steps. This lack of mobility makes them inefficient at traversing large distances, often resulting in the algorithm remaining "trapped" in a local minimum for excessive periods.

The Lévy Flight Mechanism

The core innovation of the proposed approach is the replacement of Brownian motion with Lévy flights. A Lévy flight is a random walk where step lengths are drawn from a heavy-tailed probability distribution, typically following a power law: $P(l) \sim l^{-1-\beta}$.

Comparison of Lévy flight trajectories and step distributions for varying $\beta$ values. Lower $\beta$ values result in more frequent long-distance jumps, facilitating global exploration.

As shown in the figure above, the parameter $\beta$ (the power index) is crucial for tuning the search behavior. A small $\beta$ (e.g., 0.5) generates frequent massive jumps, prioritizing exploration. Conversely, a larger $\beta$ (e.g., 3.0) results in a more localized path, favoring exploitation. The "heavy tail" of the distribution ensures that while most steps are small, the occasional long-distance "flight" allows the agent to "teleport" across the landscape and escape local traps.

Proposed LFO Algorithms

The researchers developed several variants of Lévy Flight Optimization (LFO) to test different search strategies:

  1. Basic LFO (LFO-B): A population-based method where a set of particles explores the space; only the most successful individual persists to the next iteration.
  2. Hybrid LFO with Local Search (LFO-LS): Particles perform a local gradient-descent-like search to find the nearest local minimum before selection occurs.
  3. Local Search with Multiple LFO Restarts (LFO-MLS): A single agent performs local search until convergence, then uses a Lévy jump to relocate to a potentially unexplored region.
  4. LFO with Iterated Local Search (LFO-ILS): An extension of MLS that continues jumping until a point superior to the current best is found before resuming local search.
  5. LFO-SA Hybrid: A two-stage process using LFO-MLS for rapid initial scouting followed by Simulated Annealing for high-precision refinement.

Experimental Evaluation

The LFO suite was evaluated against five classic "hard" benchmark functions:

  • Corana’s function ($f_0$): Contains approximately $10^{20}$ local minima.
  • Rosenbrock’s saddle ($f_2$): Features a global minimum hidden within a long, narrow, curving valley.
  • Shekel’s foxholes ($f_5$): A flat surface punctuated by several deep, narrow holes.
  • Rastrigin’s function ($f_6$): A highly multi-modal landscape with a strong large-scale structure.
  • Keane’s Bump function: An extremely rugged landscape where the global optimum is located near the search boundaries.

Key Results and Insights

The experimental results demonstrated that LFO algorithms generally discover high-quality solutions significantly faster than Simulated Annealing. On the Corana function, LFO-B and LFO-MLS outperformed SA by several orders of magnitude in terms of both speed and solution quality.

A key insight is the "Big Valley" hypothesis: LFO is most effective on landscapes where local minima are clustered around the global minimum. The long jumps allow the algorithm to sample different "valleys" without getting bogged down in the "potholes" within them. However, the study also identified a limitation: The Boundary Problem. On Keane’s Bump function, where the optimum is on the edge of the search space, the long jumps frequently landed in infeasible territory, making the search less efficient than SA's incremental approach.

Conclusion

Lévy flights provide a powerful mechanism for enhancing global optimization by preventing premature convergence in local minima. The LFO-SA hybrid, in particular, offers a robust solution by combining the exploratory power of heavy-tailed jumps with the exploitative precision of Simulated Annealing. Future research will focus on dynamic parameter tuning, allowing $\beta$ to adapt during the search process, and exploring collective intelligence through population-based agent dynamics.

Summary updated

BibTeX
@misc{tran2014global,
  author = {Truyen Tran and Trung Thanh Nguyen and Hoang Linh Nguyen},
  title = {{Global optimization using Lévy flights}},
  year = {2014},
  eprint = {1407.5739},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1407.5739},
}
Figure