CAP6938 Neuroevolution and Artificial Embryogeny Real-time NEAT Dr. Kenneth Stanley February 22, 2006.

Slides:



Advertisements
Similar presentations
Logical and Artificial Intelligence in Games Lecture 14
Advertisements

Department of Electronic Engineering NUIG Direct Evolution of Patterns using Genetic Algorithms By: John Brennan Supervisor: John Maher.
Constructing Complex NPC Behavior via Multi- Objective Neuroevolution Jacob Schrum – Risto Miikkulainen –
Genetic Algorithms By: Anna Scheuler and Aaron Smittle.
On the Genetic Evolution of a Perfect Tic-Tac-Toe Strategy
CAP6938 Neuroevolution and Developmental Encoding Leaky Integrator Neurons and CTRNNs Dr. Kenneth Stanley October 25, 2006.
Institute of Intelligent Power Electronics – IPE Page1 Introduction to Basics of Genetic Algorithms Docent Xiao-Zhi Gao Department of Electrical Engineering.
Neuro-Evolution of Augmenting Topologies Ben Trewhella.
Parallelized Evolution System Onur Soysal, Erkin Bahçeci Erol Şahin Dept. of Computer Engineering Middle East Technical University.
1 Lecture 8: Genetic Algorithms Contents : Miming nature The steps of the algorithm –Coosing parents –Reproduction –Mutation Deeper in GA –Stochastic Universal.
Evolving Neural Network Agents in the NERO Video Game Author : Kenneth O. Stanley, Bobby D. Bryant, and Risto Miikkulainen Presented by Yi Cheng Lin.
Evolving Agents in a Hostile Environment Alex J. Berry.
Evolutionary Algorithms Simon M. Lucas. The basic idea Initialise a random population of individuals repeat { evaluate select vary (e.g. mutate or crossover)
1. 2 overview Background on video games Background on video games Neural networks Neural networks NE NE NEAT NEAT rtNEAT rtNEAT NERO NERO.
Research Trends in AI Maze Solving using GA Muhammad Younas Hassan Javaid Danish Hussain
Marcus Gallagher and Mark Ledwich School of Information Technology and Electrical Engineering University of Queensland, Australia Sumaira Saeed Evolving.
Evolving Multi-modal Behavior in NPCs Jacob Schrum – Risto Miikkulainen –
Evolutionary Algorithms and Artificial Intelligence Paul Grouchy PhD Candidate University of Toronto Institute for Aerospace Studies
Genetic Algorithm.
Evolutionary Robotics NEAT / HyperNEAT Stanley, K.O., Miikkulainen (2001) Evolving Neural Networks through Augmenting Topologies. Competing Conventions:
Population GENETICS.
Evolutionary Computation. Evolutionary Complexification Two major goals in intelligent systems are the discovery and improvement of solutions to complex.
CAP6938 Neuroevolution and Developmental Encoding Working with NEAT Dr. Kenneth Stanley September 27, 2006.
Jorge Munoz, German Gutierrez, Araceli Sanchis Presented by: Itay Bittan.
For games. 1. Control  Controllers for robotic applications.  Robot’s sensory system provides inputs and output sends the responses to the robot’s motor.
Design of a real time strategy game with a genetic AI By Bharat Ponnaluri.
Boltzmann Machine (BM) (§6.4) Hopfield model + hidden nodes + simulated annealing BM Architecture –a set of visible nodes: nodes can be accessed from outside.
Evolving Virtual Creatures & Evolving 3D Morphology and Behavior by Competition Papers by Karl Sims Presented by Sarah Waziruddin.
CAP6938 Neuroevolution and Developmental Encoding Real-time NEAT Dr. Kenneth Stanley October 18, 2006.
Artificial Life/Agents Creatures: Artificial Life Autonomous Software Agents for Home Entertainment Stephen Grand, 1997 Learning Human-like Opponent Behaviour.
CAP6938 Neuroevolution and Developmental Encoding Basic Concepts Dr. Kenneth Stanley August 23, 2006.
UTeach Presentation By Jacob Schrum. Who Am I? Jacob Schrum Born in Honolulu, Hawaii Undergraduate at Southwestern University PhD Student at University.
Mike Taks Bram van de Klundert. About Published 2005 Cited 286 times Kenneth O. Stanley Associate Professor at University of Central Florida Risto Miikkulainen.
1 Genetic Algorithms K.Ganesh Introduction GAs and Simulated Annealing The Biology of Genetics The Logic of Genetic Programmes Demo Summary.
科技英文作業 黃方世 陳竹軒. Introduction Talking about video games. Training agents for what. Focus on training Non-player-character (NPC).
Intelligent Database Systems Lab 國立雲林科技大學 National Yunlin University of Science and Technology 1 Evolving Reactive NPCs for the Real-Time Simulation Game.
Pac-Man AI using GA. Why Machine Learning in Video Games? Better player experience Agents can adapt to player Increased variety of agent behaviors Ever-changing.
Genetic Algorithms. The Basic Genetic Algorithm 1.[Start] Generate random population of n chromosomes (suitable solutions for the problem) 2.[Fitness]
Artificial Intelligence Research in Video Games By Jacob Schrum
CITS7212: Computational Intelligence An Overview of Core CI Technologies Lyndon While.
CAP6938 Neuroevolution and Artificial Embryogeny Competitive Coevolution Dr. Kenneth Stanley February 20, 2006.
CAP6938 Neuroevolution and Developmental Encoding Evolving Adaptive Neural Networks Dr. Kenneth Stanley October 23, 2006.
CAP6938 Neuroevolution and Artificial Embryogeny Leaky Integrator Neurons and CTRNNs Dr. Kenneth Stanley March 6, 2006.
CAP6938 Neuroevolution and Artificial Embryogeny Evolving Adaptive Neural Networks Dr. Kenneth Stanley March 1, 2006.
CAP6938 Neuroevolution and Developmental Encoding Intro to Neuroevolution Dr. Kenneth Stanley September 18, 2006.
Riza Erdem Jappie Klooster Dirk Meulenbelt EVOLVING MULTI-MODAL BEHAVIOR IN NPC S.
Evolutionary Robotics The Genotype-to-Phenotype Map The genotype to phenotype map: the algorithm that transforms the genotype into the phenotype. Direct.
CAP6938 Neuroevolution and Artificial Embryogeny Approaches to Neuroevolution Dr. Kenneth Stanley February 1, 2006.
Genetic Algorithm Dr. Md. Al-amin Bhuiyan Professor, Dept. of CSE Jahangirnagar University.
CAP6938 Neuroevolution and Artificial Embryogeny Evolutionary Computation Theory Dr. Kenneth Stanley January 25, 2006.
Bio 7: General Biology II Evolutionary, Organismal, & Ecological Biology Dr. Diane Livio myetudes.org/portal MW 2:30-4:30 (CMS 229)
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal Evolutionary Computation.
CAP6938 Neuroevolution and Artificial Embryogeny Evolutionary Comptation Dr. Kenneth Stanley January 23, 2006.
An Evolutionary Algorithm for Neural Network Learning using Direct Encoding Paul Batchis Department of Computer Science Rutgers University.
Evolving robot brains using vision Lisa Meeden Computer Science Department Swarthmore College.
Evolutionary Design of the Closed Loop Control on the Basis of NN-ANARX Model Using Genetic Algoritm.
Genetic Algorithm. Outline Motivation Genetic algorithms An illustrative example Hypothesis space search.
March 1, 2016Introduction to Artificial Intelligence Lecture 11: Machine Evolution 1 Let’s look at… Machine Evolution.
AI in Space Group 3 Raquel Cohen Yesenia De La Cruz John Gratton.
CAP6938 Neuroevolution and Artificial Embryogeny Real-time NEAT Dr. Kenneth Stanley February 22, 2006.
Haploid-Diploid Evolutionary Algorithms
Dr. Kenneth Stanley September 11, 2006
TORCS WORKS Jang Su-Hyung.
CAP6938 Neuroevolution and Artificial Embryogeny Artificial Embryogeny
Dr. Kenneth Stanley January 30, 2006
Dr. Kenneth Stanley September 25, 2006
Haploid-Diploid Evolutionary Algorithms
Dr. Kenneth Stanley February 6, 2006
Review NNs Processing Principles in Neuron / Unit
Evolutionary Ensembles with Negative Correlation Learning
Presentation transcript:

CAP6938 Neuroevolution and Artificial Embryogeny Real-time NEAT Dr. Kenneth Stanley February 22, 2006

Generations May Not Always Be Appropriate When a population is evaluated simultaneously –Many are observable at the same time –Therefore, entire population would change at once –A sudden change is incongruous, highly noticeable When a human interacts with one individual at a time –Want things to improve constantly

Steady State GA: One Individual Is Replaced at a Time Start by evaluating entire first generation Then continually pick one to remove, replace it with child of the best Start: Evaluate All 1) Remove poor individual 2) Create offpsring from good parents 3) Replace removed individual Repeat…

