computational intelligence optimizationusers.jyu.fi/.../pres_12_9_2011.pdf · metaheuristics and...

23
Computational Intelligence Optimization Ferrante Neri Department of Mathematical Information Technology, University of Jyv¨ askyl¨ a 12.09.2011

Upload: others

Post on 05-Jul-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Computational Intelligence Optimizationusers.jyu.fi/.../pres_12_9_2011.pdf · Metaheuristics and CIO Blunt De nition (1): Metaheuristics are those algorithms which do not require

Computational IntelligenceOptimization

Ferrante Neri

Department of Mathematical Information Technology,University of Jyvaskyla

12.09.2011

Page 2: Computational Intelligence Optimizationusers.jyu.fi/.../pres_12_9_2011.pdf · Metaheuristics and CIO Blunt De nition (1): Metaheuristics are those algorithms which do not require

1 What is Optimization?

2 What is a fitness landscape?

3 Features of landscape vs algorithmic solutions?

4 Metaheuristics

5 Memetic Computing

Page 3: Computational Intelligence Optimizationusers.jyu.fi/.../pres_12_9_2011.pdf · Metaheuristics and CIO Blunt De nition (1): Metaheuristics are those algorithms which do not require

Who am I and where do I come from?

I am Italian born researcher adopted by Finland

Adjunct Professor at the University of Jyvaskyla

Leader of the Computational Intelligence Optimization group

Page 4: Computational Intelligence Optimizationusers.jyu.fi/.../pres_12_9_2011.pdf · Metaheuristics and CIO Blunt De nition (1): Metaheuristics are those algorithms which do not require

Where is located Jyvaskyla?

In the middle of Finland (Keski Suomi)

Page 5: Computational Intelligence Optimizationusers.jyu.fi/.../pres_12_9_2011.pdf · Metaheuristics and CIO Blunt De nition (1): Metaheuristics are those algorithms which do not require

Jyvaskyla, Summer and Winter

Summer

Winter

Page 6: Computational Intelligence Optimizationusers.jyu.fi/.../pres_12_9_2011.pdf · Metaheuristics and CIO Blunt De nition (1): Metaheuristics are those algorithms which do not require

My Home

Page 7: Computational Intelligence Optimizationusers.jyu.fi/.../pres_12_9_2011.pdf · Metaheuristics and CIO Blunt De nition (1): Metaheuristics are those algorithms which do not require

How to get back home from work?

Page 8: Computational Intelligence Optimizationusers.jyu.fi/.../pres_12_9_2011.pdf · Metaheuristics and CIO Blunt De nition (1): Metaheuristics are those algorithms which do not require

What is Optimization?

To go back home in the shortest possible time is anOptimization Problem

If I have to visit a shop the problem is Constrained

If I want to take some physical exercise the problem isMulti-objective

If the amount of people in the street can affect my walkingspeed, the problem is Time-dependant (affected byuncertainties)

Page 9: Computational Intelligence Optimizationusers.jyu.fi/.../pres_12_9_2011.pdf · Metaheuristics and CIO Blunt De nition (1): Metaheuristics are those algorithms which do not require

More formally...

Maximize/Minimize fm m = 1, 2, . . . ,Msubject − to gj (x) 6 0 j = 1, 2, . . . , J

hk (x) = 0 k = 1, 2, . . . ,KxLi 6 xi 6 xU

i i = 1, 2, . . . , n

(1)

where gj and hk are inequality and equality constraints, respectively.

Page 10: Computational Intelligence Optimizationusers.jyu.fi/.../pres_12_9_2011.pdf · Metaheuristics and CIO Blunt De nition (1): Metaheuristics are those algorithms which do not require

Theory vs Practice in Optimization

Under the statement that the linear distance is what actuallymatters in terms of time-loss, the minimization of the time issimply the search of the shortest path

This problem is trivial as the objective function (fitness) fwould be well-know (and linear)

This would allow the application of an exact method, e.g.gradient based

In real-world problems, the analytical expression of theobjective function is usually not available

As a black box we must find the optimum anyway

Page 11: Computational Intelligence Optimizationusers.jyu.fi/.../pres_12_9_2011.pdf · Metaheuristics and CIO Blunt De nition (1): Metaheuristics are those algorithms which do not require

Metaheuristics and CIO

