IEEE Computational Intelligence Magazine - February 2023 - 92

Algorithm 5. The training process for the DQN
set as 2.4,1.6,16.7,18.2 for 10D, 30D,
50D and 100D problems, respectively.
Input: Training functions f1; .. . ; fL, the maximal number of epochs maxE, the horizon
limit T and the learning rate a
2ÞgL
l ð; w
1Þ; Q2
l ð; w
l ð; w1Þ; Q2
l¼1
1: Randomly Initialize fQ1
2: for l ¼ 1 ! L do
3:
4:
5:
6:
7:
8:
9:
d1
else
10:
11:
12:
13:
14:
15:
16:
17:
t gmaxfQ1
where fstg2 Trl
d1
end
d2
l ðstþ1; w1Þ; Q2
T;
t rtþ1, where rtþ1 2 Trl
w1 w1 arw1kQ1
w2 w2 arw2kQ2
return Q1
l ð; w
2 w2;
1Þ; Q2
t;
//update the parameters of the DQNs
t k2;
t k2;
l ðst; w1Þ d1
l ðst; w2Þ d2
end
end
18: w
19:
20: end
HSES with G1 ¼ 10 m for 51 times and
recording the best function values in
each generation (G1 is the number of
generation assigned to the first univariate
sampling in HSES), i.e., f~fi;k
bestg51
i¼1; k ¼
0; ... ; Gmax, instead of using LSHADEc
in Algorithm 3.
2) DQ-HSES
By embedding the learned DQNs into
HSES, the resultant algorithm is named
as DQN based HSES (dubbed as DQHSES).
DQ-HSES is summarized in
Algorithm 6. In the algorithm, the univariate
sampling is first implemented for
10 generations. The learned DQNs are
used to determine whether switching to
CMA-ES or not (line 4 to 24). The rest
of the algorithm after switching is the
same as HSES. Likewise, the parameter
settings for CMA-ES and univariate
sampling are the same as in HSES.
Line 5-21 show how to use the L
learned DQNs to determine an action
for an optimization function. Here the
concept of 'boosting' [51] is borrowed
from machine learning. The core idea is
to combine several weak agents for a
strong agent. In our study, the L learned
DQNs can be seen as weak agents.
They vote to decide the action.
To implement the boosting mechanism,
Vote0 and Vote1 are used to
respectively record the number of votes
for selecting action 0 and 1 by the
learned DQNs (line 5 to line 15). The
action is selected based on the greatness
of the two values. If they are equal, a
random action is selected.
To avoid over-fitting, the value of
DQNs is set to be zero when a new state
is far from the states ever met in the
training set (line 8). The function
Judgeðst; Trl
T; c; TÞ,summarized
in
Algorithm 7, is used to make this decision.
The Euclidean distance between s
and the states in the training set Trl
T is
firstly computed (line 3). Ifthe minimum
distance is larger than a fixed constant c,
zero returns; otherwise one returns. The
thought behind is that if a new state st is
too far from the states in the training set,
the prediction could be unstable and
implausible since the training data is not
comprehensive. In the experiment, c is
92 IEEE COMPUTATIONAL INTELLIGENCE MAGAZINE | FEBRUARY 2023
1 w1, w
l ð; w
2Þ.
l ðstþ1; w2Þg,
Create T trajectories Trl
for e ¼ 1 ! maxE do
l ð; w2ÞgL
m; 1 m T;
for t ¼ 1 ! T 1 do
//Compute the target
if t ¼¼ T 1 then
t rtþ1, where rtþ1 2 Trl
T;
i¼1
Output: DQNs fQ1
VI. EXPERIMENTAL RESULTS ON
Q-LSHADE
The performance ofQ-LSHADE is first
investigated against its counterpart
LSHADE on the CEC 2018 test suite2
as the benchmark. The test suite contains
29 test functions that can be classified
into four categories: unimodal
functions F1 and F3, multi-modal functions
F4 F10, hybrid functions F11
F20, and composition functions F21
F30. In this section, Q-LSHADE is
tested on 10D test functions and its performance
is compared with LSHADE.
F13 and F16 are taken as the training
functions. The training parameters are
a ¼ 0:005 and maxE ¼ 100; 000. The
other parameters of Q-LSHADE and
LSHADE are the same as in the original
reference [12]. maxNFEs is set to
10,000D. Because Q-learning works
only for MDP with a finite and discrete
state space, the space is divided into
½0; 106, ð106; 105, ð105; 103,
ð103; 101, ð101; 1; ð1; þ1Þ for s1,
and [0,0.1], (0.1,0.25], (0.25,0.4],
(0.4,0.6], (0.6,1.5], ð1:5; þ1Þ for s2.
Table II summarizes the statistics
obtained by Q-LSHADE and LSHADE
on the benchmark functions over 51 runs.
All the statistics in Table II and subsequent
tables are computed based on the error
values (i.e., the difference between the
obtained optimum and the known global
optimum). When the error values are
smaller than or equal to 108,they are
assumedto bezero. TheWilcoxonranksum
hypothesis test between LSHADE
and Q-LSHADE at the 5% significance
level is also listed, where y=x implies that
LSHADE performs significantly better/
worse than Q-LSHADE and
means
that there is no significant difference
between the algorithms. Furthermore,
the value ofBM is listed for recording the
number of functions for which the algorithmobtains
the best mean value.
Table II shows that Q-LSHADE significantly
outperforms LSHADE on four
functions and is worse than it on two
functions. The value ofBM obtained by
2 https://github.com/P-N-Suganthan/CEC2018
https://github.com/P-N-Suganthan/CEC2018

