25
1 / 24 September 2010 Theory of Evolutionary Algorithms (Dagstuhl Seminar) Elementary Landscape Decomposition of Combinatorial Optimization Problems Francisco Chicano Introduction Background on Landscapes Landscape Decomposition Practical Implications Conclusions & Future Work Joint work with L. Darrell Whitley and Enrique Alba

Elementary Landscape Decomposition of Combinatorial Optimization Problems

Embed Size (px)

DESCRIPTION

Talk given at Shcloss Dagstuhl (Germany). Seminar 10361 on Theory of Evolutionary Algorithms. 2010.

Citation preview

Page 1: Elementary Landscape Decomposition of Combinatorial Optimization Problems

1 / 24September 2010 Theory of Evolutionary Algorithms (Dagstuhl Seminar)

Elementary Landscape Decomposition of

Combinatorial Optimization Problems

Francisco Chicano

IntroductionBackground on

Landscapes

Landscape

Decomposition

Practical

Implications

Conclusions

& Future Work

Joint work with L. Darrell Whitley and Enrique Alba

Page 2: Elementary Landscape Decomposition of Combinatorial Optimization Problems

2 / 24September 2010 Theory of Evolutionary Algorithms (Dagstuhl Seminar)

• Landscapes’ theory is a tool for analyzing optimization problems

• Applications in Chemistry, Physics, Biology and Combinatorial Optimization

• Central idea: study the search space to obtain information

• Better understanding of the problem

• Predict algorithmic performance

• Improve search algorithms

Motivation

Motivation

Landscapes’

Theory

Background Selection

AutocorrelationDecomposition

IntroductionBackground on

Landscapes

Landscape

Decomposition

Practical

Implications

Conclusions

& Future Work

Page 3: Elementary Landscape Decomposition of Combinatorial Optimization Problems

3 / 24September 2010 Theory of Evolutionary Algorithms (Dagstuhl Seminar)

• A landscape is a triple (X,N, f) where

X is the solution space

N is the neighbourhood operator

f is the objective function

Landscape Definition

Landscape Definition Elementary Landscapes

The pair (X,N) is called

configuration space

s0

s4

s7

s6

s2

s1

s8

s9

s5

s32

0

3

5

1

2

40

7

6

• The neighbourhood operator is a function

N: X →P(X)

• Solution y is neighbour of x if y N(x)

• Regular and symmetric neighbourhoods

• d=|N(x)| x X

• y N(x) x N(y)

• Objective function

f: X →R (or N, Z, Q)

IntroductionBackground on

Landscapes

Landscape

Decomposition

Practical

Implications

Conclusions

& Future Work

Page 4: Elementary Landscape Decomposition of Combinatorial Optimization Problems

4 / 24September 2010 Theory of Evolutionary Algorithms (Dagstuhl Seminar)

• An elementary function is an eigenvector of the graph Laplacian (plus constant)

• Graph Laplacian:

• Elementary function: eigenvector of Δ (plus constant)

Elementary Landscapes: Formal Definition

s0

s4

s7

s6

s2

s1

s8

s9

s5

s3

Adjacency matrix Degree matrix

Depends on the

configuration space

Eigenvalue

Landscape Definition Elementary Landscapes

IntroductionBackground on

Landscapes

Landscape

Decomposition

Practical

Implications

Conclusions

& Future Work

Page 5: Elementary Landscape Decomposition of Combinatorial Optimization Problems

5 / 24September 2010 Theory of Evolutionary Algorithms (Dagstuhl Seminar)

• An elementary landscape is a landscape for which

where

• Grover’s wave equation

Elementary Landscapes: Characterizations

Linear relationship

Characteristic constant: k= - λ

Depend on the

problem/instance

def

def

IntroductionBackground on

Landscapes

Landscape

Decomposition

Practical

Implications

Conclusions

& Future Work

Landscape Definition Elementary Landscapes

Page 6: Elementary Landscape Decomposition of Combinatorial Optimization Problems

6 / 24September 2010 Theory of Evolutionary Algorithms (Dagstuhl Seminar)

• Several properties of elementary landscapes are the following

where

• Local maxima and minima

Elementary Landscapes: Properties

XLocal minima

Local maxima

Landscape Definition Elementary Landscapes

IntroductionBackground on