Blunt Definition (1): Metaheuristics are those algorithmswhich do not require hypotheses on the objective function

Blunt Definition (2): Computational IntelligenceOptimization is a subject which integrates artificialintelligence into algorithms for solving optimization problems

Page 12: Computational Intelligence Optimizationusers.jyu.fi/.../pres_12_9_2011.pdf · Metaheuristics and CIO Blunt De nition (1): Metaheuristics are those algorithms which do not require

OK....but....What is the best optimizer?

In a nutshell: There is no best optimizer!

No Free Lunch Theorem(s) (1997): for a given pair ofalgorithms A and B:∑

f

P(xm|f ,A) =∑f

P(xm|f ,B) (2)

where P(xm|f ,A) is the probability that algorithm A detectsthe optimal solution for a generic objective function f andP(xm|f ,B) is the analogue probability for algorithm B.

Ad-hoc algorithmic design is fundamental!

Page 13: Computational Intelligence Optimizationusers.jyu.fi/.../pres_12_9_2011.pdf · Metaheuristics and CIO Blunt De nition (1): Metaheuristics are those algorithms which do not require

Wise Ignorance

Black Box= We do not know anything about the objectivefunction : TRUE

Black Box= We do not know anything about the optimizationproblem: FALSE

Even though the objective function can be unknown, we canstill analyse the fitness landscape prior to design analgorithm

An efficient design takes into account the features of thefitness landscape/optimization problem

Page 14: Computational Intelligence Optimizationusers.jyu.fi/.../pres_12_9_2011.pdf · Metaheuristics and CIO Blunt De nition (1): Metaheuristics are those algorithms which do not require

Problem Analysis (Some ideas)

What is the dimensionality of the problem? Note: The complexityof a problem does NOT grow linearly with its dimensionality

What’s the multimodality degree?

Does the landscape contains plateaus?

How much is ill-conditioned? (Importance of the variables)

Is the function separable? partially separable? (connectionamongst the variables)

Page 15: Computational Intelligence Optimizationusers.jyu.fi/.../pres_12_9_2011.pdf · Metaheuristics and CIO Blunt De nition (1): Metaheuristics are those algorithms which do not require

Computational Intelligence Optimization: A brutetaxonomy

Single-solution Algorithms

Population-based AlgorithmsEvolutionary Algorithms. Evolutionary metaphor. GAs, ES,GP, etc.

Swarm Intelligence. Groups of animals, fish, birds, bacteria,bees, monkeys, etc.

Page 16: Computational Intelligence Optimizationusers.jyu.fi/.../pres_12_9_2011.pdf · Metaheuristics and CIO Blunt De nition (1): Metaheuristics are those algorithms which do not require

An example of single-solution algorithm: SimulatedAnnealing

one solution is progressively perturbed so we have a current bestxcb and a trial xtr

xtr replaces xcb if it is “better”......

....OR if is worse with an exponentially decreasing probability overtime: I am ready to accept a certain worsening at the beginning ofthe optimization process but I would rather keep my solution atthe end of the optimization

Page 17: Computational Intelligence Optimizationusers.jyu.fi/.../pres_12_9_2011.pdf · Metaheuristics and CIO Blunt De nition (1): Metaheuristics are those algorithms which do not require

Evolutionary Algorithm: A general framework

INITIALIZE population with random individuals;EVALUATE each individual;While TERMINATION CONDITION is not satisfiedSELECT parents;RECOMBINE pairs of parents;MUTATE the resulting offspring;EVALUATE new individuals;SELECT individuals for the next generation;

Page 18: Computational Intelligence Optimizationusers.jyu.fi/.../pres_12_9_2011.pdf · Metaheuristics and CIO Blunt De nition (1): Metaheuristics are those algorithms which do not require

Swarm Intelligence: A general framework

INITIALIZE population with random individuals;EVALUATE each individual;While TERMINATION CONDITION is not satisfiedFor EACH parent;PERTURB an individual;EVALUATE the individual and compare it with that prior theperturbation;SELECT the winning individual;

Page 19: Computational Intelligence Optimizationusers.jyu.fi/.../pres_12_9_2011.pdf · Metaheuristics and CIO Blunt De nition (1): Metaheuristics are those algorithms which do not require

Differential Evolution: Something in the between