Steady State During Simultaneous Evaluation: Similar but not Identical Several new issues when evolution is real-time –Evaluation is asynchronous –When to replace? –How to assign fitness? –How to display changes

Regular NEAT Introduces Additional Challenges for Real Time Speciation equations based on generations No “remove worst” operation defined in algorithm Dynamic compatibility thresholding assumes generations

Speciation Equations Based on Generations

How to Remove the Worst? No such operation in generational NEAT Worst often may often be a new species –Removing it would destroy protection of innovation –Loss of regular NEAT dynamics

Dynamic Compatibility Thresholding Assumes A Next Generation

Real-time NEAT Addresses Both the Steady State and Simultaneity Issues Real-time speciation Simultaneous and asynchronous evaluation Steady state replacement Fast enough to change while a game is played Equivalent dynamics to regular NEAT

Main Loop (Non-Generational)

Choosing the Parent Species

Finally: How Many Ticks Between Replacements? Intuitions: –The more often replacement occurs, the fewer are eligible –The larger the population, the more are eligible –The high the age of maturity, the fewer are eligible

rtNEAT Is Implemented In NERO Download at rtNEAT source soon available (TBA) Simulated demos have public appeal –Over 50,000 downloads –Appeared on Slashdot –Best Paper Award in Computational Intelligence and Games –Independent Games Festival Best Student Game Award –rtNEAT licensed –Worldwide media coverage