Landscapes

Landscape

Decomposition

Practical

Implications

Conclusions

& Future Work

Page 7: Elementary Landscape Decomposition of Combinatorial Optimization Problems

7 / 24September 2010 Theory of Evolutionary Algorithms (Dagstuhl Seminar)

Elementary Landscapes: Examples

Problem Neighbourhood d k

Symmetric TSP2-opt n(n-3)/2 n-1

swap two cities n(n-1)/2 2(n-1)

Antisymmetric TSPinversions n(n-1)/2 n(n+1)/2

swap two cities n(n-1)/2 2n

Graph α-Coloring recolor 1 vertex (α-1)n 2α

Graph Matching swap two elements n(n-1)/2 2(n-1)

Graph Bipartitioning Johnson graph n2/4 2(n-1)

NAES bit-flip n 4

Max Cut bit-flip n 4

Weight Partition bit-flip n 4

IntroductionBackground on

Landscapes

Landscape

Decomposition

Practical

Implications

Conclusions

& Future Work

Landscape Definition Elementary Landscapes

Page 8: Elementary Landscape Decomposition of Combinatorial Optimization Problems

8 / 24September 2010 Theory of Evolutionary Algorithms (Dagstuhl Seminar)

• What if the landscape is not elementary?

• Any landscape can be written as the sum of elementary landscapes

• There exists a set of eigenfunctions of Δ that form a basis of the function space

Landscape Decomposition: Overview

Overview Methodology FAP QAP Examples

X X X

e1

e2

Elementary functions

(from the basis)

Non-elementary function

f Elementary

components of f

f < e1,f > e1 < e2,f > e2

< e2,f > e2

< e1,f > e1

IntroductionBackground on

Landscapes

Landscape

Decomposition

Practical

Implications

Conclusions

& Future Work

Page 9: Elementary Landscape Decomposition of Combinatorial Optimization Problems

9 / 24September 2010 Theory of Evolutionary Algorithms (Dagstuhl Seminar)

• How to decompose a function into elementary landscapes?

• Computing < ei,f > ei for a basis {e1, e2, ..., e|X|}

• We need a basis

• We need to compute < ei,f > which requires a sum of |X| elements in general

Landscape Decomposition: General Approach

Walsh functions (in binary strings with bit-flip neighborhood)

IntroductionBackground on

Landscapes

Landscape

Decomposition

Practical

Implications

Conclusions

& Future Work

Overview Methodology FAP QAP Examples

Page 10: Elementary Landscape Decomposition of Combinatorial Optimization Problems

10 / 24September 2010 Theory of Evolutionary Algorithms (Dagstuhl Seminar)

• Methodology for the decomposition that does not require a basis

Landscape Decomposition: Methodology (I)

Explicitly compute the Laplacian matrix and

represent the objective function as a vector

Select small instances of the problem

IntroductionBackground on

Landscapes

Landscape

Decomposition

Practical

Implications

Conclusions

& Future Work

Overview Methodology FAP QAP Examples

Page 11: Elementary Landscape Decomposition of Combinatorial Optimization Problems

11 / 24September 2010 Theory of Evolutionary Algorithms (Dagstuhl Seminar)

Landscape Decomposition: Methodology (II)

Find an orthonormal basis of the vector space

that are eigenvectors of the Laplacian

e1

e3e2

e1

e3 e2

e1

e3 e2

Find the coordinates of the objective function in the basis

IntroductionBackground on

Landscapes

Landscape

Decomposition

Practical

Implications

Conclusions

& Future Work

Overview Methodology FAP QAP Examples

Page 12: Elementary Landscape Decomposition of Combinatorial Optimization Problems

12 / 24September 2010 Theory of Evolutionary Algorithms (Dagstuhl Seminar)

Landscape Decomposition: Methodology (III)

e1

e3

e2

Sum the components with the same eigenvalue to

compute the elementary landscape decomposition

For each component find a generalization of the function

Overview Methodology FAP QAP Examples

IntroductionBackground on

Landscapes

Landscape

Decomposition

Practical

Implications

Conclusions

& Future Work

Page 13: Elementary Landscape Decomposition of Combinatorial Optimization Problems

13 / 24September 2010 Theory of Evolutionary Algorithms (Dagstuhl Seminar)

