anytime bi-objective optimization with a hybrid multi...

18
Anytime Bi-Objective Optimization with a Hybrid Multi-Objective CMA-ES (HMO-CMA-ES) COCO/BBOB Workshop GECCO, July 2016 Ilya Loshchilov Research Group Machine Learning for Automated Algorithm Design University of Freiburg, Germany Tobias Glasmachers Institute for Neural Computation Ruhr-University Bochum, Germany Tobias Glasmachers Anytime Bi-Objective Optimization with a Hybrid Multi-Objective CMA-ES 1

Upload: dangnhan

Post on 06-Mar-2018

220 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Anytime Bi-Objective Optimization with a Hybrid Multi ...coco.gforge.inria.fr/presentation-archive/2016-GECCO/03_Tobias... · Anytime Bi-Objective Optimization with a Hybrid Multi-Objective

Anytime Bi-Objective Optimization with a

Hybrid Multi-Objective CMA-ES (HMO-CMA-ES)

COCO/BBOB WorkshopGECCO, July 2016

Ilya LoshchilovResearch Group Machine Learningfor Automated Algorithm DesignUniversity of Freiburg, Germany

Tobias GlasmachersInstitute for Neural ComputationRuhr-University Bochum, Germany

Tobias Glasmachers Anytime Bi-Objective Optimization with a Hybrid Multi-Objective CMA-ES 1

Page 2: Anytime Bi-Objective Optimization with a Hybrid Multi ...coco.gforge.inria.fr/presentation-archive/2016-GECCO/03_Tobias... · Anytime Bi-Objective Optimization with a Hybrid Multi-Objective

Outline

Motivation: Hybrid Algorithm

Algorithm Components

HMO-CMA-ES Algorithm

Results

Conclusion

Tobias Glasmachers Anytime Bi-Objective Optimization with a Hybrid Multi-Objective CMA-ES 2

Page 3: Anytime Bi-Objective Optimization with a Hybrid Multi ...coco.gforge.inria.fr/presentation-archive/2016-GECCO/03_Tobias... · Anytime Bi-Objective Optimization with a Hybrid Multi-Objective

Motivation

Optimization methods have different strengths andweaknesses. There is no single best optimizer for all problems.

This is because problems are diverse and non-trivial optimizersnecessarily have biases.

The situation is no different in multi-objective optimization.

Therefore it is tempting to design a hybrid (master) algorithmapplying different component algorithms to different problems.

Such hybrid algorithms bear the potential to perform well onall problems covered by their algorithm portfolio.

Tobias Glasmachers Anytime Bi-Objective Optimization with a Hybrid Multi-Objective CMA-ES 3

Page 4: Anytime Bi-Objective Optimization with a Hybrid Multi ...coco.gforge.inria.fr/presentation-archive/2016-GECCO/03_Tobias... · Anytime Bi-Objective Optimization with a Hybrid Multi-Objective

Motivation

Methods differ in how and when the components are selectedand executed.

The proposed approach is analogous to H-CMA-ES for singleobjective optimization.

A straightforward strategy it to decide for the best algorithmafter an exploration phase.

Messing up a hard decision can result in bad performance andis therefore fragile. Let’s avoid that.

Tobias Glasmachers Anytime Bi-Objective Optimization with a Hybrid Multi-Objective CMA-ES 4

Page 5: Anytime Bi-Objective Optimization with a Hybrid Multi ...coco.gforge.inria.fr/presentation-archive/2016-GECCO/03_Tobias... · Anytime Bi-Objective Optimization with a Hybrid Multi-Objective

Motivation: Sequential Execution

Observation: not all problems are equally hard. A naturalstrategy is to solve easy problems first.

Say, method A solves some problems in 103 iterations andmethod B solves the remaining problems in 106 iterations.

Strategy: first apply A for 103 iterations, then apply B foranother 106 iterations.

Rationale: No loss on easy problems, only 0.1% loss on hardproblems.

In addition, B may profit from the warm-start.

Tobias Glasmachers Anytime Bi-Objective Optimization with a Hybrid Multi-Objective CMA-ES 5

Page 6: Anytime Bi-Objective Optimization with a Hybrid Multi ...coco.gforge.inria.fr/presentation-archive/2016-GECCO/03_Tobias... · Anytime Bi-Objective Optimization with a Hybrid Multi-Objective

Motivation: Parallel Execution

Now assume that algorithms C and D take roughly the sametime to solve the problems they are specialized in.

Observation: we often get the lion’s share of the performancegain in the initial phase of an optimization run, while towardsthe end we perform fine tuning.

For optimal anytime behavior C and D should be run inparallel.

In out setting this means that they should run interleaved.Each algorithm gets every second fitness evaluation.

We may migrate the best solutions between runs from time totime (island model).

