IEEE Computational Intelligence Magazine - February 2023 - 89

where NFEs is the number of fitness
evaluations used by the algorithm, Gmax
is the number of generation conducted
in NFEs, f~fk
bestgGmax
k¼0
where N is the initial population size,
and bxc means the greatest integer less
than or equal to x. For t ¼f1; 2; 3; 4g,
is the union set of
the best solutions found in each generation,
and Gt is the algorithmic parameter
including the means of F and CR, H
and p. The form of LSHADEf is the
same as LSHADEo.
Further the LSHADE with HPSS is
named as LSHADEc, which is the combination
of LSHADEf and LSHADEo
and it has the similar form:
½Xt; f~fk
bestgGmax
k¼0 ; Gt¼
LSHADEcðXt1;f; NFEs; Gt1; nfessÞ;
where nfess
is the number of fitness
evaluations assigned for LSHADEf.
By applying the proposed framework,
the resultant algorithm is named
as Q-LSHADE and summarized in
Algorithm 2. In Algorithm 2, LSHADE
with fixed population size (i.e.,
LSHADEf) is carried out for 0:2
maxNFEs (line 5). The best function
valuefbest is updated afterwards (line 6).
The state is then computed according to
the obtained best solutions found in
each generation (line 7). The agent,
which is a Q-table, is used to output an
action (line 11) to decide whether to use
LPSR or not. In case at ¼ 1, LSHADEo
is run for ð1 0:2tÞ maxNFEs. Otherwise,
LSHADEf is run for another 0:2
maxNFEs. Here T is the horizon limit
which is set to be 4.
C. Training the Agent
The evolution process of Q-LSHADE
is modeled as an MDP and the Q-learning
algorithm is used to train the agent.
In the following, the MDP components
for Q-LSHADE are presented, including
state, action, transition probability
and reward. fk
best represents the minimum
function value obtained up to the
k-th generation.
State: st is a concatenation of s1
s2
t , i.e., st ¼½s1
t ; s2
follows. Denote
gt ¼
0:2 t maxNFEs
N
t and
t, which are defined as
þ 1
s1
t ¼
¼
where s1
t
log fgt50
best
log f0
log fgt
log fgt50
best
log f0
best
best log fgt
best
is used to measure the difference
between the best function values
in adjacent 50 generations; s2
t measures
the descent rate from the first population.
Eq (3) realizes the Represent ()
function in line 7 ofAlgorithm 2.
Action: The action space A is
f0; 1g. That is, the agent can either
choose to implement LPSR (at ¼ 1) or
not (at ¼ 0) at the t-th time step.
Transition Probability: Given a
horizon limit T,when t < T 1and
at ¼ 0, the next state stþ1 is defined as
above. However, in case at some t < T,
at ¼ 1, and t ¼ T 1; at ¼ 0, stþ1 will
be the " terminal state " since in both cases
Q-LSHADE will implement the LPSR:
t < T, at ¼ 1 implies Q-LSHADE
Algorithm 2. Pseudo Code of Q-LSHADE
Input: Initial parameters G0, the maximum number of fitness evaluation maxNFEs,
objective function f and the agent Q
Output: fbest
1: Set fbest þ1, a0 0;
2: Initialize population X0 ¼fx0
½Xt; f~fk
bestgGmax
i ; 1 i Ng randomly;
3: Set G LSHADEf; Initialize G0;
4: for t ¼ 1 ! T do
5:
6:
fbest minffbest; fðXt
8:
9:
7: st Representðflog ð~fk
if Qðst; 0Þ¼¼ Qðst; 1Þ then
Take action at randomly;
10: else
11:
12: end
13: if at ¼¼ 1or t ¼¼ T then
14: G LSHADEo;
15:
Exit;
16: else
17: G LSHADEf;
18: end
19: end
20: ½Xf; f~fk
bestgGmax
k¼0 ; Gt GðXt1; f; 0:2 maxNFEs; Gt1Þ;
i Þ; 1 i Ng;
bestÞgGmax
k¼0 Þ;
best
; s2
t
(3)
implements LPSR at t-th time step. t ¼
T 1; at ¼ 0 implies that Q-LSHADE
does not implement LPSR at t ¼ T 1.
However, thetimehorizon is setas T,
which implies Q-LSHADE implements
LPSR at t ¼ T. Thus t ¼ T 1; at ¼ 0
impliesQ-LSHADEusesLPSRat t ¼ T.
Reward: The agent will have no
effect on the search after terminal state.
If stþ1 is a terminal state, the following
cases are considered.
❏ If t ¼ T 1 and at ¼ 0, the reward
rtþ1 will be the negative logarithm
of the minimum function value
found by LSHADEc
with nfess ¼
0:2 T maxNFEs.
❏ If t < T and at ¼ 1, reward rtþ1 will
be the negative logarithm ofthe minimum
function value found by
LSHADEc
with
nfess ¼ 0:2 t
maxNFEs.
If stþ1 is not a terminal state, the
reward is set zero since the algorithm's
performance is not observed before terminal
state.
The training process is summarized
in Algorithm 3. In the algorithm, to
handle the scale problem (i.e., different
at arg maxa2f0;1gfQðst; aÞg;
k¼0 ; Gtþ1 GðXt; f; ð1 0:2tÞmaxNFEs; GtÞ;
21: return fbest ¼ minffbest; ffðxiÞ;xi 2 Xfgg.
FEBRUARY 2023 | IEEE COMPUTATIONAL INTELLIGENCE MAGAZINE 89

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