Landscape Decomposition: Methodology (& IV)

Check that the generalizaed functions are elementary

Check if the sum of the generalized functions is

the objective function

?

Overview Methodology FAP QAP Examples

IntroductionBackground on

Landscapes

Landscape

Decomposition

Practical

Implications

Conclusions

& Future Work

Page 14: Elementary Landscape Decomposition of Combinatorial Optimization Problems

14 / 24September 2010 Theory of Evolutionary Algorithms (Dagstuhl Seminar)

Landscape Decomposition: FAP• Using the one-change neighborhood, the fitness function can be decomposed into two

elementary components:

k1 = 2r

k2 = r

f(x) = f2r(x) + fr(x)

IntroductionBackground on

Landscapes

Landscape

Decomposition

Practical

Implications

Conclusions

& Future Work

Overview Methodology FAP QAP Examples

Page 15: Elementary Landscape Decomposition of Combinatorial Optimization Problems

15 / 24September 2010 Theory of Evolutionary Algorithms (Dagstuhl Seminar)

Landscape Decomposition: QAP• Using the swap neighborhood, the fitness function can be decomposed into three

elementary components:

k1 = 2n

k2 = 2(n-1)

k3 = n

Kronecker’s delta

f(x) = fc1(x) + fc2(x) + fc3(x)

IntroductionBackground on

Landscapes

Landscape

Decomposition

Practical

Implications

Conclusions

& Future Work

Overview Methodology FAP QAP Examples

Page 16: Elementary Landscape Decomposition of Combinatorial Optimization Problems

16 / 24September 2010 Theory of Evolutionary Algorithms (Dagstuhl Seminar)

Landscape Decomposition: Examples

Problem Neighbourhood d Components

General TSPinversions n(n-1)/2 2

swap two cities n(n-1)/2 2

Subset Sum Problem bit-flip n 2

MAX k-SAT bit-flip n k

NK-landscapes bit-flip n k+1

Radio Network Design bit-flip n

max. nb. of

reachable

antennae

Frequency Assignment change 1 frequency (α-1)n 2

QAP swap two elements n(n-1)/2 3

IntroductionBackground on

Landscapes

Landscape

Decomposition

Practical

Implications

Conclusions

& Future Work

Overview Methodology FAP QAP Examples

Page 17: Elementary Landscape Decomposition of Combinatorial Optimization Problems

17 / 24September 2010 Theory of Evolutionary Algorithms (Dagstuhl Seminar)

• Selection operators usually take into account the fitness value of the individuals

• We can improve the selection operator by selecting the individuals according to

the average value in their neighbourhoods

New Selection Strategy

Selection Strategy Autocorrelation

X

Neighbourhoods

avgavg

Minimizing

Fitness-based selection

Average-based selection

IntroductionBackground on

Landscapes

Landscape

Decomposition

Practical

Implications

Conclusions

& Future Work

Page 18: Elementary Landscape Decomposition of Combinatorial Optimization Problems

18 / 24September 2010 Theory of Evolutionary Algorithms (Dagstuhl Seminar)

• In elementary landscapes the traditional and the new operator are (almost) the same!

Recall that...

• However, they are not the same in non-elementary landscapes. If we have n

elementary components, then:

• The new selection strategy could be useful for plateaus

Elementary components

X

Minimizing

avg avg

New Selection Strategy

Fitness-based selectionAverage-based selection

?

IntroductionBackground on

Landscapes

Landscape

Decomposition

Practical

Implications

Conclusions

& Future Work

Selection Strategy Autocorrelation

Page 19: Elementary Landscape Decomposition of Combinatorial Optimization Problems

19 / 24September 2010 Theory of Evolutionary Algorithms (Dagstuhl Seminar)

• Let {x0, x1, ...} a simple random walk on the configuration space where xi+1N(xi)

• The random walk induces a time series {f(x0), f(x1), ...} on a landscape.

• The autocorrelation function is defined as:

• The autocorrelation length and coefficient:

• Autocorrelation length conjecture:

Autocorrelation

s0

s4

s7

s6

s2

s1

s8

s9

s5

s3

2

0

3

5

1

2

40

7

6

The number of local optima in a search space is roughly Solutions

reached from x0

after l moves

Selection Strategy Autocorrelation

