A matlab toolbox for continuous state transition algorithm

Xiaojun Zhou, Chunhua Yang, Weihua GuiarXiv 2016 · DOI

Abstract

State transition algorithm (STA) has been emerging as a novel stochastic method for global optimization in recent few years. To make better understanding of continuous STA, a matlab toolbox for continuous STA has been developed. Firstly, the basic principles of continuous STA are briefly described. Then, a matlab implementation of the standard continuous STA is explained, with several instances given to show how to use to the matlab toolbox to minimize an optimization problem with bound constraints. In the same while, a link is provided to download the matlab toolbox via available resources.

Introduction

Global optimization—finding the absolute best solution in a landscape filled with "local traps" (local minima)—is a fundamental challenge in engineering and mathematics. While population-based methods like Genetic Algorithms (GA) or Particle Swarm Optimization (PSO) are widely used, they can be computationally heavy or difficult to tune. The State Transition Algorithm (STA) offers a different perspective by focusing on a single "incumbent best" solution and exploring its neighborhood through specific geometric transformations. This paper introduces a standardized MATLAB toolbox for the Continuous STA, providing researchers with a robust framework for solving complex, nonlinear optimization problems with bound constraints.

Methodology

The core of STA is the state-space representation, where a solution is treated as a state ($x_k$) and updates are transitions ($x_{k+1}$). The algorithm employs four specialized geometric transformation operators:

  1. Rotation Transformation: Conducts local refinement within a hypersphere around the current solution.
  2. Translation Transformation: Performs a line search between the previous and current best solutions, acting as a "momentum" or tracking mechanism.
  3. Expansion Transformation: Utilizes a Gaussian distribution to search the entire space, facilitating escape from local minima.
  4. Axesion Transformation: Searches specifically along coordinate axes to enhance single-dimensional search capabilities.

The algorithm follows a greedy strategy, updating the "Best" solution only if a candidate provides a lower objective function value. A Search Enforcement (SE) parameter determines the number of candidate samples generated in each neighborhood.

Toolbox Implementation

The developed toolbox includes implementations for several classic benchmark functions and a template for user-defined problems.

List of M-files included in the STA toolbox showing various benchmark functions.

As shown in the file structure, the toolbox provides ready-to-use scripts for functions like Ackley, Rastrigin, and Rosenbrock. A key feature of the implementation is dynamic parameter tuning: the rotation factor ($\alpha$) decreases exponentially over time, allowing the algorithm to start with a broad global search and gradually narrow down to a very precise local search.

Benchmark Evaluation

The toolbox's efficacy was evaluated using a suite of classic mathematical benchmark functions. For the 10D Rastrigin function, known for its many local minima, the algorithm demonstrates exceptional convergence speed.

Convergence curve for the 10D Rastrigin function showing fitness reaching $10^{-14}$ within 40 iterations.

As illustrated in the convergence plot, the algorithm reaches a fitness level of approximately $10^{-14}$ (effectively zero) within just 40 iterations. The optimization process is highly efficient, with the 10D Rastrigin test completing in roughly 0.68 seconds on standard hardware. Similarly, for the 15D Griewank function, the algorithm reaches a fitness level of $10^{-15}$ within 80 iterations.

Conclusion

The Continuous STA toolbox provides a fast and effective alternative to traditional population-based optimizers. By focusing on evolving a single high-quality solution through geometric operators, it achieves high precision with low computational overhead. While currently optimized for bound-constrained problems, future work will involve extending the toolbox to handle complex non-linear constraints and applying it to large-scale real-world problems in signal processing and water distribution networks.

Summary updated

BibTeX
@misc{zhou2016matlab,
  author = {Xiaojun Zhou and Chunhua Yang and Weihua Gui},
  title = {{A matlab toolbox for continuous state transition algorithm}},
  year = {2016},
  eprint = {1604.00841},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1604.00841},
}
Figure