Skip to main content
QUICK REVIEW

[Paper Review] Firefly Algorithms for Multimodal Optimization

Xin‐She Yang|arXiv (Cornell University)|Mar 7, 2010
Metaheuristic Optimization Algorithms ResearchComputer Science29 citations
TL;DR

This paper introduces the Firefly Algorithm (FA), a nature-inspired metaheuristic for multimodal optimization that outperforms particle swarm optimization (PSO) and genetic algorithms (GA) in both convergence speed and success rate. Inspired by firefly flashing behavior and light intensity, FA uses attractiveness based on objective function values and randomization to explore multimodal landscapes efficiently, achieving global optima with significantly fewer function evaluations.

ABSTRACT

Nature-inspired algorithms are among the most powerful algorithms for optimization. This paper intends to provide a detailed description of a new Firefly Algorithm (FA) for multimodal optimization applications. We will compare the proposed firefly algorithm with other metaheuristic algorithms such as particle swarm optimization (PSO). Simulations and results indicate that the proposed firefly algorithm is superior to existing metaheuristic algorithms. Finally we will discuss its applications and implications for further research.

Motivation & Objective

  • To develop a new metaheuristic algorithm inspired by firefly social behavior for solving complex multimodal optimization problems.
  • To compare the performance of the Firefly Algorithm (FA) with established algorithms like PSO and GA on standard test functions.
  • To evaluate FA’s efficiency and robustness in locating global optima across diverse multimodal functions.
  • To explore the potential of FA as a superior alternative for NP-hard optimization problems.
  • To lay the foundation for future extensions of FA to multiobjective and hybrid optimization.

Proposed method

  • The Firefly Algorithm models firefly movement based on attractiveness, which is inversely proportional to the objective function value, simulating bioluminescent signaling.
  • Attractiveness decreases with distance, following an inverse square law, and is modulated by a randomization parameter α to balance exploration and exploitation.
  • Each firefly updates its position toward more attractive (lower function value) fireflies using the formula: x_i^{t+1} = x_i^t + α * (g* - x_i^t) + β * ε * (x_i* - x_i^t), where g* is the global best and x_i* is the individual best.
  • The algorithm uses a stochastic component via random vectors ε₁ and ε₂ to maintain diversity and avoid premature convergence.
  • Population size is fixed at n=40, and function evaluations continue until convergence tolerance ε ≤ 10⁻⁵ is met.
  • The algorithm is implemented in MATLAB and tested across 10 standard multimodal test functions with 100 independent runs for statistical reliability.

Experimental results

Research questions

  • RQ1How does the Firefly Algorithm compare to PSO and GA in terms of convergence speed and success rate for multimodal optimization?
  • RQ2Can the FA effectively locate global optima in high-dimensional and complex multimodal functions?
  • RQ3Is the FA more efficient than PSO in exploring multiple local optima and escaping local minima?
  • RQ4What is the impact of the randomization parameter α on the algorithm’s performance and convergence behavior?
  • RQ5Can the FA be generalized to solve NP-hard optimization problems more effectively than existing metaheuristics?

Key findings

  • The Firefly Algorithm achieved a 100% success rate in finding the global optimum for De Jong’s, Schwefel’s, Ackley’s, Rastrigin’s, Easom’s, Griewank’s, Shubert’s, and Yang’s functions, outperforming PSO and GA.
  • For Michalewicz’s function (d=16), FA required only 3,752 ± 725 function evaluations on average with 99% success, compared to PSO’s 6,922 ± 537 and GA’s 89,325 ± 7,914.
  • On Rosenbrock’s function (d=16), FA needed 7,792 ± 2,923 evaluations (99% success), while PSO required 32,756 ± 5,325 and GA 55,723 ± 8,901.
  • For high-dimensional De Jong’s function (d=256), FA required only 7,217 ± 730 evaluations (100% success), compared to PSO’s 17,040 ± 1,123 and GA’s 25,412 ± 1,237.
  • In the case of Rastrigin’s function, FA achieved 100% success with 15,573 ± 4,399 evaluations, while GA had only 77% success and PSO 90%.
  • The results demonstrate that FA is significantly more efficient and reliable than PSO and GA, especially in high-dimensional and highly multimodal landscapes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.