arXiv:1604.00772v1 [cs.LG] 4 Apr 2016
The CMA Evolution Strategy: A Tutorial
Nikolaus Hansen
Inria
Research centre Saclay–
ˆ
Ile-de-France
Universit´e Paris-Saclay, LRI
Contents
Nomenclature
2
0 Preliminaries 3
0.1 Eigendecomposition of a Positive Definite Matrix . . . . . . . . . . . . . . . 4
0.2 The Multivariate Normal Distribution . . . . . . . . . . . . . . . . . . . . . 5
0.3 Randomized Black Box Optimization . . . . . . . . . . . . . . . . . . . . . 6
0.4 Hessian and Covariance Matrices . . . . . . . . . . . . . . . . . . . . . . . . 7
1 Basic Equation: Sampling 8
2 Selection and Recombination: Moving the Mean 8
3 Adapting the Covariance Matrix 9
3.1 Estimating the Covariance Matrix From Scratch . . . . . . . . . . . . . . . . 10
3.2 Rank-µ-Update . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.3 Rank-One-Update . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.3.1 A Different Viewpoint . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.3.2 Cumulation: Utilizing the Evolution Path . . . . . . . . . . . . . . . 15
3.4 Combining Rank-µ-Update and Cumulation . . . . . . . . . . . . . . . . . . 18
4 Step-Size Control 18
5 Discussion 22
A Algorithm Summary: The CMA-ES 28
B Implementational Concerns 32
B.1 Multivariate normal distribution . . . . . . . . . . . . . . . . . . . . . . . . 32
B.2 Strategy internal numerical effort . . . . . . . . . . . . . . . . . . . . . . . . 32
B.3 Termination criteria . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
B.4 Flat fitness . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
B.5 Boundaries and Constraints . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
C MATLAB Source Code 36
D Reformulation of Learning Parameter c
cov
38
1
评论0
最新资源