MF-EDA: Joining Membership Functions to Adapt the Number of Distributions in Gaussian Estimation-of-Distribution Algorithms
Authors: Jun Zhang, Tong Qian, Hua Ding, Wei-Jie Yu, Xiao-Fang Liu, Jian-Yu Li
Organizations: Hanyang University ERICA, Republic of Korea · Nankai University · Zhejiang Normal University · Chaoyang University of Technology, Taiwan · Nankai University, Tianjin, China · Sun Yat-sen University, Guangzhou, China
An estimation-of-distribution algorithm (EDA) usually samples from one Gaussian, whose peak sits where most selected individuals are. On a landscape with two funnels that is not where the best solutions are: the wider funnel supplies most of the selected individuals, and the deeper funnel, which holds the global optimum, is lost early. This paper builds the search distribution as a neuro-fuzzy system builds a model: from Gaussian membership functions joined by membership degrees. In every generation the proposed MF-EDA searches the principal directions of the selected individuals for the direction along which they are bimodal, describes them on that direction by one or two membership functions according to the Bayesian information criterion and a separation test, joins each membership function to a local Gaussian in the other directions, and samples from the normalised union. A membership function has height one whatever the number of individuals under it, so a detected funnel receives samples according to its width. A two-region selection model shows that sampling shares proportional to the head count, as in a Gaussian mixture, compound the early disadvantage of the deeper funnel, and that the union does not. With one membership function the algorithm is its single-Gaussian baseline; the steps cost no fitness evaluations but make a generation 8 to 17 times slower to compute. On 36 double-funnel settings the component raises the successful runs of a rank-weighted Gaussian EDA from 805 to 1712 of 1800. On the Lunacek double funnel in 30 dimensions it raises that EDA from 4 to 49 and AMaLGaM from 0 to 47 successes in 50 runs, while results on single-funnel functions and on ten multimodal BBOB functions do not change. Restarted CMA-ES remains cheaper in evaluations on the standard double funnel, and the component stops helping when the global funnel is much narrower than the other.
Figures & tables
Fig. 1: Construction of the search distribution on a two-dimensional instance of ( 1 ) (schematic). (a) Selected individuals of an early generation, the deeper funnel ( ⋆ ), the wider funnel ( × ) and the bimodal direction vl∗ found by the search of Section IV-C . (b) Along vl∗ the wider funnel holds most of the selected individuals. A maximum-likelihood mixture (dashed) gives each component a mass equal to its head count. The two normal membership functions (solid) have height one; their normalised union is the sampling density, so the deeper funnel receives a share of the samples that follows its width, not its head count.
δ
μ1
D=10
D=20
D=30
0.25
2.0
7 / 36 †
1 / 49 †
2 / 50 †
0.25
2.5
6 / 43 †
0 / 50 †
1 / 49 †
0.25
3.0
5 / 44 †
5 / 49 †
1 / 50 †
0.5
2.0
20 / 39 †
16 / 48 †
10 / 49 †
0.5
2.5
17 / 45 †
18 / 50 †
16 / 50 †
0.5
3.0
19 / 45 †
18 / 49 †
17 / 50 †
TABLE I: Double-funnel family with depth gap δ and global-funnel position μ1 : runs out of 50 that reached an error of 10−8 within 104D evaluations, CUR-G / MF-EDA. † : the paired signed-rank test on the evaluations to target is significant after Holm correction over the 36 settings.
Function
D
CUR-G
MF-EDA
AMaLGaM
AMaLGaM-MF
CMA-ES
CAMaLGaM-re
G1 (single funnel)
10
50 (12.7)
50 (12.7)
50 (6.8)
50 (6.7)
50 (1.5)
50 (7.7)
20
50 (53.4)
50 (51.3)
50 (26.9)
50 (28.7)
50 (2.8)
50 (31.3)
30
50 (125)
50 (118)
50 (64.0)
50 (60.8)
50 (4.1)
50 (64.9)
50
50 (343)
50 (345)
50 (171)
50 (180)
50 (6.4)
–
G2-L (double; global funnel wider)
10
50 (11.6)
50 (11.7)
50 (6.2)
50 (6.7)
33 (1.5)
50 (7.8)
20
50 (50.2)
50 (49.0)
50 (27.0)
50 (27.7)
34 (2.8)
50 (28.4)
TABLE II: Lunacek G-type funnels, protocol A (no restart): number of runs out of 50 that reached an error of 10−8 and, in parentheses, the median number of evaluations of those runs in thousands. Budget 15000D . A dash means that the algorithm was not run in that cell.
Function
D
CUR-G
MF-EDA
AMaLGaM
AMaLGaM-MF
CMA-ES
CAMaLGaM-re
HillVallEA-u
HillVallEA-f
G1 (single funnel)
10
50 (12.7)
50 (12.7)
50 (6.8)
50 (6.7)
50 (1.5)
50 (7.7)
50 (2.3)
50 (7.7)
20
50 (53.4)
50 (51.3)
50 (26.9)
50 (28.7)
50 (2.8)
50 (31.3)
50 (5.6)
50 (30.4)
30
50 (125)
50 (118)
50 (64.0)
50 (60.8)
50 (4.1)
50 (64.9)
50 (9.1)
50 (61.0)
50
50 (343)
50 (345)
50 (171)
50 (180)
50 (6.4)
–
–
–
G2-L (double; global funnel wider)
10
50 (11.6)
50 (11.7)
50 (6.2)
50 (6.7)
50 (1.5)
50 (7.8)
50 (2.5)
50 (8.4)
20
50 (50.2)
50 (49.0)
50 (27.0)
50 (27.7)
50 (2.9)
50 (28.4)
50 (5.8)
50 (28.9)
TABLE III: Lunacek G-type funnels, protocol B (restart after collapse): number of runs out of 50 that reached an error of 10−8 and, in parentheses, the median number of evaluations of those runs in thousands. Budget 15000D . A dash means that the algorithm was not run in that cell. HillVallEA restarts by itself and is listed only here; -u and -f denote its univariate (default) and full-covariance local optimiser.
Fig. 2: Median best-so-far error over 50 runs against the share of the budget used, on G2-S under protocol A. A curve that ends at D/2 means that the median run finishes in the sub-optimal funnel.
Fig. 3: Traces of 50 runs on G2-S, D=20 (median and quartiles). (a) Share of the selected individuals that are nearer to the deeper funnel. (b) Sampling share of the component on the deeper funnel, in the runs and generations in which two components are open.
Variant
D=10
D=20
D=30
MF-EDA (full)
49 (12.3)
49 (51.6)
49 (117)
(a) sampling shares π^j (head count)
47 (11.8)
45 (49.6)
47 (116)
(b) direction by correlation ratio
45 (12.0)
45 (49.2)
48 (118)
(a) and (b), no separation test
41 (12.4)
35 (50.5)
35 (117)
(c) equal sampling shares
50 (12.0)
49 (48.5)
49 (118)
(d) hard assignment
50 (12.0)
49 (49.6)
49 (114)
TABLE IV: Ablation on G2-S, protocol A: runs out of 50 that reached an error of 10−8 (median evaluations of those runs in thousands). Each variant changes one element of MF-EDA.
G2-S runs
G1 runs
G1 evaluations
G1 two functions (%)
c
10
20
30
10
20
30
10
20
30
10
20
30
0
48
49
49
50
50
50
13.0
51.9
121
21.1
11.5
7.1
1
49
49
49
50
50
50
12.5
52.7
121
9.2
3.5
1.9
2
49
49
49
50
50
50
12.7
51.3
118
3.9
1.1
0.4
3
50
49
49
50
50
50
12.5
53.3
121
1.9
0.3
0.1
4
49
47
48
50
50
50
12.4
51.6
121
0.7
0.1
0.0
TABLE V: Sensitivity to the threshold clnD on the BIC gain (protocol A, 50 runs, seeds not used in development; c=2 is the setting of all other experiments). G2-S: successful runs. G1: successful runs, median evaluations of the successful runs in thousands, and percentage of generations with two membership functions.
budget
D=2
D=5
D=10
D=20
1%
0/10/0 (+3 − 7)
0/10/0 (+7 − 3)
0/10/0 (+7 − 3)
0/10/0 (+7 − 3)
5%
0/10/0 (+5 − 5)
0/10/0 (+5 − 5)
0/10/0 (+7 − 3)
0/10/0 (+7 − 3)
20%
0/10/0 (+7 − 3)
0/10/0 (+4 − 6)
0/10/0 (+6 − 4)
0/10/0 (+7 − 3)
100%
0/10/0 (+6 − 4)
0/10/0 (+5 − 5)
0/10/0 (+4 − 6)
0/10/0 (+6 − 4)
TABLE VI: MF-EDA against CUR-G on BBOB f15 – f24 (15 instances each): win/tie/loss by the rank-sum test on the best-so-far error after Holm correction over the ten functions of a cell, and the uncorrected directions of the rank-sum test ( + : MF-EDA has the smaller mean rank of the error, − : CUR-G has).
G1
G2-S
D
CUR-G
MF-EDA
ratio
CUR-G
MF-EDA
ratio
10
0.069
0.943
13.6
0.056
0.947
17.0
20
0.365
4.51
12.4
0.302
4.24
14.0
30
1.19
12.2
10.2
0.874
11.7
13.4
50
5.32
43.5
8.2
4.47
43.6
9.7
TABLE VII: Computing time: user CPU time per generation in milliseconds (10 runs, one core of an Intel Xeon at 2.1 GHz, gcc -O2, one measurement per cell), including the fitness evaluations, and the ratio MF-EDA / CUR-G.
Fig. 4: Successful runs out of 50 against the width factor s2 of the sub-optimal funnel, D=20 , protocol A (CMA-ES also with restarts). s2=0.87 is G2-S.
University of Freiburg, Freiburg, Germany · FZI Research Center for Information Technology, Karlsruhe, Germany · Karlsruhe Institute of Technology, Karlsruhe, Germany