19
Torcs Simulator Torcs Simulator Presented by Galina Volkinshtein and Evgenia Dubrovsky

Torcs Simulator Presented by Galina Volkinshtein and Evgenia Dubrovsky

  • View
    221

  • Download
    2

Embed Size (px)

Citation preview

Page 1: Torcs Simulator Presented by Galina Volkinshtein and Evgenia Dubrovsky

Torcs SimulatorTorcs Simulator

Presented byGalina Volkinshtein and Evgenia Dubrovsky

Page 2: Torcs Simulator Presented by Galina Volkinshtein and Evgenia Dubrovsky

OverviewOverview

TorcsTorcs MotivationMotivation Optimization AlgorithmOptimization Algorithm Results and ComparisonResults and Comparison

Page 3: Torcs Simulator Presented by Galina Volkinshtein and Evgenia Dubrovsky

TorcsTorcs

Car Setup Optimization Competition @ EvoStar 2010. The purpose is to find the best car setup. The contest is divided into an optimization phase and

an evaluation phase. During the optimization phase, the optimization

algorithm will be applied to search for the best parameter setting.

During the evaluation phase, the best solution will be scored according to the distance covered in a fixed amount of game time.

Page 4: Torcs Simulator Presented by Galina Volkinshtein and Evgenia Dubrovsky

OverviewOverview

TorcsTorcs MotivationMotivation Optimization AlgorithmOptimization Algorithm Results and ComparisonResults and Comparison

Page 5: Torcs Simulator Presented by Galina Volkinshtein and Evgenia Dubrovsky

MotivationMotivation

The winner of the competition evostar2010 in April -Jorge Muñoz used a MOEA.

MOEA - Multiobjective evolutionary algorithm. MOEAs: Aggregation based – non-dominated solutions are

obtained by a weighted sum of the individual objective functions.

Dominance based – use the dominance relation as a measure of the fitness of each individual.

Page 6: Torcs Simulator Presented by Galina Volkinshtein and Evgenia Dubrovsky

OverviewOverview

TorcsTorcs MotivationMotivation Optimization AlgorithmOptimization Algorithm Results and ComparisonResults and Comparison

Page 7: Torcs Simulator Presented by Galina Volkinshtein and Evgenia Dubrovsky

NSGA-IINSGA-IIIntroduction.Introduction.

The ranking-based evolutionary algorithm NSGA-II combines elitism and a mechanism to distribute the solutions as much as possible.

Multiobjective optimization elitism requires that some portion of the non-dominated solutions will survive.

Page 8: Torcs Simulator Presented by Galina Volkinshtein and Evgenia Dubrovsky

NSGA-IINSGA-IIIntroduction (cont'd).Introduction (cont'd).

NSGA-II-II is based on dominance count. Multiobjective optimization populations can search many

local optima so a finite population tends to settle on a single good optimum, even if other equivalent optima exist.

Special mechanisms are required to prevent this occurring.

Niche induction methods promote the simultaneous sampling of several different optima by favoring diversity in the population.

Page 9: Torcs Simulator Presented by Galina Volkinshtein and Evgenia Dubrovsky

NSGA-IINSGA-IIIntroduction (cont'd).Introduction (cont'd).

Individuals close to one another mutually decrease each other's fitness.

Isolated individuals are given a greater chance of reproducing, favoring diversification.

Page 10: Torcs Simulator Presented by Galina Volkinshtein and Evgenia Dubrovsky

NSGA-IINSGA-IIComponents.Components.

Dominance. •Only non-dominated solutions are kept.

Crowding. •Density less crowded regions are preferred to crowded regions.

Page 11: Torcs Simulator Presented by Galina Volkinshtein and Evgenia Dubrovsky

NSGA-IINSGA-IIFlow.Flow.

NSGA-II classifies a population in several classes which are called fronts.

The number of classes varies from generation to generation and the members in each class are equivalent.

That is, it cannot be stated which individual is better. This classification which is called non-dominated sorting is

implemented as follows.

Page 12: Torcs Simulator Presented by Galina Volkinshtein and Evgenia Dubrovsky

NSGA-IINSGA-IINon-dominated Sorting.Non-dominated Sorting.

All non-dominated individuals are classified into one category and assigned a dummy fitness value or rank.

These classified individuals are ignored and from the remaining members of the population the non-dominated individuals are selected for forming the next layer.

This process continues until all members are classified. Individuals of the first layer have the highest fitness while

members of the last layer are assigned the smallest fitness.

All individuals from the first layer produce more copies in the next generation.

Page 13: Torcs Simulator Presented by Galina Volkinshtein and Evgenia Dubrovsky

NSGA-IINSGA-IICrowding distance.Crowding distance.

An estimation of the density of solutions surrounding each member is calculated using the crowding distance:

The population is sorted in ascending order. The solutions with the smallest and largest value are

assigned a very large distance estimate to guarantee that they will be selected in the next generation.

All other solutions are assigned a distance value equal to the absolute difference in the function values of two adjacent solutions.

Page 14: Torcs Simulator Presented by Galina Volkinshtein and Evgenia Dubrovsky

NSGA-IINSGA-IIElitism.Elitism.

The elitism is used by combining together the population of children Q_t and the parent population P_t at generation t together.

A non-dominated sorting is applied and a new population is formed.

A population of children Q_t+1 from P_t+1 is formed using a binary crowded tournament selection, crossover and mutation.

Page 15: Torcs Simulator Presented by Galina Volkinshtein and Evgenia Dubrovsky

OverviewOverview

TorcsTorcs MotivationMotivation Optimization AlgorithmOptimization Algorithm Results and ComparisonResults and Comparison

Page 16: Torcs Simulator Presented by Galina Volkinshtein and Evgenia Dubrovsky

Results and ComparisonResults and Comparison

E-track instead of Poli-track

Page 17: Torcs Simulator Presented by Galina Volkinshtein and Evgenia Dubrovsky

Results and ComparisonResults and Comparison

track

Elitist Elitist Elitist OptclientOptclientOptclient

 TOP SPEEDDISTANCE RACEDGenerationsTOP SPEEDDISTANCE RACEDGenerations

CG track21746971414230618

Dirt-31255021513433312

E-Track 41965993517840219

Page 18: Torcs Simulator Presented by Galina Volkinshtein and Evgenia Dubrovsky

The EndThe End

Any Questions ?

Page 19: Torcs Simulator Presented by Galina Volkinshtein and Evgenia Dubrovsky

The EndThe End

Thank you ;)