| Literature DB >> 33061949 |
Takumi Nakane1, Xuequan Lu2, Chao Zhang1.
Abstract
In evolutionary algorithms, genetic operators iteratively generate new offspring which constitute a potentially valuable set of search history. To boost the performance of offspring generation in the real-coded genetic algorithm (RCGA), in this paper, we propose to exploit the search history cached so far in an online style during the iteration. Specifically, survivor individuals over the past few generations are collected and stored in the archive to form the search history. We introduce a simple yet effective crossover model driven by the search history (abbreviated as SHX). In particular, the search history is clustered, and each cluster is assigned a score for SHX. In essence, the proposed SHX is a data-driven method which exploits the search history to perform offspring selection after the offspring generation. Since no additional fitness evaluations are needed, SHX is favorable for the tasks with limited budget or expensive fitness evaluations. We experimentally verify the effectiveness of SHX over 15 benchmark functions. Quantitative results show that our SHX can significantly enhance the performance of RCGA, in terms of both accuracy and convergence speed. Also, the induced additional runtime is negligible compared to the total processing time.Entities:
Mesh:
Year: 2020 PMID: 33061949 PMCID: PMC7537682 DOI: 10.1155/2020/8835852
Source DB: PubMed Journal: Comput Intell Neurosci
Figure 1Overview of the proposed method. The proposed method is performed with an archive A under the framework of RCGA. A preserves survivors Psur over the past few generations and extracts statistics from them by clustering. Offspring Poff are selected from excessively generated candidate solutions Pcan based on the statistics.
Algorithm 1Search history-driven crossover for RCGA.
Algorithm 2k-means.
Algorithm 3Archive update.
Algorithm 4Offspring selection.
Benchmark functions f1 ~ f15 used in the experiments.
| ID | Name | Definition | Range | Label |
|---|---|---|---|---|
|
| Schwefel 2.21 |
| [−100,100] | U, S |
|
| Sphere |
| [−10,10] | U, S |
|
| Sum squares |
| [−10,10] | U, S |
|
| Rosenbrock |
| [−30,30] | U, NS |
|
| Schwefel 1.2 |
| [−100,100] | U, NS |
|
| Schwefel 2.22 |
| [−100,100] | U, NS |
|
| Zakharov |
| [−5,10] | U, NS |
|
| Easom |
| [−2 | M, S |
|
| Rastrigin |
| [−5.12, 5.12] | M, S |
|
| Schwefel 2.26 |
| [−500,500] | M, S |
|
| Weierstrass1 |
| [−0.5, 0.5] | M, S |
|
| Ackley 1 |
| [−35,35] | M, NS |
|
| Griewank |
| [−100,100] | M, NS |
|
| Salomon |
| [−100,100] | M, NS |
|
| Xin-She Yang 2 |
| [−2 | M, NS |
The last column (Label) represents the characteristics that the functions hold: unimodal (U), multimodal (M), separable (S), and nonseparable (NS).
Hyperparameters of RCGA and SHX (n, n, n, and k).
| Parameter | Value |
|---|---|
| Number of generations | 10 |
| Population size, | 10 |
| Number of offspring, | 6 |
| Number of candidates, | 3 |
| Archive size, | 30 |
| Number of clusters, | ⌈ |
D is the number of dimensions of test functions. All the parameters are fixed throughout the experiments.
The results of the absolute error between the optimal value and the final-generation-elite fitness over 100 runs.
|
|
| Minimum | Maximum | Minimum | Maximum | Minimum | Maximum |
|---|---|---|---|---|---|---|---|
| Median | Median | Mean | Median | Mean | |||
| SD | SD |
| SD |
| |||
| BLX | SH-BLX_random | SH-BLX_sequential | |||||
|
| 5 | 3.37 | 1.58 |
| 1.51 | 2.45 |
|
| 8.82 | 8.92 | 7.27 |
|
| 7.35 | ||
| ±2.87 | ±2.40 |
| ± |
| |||
| 10 | 1.03 | 2.58 |
|
| 9.20 | 2.68 | |
| 1.80 | 1.84 | 1.72 |
|
| 1.69 | ||
| ±3.20 | ± |
| ±3.36 |
| |||
|
| 5 | 1.07 | 3.40 |
|
| 7.60 | 2.14 |
| 7.75 | 9.28 | 5.67 |
|
| 5.63 | ||
| ±6.39 | ± |
| ±4.11 |
| |||
| 10 | 1.02 | 1.59 |
| 9.47 | 1.29 |
| |
| 5.02 | 5.33 | 4.14 | 4.24 |
|
| ||
| ±2.18 | ±1.68 |
| ± |
| |||
|
| 5 | 1.61 | 9.02 |
| 9.28 | 1.58 |
|
| 2.08 | 2.62 |
|
| 1.35 | 1.69 | ||
| ±1.66 | ±1.33 |
| ± |
| |||
| 10 | 4.57 | 5.66 |
| 4.86 | 4.04 |
| |
| 2.47 | 2.60 |
| 2.11 | 2.02 |
| ||
| ±1.02 | ±9.57 |
| ± |
| |||
|
| 5 |
| 1.94 | 1.21 | 8.83 | 7.78 |
|
| 1.94 | 2.80 | 8.98 | 1.74 |
|
| ||
| ±2.80 | ±2.00 |
| ± |
| |||
| 10 | 6.89 | 3.50 |
| 2.12 | 4.89 |
| |
| 6.11 | 7.19 | 4.69 | 5.35 |
|
| ||
| ±5.19 | ±3.91 |
| ± |
| |||
|
| 5 | 2.45 | 5.58 | 1.81 | 6.65 |
|
|
| 1.78 | 1.93 | 1.30 | 1.63 |
|
| ||
| ±1.15 | ±1.18 |
| ± |
| |||
| 10 | 4.00 | 2.80 | 3.94 |
|
| 2.32 | |
| 1.40 | 1.37 |
|
| 1.16 | 1.22 | ||
| ±4.28 | ± |
| ±4.39 |
| |||
|
| 5 | 4.00 | 2.12 |
| 8.97 | 2.70 |
|
| 2.52 | 3.36 |
| 2.05 | 1.56 |
| ||
| ±3.25 | ±1.62 |
| ± |
| |||
| 10 | 4.03 | 1.17 |
|
| 3.60 | 8.26 | |
| 3.85 | 3.75 |
|
| 1.09 | 1.31 | ||
| ±1.33 | ± |
| ±8.24 |
| |||
|
| 5 |
| 1.22 | 4.40 | 1.09 | 3.23 |
|
| 3.33 | 3.87 | 2.48 | 2.93 |
|
| ||
| ±2.52 | ± |
| ±1.99 |
| |||
| 10 | 7.23 | 4.17 | 7.08 | 4.04 |
|
| |
| 2.39 | 2.32 | 1.98 | 2.04 |
|
| ||
| ±7.22 | ± |
| ±6.75 |
| |||
|
| 5 | — | — | — | — | — | — |
| — | — | — | — | — | — | ||
| — | — | — | — | — | |||
| 10 | 8.70 | 1.00 |
|
| 9.16 | 1.00 | |
| 1.00 | 9.95 | 1.00 |
|
| 9.93 | ||
| ±1.87 | ±6.23 |
| ± |
| |||
|
| 5 | 4.50 | 2.22 |
|
| 4.74 | 2.13 |
| 1.28 | 1.34 | 1.15 | 1.15 |
|
| ||
| ±3.52 | ± |
| ±3.46 |
| |||
| 10 |
| 5.91 | 2.61 | 5.87 | 2.61 |
| |
| 4.44 | 4.40 | 4.31 |
|
| 4.24 | ||
| ±6.68 | ± |
| ±7.00 | 6.44 | |||
|
| 5 | — | — | — | — |
|
|
| — | — | — | — |
|
| ||
| — | — | — | ± |
| |||
| 10 |
|
| 5.93 | 2.23 | 7.63 | 2.24 | |
|
|
| 1.78 | 1.76 | 1.85 | 1.79 | ||
| ±2.62 | ±2.45 | 8.94 | ± | 9.91 | |||
|
| 5 | 4.10 | 4.31 |
|
| 4.08 | 4.25 |
| 4.18 | 4.18 | 4.15 | 4.15 |
|
| ||
| ±4.15 | ±3.47 |
| ± |
| |||
| 10 | 1.83 | 1.87 | 1.83 | 1.86 |
|
| |
| 1.85 | 1.85 | 1.85 | 1.85 |
|
| ||
| ±6.42 | ± |
| ±6.55 |
| |||
|
| 5 | 3.70 | 9.50 |
|
| 2.88 | 9.80 |
| 6.69 | 6.82 |
|
| 5.84 | 5.87 | ||
| ±1.46 | ±1.30 |
| ± |
| |||
| 10 | 5.99 | 1.30 | 6.06 |
|
| 1.24 | |
| 1.00 | 9.84 |
| 9.13 | 9.08 |
| ||
| ±1.23 | ± |
| ±1.39 |
| |||
|
| 5 | 2.97 | 9.57 |
| 8.28 | 1.60 |
|
| 5.41 | 5.59 | 5.08 | 4.92 |
|
| ||
| ± | ±1.44 |
| ±1.36 |
| |||
| 10 | 8.82 | 1.28 | 7.98 | 1.24 |
|
| |
| 1.11 | 1.11 | 1.08 | 1.08 |
|
| ||
| ± | ±7.46 |
| ±9.55 |
| |||
|
| 5 |
| 2.52 | 4.48 |
| 3.56 | 2.63 |
| 1.34 | 1.37 | 1.20 |
|
| 1.19 | ||
| ±3.93 | ± |
| ±3.59 |
| |||
| 10 | 1.73 | 4.20 | 1.80 | 4.22 |
|
| |
| 2.96 | 2.97 | 2.72 | 2.71 |
|
| ||
| ±4.74 | ±4.77 |
| ± |
| |||
|
| 5 | 5.04 | 1.55 | 4.53 | 1.21 |
|
|
| 7.84 | 8.18 | 7.22 | 7.21 |
|
| ||
| ±1.99 | ±1.59 |
| ± |
| |||
| 10 | 1.86 | 1.27 |
|
| 1.26 | 1.12 | |
| 5.75 | 5.66 | 5.28 | 5.43 |
|
| ||
| ±2.04 | ±2.03 | 2.58 | ± |
| |||
|
| |||||||
| SPX | SH-SPX_random | SH-SPX_sequential | |||||
|
| 5 | 2.73 | 2.23 |
|
| 1.83 | 2.99 |
| 9.30 | 9.76 | 6.46 | 7.10 |
|
| ||
| ±4.08 | ± |
| ±4.21 |
| |||
| 10 | 2.11 | 8.83 | 1.76 | 9.73 |
|
| |
| 4.73 | 5.03 | 3.55 | 3.78 |
|
| ||
| ±1.29 | ±1.26 |
| ± |
| |||
|
| 5 | 3.00 | 6.10 | 1.09 | 6.74 |
|
|
| 1.54 | 1.97 | 7.82 | 1.11 |
|
| ||
| ±1.33 | ±9.97 |
| ± |
| |||
| 10 | 9.45 | 1.11 | 5.33 | 7.35 |
|
| |
| 3.70 | 4.22 | 1.64 | 1.89 |
|
| ||
| ±2.06 | ±1.07 |
| ± |
| |||
|
| 5 | 4.02 | 4.15 | 2.48 |
|
| 4.92 |
| 4.10 | 5.50 | 2.21 |
|
| 4.22 | ||
| ±5.67 | ± |
| ±7.39 |
| |||
| 10 | 5.20 |
| 2.42 | 1.88 |
| 1.36 | |
| 2.07 | 2.31 | 1.31 | 1.93 |
|
| ||
| ± | ±2.19 |
| ±2.30 |
| |||
|
| 5 | 5.72 | 1.10 |
|
| 2.50 | 2.62 |
| 2.12 |
| 1.80 | 6.39 |
| 7.01 | ||
| ±1.29 | ± | 1.74 | ±2.77 |
| |||
| 10 | 1.04 |
| 8.69 | 2.67 |
| 3.46 | |
| 1.64 |
| 1.19 | 2.13 |
| 1.95 | ||
| ± | ±3.56 |
| ±3.77 |
| |||
|
| 5 | 3.63 | 3.58 | 1.59 | 1.27 |
|
|
| 2.12 |
| 1.92 | 5.01 |
| 4.20 | ||
| ± | ±1.41 | 9.05 | ±6.01 |
| |||
| 10 | 2.80 |
| 7.15 | 6.69 |
| 1.13 | |
| 9.01 | 1.20 | 5.28 |
|
| 1.19 | ||
| ±1.04 | ± |
| ±1.79 |
| |||
|
| 5 | 1.46 | 2.49 | 5.51 |
|
| 1.90 |
| 5.66 | 6.28 | 3.13 |
|
| 4.45 | ||
| ±3.41 | ± |
| ±4.19 |
| |||
| 10 | 2.16 | 1.11 | 1.42 | 3.24 |
|
| |
| 4.13 | 4.37 | 2.65 | 3.26 |
|
| ||
| ±1.35 | ±3.25 |
| ± |
| |||
|
| 5 | 5.87 |
| 4.99 | 1.34 |
| 3.30 |
| 8.86 | 1.65 |
|
| 8.61 | 2.95 | ||
| ± | ±2.15 |
| ±5.54 | 1.90 | |||
| 10 | 1.36 |
| 4.93 | 1.22 |
| 1.86 | |
| 6.32 | 1.24 |
|
| 3.80 | 1.35 | ||
| ±1.66 | ± |
| ±2.49 |
| |||
|
| 5 | — | — | — | — | — | — |
| — | — | — | — | — | — | ||
| — | — | — | — | — | |||
| 10 | 3.58 |
| 1.20 | 9.98 |
| 9.98 | |
| 1.73 |
|
| 5.27 | 8.29 | 6.27 | ||
| ± | ±1.88 |
| ±1.96 |
| |||
|
| 5 | 2.42 | 2.32 | 9.43 | 2.03 |
|
|
| 1.12 | 1.18 | 1.02 | 1.02 |
|
| ||
| ±3.95 | ±3.89 |
| ± |
| |||
| 10 | 1.44 | 4.54 | 3.53 | 3.65 |
|
| |
| 3.47 | 3.37 | 1.52 | 1.71 |
|
| ||
| ±6.66 | ±7.99 |
| ± |
| |||
|
| 5 | — | — | — | — | — | — |
| — | — | — | — | — | — | ||
| — | — | — | — | — | |||
| 10 | — | — | — | — |
|
| |
| — | — | — | — |
|
| ||
| — | — | — | ± |
| |||
|
| 5 | 4.04 | 4.13 | 4.03 | 4.15 |
|
|
| 4.07 | 4.07 | 4.06 | 4.06 |
|
| ||
| ±1.90 | ± |
| ±1.65 |
| |||
| 10 | 1.81 | 1.81 | 1.80 |
|
| 1.81 | |
| 1.81 | 1.81 | 1.81 | 1.81 |
|
| ||
| ±1.29 | ± |
| ±1.28 |
| |||
|
| 5 | 4.05 | 3.28 | 2.13 | 3.14 |
|
|
| 1.87 | 1.84 | 1.45 | 1.49 |
|
| ||
| ±5.88 | ±6.29 |
| ± |
| |||
| 10 | 2.67 | 1.39 | 1.57 | 2.07 |
|
| |
| 5.83 | 6.16 | 3.50 | 3.96 |
|
| ||
| ±2.25 | ±2.25 |
| ± |
| |||
|
| 5 | 1.04 | 6.17 |
|
| 9.47 | 5.98 |
| 3.49 | 3.52 |
|
| 3.31 | 3.27 | ||
| ±1.11 | ±1.12 |
| ± | 7.84 | |||
| 10 | 6.96 | 4.84 | 1.43 | 3.90 |
|
| |
| 1.93 | 2.08 | 7.37 | 9.07 |
|
| ||
| ±1.00 | ±6.20 |
| ± |
| |||
|
| 5 | 2.00 | 7.73 |
|
| 2.00 | 7.10 |
| 4.13 | 4.24 | 4.00 | 3.98 |
|
| ||
| ±1.39 | ±1.30 | 1.16 | ± |
| |||
| 10 | 2.00 | 7.03 | 2.00 |
|
| 6.16 | |
| 3.65 | 3.66 | 3.10 |
|
| 3.35 | ||
| ±8.08 | ± |
| ±9.77 |
| |||
|
| 5 | 4.37 | 1.27 |
| 1.32 | 4.28 |
|
| 7.25 | 7.30 | 5.54 | 5.82 |
|
| ||
| ±1.63 | ±1.36 |
| ± |
| |||
| 10 | 1.08 | 9.64 | 6.29 | 5.55 |
|
| |
| 4.23 | 4.38 | 1.22 | 1.52 |
|
| ||
| ±1.89 | ±8.58 |
| ± |
| |||
|
| |||||||
| UNDX | SH-UNDX_random | SH-UNDX_sequential | |||||
|
| 5 | 1.20 | 6.82 | 8.26 |
|
| 5.54 |
| 2.77 | 2.83 | 2.18 | 2.30 |
|
| ||
| ±1.09 | ± |
| ±8.74 |
| |||
| 10 | 2.04 | 6.43 |
| 5.53 | 1.71 |
| |
| 4.25 | 4.25 | 3.65 | 3.66 |
|
| ||
| ±1.01 | ±7.54 |
| ± |
| |||
|
| 5 | 1.30 | 6.07 | 1.24 |
|
| 6.26 |
| 1.30 | 1.60 |
|
| 7.20 | 8.83 | ||
| ±1.16 | ± |
| ±8.50 |
| |||
| 10 | 9.42 | 1.26 | 7.07 | 6.85 |
|
| |
| 4.10 | 4.74 | 2.98 | 3.03 |
|
| ||
| ±2.39 | ±1.43 |
| ± |
| |||
|
| 5 | 4.93 | 1.77 |
| 1.81 | 2.90 |
|
| 3.45 | 4.71 | 2.17 | 2.96 |
|
| ||
| ±3.48 | ±2.77 |
| ± |
| |||
| 10 | 3.27 | 5.08 |
| 6.39 | 4.47 |
| |
| 2.30 | 2.30 |
| 1.72 | 1.49 |
| ||
| ±9.70 | ±9.66 |
| ± |
| |||
|
| 5 |
| 1.54 | 6.89 | 1.21 | 6.88 |
|
| 1.51 | 2.41 |
| 1.93 | 1.00 |
| ||
| ±2.70 | ±2.38 |
| ± |
| |||
| 10 | 1.04 | 3.64 |
|
| 9.04 | 3.07 | |
| 6.38 | 7.67 | 4.29 | 4.78 |
|
| ||
| ±5.61 | ± |
| ±4.01 |
| |||
|
| 5 |
| 8.64 | 2.11 | 2.42 | 2.50 |
|
| 2.07 | 2.40 | 1.58 | 2.33 |
|
| ||
| ±1.64 | ±2.85 |
| ± |
| |||
| 10 | 2.25 | 2.33 | 2.88 | 2.05 |
|
| |
| 1.02 | 1.04 |
|
| 8.47 | 8.99 | ||
| ±4.18 | ± |
| ±3.96 |
| |||
|
| 5 | 2.16 | 4.98 | 3.22 |
|
| 5.04 |
| 1.44 | 1.62 |
|
| 1.22 | 1.28 | ||
| ±9.25 | ± |
| ±7.34 |
| |||
| 10 | 1.54 | 3.08 | 1.46 |
|
| 1.19 | |
| 5.27 | 1.50 | 3.49 |
|
| 5.44 | ||
| ±3.87 | ± |
| ±1.22 |
| |||
|
| 5 | 1.00 | 5.44 |
|
| 2.87 | 5.63 |
| 8.04 | 1.16 |
|
| 5.39 | 9.49 | ||
| ±1.02 | ± |
| ±9.58 |
| |||
| 10 | 1.84 | 1.60 | 2.16 |
|
| 1.48 | |
| 6.18 | 6.60 |
| 5.83 | 5.21 |
| ||
| ±2.97 | ± |
| ±3.05 |
| |||
|
| 5 | — | — | — | — | — | — |
| — | — | — | — | — | — | ||
| — | — | — | — | — | |||
| 10 | 8.00 |
| 7.95 | 1.00 |
| 1.00 | |
| 1.00 | 9.92 |
| 9.78 | 9.99 |
| ||
| ± | ±4.13 |
| ±8.29 |
| |||
|
| 5 | 3.55 | 1.95 | 3.51 | 1.96 |
|
|
| 1.06 | 1.10 | 1.10 | 1.09 |
|
| ||
| ±3.58 | ± | 4.28 | ±3.50 |
| |||
| 10 | 1.74 | 4.84 | 1.95 |
|
| 4.69 | |
| 3.64 | 3.64 | 3.45 |
|
| 3.43 | ||
| ±6.45 | ± |
| ±6.07 |
| |||
|
| 5 | — | — | — | — |
|
|
| — | — | — | — |
|
| ||
| — | — | — | ± |
| |||
| 10 | — | — | — | — |
|
| |
| — | — | — | — |
|
| ||
| — | — | — | ± |
| |||
|
| 5 | 4.06 | 4.22 | 4.06 | 4.19 |
|
|
| 4.12 | 4.13 |
|
| 4.11 | 4.11 | ||
| ±3.29 | ±2.95 |
| ± |
| |||
| 10 |
| 1.84 | 1.82 |
| 1.82 | 1.84 | |
| 1.83 | 1.83 | 1.83 | 1.83 |
|
| ||
| ±4.72 | ± |
| ±4.09 |
| |||
|
| 5 | 2.04 | 5.83 | 1.69 |
|
| 5.92 |
| 3.89 | 3.81 |
|
| 3.30 | 3.26 | ||
| ±7.79 | ± |
| ±8.19 |
| |||
| 10 | 3.04 | 6.14 | 2.47 | 5.22 |
|
| |
| 4.32 | 4.38 | 3.87 | 3.85 |
|
| ||
| ±6.26 | ± |
| ±5.87 |
| |||
|
| 5 | 1.54 | 6.60 |
|
| 1.55 | 6.38 |
| 3.74 | 3.81 | 3.73 | 3.64 |
|
| ||
| ±1.06 | ± | 2.13 | ±1.01 |
| |||
| 10 | 4.11 | 9.76 |
| 9.11 | 4.77 |
| |
| 8.37 | 8.09 | 7.95 | 7.73 |
|
| ||
| ±1.06 | ± |
| ±1.06 |
| |||
|
| 5 | 2.01 | 1.13 | 2.15 |
|
| 1.03 |
| 7.05 | 7.00 | 5.80 | 5.79 |
|
| ||
| ±1.94 | ± |
| ±1.83 |
| |||
| 10 | 6.09 | 1.69 | 5.27 | 1.40 |
|
| |
| 1.00 | 1.04 | 9.04 | 9.09 |
|
| ||
| ±2.16 | ±1.72 |
| ± |
| |||
|
| 5 |
|
| 4.62 | 1.09 | 4.67 | 1.13 |
| 7.04 | 7.25 | 6.97 | 7.06 |
|
| ||
| ±1.45 | ± | 1.99 | ±1.39 | 6.66 | |||
| 10 | 1.44 |
| 1.89 | 8.04 |
| 8.53 | |
| 4.31 | 4.33 |
| 4.24 | 4.12 |
| ||
| ± | ±1.31 | 2.75 | ±1.38 | 2.68 | |||
The best results in each row are emphasized in bold. The emphasized p values in bold indicate that the Mann–Whitney U test with the significance level p=0.05 shows significance against the result without SHX. “—” represents invalid solutions (trapped by local optimum or out of parameter range
Figure 2Convergence curves of all test functions. Each mean-min-max curve has a corresponding shaded area to represent the range of changes over 100 trials with different random seeds.
Figure 3Processing time of different methods with increasing number of generations. The computational time is 0.01 second for a single evaluation.