INITIALIZE population with random individuals;EVALUATE each individual;While TERMINATION CONDITION is not satisfiedFor EACH parent;PERTURB an individual;RECOMBINE pairs of parents; EVALUATE the individual andcompare it with that prior the perturbation;SELECT the winning individual;

Page 20: Computational Intelligence Optimizationusers.jyu.fi/.../pres_12_9_2011.pdf · Metaheuristics and CIO Blunt De nition (1): Metaheuristics are those algorithms which do not require

A unifying concept

There is a plenty of algorithms inspired by the most diversephenomena....

At the end of the day, all the algorithms have the same structure,i.e. they are a combination of two classes of operations:

GENERATION of a trial

SELECTION of the new current best

Further metaphor: if designing algorithms is like cooking, weneed to select proper operators and be able to combine themefficiently

To know a plenty of algorithms is like to know by hearth a recipebook.....it does not mean to be able to cook

Page 21: Computational Intelligence Optimizationusers.jyu.fi/.../pres_12_9_2011.pdf · Metaheuristics and CIO Blunt De nition (1): Metaheuristics are those algorithms which do not require

Memetic Computing

MC is a subject which studies complex and dynamic computingstructures composed of interacting modules (memes) whoseevolution dynamics is inspired by the diffusion of ideas.

All the algorithms can be seen as a set of operators whichinteract while solving an optimization problem

A proper selection of the combination of these operators is analternative perspective to state an optimization problem

This structure suggests the idea that algorithms can bedesigned automatically by machines

This will be the future step in Computational IntelligenceOptimization

NOTE: Software platform for Memetic Computing design

Page 22: Computational Intelligence Optimizationusers.jyu.fi/.../pres_12_9_2011.pdf · Metaheuristics and CIO Blunt De nition (1): Metaheuristics are those algorithms which do not require

Handbook of Memetic Algorithms: Shameless Advert

1

Ha

nd

bo

ok

of M

em

etic A

lgo

rithm

sN

eri · Cotta · Moscato (Eds.)

379 Studies in Computational Intelligence

1 3

379

Memetic Algorithms (MAs) are computational intelligence structures combining

multiple and various operators in order to address optimization problems. The

combination and interaction amongst operators evolves and promotes the diffusion

of the most successful units and generates an algorithmic behavior which can handle

complex objective functions and hard fitness landscapes. “Handbook of Memetic

Algorithms” organizes, in a structured way, all the the most important results in the

field of MAs since their earliest definition until now. A broad review including

various algorithmic solutions as well as successful applications is included in this

book. Each class of optimization problems, such as constrained optimization, multi-

objective optimization, continuous vs combinatorial problems, uncertainties, are

analysed separately and, for each problem, memetic recipes for tackling the

difficulties are given with some successful examples. Although this book contains

chapters written by multiple authors, a great attention has been given by the editors

to make it a compact and smooth work which covers all the main areas of

computational intelligence optimization. It is not only a necessary read for

researchers working in the research area, but also a useful handbook for practitioners

and engineers who need to address real-world optimization problems. In addition,

the book structure makes it an interesting work also for graduate students and

researchers is related fields of mathematics and computer science.

issn 1860-949X

isbn 978-3-642-23246-6

springer.com

Handbook ofMemetic Algorithms

Ferrante NeriCarlos CottaPablo Moscato (Eds.)

The series Studies in Computational Intelligence (SCI) publishes new developments

and advances in the various areas of computational intelligence – quickly and with

high quality. The intent is to cover the theory, applications, and design methods

of computational intelligence, as embedded in the fields of engineering, computer

science, physics and life sciences, as well as the methodologies behind them.

The series contains monographs, lecture notes and edited volumes in com putational

intelligence spanning the areas of neural networks, connectionist systems, genetic

algorithms, evolutionary computation, artificial intelligence, cellular automata,

self-organizing systems, soft computing, fuzzy systems, hybrid intelligent, and

virtual reality systems. Of particular value to both the contributors and the

readership are the short publication timeframe and the world-wide distribution,

which enable both wide and rapid dissemination of research output.

9 7 8 3 6 4 2 2 3 2 4 6 6

Page 23: Computational Intelligence Optimizationusers.jyu.fi/.../pres_12_9_2011.pdf · Metaheuristics and CIO Blunt De nition (1): Metaheuristics are those algorithms which do not require

Thanks for your attention.Questions?