24
Multimodal Optimization (Niching) A/Prof. Xiaodong Li School of Computer Science and IT, RMIT University Melbourne, Australia Email: [email protected] April 2015

Multimodal Optimization (Niching) A/Prof. Xiaodong Li School of Computer Science and IT, RMIT University Melbourne, Australia Email: [email protected]

Embed Size (px)

Citation preview

Page 1: Multimodal Optimization (Niching) A/Prof. Xiaodong Li School of Computer Science and IT, RMIT University Melbourne, Australia Email: xiaodong.li@rmit.edu.au

Multimodal Optimization (Niching)

A/Prof. Xiaodong LiSchool of Computer Science and IT, RMIT UniversityMelbourne, AustraliaEmail: [email protected]

April 2015

Page 2: Multimodal Optimization (Niching) A/Prof. Xiaodong Li School of Computer Science and IT, RMIT University Melbourne, Australia Email: xiaodong.li@rmit.edu.au

Niching The notion of niching is inspired by nature. In natural

ecosystems, individual species must compete to survive by taking on different roles. Different species evolve to fill different “niches” (or subspaces) in the environment that can support different types of life.

Instead of evolving a single population of individuals indifferently, natural ecosystems evolve different species (or subpopulations) to fill different niches. The terms species and niche are sometimes interchangeable.

21/04/23 2

Page 3: Multimodal Optimization (Niching) A/Prof. Xiaodong Li School of Computer Science and IT, RMIT University Melbourne, Australia Email: xiaodong.li@rmit.edu.au

21/04/23 3

Speciation and niching

Page 4: Multimodal Optimization (Niching) A/Prof. Xiaodong Li School of Computer Science and IT, RMIT University Melbourne, Australia Email: xiaodong.li@rmit.edu.au

21/04/23 4

Speciation and niching

The definition of a species is still debatable.

Most researchers believe either the morphological species concept (ie., members of a species look alike and can be distinguished from other species by their appearance), or the biological species concept (a species is a group of actually or potentially interbreeding individuals who are reproductively isolated from other such groups). Both definitions have their weaknesses.

Biological species concept: a species is a group of actually or potentially interbreeding individuals who are reproductively isolated from other such groups.

Page 5: Multimodal Optimization (Niching) A/Prof. Xiaodong Li School of Computer Science and IT, RMIT University Melbourne, Australia Email: xiaodong.li@rmit.edu.au

Niching in Evolutionary Algorithms Niching methods were introduced to EAs to allow

maintenance of a population of diverse individuals so that multiple optima within a single population can be located.

As Mahoud described “A niching method must be able to form and maintain multiple, diverse, final solutions, whether these solutions are of identical fitness or of varying fitness. A niching method must be able to maintain these solutions for an exponential to infinite time period, with respect to population size.”

21/04/23 5

Page 6: Multimodal Optimization (Niching) A/Prof. Xiaodong Li School of Computer Science and IT, RMIT University Melbourne, Australia Email: xiaodong.li@rmit.edu.au

Why niching? Many real-world problems are “multimodal” by nature,

that is, multiple satisfactory solutions exist. For an optimization problem with multiple global and local optima, it might be desirable to locate all global optima and/or some local optima that are also considered as being satisfactory.

A niching method can be incorporated into a standard EA to promote and maintain formation of multiple stable subpopulations within a single population, with an aim to locate multiple optimal or suboptimal solutions.

21/04/23 6

Page 7: Multimodal Optimization (Niching) A/Prof. Xiaodong Li School of Computer Science and IT, RMIT University Melbourne, Australia Email: xiaodong.li@rmit.edu.au

21/04/23 7

Multimodal problems

Page 8: Multimodal Optimization (Niching) A/Prof. Xiaodong Li School of Computer Science and IT, RMIT University Melbourne, Australia Email: xiaodong.li@rmit.edu.au

Example 1 – Truss topologies

21/04/23 8

Multiple optimal truss topologies (i.e., optimal solutions) found by using a niching method.

Page 9: Multimodal Optimization (Niching) A/Prof. Xiaodong Li School of Computer Science and IT, RMIT University Melbourne, Australia Email: xiaodong.li@rmit.edu.au

Example 2 – sports car chassis

21/04/23 9

Between coupe and open-top, various different combinations of load cases. Each combination of load cases lead to different topologies. Interpretation of the results can become quite hard.

Page 10: Multimodal Optimization (Niching) A/Prof. Xiaodong Li School of Computer Science and IT, RMIT University Melbourne, Australia Email: xiaodong.li@rmit.edu.au

Classic niching methods Fitness sharing and Crowding methods

(early 70s and 80s). In subsequent years, many niching methods

have been proposed. Some representative examples include deterministic crowding, derating, restricted tournament selection, parallelization, clustering, and speciation.

More recently, NichePSO, Speciation-based PSO, Ring topology PSO.

21/04/23 10

Page 11: Multimodal Optimization (Niching) A/Prof. Xiaodong Li School of Computer Science and IT, RMIT University Melbourne, Australia Email: xiaodong.li@rmit.edu.au

Multimodal functions

21/04/23 11

