Visual Guide of F and CR Parameters Influence ON Differential Evolution Solution Quality
Visual Guide of F and CR Parameters Influence ON Differential Evolution Solution Quality
M. Červenka *, H. Boudná**,
Abstract: Choice of configuration parameters of an evolutionary algorithm is not straightforward. This con-
tribution studies impact of two Differential Evolution configuration parameters - the mutation factor F and
the crossover rate CR - on the actual solution quality the optimisation process can yield. A subset of visual
maps displaying this relationship for ten variants of Differential Evolution benchmarked on six standard test
functions is presented.
1. Introduction
The Differential Evolution (DE) as proposed by (Storn & Price, 1997) is a powerful optimisation tech-
nique designed for global optimisation. It can be used as a general optimiser yet its qualities emerge in
assignments where conventional optimisation techniques fail. DE does not explicitly rely on gradient of the
optimised problem, it works with multiple agents collaborating in a direct-search manner, treating the opti-
misation problem as a black-box, which merely emits a measure of fitness for candidate solutions. DE then
creates new candidate solutions by combining solutions according a variant-specific chain of rules from its
current set of agents (population), accepting new solutions in case of fitness improvement.
The main advantage of DE lies with its conceptual simplicity, ease of use and low number of control
parameters. However, like any other evolutionary algorithm, the success of DE is also very sensitive on
setting of its control parameters. There are three DE’s control parameters: (1) the population size N P , (2)
the mutation factor F (a real-value factor that controls amplification of differential variations) and (3) the
crossover factor CR (also a real value, controlling the crossover operation).
2. DE control parameters
One of the main problems in evolution strategies of DE is to choose controls parameters such that they
stimulate good behaviour – i.e. the algorithm does not prematurely converge to a point that is not globally
optimal or stagnate and has an acceptable rate of convergence towards the global optimum. Premature
convergence may occur under different situations: the population has converged to local optimum of the
objective function or the population has lost its diversity or the search algorithm proceeds slowly or does
not proceed at all. It has been observed that DE sometimes stops proceeding towards a global optimum and
stagnation occurs. Stagnation may occur under various situations: the population has not converged to a
local optimum or any other point or the population is still retaining some diversity and occasionally even
of new individuals enter or are injected into the population. Then the search algorithm does not proceed
towards any better solution.
For successuful run of DE, proper choice of control parameters is crucial. Best configuration depends on the
problem in hand and limitation of computation time and accuracy ((Liu & Lampinen, 2002)). As discussed
*
Ing. Miroslav Červenka, Ph.D.: Institute of Aerospace Engineering, Faculty of Mechanical Engineering, Brno University of
Technology, Technická 2896/2, 616 69 Brno; CZ, [email protected]
**
Ing. Hana Boudná: Department of Active Safety Systems, Airborne Instruments Ltd., Cambridge; UK
142 Engineering Mechanics 2018, Svratka, Czech Republic, May 14 –17, 2018
in (Storn & Price, 1997), selection of DE’s control parameters is not easy there is no simple rule of thumb
for choosing a good ones. On the other hand, it is also reported that choosing proper control parameters
for DE can be mode difficult than expected. It is important to select optimal parameters for each problem
separately and carefully to avoid premature convergence or even stagnation. (Brest et al., 2006) assessed the
selection of control parameters and reported that efficiency and robustness of DE are much more sensitive
to setting of mutation factor F and crossover ration CR than to the value of population size NP. (Zaharie,
2007) discussed the relationship between control parameters of DE and the evolution of population variance
and reported critical interval for control parameters of DE. (Teo, 2005) proposed a method of self adapting
population size in addition to self adapting mutation and crossover factor. There are also other papers
indicating that the self adaptation and self evolution in DE stand for an interesting issue to look onto (Teo,
2005). Some other attempts to DE control parameters adaptation are summarized by (Liu & Lampinen,
2002).
Run of DE (and evolutionary algorithms in general) is indeed a dynamic and adaptive process. Usage
of rigid parameters that do not change their values is thus in contrast to this spirit. Additionally, it is
intuitively obvious, and it has been empirically and theoretically demonstrated, that different values of
control parameters might be optimal at different stages of the evolutionary process. Therefore (Eiben et al.,
1999) claim that use of static configuration does not bring any benefits to the optimisation process.
Even though using fixed configuration parameters for DE optimisation might look obsolete, intention of our
paper is to look visually on the influence of mutation factor F and crossover factor CR on overall quality of
final solution.
3. The experiments
3.1. Experiments settings
For a thorough exploration we used the following configuration of DE: N P = 400, generations = 200,
minDiv = 0 (every run of DE is forced to perform 200 generations). Over the solution quality plot we
laid a mesh of F and CR parameters in the range F ∈< 0; 0.05; 2 > and CR ∈< 0; 0.05; 1 > resulting
in 861 F -CR combinations, where every setting was evaluated 100 times. The presented experiment is
a compillation if 6 × 10 × 861 × 100 = 5.166.000 DE optimisations with total of 413.280.000.000 cost
function evaluations.
4. Conclusions
The aim of this work was to create maps visualising the relationship between the DE’s configuration param-
eters F , CR and the solution quality. Presented maps show dependency of final solution quality not only
on the DE’s configuration parameters, but also on DE variant and mainly on particular optimised function.
There are some similarities betweeen the maps for various cost functions and DE variants, but no solid
association can be determined. Nonetheless, it is obvious the generally recommended values of F , CR are
not very useful. Every particular problem needs to have these values mapped to find the ones giving best
performance and result every or most of the time.
144 Engineering Mechanics 2018, Svratka, Czech Republic, May 14 –17, 2018
Fig. 1: DE solution quality as a function of F and CR control parameters. Note how much the areas of best
restults differs between different variants of DE and given cost functions. Darker colour represents better
solutions yielded for particular pair of (F , CR). White crosshair indicates best set of (F , CR) for specified
experiment configuration.
The targeted outcome and the main reason for this preparative work is to define, design and validate a
tool for efficient optimisation for acoustic emmision sensors placement on a wing which is currently being
designed at the department with cooperation with external partners.
Acknowledgements
This research has been financially supported by the ESIF, EU Operational Programme Research, Devel-
opment and Education as the research project Center of Advanced Aerospace Technology (Reg. No.:
CZ.02.1.01/0.0/0.0/16 019/0000826) at the Faculty of Mechanical Engineering, Brno University of Tech-
nology.
References
Ali, M. M., Törn, A. (2004), Population Set-Based Global Optimization Algorithms: Some Modifications and Numer-
ical Studies In: Computers & Operation Research 31, pp 1703-1725.
Babu, B. V., Jehan, M. M. L. (2003), Differential Evolution for Multi-Objective Optimization In: Proc. of the 2003
Congress on Evolutionary Computation (CEC’2003), Vol. 4, pp 2696-2703.
Brest, J.,Zumer, V., Maucec, M. S. (2006), Self-Adaptive Differential Evolution Algorithm in Constrained Real-
Parameter Optimization In: Proc. of the 2006 IEEE Congress on Evolutionary Computation, pp 215-222.
Eiben, A. E.,Hinterding, R., Michalewicz, Z. (1999), Parameter Control in Evolutionary Algorithms In: Proc. of
IEEE-EC, pp 124-141.
Liu, J., Lampinen, J. (2002), On the Setting of Control Parameter of the Differential Evolution Method In: Proc. of
MENDEL, pp 11-18.
Storn, R., Price, K. (1997), Differential Evolution – A Simple and Efficient Heuristic for global Optimization over
Continuous Spaces In: Journal of Global Optimization, pp 341-359.
Teo, J. (2005), Differential Evolution with Self-adaptive Populations In: KES, Lecture Notes in Computer Science,
Vol. 3681, pp 1284-1290.
Zaharie, D. (2007), A Comparative Analysis of Crossover Variants in Differential Evolution In: Proc. of the Interna-
tional Multiconference on Computer Science and Information Technology, pp 171-181.