Tobias Glasmachers Anytime Bi-Objective Optimization with a Hybrid Multi-Objective CMA-ES 6

Page 7: Anytime Bi-Objective Optimization with a Hybrid Multi ...coco.gforge.inria.fr/presentation-archive/2016-GECCO/03_Tobias... · Anytime Bi-Objective Optimization with a Hybrid Multi-Objective

Components

HMO-CMA-ES combines the followingestablished techniques:

(MO)-CMA-ES.

Model-based optimization.

Scalarization vs. “proper” multi-objective selection based onthe contributed hypervolume.

Steady-state selection vs. generational selection.

Restarts.

Increasing population size.

Tobias Glasmachers Anytime Bi-Objective Optimization with a Hybrid Multi-Objective CMA-ES 7

Page 8: Anytime Bi-Objective Optimization with a Hybrid Multi ...coco.gforge.inria.fr/presentation-archive/2016-GECCO/03_Tobias... · Anytime Bi-Objective Optimization with a Hybrid Multi-Objective

Components

HMO-CMA-ES relies on the followingalgorithm portfolio:

1 BOBYQA on a scalarized objective functionas a warm start.

2 Steady-state MO-CMA-ES in our version with increasingpopulation size (ss-MO-CMA-ES).

3 Our version of CMA-ES with restarts on different scalarizedobjectives (restart-CMA-ES).

4 Generational MO-CMA-ES in our version with restartsdenoted as IPOP-MO-CMA-ES.

Tobias Glasmachers Anytime Bi-Objective Optimization with a Hybrid Multi-Objective CMA-ES 8

Page 9: Anytime Bi-Objective Optimization with a Hybrid Multi ...coco.gforge.inria.fr/presentation-archive/2016-GECCO/03_Tobias... · Anytime Bi-Objective Optimization with a Hybrid Multi-Objective

The HMO-CMA-ES Algorithm

Phase 1: function evaluations 0 — 10D

Goal: quick approach of the Pareto front, in particular on easyproblems.

Approach: BOBYQA with different linear scalarizationfunctions.

Tobias Glasmachers Anytime Bi-Objective Optimization with a Hybrid Multi-Objective CMA-ES 9

Page 10: Anytime Bi-Objective Optimization with a Hybrid Multi ...coco.gforge.inria.fr/presentation-archive/2016-GECCO/03_Tobias... · Anytime Bi-Objective Optimization with a Hybrid Multi-Objective

The HMO-CMA-ES Algorithm

Phase 2: function evaluations 10D — 1, 000D

Goal: systematic approach of the Pareto front.

Approach: ss-MO-CMA-ES with increasing population sizeand crossover.

Tobias Glasmachers Anytime Bi-Objective Optimization with a Hybrid Multi-Objective CMA-ES 10

Page 11: Anytime Bi-Objective Optimization with a Hybrid Multi ...coco.gforge.inria.fr/presentation-archive/2016-GECCO/03_Tobias... · Anytime Bi-Objective Optimization with a Hybrid Multi-Objective

The HMO-CMA-ES Algorithm

Phase 3: function evaluations 1, 000D — 20, 000D

Goal: keep tuning the front for easy problems, start to exploremulti-modal landscapes.

Approach: ss-MO-CMA-ES with increasing population sizeand crossover (as before), in parallel with scalarized restartCMA-ES. Optima found by CMA-ES are migrated toss-MO-CMA-ES.

Tobias Glasmachers Anytime Bi-Objective Optimization with a Hybrid Multi-Objective CMA-ES 11

Page 12: Anytime Bi-Objective Optimization with a Hybrid Multi ...coco.gforge.inria.fr/presentation-archive/2016-GECCO/03_Tobias... · Anytime Bi-Objective Optimization with a Hybrid Multi-Objective

The HMO-CMA-ES Algorithm

Phase 4: function evaluations 20, 000D — 1, 200, 000D

Goal: solve multi-modal problems, fine-tune hypervolumecoverage.

Approach: keep both previous algorithms running, and launchIPOP-MO-CMA-ES in addition in parallel. Randomizedmigration of individuals to ss-MO-CMA-ES.

Tobias Glasmachers Anytime Bi-Objective Optimization with a Hybrid Multi-Objective CMA-ES 12

Page 13: Anytime Bi-Objective Optimization with a Hybrid Multi ...coco.gforge.inria.fr/presentation-archive/2016-GECCO/03_Tobias... · Anytime Bi-Objective Optimization with a Hybrid Multi-Objective

Results: Overall Performance