Page 12: Multimodal Optimization (Niching) A/Prof. Xiaodong Li School of Computer Science and IT, RMIT University Melbourne, Australia Email: xiaodong.li@rmit.edu.au

Fitness Sharing

21/04/23 12

Page 13: Multimodal Optimization (Niching) A/Prof. Xiaodong Li School of Computer Science and IT, RMIT University Melbourne, Australia Email: xiaodong.li@rmit.edu.au

Fitness sharing

21/04/23 13

The most widely used sharing function is the following:

However, there is no easy task to set the niche radius parameter.

Page 14: Multimodal Optimization (Niching) A/Prof. Xiaodong Li School of Computer Science and IT, RMIT University Melbourne, Australia Email: xiaodong.li@rmit.edu.au

Crowding De Jong’s crowding was initially designed only to

preserve population diversity. In crowding, an offspring is compared to a small random

sample taken from the current population, and the most similar individual in the sample is replaced.

A parameter crowding factor (CF) is commonly used to determine the size of the sample.

21/04/23 14

Page 15: Multimodal Optimization (Niching) A/Prof. Xiaodong Li School of Computer Science and IT, RMIT University Melbourne, Australia Email: xiaodong.li@rmit.edu.au

Deterministic crowding

Mahfoud found that De Jong’s crowding method was unable to maintain more than two peaks of a five peaks fitness landscape due to stochastic replacement errors.

Mahfoud then made several modifications to crowding to reduce replacement errors, restore selection pressure, and also eliminate the crowding factor parameter. The resulting algorithm, deterministic crowding, was able to locate and maintain multiple peaks.

21/04/23 15

Page 16: Multimodal Optimization (Niching) A/Prof. Xiaodong Li School of Computer Science and IT, RMIT University Melbourne, Australia Email: xiaodong.li@rmit.edu.au

21/04/23 16

Speciation-based PSOf

x

s2s1

s3

2rs

p

An example of how to determine the species seeds from the population at each iteration. s1, s2, and s3 are chosen as the species seeds. Note that p follows s2.

Page 17: Multimodal Optimization (Niching) A/Prof. Xiaodong Li School of Computer Science and IT, RMIT University Melbourne, Australia Email: xiaodong.li@rmit.edu.au

Performance measures

21/04/23 17

Peak Ratio (PR) and Success Rate (SR):

Page 18: Multimodal Optimization (Niching) A/Prof. Xiaodong Li School of Computer Science and IT, RMIT University Melbourne, Australia Email: xiaodong.li@rmit.edu.au

How to determine solutions found?

21/04/23 18

Here we assume the number of global peaks, and the distance between two closest global peaks are known in advance.

For further information, see the technicalreport on CEC’13 competition benchmarkon multimodal optimization.

Page 19: Multimodal Optimization (Niching) A/Prof. Xiaodong Li School of Computer Science and IT, RMIT University Melbourne, Australia Email: xiaodong.li@rmit.edu.au

21/04/23 19

Multimodal functions

Page 20: Multimodal Optimization (Niching) A/Prof. Xiaodong Li School of Computer Science and IT, RMIT University Melbourne, Australia Email: xiaodong.li@rmit.edu.au

21/04/23 20

Simulation runs

Refer to Li (2004) for details.

Page 21: Multimodal Optimization (Niching) A/Prof. Xiaodong Li School of Computer Science and IT, RMIT University Melbourne, Australia Email: xiaodong.li@rmit.edu.au

21/04/23 21

Niching parametersDifficulty in choosing the niching parameters such as the species radius r . For example, for Shubert 2D, there is no value of r that can distinguish the global optima without individuals becoming overly trapped in local optima.

Some recent works in handling this problem (Bird & Li, 2006a; Bird & Li, 2006b).

Page 22: Multimodal Optimization (Niching) A/Prof. Xiaodong Li School of Computer Science and IT, RMIT University Melbourne, Australia Email: xiaodong.li@rmit.edu.au

Ring topology based PSO

21/04/23 22

Page 23: Multimodal Optimization (Niching) A/Prof. Xiaodong Li School of Computer Science and IT, RMIT University Melbourne, Australia Email: xiaodong.li@rmit.edu.au

21/04/23 23

Ring topology based PSO

A PSO algorithm using the ring topology can operate as a niching algorithm by using individual particles’ local memories to form a stable network retaining the best positions found so far, while these particles explore the search space more broadly. See (Li , 2010).

Page 24: Multimodal Optimization (Niching) A/Prof. Xiaodong Li School of Computer Science and IT, RMIT University Melbourne, Australia Email: xiaodong.li@rmit.edu.au

Further readings Li, X. (2010), “Niching without Niching Parameters:

Particle Swarm Optimization Using a Ring Topology”, IEEE Transactions on Evolutionary Computation, Volume 14, No.1, February 2010, pp.150-169.

Li, X., Engelbrecht, A. and Epitropakis,M.G. (2013), “Benchmark Functions for CEC’2013 Special Session and Competition on NichingMethods for Multimodal Function Optimization”. Technical Report, Evolutionary Computation and Machine Learning Group, RMIT University, Australia, 2013.

21/04/23 24