IEEE Computational Intelligence Magazine - February 2023 - 87

direction in the gradient descent algorithm
by using a recurrent neural network
called long short-term memory
(LSTM) [41]. Wang et al. [42] used
LSTM to learn the hyper-parameters of
the commonly used training algorithm
ADAM [43], and Chen et al. [44] used
RNN to decide promising iterates for
derivative-free problems. Li et al. [15]
used RL to learn to optimize continuous
optimization problems.
The application oflearning-to-optimize
is still in its infancy. Sharma et al.
proposed using deep Q-learning to
adaptively select operators from a pool
of mutation operators in a hybrid DE
[45]. In preliminary work for this paper
[8], Q-learning was used to tune the
switching time of HSES. This along
with prevalent studies show that learning-to-optimize
can be advantageous
for the successful application of EAs in
the following ways: First, it can realize
the automatic tuning/control of the
structural parameters to not only significantly
reduce the amount of computational
resources required for tuning, but
also to improve the efficiency of tuning/control.
Second, it can inspire the
learning ofnew EAs.
C. Markov Decision Process and
Reinforcement Learning
Reinforcement learning (RL) is a key
technology in Artificial Intelligence. It
has been applied to solve different control
tasks, such as the game ofGO [46], Atari
games [47], and robot control [48]. It can
be modeled as a Markov decision process
(MDP) [49], which is defined by the
tuple ðS; A; m0;p; r; p; TÞ,where S
RD denotes the state space, A Rd the
action space, m0 the initial distribution of
the state, r 2 R the reward, and T the
time horizon. D (resp., d) is the number
of dimensions of the state space (resp.,
action space), and is problem dependent.
At each time step t, st 2S and at 2A are
the current state and the action,
HSES [17] is the winner algorithm in the CEC 2018
competition, in which univariate sampling and CMA-ES
are applied sequentially. ... In the following
discussion, how to control the switching time by
applying the proposed framework is presented.
respectively. The policy is then defined
as: p : SA! R,where pðatjst; uÞ is
the probability of choosing action at
when observing st with u as the parameter.
pðstþ1jat; stÞ is the transition
probability.
Figure 1 shows a finite-horizonMDP.
Starting from an initial state s0,an action
a0 is taken based on the policy pða0js0; uÞ.
s1 is observed according to the transition
probability pðs1ja0; s0Þ,and a reward r1 is
obtained. This procedure is repeated until
the horizon limit T is reached. The set
fs0; a0; r1; .. . ; aT1; rT; sTg is called a
trajectory.
The aim ofRL is to find an optimal
policy p such that the expectation of
the cumulative reward, i.e., RðtÞ¼
½
PT1
t¼0 gtrtþ1, is maximized, where g is
a constant that controls the time decay.
Many RL methods have been developed
to handle different environments, such
as Q-learning for discrete action and
state space, deep Q-Learning (DQL) for
discrete action and continuous state
space, and the policy gradient for continuous
action and state space [16]. Note
that Q-learning is applicable only to discrete
state spaces. Deep Q-learning
(DQL) has been proposed to deal with a
continuous state space [47]. A deep neural
network is applied to regress the discrete
state into a continuous one. The
details of Q-learning and DQL have
been provided in Supplementary Materials.
III. THE FRAMEWORK
A sequential hybrid EA is composed of
various EA phases. Each EA phase is
equipped with some computational
budgets. The timing to switch from one
EA phase to another is important to a
hybrid EA's performance. The switching
time can be considered as a structural
parameter. This paper focuses on hybrid
EAs with two EA phases and presents a
general framework in which an intelligent
agent is employed to control the
switching time.
The proposed framework is summarized
in Algorithm 1. First, new solutions
are generated by using the first EA (i.e.,
EA1ðÞ)where Q is the number offitness
evaluations used for implementing
EA1ðÞ. That is, the algorithm judges
whether to switch after every Q evaluations.
At each time t, G takes the current
population and the algorithmic parameters
Gt1 as input.1 It outputs newpopulationXt
and its function values Ft. Second,
information collected so far by function
Collect() (line 7) is summarized by function
RepresentðÞ (line 8) to obtain the
current state st. At last, the action at is
taken based on the learned network
Qðst; a; wÞ in line 9 (or Q-table Qðst; aÞ),
where a represents the action which takes
value from its domain A.In this paper
A¼f0; 1g. Depending on at,the search
process decides whether to switch from
EA1 to EA2 or not (line 11 to 14). If
switching happens, EA2 will be implemented
with left computing resources
maxNFEs tQ where maxNFEs is the
maximum number of fitness evaluation
for this hybrid algorithm. Thus T is
always set smaller than bmaxNFEs
Q c, so that
guaranteeing some computing resources
left for EA2. Notice that a DQN
Qðst; at; wÞ is used in Algorithm 1 to
represent knowledge. Substituting
Qðst; at; wÞ with a Q-table Qðst; atÞ can
obtain a framework based onQ-learning.
FIGURE 1 Illustration of a finite-horizon Markov decision process.
1Gt can be either time-invariant or variant. Timevariant
parameters might be updated by some
adaptive schemes, but not by Q-learning.
FEBRUARY 2023 | IEEE COMPUTATIONAL INTELLIGENCE MAGAZINE 87

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