29
nents wi ution Alexandros Agapitos, Julian Togelius, Simon M. Lucas, J¨urgen Schmidhuber and Andreas Konstantinidis Presented by Patoka Amir

Generating Diverse Opponents with Multi-Objective Evolution

  • Upload
    shen

  • View
    39

  • Download
    0

Embed Size (px)

DESCRIPTION

Generating Diverse Opponents with Multi-Objective Evolution. Alexandros Agapitos, Julian Togelius , Simon M. Lucas, J¨urgen Schmidhuber and Andreas Konstantinidis Presented by Patoka Amir. Overview. Introduction Objectives Multi-objective evolutionary algorithms Results Future work. - PowerPoint PPT Presentation

Citation preview

Page 1: Generating Diverse Opponents with Multi-Objective Evolution

Generating Diverse Opponents with Multi-Objective Evolution

Alexandros Agapitos, Julian Togelius, Simon M. Lucas, J¨urgen Schmidhuber and Andreas Konstantinidis

Presented byPatoka Amir

Page 2: Generating Diverse Opponents with Multi-Objective Evolution

Overview

Introduction Objectives Multi-objective evolutionary

algorithms Results Future work

Page 3: Generating Diverse Opponents with Multi-Objective Evolution

Introduction

Easy construction of game AI (F.E.A.R. winer of GameSpot Best Artificial Intelligence)

Industry shifts focus to building interesting, divers and believable CI.

Page 4: Generating Diverse Opponents with Multi-Objective Evolution

Introduction (Cont) DIFFICULTY LEVELS:

Barbarians Free Units Research Maintenance Costs Health and Happiness Artificial Intelligence Penalties AI Freebies Tribal Villages

Page 5: Generating Diverse Opponents with Multi-Objective Evolution

Introduction (Cont) Predictable AI

When Priorities Go Wrong!:NPC investigates a burning barrel that was thrown by the player and landed nearby. The barrel subsequently explodes while the NPC is nearby looking at it.

Page 6: Generating Diverse Opponents with Multi-Objective Evolution

Introduction (Cont)

Propose a general approach to creating diverse and interesting NPC behaviors using Multi-objective evolutionary algorithms (MOEA) in combination with a number of partly conflicting behavioral fitness measures.

Page 7: Generating Diverse Opponents with Multi-Objective Evolution

Overview Introduction Objectives Multi-objective evolutionary

algorithms Results Future work

Page 8: Generating Diverse Opponents with Multi-Objective Evolution

Objectives Optimize a genetically programmed car controller

to exhibit:

Aggressiveness.

Opponent weakness exploitation.

Page 9: Generating Diverse Opponents with Multi-Objective Evolution

Objectives (Cont.) Environment:

A 2D simulator, modeling a radio controlled toy car (three possible drive and steering modes).

A track consisting of walls, a chain of waypoints and a set of staring points and directions (subject to random alteration).

A reasonable model of car dynamics, collisions.

A competitor (with an incrementally evolved general controller).

Page 10: Generating Diverse Opponents with Multi-Objective Evolution

Objectives (Cont.) Controller employ two expression trees

representation (driving and steering) containing: Standard arithmetic and trigonometric

functions. Formal parameters representing car state as

viewed by first person sensors.

Page 11: Generating Diverse Opponents with Multi-Objective Evolution

Objectives (Cont.) Behavioral fitness measures:

Absolute progress. Relative progress. Maximum speed. Progress variance. # Steering changes. # Driving changes. Wall collisions. Competitor proximity. Max Car collisions. Min Car Collisions.

Page 12: Generating Diverse Opponents with Multi-Objective Evolution

Objectives (Cont.) Algorithm:

Non-Dominated Sorting Genetic Algorithem (NSGA-II).

Tournament selection (starting with size 7 during final 10 generations increases by 20% each generation).

50 generations. 500 individuals. Expression trees are limited to depth of 17 and

created with a maximum depth of 8 through Ramped-half-and-half.

Page 13: Generating Diverse Opponents with Multi-Objective Evolution

Overview Introduction Objectives Multi-objective evolutionary

algorithms Results Future work

Page 14: Generating Diverse Opponents with Multi-Objective Evolution

MOEANon-Dominated Sorting Genetic Algorithem Pareto frontier:

Page 15: Generating Diverse Opponents with Multi-Objective Evolution

Overview

Introduction Objectives Multi-objective evolutionary

algorithms Results Future work

Page 16: Generating Diverse Opponents with Multi-Objective Evolution

ResultsAggressiveness – wall collisions avoidance

Fitness = max absolute progress + min wall collisions.

Page 17: Generating Diverse Opponents with Multi-Objective Evolution

ResultsAggressiveness – max speed & min steering

Fitness = max absolute progress + min wall collisions + min # steering changes.

Page 18: Generating Diverse Opponents with Multi-Objective Evolution

ResultsAggressiveness – max speed & min steering

Fitness = max absolute progress + min wall collisions + min # steering changes.

Page 19: Generating Diverse Opponents with Multi-Objective Evolution

Results Aggressiveness – max speed & min driving

Fitness = max absolute progress + min wall collisions + min # driving changes.

Page 20: Generating Diverse Opponents with Multi-Objective Evolution

ResultsAggressiveness – max speed & min driving

Fitness = max absolute progress + min wall collisions + min # driving changes.

Page 21: Generating Diverse Opponents with Multi-Objective Evolution

ResultsAggressiveness – smoothness, avoidance and low speed

Fitness = max absolute progress + min wall collisions + max # driving changes.

Page 22: Generating Diverse Opponents with Multi-Objective Evolution

ResultsAggressiveness – smoothness, avoidance and low speed

Fitness = max absolute progress + min wall collisions + max # driving changes.

Page 23: Generating Diverse Opponents with Multi-Objective Evolution

ResultsAggressiveness – max car collisions

Fitness = max absolute progress + max car collisions + min car closeness + min # driving changes.

Page 24: Generating Diverse Opponents with Multi-Objective Evolution

ResultsAggressiveness – Car collisions

Fitness = max absolute progress + max car collisions + min car closeness + min # steering & driving changes.

Page 25: Generating Diverse Opponents with Multi-Objective Evolution

ResultsAggressiveness – Opponent weakness Exploitation

Fitness = max absolute progress + max speed + min car closeness + min # steering & driving changes.

Page 26: Generating Diverse Opponents with Multi-Objective Evolution

Overview Introduction Objectives Multi-objective evolutionary

algorithms Results Future work

Page 27: Generating Diverse Opponents with Multi-Objective Evolution

Future work Prove concept on other game genres.

Page 28: Generating Diverse Opponents with Multi-Objective Evolution

The End

Any Questions ?

Page 29: Generating Diverse Opponents with Multi-Objective Evolution

The End

Thank you ;)