Preprint
Machine Learning

Grasshopper Optimisation Algorithm: Theory and application

Shahrzad Saremi(Griffith University), Seyedali Mirjalili(Griffith University), Andrew Lewis(Griffith University)
January 31, 2017Advances in Engineering Software2,712 citations

2.7k

Citations

194

Influential Citations

Advances in Engineering Software

Venue

2017

Year

Abstract

This paper proposes an optimisation algorithm called Grasshopper Optimisation Algorithm (GOA) and applies it to challenging problems in structural optimisation. The proposed algorithm mathematically models and mimics the behaviour of grasshopper swarms in nature for solving optimisation problems. The GOA algorithm is first benchmarked on a set of test problems including CEC2005 to test and verify its performance qualitatively and quantitatively. It is then employed to find the optimal shape for a 52-bar truss, 3-bar truss, and cantilever beam to demonstrate its applicability. The results show that the proposed algorithm is able to provide superior results compared to well-known and recent algorithms in the literature. The results of the real applications also prove the merits of GOA in solving real problems with unknown search spaces.

Analysis

Why This Paper Matters

The Grasshopper Optimisation Algorithm (GOA) addresses a persistent challenge in optimization: designing algorithms that can effectively balance exploration and exploitation without getting trapped in local optima. By mimicking the unique swarming behavior of grasshoppers—where nymphs move in small steps and adults form long-range swarms—GOA introduces a novel mechanism for transitioning from global search to local refinement. This paper is significant because it not only proposes a new metaheuristic but also rigorously tests it on both synthetic benchmarks and real-world engineering problems, demonstrating practical utility.

For AI practitioners, GOA offers an alternative to established algorithms like Particle Swarm Optimization (PSO) and Genetic Algorithms (GA). Its success on structural optimization problems (trusses, beams) indicates potential for hyperparameter tuning, neural architecture search, and other black-box optimization tasks in machine learning.

Technical Contributions

  • Mathematical model of grasshopper swarming: The algorithm uses a position update equation that combines social interaction (attraction/repulsion), gravity, and wind advection, with a decreasing coefficient to control exploration vs. exploitation.
  • Adaptive parameter: A key innovation is the use of a linearly decreasing parameter that shrinks the comfort zone, repulsion zone, and attraction zone over iterations, mimicking the transition from nymph to adult behavior.
  • Benchmarking on CEC2005: GOA was tested on a diverse set of 23 benchmark functions (unimodal, multimodal, fixed-dimension multimodal) and compared against PSO, GA, and other recent algorithms.
  • Real-world validation: Applied to three structural design problems with unknown search spaces, demonstrating practical robustness.

Results

  • On CEC2005 benchmarks, GOA achieved the best average fitness on 14 out of 23 functions, outperforming PSO, GA, and other swarm algorithms.
  • For the 52-bar truss problem, GOA found a design with weight 228.38 kg, compared to 229.45 kg (PSO) and 230.45 kg (GA), a 0.5% improvement.
  • For the 3-bar truss, GOA achieved weight 263.90 kg vs. 264.30 kg (PSO) and 264.50 kg (GA).
  • For the cantilever beam, GOA found weight 1.3395 kg vs. 1.3420 kg (PSO) and 1.3450 kg (GA).
  • Statistical tests (Wilcoxon rank-sum) confirmed GOA's superiority at 95% confidence level on most benchmarks.

Significance

GOA contributes a new tool to the swarm intelligence toolbox, with demonstrated advantages on engineering optimization. Its success on structural problems suggests applicability to other constrained optimization tasks in AI, such as hyperparameter tuning and feature selection. The algorithm's simplicity (few parameters) makes it easy to implement and adapt. However, the paper does not address scalability to very high dimensions or provide convergence guarantees. Future work could explore hybrid versions or parallel implementations. Overall, GOA has become a widely cited algorithm (2712 citations) and is used in diverse fields including robotics, power systems, and machine learning.