IntroductionBackground on

Landscapes

Landscape

Decomposition

Practical

Implications

Conclusions

& Future Work

Page 20: Elementary Landscape Decomposition of Combinatorial Optimization Problems

20 / 24September 2010 Theory of Evolutionary Algorithms (Dagstuhl Seminar)

• The higher the value of l and ξ the smaller the number of local optima

• l and ξ is a measure of ruggedness

Autocorrelation Length Conjecture

RuggednessSA (configuration 1) SA (configuration 2)

% rel. error nb. of steps % rel. error nb. of steps

9.5 ξ < 9.0 0.2 50,500 0.1 101,395

9.0 ξ < 8.5 0.3 53,300 0.2 106,890

8.5 ξ < 8.0 0.3 58,700 0.2 118,760

8.0 ξ < 7.5 0.5 62,700 0.3 126,395

7.5 ξ < 7.0 0.7 66,100 0.4 133,055

7.0 ξ < 6.5 1.0 75,300 0.6 151,870

6.5 ξ < 6.0 1.3 76,800 1.0 155,230

6.0 ξ < 5.5 1.9 79,700 1.4 159,840

5.5 ξ < 5.0 2.0 82,400 1.8 165,610

Length

Coefficient

Angel, Zissimopoulos. Theoretical

Computer Science 263:159-172 (2001)

IntroductionBackground on

Landscapes

Landscape

Decomposition

Practical

Implications

Conclusions

& Future Work

Selection Strategy Autocorrelation

Page 21: Elementary Landscape Decomposition of Combinatorial Optimization Problems

21 / 24September 2010 Theory of Evolutionary Algorithms (Dagstuhl Seminar)

• If f is a sum of elementary landscapes:

• Summing all the squared coefficients with the same ki:

where

Autocorrelation and Landscapes

Fourier coefficients

IntroductionBackground on

Landscapes

Landscape

Decomposition

Practical

Implications

Conclusions

& Future Work

Selection Strategy Autocorrelation

Page 22: Elementary Landscape Decomposition of Combinatorial Optimization Problems

22 / 24September 2010 Theory of Evolutionary Algorithms (Dagstuhl Seminar)

FAP

QAP

• Using the landscape decomposition we can compute l and ξ

• W2 can be computed in polynomial time, O(n4r4)

• W2 and W3 computed in O(n8) → O(n2) (optimal complexity)

• We computed l and ξ for all the instances in the QAPLIB

Autocorrelation for FAP and QAP

IntroductionBackground on

Landscapes

Landscape

Decomposition

Practical

Implications

Conclusions

& Future Work

Selection Strategy Autocorrelation

Page 23: Elementary Landscape Decomposition of Combinatorial Optimization Problems

23 / 24September 2010 Theory of Evolutionary Algorithms (Dagstuhl Seminar)

FAP

QAP

• Using the landscape decomposition we can compute l and ξ

• W2 can be computed in polynomial time, O(n4r4)

• W2 and W3 computed in O(n8) → O(n2) (optimal complexity)

• We computed l and ξ for all the instances in the QAPLIB

Autocorrelation for FAP and QAP

IntroductionBackground on

Landscapes

Landscape

Decomposition

Practical

Implications

Conclusions

& Future Work

Selection Strategy Autocorrelation

Page 24: Elementary Landscape Decomposition of Combinatorial Optimization Problems

24 / 24September 2010 Theory of Evolutionary Algorithms (Dagstuhl Seminar)

• Elementary landscape decomposition is a useful tool to understand a problem

• The decomposition can be used to design new operators and search algorithms

• We can exactly determine the autocorrelation functions

• We propose a methodology for the decomposition

Conclusions

Future Work

• Search for additional applications of landscapes’ theory in EAs

• Design new operators and search methods based on landscapes’ information

• Analyze other problems

Conclusions & Future Work

Conclusions & Future Work

IntroductionBackground on

Landscapes

Landscape

Decomposition

Practical

Implications

Conclusions

& Future Work

Page 25: Elementary Landscape Decomposition of Combinatorial Optimization Problems

25 / 24September 2010 Theory of Evolutionary Algorithms (Dagstuhl Seminar)

Thanks for your attention !!!

Elementary Landscape Decomposition of

Combinatorial Optimization Problems