NERO: NeuroEvolving Robotic Operatives NPCs improve in real time as game is played Player can train AI for goal and style of play Each AI Unit Has Unique NN

NERO Battle Mode After training, evolved behaviors are saved Player assembles team of trained agents Team is tested in battle against opponent’s team

NERO Training: The Factory Reduces noise during evaluation –All evaluations start out similarly Robot bodies produced by “factory” Each body sent back to factory to respawn Bodies retain their NN unless chosen for replacement NN’s have different ages –Fitness is diminishing average of spawn trials:

NERO Inputs and Outputs

Enemy/Friend Radars

Enemy On-Target Sensor

Object Rangefinder Sensors

Enemy Line-of-Fire Sensors

Further Applications? New kinds of games New kinds of AI in games New kinds of real-time simulations Training applications Interactive steady-state evolution

New Homework due 3/8/06 (see next slide) Next Topic: Improving the neural model Adaptive neural networks Change over a lifetime Leaky integrator neurons and CTRNN Evolutionary Robots with On-line Self-Organization and Behavioral FitnessEvolutionary Robots with On-line Self-Organization and Behavioral Fitness by Dario Floreano and Joseba Urzelai (2000) Evolving Adaptive Neural Networks with and Without Adaptive Synapses by Kenneth O. Stanley, Bobby D. Bryant, and Risto Miikkulainen (2003) Evolving Adaptive Neural Networks with and Without Adaptive Synapses

Homework Due 3/8/06 Genetic operators all working: Mating two genomes: mate_multipoint, mate_multipoint_avg, others Compatibility measuring: return distance of two genomes from each other based on coefficients in compatibility equation and historical markings Structural mutations: mutate_add_link, mutate_add_node, others Weight/parameter mutations: mutate_link_weights, mutating other parameters Special mutations: mutate_link_enable_toggle (toggle enable flag), etc. Special restrictions: control probability of certain types of mutations such as adding a recurrent connection vs. a feedforward connection Turn in summary, code, and examples demonstrating that all functions work. Must include checks that phenotypes from genotypes that are new or altered are created properly and work.

Project Milestones (25% of grade) 2/6: Initial proposal and project description 2/15: Domain and phenotype code and examples 2/27: Genes and Genotype to Phenotype mapping 3/8: Genetic operators all working 3/27: Population level and main loop working 4/10: Final project and presentation due (75% of grade)