T. P. Runarsson, J. J. Merelo, U. Iceland & U. Granada (Spain) NICSO 2010 Adapting Heuristic Mastermind Strategies to Evolutionary Algorithms.

Slides:



Advertisements
Similar presentations
BEST FIRST SEARCH - BeFS
Advertisements

Crew Pairing Optimization with Genetic Algorithms
Ali Husseinzadeh Kashan Spring 2010
Genetic Algorithm Example based on Koza, J Genetic Programming. Cambridge MA: Basic Books.
Genetic Algorithms (Evolutionary Computing) Genetic Algorithms are used to try to “evolve” the solution to a problem Generate prototype solutions called.
Multi-Objective Optimization NP-Hard Conflicting objectives – Flow shop with both minimum makespan and tardiness objective – TSP problem with minimum distance,
Genetic Algorithms By: Anna Scheuler and Aaron Smittle.
WEI-MING CHEN k-medoid clustering with genetic algorithm.
The Rate of Concentration of the stationary distribution of a Markov Chain on the Homogenous Populations. Boris Mitavskiy and Jonathan Rowe School of Computer.
Estimation of Distribution Algorithms Ata Kaban School of Computer Science The University of Birmingham.
Iterative Optimization of Hierarchical Clusterings Doug Fisher Department of Computer Science, Vanderbilt University Journal of Artificial Intelligence.
1 Simulation Modeling and Analysis Session 13 Simulation Optimization.
Iterative Optimization and Simplification of Hierarchical Clusterings Doug Fisher Department of Computer Science, Vanderbilt University Journal of Artificial.
Artificial Intelligence Genetic Algorithms and Applications of Genetic Algorithms in Compilers Prasad A. Kulkarni.
D Nagesh Kumar, IIScOptimization Methods: M1L4 1 Introduction and Basic Concepts Classical and Advanced Techniques for Optimization.
Evolving Multi-modal Behavior in NPCs Jacob Schrum – Risto Miikkulainen –
Genetic Algorithm.
Genetic Algorithms and Ant Colony Optimisation
林偉楷 Taiwan Evolutionary Intelligence Laboratory.
1 Paper Review for ENGG6140 Memetic Algorithms By: Jin Zeng Shaun Wang School of Engineering University of Guelph Mar. 18, 2002.
Genetic Algorithms Michael J. Watts
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.
How to apply Genetic Algorithms Successfully Prabhas Chongstitvatana Chulalongkorn University 4 February 2013.
Genetic Algorithms. Evolutionary Methods Methods inspired by the process of biological evolution. Main ideas: Population of solutions Assign a score or.
Genetic Algorithms Przemyslaw Pawluk CSE 6111 Advanced Algorithm Design and Analysis
Genetic Algorithms CSCI-2300 Introduction to Algorithms
Optimization Problems
CS 8625 High Performance Computing Dr. Hoganson Copyright © 2003, Dr. Ken Hoganson CS8625 Class Will Start Momentarily… CS8625 High Performance.
Fast test for multiple locus mapping By Yi Wen Nisha Rajagopal.
Evolving RBF Networks via GP for Estimating Fitness Values using Surrogate Models Ahmed Kattan Edgar Galvan.
A Fast Genetic Algorithm Based Static Heuristic For Scheduling Independent Tasks on Heterogeneous Systems Gaurav Menghani Department of Computer Engineering,
Application of the GA-PSO with the Fuzzy controller to the robot soccer Department of Electrical Engineering, Southern Taiwan University, Tainan, R.O.C.
PUNCH: An Evolutionary Algorithm for Optimizing Bit Set Selection Adam J. Ruben, Stephen J. Freeland, Laura F. Landweber DNA7, 2001 Summarized by Dongmin.
Agenda  INTRODUCTION  GENETIC ALGORITHMS  GENETIC ALGORITHMS FOR EXPLORING QUERY SPACE  SYSTEM ARCHITECTURE  THE EFFECT OF DIFFERENT MUTATION RATES.
Intro. ANN & Fuzzy Systems Lecture 37 Genetic and Random Search Algorithms (2)
A Heuristic Hillclimbing Algorithm for Mastermind Alexandre Temporel and Tim Kovacs.
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal Evolutionary Computation.
Multi-cellular paradigm The molecular level can support self- replication (and self- repair). But we also need cells that can be designed to fit the specific.
1 An approach based on shortest path and connectivity consistency for sensor network localization problems Makoto Yamashita (Tokyo Institute of Technology)
Genetic Algorithm(GA)
GENETIC ALGORITHM By Siti Rohajawati. Definition Genetic algorithms are sets of computational procedures that conceptually follow steps inspired by the.
Paper Review for ENGG6140 Memetic Algorithms
Optimization Problems
Evolutionary Algorithms Jim Whitehead
Extending wireless Ad-Hoc
A Genetic Algorithm Approach to K-Means Clustering
USING MICROBIAL GENETIC ALGORITHM TO SOLVE CARD SPLITTING PROBLEM.
Bulgarian Academy of Sciences
Dr. Ashraf Abdelbar American University in Cairo
CS 460 Spring 2011 Lecture 4.
A Distributed Genetic Algorithm for Learning Evaluation Parameters in a Strategy Game Gary Matthias.
C ODEBREAKER Class discussion.
Multy- Objective Differential Evolution (MODE)
Chapter 4 Beyond Classical Search
Advanced Artificial Intelligence Evolutionary Search Algorithm
CS621: Artificial Intelligence
Optimization Problems
CSE 589 Applied Algorithms Spring 1999
Evolutionist approach
Multi-Objective Optimization
Genetic Algorithms CSCI-2300 Introduction to Algorithms
Evolutionary Computation,
Introduction to Artificial Intelligence Lecture 11: Machine Evolution
Matthew Renner, Trish Beeksma, Patch Kenny
Boltzmann Machine (BM) (§6.4)
Searching for solutions: Genetic Algorithms
Applications of Genetic Algorithms TJHSST Computer Systems Lab
Introduction to Genetic Algorithm and Some Experience Sharing
Artificial Intelligence CIS 342
Presentation transcript:

