lecture 9: multi-objective - purdue engineeringsudhoff/ee630/lecture0… ·  · 2007-06-13lecture...

50
Lecture 9: Multi-Objective Optimization Suggested reading: K. Deb, Multi-Objective Optimization using Evolutionary Algorithms, John Wiley & Sons, Inc., 2001

Upload: vothu

Post on 14-Mar-2018

219 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

Lecture 9:Multi-Objective Optimization

Suggested reading: K. Deb, Multi-Objective Optimization using Evolutionary Algorithms, John Wiley & Sons, Inc., 2001

Page 2: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

2

Involve more than one objective function that are to be minimized or maximizedAnswer is set of solutions that define the best tradeoff between competing objectives

Multi-Objective Optimization Problems (MOOP)

Page 3: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

3

General Form of MOOP

Mathematically

nixxx

Kkh

JjgMmf

Uii

Li

k

j

m

,,2 ,1 ,

,,2 ,1 ,0)(

,,2 ,1 ,0)( subject to,,2 ,1 ),( min/max

)()( L

L

L

L

=≤≤

==

=≥=

x

xx

lowerbound

upperbound

Page 4: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

4

In the single-objective optimization problem, the superiority of a solution over other solutions is easily determined by comparing their objective function valuesIn multi-objective optimization problem, the goodness of a solution is determined by the dominance

Dominance

Page 5: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

5

Definition of Dominance

Dominance Test x1 dominates x2, if

Solution x1 is no worse than x2 in all objectivesSolution x1 is strictly better than x2 in at least one objective

x1 dominates x2 x2 is dominated by x1

Page 6: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

6

1 Vs 2: 1 dominates 21 Vs 5: 5 dominates 1 1 Vs 4: Neither solution dominates

Example Dominance Testf2

(minimize)

f1 (maximize)

1

2

3

4

5

Page 7: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

7

Non-dominated solution setGiven a set of solutions, the non-dominated solution set is a set of all the solutions that are not dominated by any member of the solution set

The non-dominated set of the entire feasible decision space is called the Pareto-optimal setThe boundary defined by the set of all point mapped from the Pareto optimal set is called the Pareto-optimal front

Pareto Optimal Solution

Page 8: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

8

Graphical Depiction of Pareto Optimal Solution

feasible

objective

space

f1(x)(minimize)

f2(x)(minimize)x2

x1

feasible

decision

space Pareto-optimal frontB

C

Pareto-optimal solutions

A

feasible

objective

space

feasible

objective

space

f1(x)(minimize)

f2(x)(minimize)x2

x1

feasible

decision

space

x2

x1

feasible

decision

space Pareto-optimal frontPareto-optimal frontBBB

CCC

Pareto-optimal solutionsPareto-optimal solutions

AA

Page 9: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

9

Goals in MOO

Find set of solutions as close as possible to Pareto-optimal frontTo find a set of solutions as diverse as possible

feasible

objective

space

f1(x)

f2(x)

Pareto-optimal front

1

2

Page 10: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

Classic MOO Methods

Page 11: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

11

Weighted Sum MethodScalarize a set of objectives into a single objective by adding each objective pre-multiplied by a user-supplied weight

Weight of an objective is chosen in proportion to the relative importance of the objective

nixxx

Kkh

Jjg

fwF

Uii

Li

k

j

M

m mm

,,2,1,

,,2,1,0)(

,,2,1,0)(

,)(

)()(

1

L

L

L

tosubject

)( minimize

=≤≤

==

=≥

=∑ =

x

x

xx

Page 12: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

12

Advantage Simple

Disadvantage It is difficult to set the weight vectors to obtain a Pareto-optimal solution in a desired region in the objective spaceIt cannot find certain Pareto-optimal solutions in the case of a nonconvex objective space

Weighted Sum Method

Page 13: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

13

Weighted Sum Method (Convex Case)

f1

f2

w2

w1

Pareto-optimal front

Feasible objective space

Page 14: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

14

Weighted Sum Method(Non-Convex Case)

f1

f2

Pareto-optimal front

Feasible objective space

Page 15: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

15

ε-Constraint MethodHaimes et. al. 1971Keep just one of the objective and restricting the rest of the objectives within user-specific values

nixxx

Kkh

JjgmMmf

f

Uii

Li

k

j

mm

,,2,1,

,,2,1,0)(

,,2,1,0)(and,,2,1,)(

),(

)()( L

L

L

L

tosubject

minimize

=≤≤

==

=≥≠=≤

x

xxx

μεμ

Page 16: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

16

ε-Constraint MethodKeep f2 as an objective Minimize f2(x)

Treat f1 as a constraint f1(x) ≤ ε1

f1

f2Feasible objective space

ε1a ε1b

ab

f1

f2Feasible objective space

ε1aε1a ε1bε1b

aabb

Page 17: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

17

Advantage Applicable to either convex or non-convex problems

DisadvantageThe ε vector has to be chosen carefully so that it is within the minimum or maximum values of the individual objective function

ε-Constraint Method

Page 18: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

18

Weighted Metric MethodCombine multiple objectives using the weighted distance metric of any solution from the ideal solution z*

nixxx

Kkh

Jjg

zfwl

Uii

Li

k

j

pM

m

p

mmm

,,2,1,

,,2,1,0)(

,,2,1,0)(

,)(

)()(

/1

1*

L

L

L

tosubject

)( minimize p

=≤≤

==

=≥

⎟⎠⎞⎜

⎝⎛ −= ∑ =

x

x

xx

Page 19: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

19

Weighted Metric Method

f1

f2

z*

aa

bb

p=1

(Weighted sum approach)

f1

f2

z*

a

b

p=2

Page 20: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

20

Weighted Metric Method

f1

f2

z*

a

b

p=∞

(Weighted Tchebycheff problem)

Page 21: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

21

AdvantageWeighted Tchebycheff metric guarantees finding all Pareto-optimal solution with ideal solution z*

Disadvantage Requires knowledge of minimum and maximum objective valuesRequires z* which can be found by independently optimizing each objective functionsFor small p, not all Pareto-optimal solutions are obtainedAs p increases, the problem becomes non-differentiable

Weighted Metric Method

Page 22: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

Multi-Objective Genetic Algorithms

Page 23: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

23

Advantages of GAs over Traditional Methods

Our desired answer: a set of solutions

Traditional optimization methods operate on acandidate solution

Genetic algorithms fundamentally operate on a set of candidate solutions

Page 24: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

24

Multi-Objective EAs (MOEAs)

There are several different multi-objective evolutionary algorithmsDepending on the usage of elitism, there are two types of multi-objective EAs

Page 25: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

25

Multi-Objective MOEAs

Non-Elitist MOEAs

Vector evaluated GAVector optimized ESWeight based GARandom weighted GAMultiple-objective GANon-dominated Sorting GANiched Pareto GA

Elitist MOEAs

Elitist Non-dominated Sorting GADistance-based Pareto GAStrength Pareto GAPareto-archived ES

Page 26: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

26

Identifying the Non-Dominated Set

Critical Step in Elitist StrategiesKung’s et. al. Method

Computational the most efficient method knownRecursive

Page 27: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

27

Kung’s et. al. Method: Step 1

Step 1: Sort population in descending order of importance of the first objective function and name population as PStep 2: Call recursive function Front(P)

Page 28: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

28

Front(P)IF |P| = 1,Return P

ELSET = Front ( P(1: [ |P|/2 ]) )B = Front ( P( [ |P|/2 + 1 ] : |P|) )IF the i-th non-dominated solution of B is not dominated by any non-dominated solution of T, M=T ∪{i}

Return MEND

END

Page 29: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

29

Notes on Front (P)

|•| is the number of the elementsP( a : b ) means all the elements of P from index a to b,[•] is an operator gives the nearest smaller integer value

Page 30: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

30

Example of Kung’s Method

f1 (min)

f2

(min)

a b c d

e f g

h

f1 (min)

f2

(min)

a b c d

e f g

h

Page 31: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

31

Example of Kung’s Method

abecfhdg

abecfhdg

recursively call the function ‘front’Step 1

abecfhdg

Step 2

a ab be ec cf fh hd dg g

a ab be ec cf fh hd dg g

a

f, h

e

d, ga, e, h

f, h

a, e

front returns M as output

T

B

T

T

B

BB

B

B

BT

T

T

T

a, b, e,c, f, hd, g

a, b,e, c

f, h,d, g

a,b

e,c

f, h

d, g

Page 32: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

32

Elitist MOEAs

Elite-preserving operator carries elites of a population to the next generationRudolph(1996) proved GAs converge to the global optimal solution of some functions in the presence of elitismElitist MOEAs two methods are often used

Elitist Non-dominated Sorting GA (NSGA II)Strength Pareto EA

* Reference: G. Rudolph, Convergence of evolutionary algorithms in general search spaces, In Proceedings of the Third IEEE conference of Evolutionary Computation, 1996, p.50-54

Page 33: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

33

Elitist Non-Dominated Sorting GA(Deb et al., 2000)

Use an explicit diversity-preserving strategy together with an elite-preservation strategy

Page 34: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

34

Elitist Non-Dominated Sorting GA

Non-Dominated SortingClassify the solutions into a number of mutually exclusive equivalent non-dominated sets

1==

j jFF

F2F1

F3

(min) f1

(min) f2

Page 35: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

35

Elitist Non-Dominated Sorting GA

Determine Crowding DistanceDenotes half of the perimeter of the enclosing cuboid with the nearest neighboring solutions in the same front

Cuboid(min) f2

(min) f1

i

Page 36: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

36

Elitist Non-Dominated Sorting GA

Crowding tournament selectionAssume that every solution has a non-domination rank and a local crowding distanceA solution i wins a tournament with another solution j1. if the solution i has a better rank

2. They have the same rank but solution i has a better crowing distance than solution j

Page 37: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

37

Elitist Non-Dominated Sorting GAStep 1

Combine parent Pt and offspring Qt populations Rt = Pt ∪ QtPerform a non-dominated sorting to Rt and find different fronts Fi

Step 2Set new population Pt+1 = ∅ and set i = 1Until |Pt+1| + |Fi| < N, perform Pt+1 = Pt+1 ∪ Fiand increase i

Page 38: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

38

Elitist Non-dominated Sorting GA

Step 3Include the most widely spread solutions (N-|Pt+1|) of Fi in Pt+1 using the crowding distance values

Step 4Create offspring population Qt+1 from Pt+1 by using the crowded tournament selection, crossover and mutation operators

Page 39: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

39

Elitist Non-Dominated Sorting GA

PtPt

QtQt

RtRt

Non-dominatedsorting

Non-dominatedsorting

Pt+1Pt+1

Crowding distance sorting

F1

F2

F3

F1

F2

F3 discard

Page 40: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

40

Elitist Non-dominated Sorting GAAdvantages

The diversity among non-dominated solutions is maintained using the crowding procedure: No extra diversity control is neededElitism protects an already found Pareto-optimal solution from being deleted

Page 41: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

41

Elitist Non-dominated Sorting GADisadvantage

When there are more than N members in the first non-dominated set, some Pareto-optimal solutions may give their places to other non-Pareto-optimal solutions

N=7

A Pareto-optimal solution is discardedA Pareto-optimal solution is discarded

Page 42: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

42

Strength Pareto EA (SPEA)

Zitzler & Thiele., 1998Use external population P

Store fixed number of non-dominated solutionsNewly found non-dominated solutions are compared with the existing external population and the resulting non-dominated solutions are preserved

Page 43: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

43

SPEA Clustering Algorithm1. Initially, each solution belongs to a distinct cluster Ci2. If number of clusters is less than or equal to N, go to 53. For each pair of clusters, calculate the cluster distance

dij and find the pair with minimum cluster-distance

4. Merge the two clusters and go to 25. Choose only one solution from each cluster and remove

the other (The solution having minimum average distance from other solutions in the cluster can be chosen)

∑∈∈

=21 ,21

12 ),(1CjCi

jidCC

d

Page 44: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

44

SPEA Clustering Algorithm

f2

f1

Cluster 1

Cluster 2

Cluster 3

Cluster 1

Cluster 2

Cluster 3

N=3

Page 45: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

45

SPEA AlgorithmStep 1. Create initial population P0 of size N randomly and an empty external population P0 with maximum capacity of NStep 2. Find the non-dominated solutions of Pt and copy (add) these to Pt

Step 3. Find the non-dominated solutions of Pt and delete all dominated solutionsStep 4. If |Pt| > N then use the clustering techniqueto reduce the size to N

Page 46: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

46

Step 5 Fitness evaluationElites: assign fitness to each elite solution i by using

For current population: assign fitness to a current population member j

where Dj is the set of all external population members dominating jNote: a solution with smaller fitness is better

∑∈

+=jDi

ij SF 1

1 N eliteby dominated members population of #

+=

i Si

Page 47: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

471N

by dominated members populationcurrent of #Sa +=

a72

=

∑∈

+=jDi

iSF 11

79

721 =+=

SPEA Algorithm Fitness Eval.f2

f1

PPPP

a

1

2

3

4

56

2/7

2/7

3/7

9/714/7

10/7

10/7

9/7

7/7

N= 6, N=3N= 6, N=3

Page 48: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

48

SPEA Algorithm

Step 6Apply a binary tournament selection (in a minimization sense), a crossover and a mutation operator to Pt U Pt and generate the next population Pt+1

Page 49: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

49

Advantages of SPEA

Once a solution Pareto-optimal front is found, it is stored in the external populationClustering ensures a spread among the non-dominated solutionsThe proposed clustering algorithm is parameterless

Page 50: Lecture 9: Multi-Objective - Purdue Engineeringsudhoff/ee630/Lecture0… ·  · 2007-06-13Lecture 9: Multi-Objective Optimization ... Simple Disadvantage It ... cuboid with the nearest

50

Disadvantages of SPEA

A balance between the regular population size N and the external population size N is important

If N is too large, selection pressure for the elites is too large and the algorithm may not converge to the Pareto-optimal frontIf N is too small, the effect of elitism will be lost