IEEE Computational Intelligence Magazine - February 2023

Table of Contents for the Digital Edition of IEEE Computational Intelligence Magazine - February 2023

Contents
IEEE Computational Intelligence Magazine - February 2023 - Cover1
IEEE Computational Intelligence Magazine - February 2023 - Cover2
IEEE Computational Intelligence Magazine - February 2023 - Contents
IEEE Computational Intelligence Magazine - February 2023 - 2
IEEE Computational Intelligence Magazine - February 2023 - 3
IEEE Computational Intelligence Magazine - February 2023 - 4
IEEE Computational Intelligence Magazine - February 2023 - 5
IEEE Computational Intelligence Magazine - February 2023 - 6
IEEE Computational Intelligence Magazine - February 2023 - 7
IEEE Computational Intelligence Magazine - February 2023 - 8
IEEE Computational Intelligence Magazine - February 2023 - 9
IEEE Computational Intelligence Magazine - February 2023 - 10
IEEE Computational Intelligence Magazine - February 2023 - 11
IEEE Computational Intelligence Magazine - February 2023 - 12
IEEE Computational Intelligence Magazine - February 2023 - 13
IEEE Computational Intelligence Magazine - February 2023 - 14
IEEE Computational Intelligence Magazine - February 2023 - 15
IEEE Computational Intelligence Magazine - February 2023 - 16
IEEE Computational Intelligence Magazine - February 2023 - 17
IEEE Computational Intelligence Magazine - February 2023 - 18
IEEE Computational Intelligence Magazine - February 2023 - 19
IEEE Computational Intelligence Magazine - February 2023 - 20
IEEE Computational Intelligence Magazine - February 2023 - 21
IEEE Computational Intelligence Magazine - February 2023 - 22
IEEE Computational Intelligence Magazine - February 2023 - 23
IEEE Computational Intelligence Magazine - February 2023 - 24
IEEE Computational Intelligence Magazine - February 2023 - 25
IEEE Computational Intelligence Magazine - February 2023 - 26
IEEE Computational Intelligence Magazine - February 2023 - 27
IEEE Computational Intelligence Magazine - February 2023 - 28
IEEE Computational Intelligence Magazine - February 2023 - 29
IEEE Computational Intelligence Magazine - February 2023 - 30
IEEE Computational Intelligence Magazine - February 2023 - 31
IEEE Computational Intelligence Magazine - February 2023 - 32
IEEE Computational Intelligence Magazine - February 2023 - 33
IEEE Computational Intelligence Magazine - February 2023 - 34
IEEE Computational Intelligence Magazine - February 2023 - 35
IEEE Computational Intelligence Magazine - February 2023 - 36
IEEE Computational Intelligence Magazine - February 2023 - 37
IEEE Computational Intelligence Magazine - February 2023 - 38
IEEE Computational Intelligence Magazine - February 2023 - 39
IEEE Computational Intelligence Magazine - February 2023 - 40
IEEE Computational Intelligence Magazine - February 2023 - 41
IEEE Computational Intelligence Magazine - February 2023 - 42
IEEE Computational Intelligence Magazine - February 2023 - 43
IEEE Computational Intelligence Magazine - February 2023 - 44
IEEE Computational Intelligence Magazine - February 2023 - 45
IEEE Computational Intelligence Magazine - February 2023 - 46
IEEE Computational Intelligence Magazine - February 2023 - 47
IEEE Computational Intelligence Magazine - February 2023 - 48
IEEE Computational Intelligence Magazine - February 2023 - 49
IEEE Computational Intelligence Magazine - February 2023 - 50
IEEE Computational Intelligence Magazine - February 2023 - 51
IEEE Computational Intelligence Magazine - February 2023 - 52
IEEE Computational Intelligence Magazine - February 2023 - 53
IEEE Computational Intelligence Magazine - February 2023 - 54
IEEE Computational Intelligence Magazine - February 2023 - 55
IEEE Computational Intelligence Magazine - February 2023 - 56
IEEE Computational Intelligence Magazine - February 2023 - 57
IEEE Computational Intelligence Magazine - February 2023 - 58
IEEE Computational Intelligence Magazine - February 2023 - 59
IEEE Computational Intelligence Magazine - February 2023 - 60
IEEE Computational Intelligence Magazine - February 2023 - 61
IEEE Computational Intelligence Magazine - February 2023 - 62
IEEE Computational Intelligence Magazine - February 2023 - 63
IEEE Computational Intelligence Magazine - February 2023 - 64
IEEE Computational Intelligence Magazine - February 2023 - 65
IEEE Computational Intelligence Magazine - February 2023 - 66
IEEE Computational Intelligence Magazine - February 2023 - 67
IEEE Computational Intelligence Magazine - February 2023 - 68
IEEE Computational Intelligence Magazine - February 2023 - 69
IEEE Computational Intelligence Magazine - February 2023 - 70
IEEE Computational Intelligence Magazine - February 2023 - 71
IEEE Computational Intelligence Magazine - February 2023 - 72
IEEE Computational Intelligence Magazine - February 2023 - 73
IEEE Computational Intelligence Magazine - February 2023 - 74
IEEE Computational Intelligence Magazine - February 2023 - 75
IEEE Computational Intelligence Magazine - February 2023 - 76
IEEE Computational Intelligence Magazine - February 2023 - 77
IEEE Computational Intelligence Magazine - February 2023 - 78
IEEE Computational Intelligence Magazine - February 2023 - 79
IEEE Computational Intelligence Magazine - February 2023 - 80
IEEE Computational Intelligence Magazine - February 2023 - 81
IEEE Computational Intelligence Magazine - February 2023 - 82
IEEE Computational Intelligence Magazine - February 2023 - 83
IEEE Computational Intelligence Magazine - February 2023 - 84
IEEE Computational Intelligence Magazine - February 2023 - 85
IEEE Computational Intelligence Magazine - February 2023 - 86
IEEE Computational Intelligence Magazine - February 2023 - 87
IEEE Computational Intelligence Magazine - February 2023 - 88
IEEE Computational Intelligence Magazine - February 2023 - 89
IEEE Computational Intelligence Magazine - February 2023 - 90
IEEE Computational Intelligence Magazine - February 2023 - 91
IEEE Computational Intelligence Magazine - February 2023 - 92
IEEE Computational Intelligence Magazine - February 2023 - 93
IEEE Computational Intelligence Magazine - February 2023 - 94
IEEE Computational Intelligence Magazine - February 2023 - 95
IEEE Computational Intelligence Magazine - February 2023 - 96
IEEE Computational Intelligence Magazine - February 2023 - 97
IEEE Computational Intelligence Magazine - February 2023 - 98
IEEE Computational Intelligence Magazine - February 2023 - 99
IEEE Computational Intelligence Magazine - February 2023 - 100
IEEE Computational Intelligence Magazine - February 2023 - 101
IEEE Computational Intelligence Magazine - February 2023 - 102
IEEE Computational Intelligence Magazine - February 2023 - 103
IEEE Computational Intelligence Magazine - February 2023 - 104
IEEE Computational Intelligence Magazine - February 2023 - Cover3
IEEE Computational Intelligence Magazine - February 2023 - Cover4
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202311
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202308
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202305
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202302
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202211
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202208
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202205
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202202
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202111
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202108
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202105
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202102
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202011
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202008
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202005
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_202002
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201911
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201908
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201905
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201902
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201811
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201808
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201805
https://www.nxtbook.com/nxtbooks/ieee/computationalintelligence_201802
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_winter17
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_fall17
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_summer17
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_spring17
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_winter16
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_fall16
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_summer16
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_spring16
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_winter15
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_fall15
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_summer15
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_spring15
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_winter14
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_fall14
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_summer14
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_spring14
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_winter13
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_fall13
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_summer13
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_spring13
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_winter12
https://www.nxtbook.com/nxtbooks/ieee/computational_intelligence_fall12
https://www.nxtbookmedia.com