T. P. Runarsson, J. J. Merelo, U. Iceland & U. Granada (Spain) NICSO 2010 Adapting Heuristic Mastermind Strategies to Evolutionary Algorithms

Evolutionary Mastermind - Merelo/Runarsson 2 Game of MasterMind

Evolutionary Mastermind - Merelo/Runarsson 3 But that's just a game!

Evolutionary Mastermind - Merelo/Runarsson 4 1.Donald Knuth 2.NP-Complete 3.Differential cryptanalisis 4.Circuit and program test 5.Genetic profiling 6.Minimize guesses 7.Minimize evaluations 7 reasons why you should

Evolutionary Mastermind - Merelo/Runarsson 5 Let's play, then

Evolutionary Mastermind - Merelo/Runarsson 6 Consistent combinations

Evolutionary Mastermind - Merelo/Runarsson 7 Naïve Algorithm Repeat Find a consistent combination and play it.

Evolutionary Mastermind - Merelo/Runarsson 8 Looking for consistent solutions Optimization algorithm based on distance to consistency (for all combinations played) D = 2

Evolutionary Mastermind - Merelo/Runarsson 9 Not all consistent combinations are born the same There's at least one better than the others (the solution) Some will reduce the remaining search space more. But scoring them is an open issue

Evolutionary Mastermind - Merelo/Runarsson 10 Score consistent set

Evolutionary Mastermind - Merelo/Runarsson 11 Enter partitions Most parts. Score = 5Best worst case. Score = Entropy. Score = 1.67

Evolutionary Mastermind - Merelo/Runarsson 12 Less Naïve Algorithm Play initial combination Repeat until end Eliminate non- consistent combinations Score the rest using partitions Play best score

Evolutionary Mastermind - Merelo/Runarsson 13 And the (exhausted) winner is... Entropy & Most Parts obtains the best results ~ combinations played Naïve algorithms obtain ~ 4.6 Problem: exhaustive search needed

Evolutionary Mastermind - Merelo/Runarsson 14 We want to do better than exhaustive search Berghman et al.'s used only a subset of the set of consistent combinations with an evolutionary algorithm: non-exhaustive Better scaling In this paper, we want first to compute the size of the set which obtains the same result as exhaustive search.

Evolutionary Mastermind - Merelo/Runarsson 15 What we do in this paper Check exhaustive search strategies Improve EAs Minimize set with same results

Evolutionary Mastermind - Merelo/Runarsson 16 Comparison of exhaustive search strategies

Evolutionary Mastermind - Merelo/Runarsson 17 Since entropy is good, let's try on EDAs Rank-based GA did not yield good results Available as Algorithm::Mastermind::EDA Population = 1/6 of search space Replacement rate: 50% 10 * 1296 runs (10 for each combination AAAA.. FFFF)

Evolutionary Mastermind - Merelo/Runarsson 18 How fit are combinations Combinations evolved directly Fitness: Distance-to- consistency Play random consistent combination (f) Play highest local entropy (f l )

Evolutionary Mastermind - Merelo/Runarsson 19 Are EDAs any good?

Evolutionary Mastermind - Merelo/Runarsson 20 Can we avoid exhaustive search? Instead of finding all consistent combinations, how many are needed? Most-parts & entropy methods need only ~20 (10-25% of total) Could be used for EDAs Not in this paper!

Evolutionary Mastermind - Runarsson/Merelo 21 Exhaustive search algorithms examined Comparison with EDAs yield better- than-random results We can use just a subset of consistent combinations Concluding... Exhaustive search algorithms examined Comparison with EDAs yield better- than-random results We can use just a subset of consistent combinations

Evolutionary Mastermind - Merelo/Runarsson 22 Open source your science!

Evolutionary Mastermind - Merelo/Runarsson 23 That's all Thanks for your attention Any questions?