A Distributed Genetic Algorithm for Learning Evaluation Parameters in a Strategy Game Gary Matthias.

Slides:



Advertisements
Similar presentations
Adversarial Search Reference: “Artificial Intelligence: A Modern Approach, 3 rd ed” (Russell and Norvig)
Advertisements

Genetic Algorithms Contents 1. Basic Concepts 2. Algorithm
Tic Tac Toe Architecture CSE 5290 – Artificial Intelligence 06/13/2011 Christopher Hepler.
Games CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
1 Lecture 8: Genetic Algorithms Contents : Miming nature The steps of the algorithm –Coosing parents –Reproduction –Mutation Deeper in GA –Stochastic Universal.
1 Segmentation with Global Optimal Contour Xizhou Feng 4/25/2003.
Introduction to Genetic Algorithms Yonatan Shichel.
Intro to AI Genetic Algorithm Ruth Bergman Fall 2002.
Genetic Algorithm.
SOFT COMPUTING (Optimization Techniques using GA) Dr. N.Uma Maheswari Professor/CSE PSNA CET.
Genetic Approximate Matching of Attributed Relational Graphs Thomas Bärecke¹, Marcin Detyniecki¹, Stefano Berretti² and Alberto Del Bimbo² ¹ Université.
Zorica Stanimirović Faculty of Mathematics, University of Belgrade
The Generational Control Model This is the control model that is traditionally used by GP systems. There are a distinct number of generations performed.
Applying Genetic Algorithm to the Knapsack Problem Qi Su ECE 539 Spring 2001 Course Project.
Evolving Virtual Creatures & Evolving 3D Morphology and Behavior by Competition Papers by Karl Sims Presented by Sarah Waziruddin.
GENETIC ALGORITHMS.  Genetic algorithms are a form of local search that use methods based on evolution to make small changes to a popula- tion of chromosomes.
Artificial Intelligence Chapter 4. Machine Evolution.
Genetic Algorithms Czech Technical University in Prague, Faculty of Electrical Engineering Ondřej Vaněk, Agent Technology Center ZUI 2011.
Genetic Algorithms Genetic algorithms provide an approach to learning that is based loosely on simulated evolution. Hypotheses are often described by bit.
Genetic Algorithms What is a GA Terms and definitions Basic algorithm.
Genetic Algorithms. The Basic Genetic Algorithm 1.[Start] Generate random population of n chromosomes (suitable solutions for the problem) 2.[Fitness]
Parallel Genetic Algorithms By Larry Hale and Trevor McCasland.
Coevolutionary Automated Software Correction Josh Wilkerson PhD Candidate in Computer Science Missouri S&T.
Automated discovery in math Machine learning techniques (GP, ILP, etc.) have been successfully applied in science Machine learning techniques (GP, ILP,
CS 8625 High Performance Computing Dr. Hoganson Copyright © 2003, Dr. Ken Hoganson CS8625 Class Will Start Momentarily… CS8625 High Performance.
Game tree search Chapter 6 (6.1 to 6.3 and 6.6) cover games. 6.6 covers state of the art game players in particular. 6.5 covers games that involve uncertainty.
GENETIC ALGORITHM Basic Algorithm begin set time t = 0;
Genetic Algorithms Chapter Description of Presentations
Genetic Search Algorithms Matt Herbster. Why Another Search?  Designed in the 1950s, heavily implemented under John Holland (1970s)  Genetic search.
Understanding AI of 2 Player Games. Motivation Not much experience in AI (first AI project) and no specific interests/passion that I wanted to explore.
March 1, 2016Introduction to Artificial Intelligence Lecture 11: Machine Evolution 1 Let’s look at… Machine Evolution.
1 Genetic Algorithms Contents 1. Basic Concepts 2. Algorithm 3. Practical considerations.
Artificial Intelligence AIMA §5: Adversarial Search
Adversarial Search and Game-Playing
ADVERSARIAL GAME SEARCH: Min-Max Search
Multi-variable non linear function deduction using Genetic Programming
Evolutionary Algorithms Jim Whitehead
EA C461 – Artificial Intelligence Adversarial Search
MAE 552 Heuristic Optimization
Last time: search strategies
AI Classnotes #5, John Shieh, 2012
Tic-Tac-Throw! How to Play: X or O
PENGANTAR INTELIJENSIA BUATAN (64A614)
CS 460 Spring 2011 Lecture 4.
Adversarial Search and Game Playing (Where making good decisions requires respecting your opponent) R&N: Chap. 6.
Pengantar Kecerdasan Buatan
Optimizing Minmax Alpha-Beta Pruning Real Time Decisions
CSC 380: Design and Analysis of Algorithms
Game Playing in AI by: Gaurav Phapale 05 IT 6010
Game playing.
Chapter 6 : Game Search 게임 탐색 (Adversarial Search)
Artificial Intelligence Chapter 4. Machine Evolution
Kevin Mason Michael Suggs
NIM - a two person game n objects are in one pile
Introduction to Artificial Intelligence Lecture 11: Machine Evolution
Introduction to Artificial Intelligence Lecture 9: Two-Player Games I
Artificial Intelligence Chapter 4. Machine Evolution
Minimax strategies, alpha beta pruning
Genetic Algorithms & Simulated Evolution
Artificial Intelligence
A Tutorial (Complete) Yiming
Adversarial Search and Game Playing Examples
Genetic Algorithm Soft Computing: use of inexact t solution to compute hard task problems. Soft computing tolerant of imprecision, uncertainty, partial.
Beyond Classical Search
PN, PN2 and PN* in Lines of Action
Minimax strategies, alpha beta pruning
CSC 380: Design and Analysis of Algorithms
CS51A David Kauchak Spring 2019
Coevolutionary Automated Software Correction
Unit II Game Playing.
Presentation transcript:

A Distributed Genetic Algorithm for Learning Evaluation Parameters in a Strategy Game Gary Matthias

Objective Design a genetic algorithm that learns the optimal set of evaluation parameters for the 5,5,4-game (Tic-Tac-Toe variant) Implement a game simulation engine that uses an alpha-beta search to select moves Parallelize the natural selection segment of the algorithm, i.e., game simulation Compare parallel performance and serial performance

The 5,5,4-Game

Natural Selection Initial population of size n Round-robin tournament: n*(n-1) games Fitness/survival determined heuristically from game results: 5*wins + 1*draws - 4*losses Non-surviving competitors replaced with children of surviving competitors Chance of reproduction proportional to fitness score

Recombination Mutation

Evaluation Parameters Used Specific squares (e.g. corner vs. middle) 12 parameters, 8 bits each Consecutive pieces (number and direction) (8 bits) Scale factors (weight given to specific squares or consecutive pieces) 2 parameters, 8 bits each Search depth 1 parameters, 3 bits each

Convergence Convergence was not considered for this project, however a reasonable criterion for termination would be when all games end in draws for several consecutive rounds. (Beware local solutions!) Since the 5,5,4-game is a theoretical draw with perfect play, a tournament of all draws may suggest that near-perfect strategy is being played by all competitors.

Parallel vs. Serial Performance Performance determined by running time of n simulated matches of the 5,5,4-game On starp.csail.mit.edu with 8 processes Parallel vs. serial ratio decreases with increasing n For a round-robin tournament of very large n, the parallel algorithm would significantly decrease running time n = 8 n = 16 n = 32 Parallel 19.33 s 36.08 s 67.29 s Serial 27.26 s 77.60 s 178.45 s Ratio 0.71 0.46 0.38