0 1 2 3 4 5 6 7 8log10 of (# f-evals / dimension)

0.0

0.2

0.4

0.6

0.8

1.0Pro

port

ion o

f fu

nct

ion+

targ

et

pair

s

5-D

3-D

2-D

10-D

20-Dbbob-biobj - f1-f555 instances

Tobias Glasmachers Anytime Bi-Objective Optimization with a Hybrid Multi-Objective CMA-ES 13

Page 14: Anytime Bi-Objective Optimization with a Hybrid Multi ...coco.gforge.inria.fr/presentation-archive/2016-GECCO/03_Tobias... · Anytime Bi-Objective Optimization with a Hybrid Multi-Objective

Results: Easy Problems

We find that separable, moderate and ill-conditionedproblems are easy for HMO-CMA-ES.

They are often “solved” within 105D iterations.

separable/separable moderate/ill-cond.

0 1 2 3 4 5 6 7 8log10 of (# f-evals / dimension)

0.0

0.2

0.4

0.6

0.8

1.0

Pro

port

ion o

f fu

nct

ion+

targ

et

pair

s

20-D

3-D

2-D

5-D

10-Dbbob-biobj - f1, f2, f115 instances

0 1 2 3 4 5 6 7 8log10 of (# f-evals / dimension)

0.0

0.2

0.4

0.6

0.8

1.0

Pro

port

ion o

f fu

nct

ion+

targ

et

pair

s

2-D

3-D

5-D

10-D

20-Dbbob-biobj - f22, f23, f29, f305 instances

Tobias Glasmachers Anytime Bi-Objective Optimization with a Hybrid Multi-Objective CMA-ES 14

Page 15: Anytime Bi-Objective Optimization with a Hybrid Multi ...coco.gforge.inria.fr/presentation-archive/2016-GECCO/03_Tobias... · Anytime Bi-Objective Optimization with a Hybrid Multi-Objective

Results: Hard Problems

multi-modal and weakly structured problems are harder forHMO-CMA-ES.

They are “solved” after 106D iterations, if at all.

Results for D = 20 are particularly encouraging.

multi-modal/multi-modal multi-modal/weakly structured

0 1 2 3 4 5 6 7 8log10 of (# f-evals / dimension)

0.0

0.2

0.4

0.6

0.8

1.0

Pro

port

ion o

f fu

nct

ion+

targ

et

pair

s

5-D

10-D

2-D

3-D

20-Dbbob-biobj - f48, f49, f51, f525 instances

0 1 2 3 4 5 6 7 8log10 of (# f-evals / dimension)

0.0

0.2

0.4

0.6

0.8

1.0

Pro

port

ion o

f fu

nct

ion+

targ

et

pair

s

5-D

3-D

2-D

10-D

20-Dbbob-biobj - f46, f47, f505 instances

Tobias Glasmachers Anytime Bi-Objective Optimization with a Hybrid Multi-Objective CMA-ES 15

Page 16: Anytime Bi-Objective Optimization with a Hybrid Multi ...coco.gforge.inria.fr/presentation-archive/2016-GECCO/03_Tobias... · Anytime Bi-Objective Optimization with a Hybrid Multi-Objective

Conclusion

We have argued for solving unknown and/or diverse black-boxproblems with hybrid algorithms.

Both sequential and parallel execution have their roles.

We use a mix of techniques: different selection schemes,restarts, increasing population size, and model-basedoptimization as a warm start.

We build on established components with good invarianceproperties, mostly variants of (MO)-CMA-ES. We don’t try toexploit separability.

Tobias Glasmachers Anytime Bi-Objective Optimization with a Hybrid Multi-Objective CMA-ES 16

Page 17: Anytime Bi-Objective Optimization with a Hybrid Multi ...coco.gforge.inria.fr/presentation-archive/2016-GECCO/03_Tobias... · Anytime Bi-Objective Optimization with a Hybrid Multi-Objective

Conclusion

HMO-CMA-ES solves most BBOB problem reasonably well,and many with high precision.

Multi-modal problem still pose the greatest challenge. It ispossible that the incorporation of additional building blockscan help with that.

The exact composition of the portfolio is based on heuristics,and so is the choice of its parameters (population sizes andincrements, details of initialization and warm start, phaselengths, ...).

The resulting HMO-CMA-ES algorithm is somewhat tailoredto BBOB, but we still expect it to perform reasonably welloutside the lab.

HMO-CMA-ES could be further improved with automatedtuning tools like smac.

Tobias Glasmachers Anytime Bi-Objective Optimization with a Hybrid Multi-Objective CMA-ES 17

Page 18: Anytime Bi-Objective Optimization with a Hybrid Multi ...coco.gforge.inria.fr/presentation-archive/2016-GECCO/03_Tobias... · Anytime Bi-Objective Optimization with a Hybrid Multi-Objective

Thank you!

Questions?

Tobias Glasmachers Anytime Bi-Objective Optimization with a Hybrid Multi-Objective CMA-ES 18