Genetic Learning from Experience Sushil J. Louis Evolutionary Computing Systems LAB Department of Computer Science University of Nevada, Reno

Slides:



Advertisements
Similar presentations
Genetic Algorithms By: Anna Scheuler and Aaron Smittle.
Advertisements

Genetic Algorithms Contents 1. Basic Concepts 2. Algorithm
Genetic Algorithms Representation of Candidate Solutions GAs on primarily two types of representations: –Binary-Coded –Real-Coded Binary-Coded GAs must.
Genetic Algorithms Sushil J. Louis Evolutionary Computing Systems LAB Dept. of Computer Science University of Nevada, Reno
Institute of Intelligent Power Electronics – IPE Page1 Introduction to Basics of Genetic Algorithms Docent Xiao-Zhi Gao Department of Electrical Engineering.
Spie98-1 Evolutionary Algorithms, Simulated Annealing, and Tabu Search: A Comparative Study H. Youssef, S. M. Sait, H. Adiche
Friend Recommendations in Social Networks using Genetic Algorithms and Network Topology Jeff Naruchitparames, Mehmet Gunes, Sushil J. Louis University.
Case Injected Genetic Algorithms Sushil J. Louis Genetic Algorithm Systems Lab (gaslab) University of Nevada, Reno
Estimation of Distribution Algorithms Ata Kaban School of Computer Science The University of Birmingham.
Case Injected Genetic Algorithms for Affordable Human Modeling Start Date: 11/15/02 Sushil J. Louis University of Nevada, Reno John McDonnell SPAWAR San.
Case Injected Genetic Algorithms Sushil J. Louis Genetic Algorithm Systems Lab (gaslab) University of Nevada, Reno
COMP305. Part II. Genetic Algorithms. Genetic Algorithms.
A new crossover technique in Genetic Programming Janet Clegg Intelligent Systems Group Electronics Department.
Genetic Algorithm for Variable Selection
Learning from Experience: Case Injected Genetic Algorithm Design of Combinational Logic Circuits Sushil J. Louis Genetic Algorithm Systems Lab(gaslab)
Using a Genetic Algorithm for Approximate String Matching on Genetic Code Carrie Mantsch December 5, 2003.
Genetic Algorithms Sushil J. Louis Evolutionary Computing Systems LAB Dept. of Computer Science University of Nevada, Reno
Genetic Algorithms Nehaya Tayseer 1.Introduction What is a Genetic algorithm? A search technique used in computer science to find approximate solutions.
Computer Science Genetic Algorithms10/13/10 1 An Investigation of Niching and Species Formation in Genetic Function Optimization Kalyanmoy Deb David E.
Genetic Algorithm What is a genetic algorithm? “Genetic Algorithms are defined as global optimization procedures that use an analogy of genetic evolution.
16 November, 2005 Statistics in HEP, Manchester 1.
Genetic Programming.
Genetic Algorithm.
Evolutionary Computing Systems Lab (ECSL), University of Nevada, Reno 1 Authors : Siming Liu, Sushil Louis and Monica Nicolascu
Evolutionary Computing Systems Lab (ECSL), University of Nevada, Reno 1 Authors : Christopher Ballinger, Sushil Louis
CS 484 – Artificial Intelligence1 Announcements Lab 3 due Tuesday, November 6 Homework 6 due Tuesday, November 6 Lab 4 due Thursday, November 8 Current.
Lecture 8: 24/5/1435 Genetic Algorithms Lecturer/ Kawther Abas 363CS – Artificial Intelligence.
Investigation of the Effect of Neutrality on the Evolution of Digital Circuits. Eoin O’Grady Final year Electronic and Computer Engineering Project.
Zorica Stanimirović Faculty of Mathematics, University of Belgrade
Genetic Algorithms Michael J. Watts
An Iterative Heuristic for State Justification in Sequential Automatic Test Pattern Generation Aiman H. El-MalehSadiq M. SaitSyed Z. Shazli Department.
Genetic algorithms Charles Darwin "A man who dares to waste an hour of life has not discovered the value of life"
GENETIC ALGORITHMS FOR THE UNSUPERVISED CLASSIFICATION OF SATELLITE IMAGES Ankush Khandelwal( ) Vaibhav Kedia( )
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
Fuzzy Genetic Algorithm
Computational Complexity Jang, HaYoung BioIntelligence Lab.
FINAL EXAM SCHEDULER (FES) Department of Computer Engineering Faculty of Engineering & Architecture Yeditepe University By Ersan ERSOY (Engineering Project)
Genetic Algorithms Siddhartha K. Shakya School of Computing. The Robert Gordon University Aberdeen, UK
GENETIC ALGORITHM A biologically inspired model of intelligence and the principles of biological evolution are applied to find solutions to difficult problems.
Kansas State University Department of Computing and Information Sciences CIS 732: Machine Learning and Pattern Recognition Friday, 16 February 2007 William.
Learning by Simulating Evolution Artificial Intelligence CSMC February 21, 2002.
1 Genetic Algorithms K.Ganesh Introduction GAs and Simulated Annealing The Biology of Genetics The Logic of Genetic Programmes Demo Summary.
Genetic Algorithms Przemyslaw Pawluk CSE 6111 Advanced Algorithm Design and Analysis
Evolutionary Computing Systems Lab (ECSL), University of Nevada, Reno 1 Authors : Siming Liu, Sushil Louis and Monica Nicolascu
Genetic Algorithms CSCI-2300 Introduction to Algorithms
Edge Assembly Crossover
Genetic Algorithms. 2 Overview Introduction To Genetic Algorithms (GAs) GA Operators and Parameters Genetic Algorithms To Solve The Traveling Salesman.
Chapter 12 FUSION OF FUZZY SYSTEM AND GENETIC ALGORITHMS Chi-Yuan Yeh.
Speeding Up Warehouse Physical Design Using A Randomized Algorithm Minsoo Lee Joachim Hammer Dept. of Computer & Information Science & Engineering University.
EE749 I ntroduction to Artificial I ntelligence Genetic Algorithms The Simple GA.
Predicting permit activity with cellular automata calibrated with genetic algorithms Sushil J. LouisGary Raines Department of Computer Science US Geological.
GENETIC ALGORITHM Basic Algorithm begin set time t = 0;
1 Chapter 3 GAs: Why Do They Work?. 2 Schema Theorem SGA’s features: binary encoding proportional selection one-point crossover strong mutation Schema.
An Introduction to Genetic Algorithms Lecture 2 November, 2010 Ivan Garibay
Principles in the Evolutionary Design of Digital Circuits J. F. Miller, D. Job, and V. K. Vassilev Genetic Programming and Evolvable Machines.
Genetic Algorithm Dr. Md. Al-amin Bhuiyan Professor, Dept. of CSE Jahangirnagar University.
Selection and Recombination Temi avanzati di Intelligenza Artificiale - Lecture 4 Prof. Vincenzo Cutello Department of Mathematics and Computer Science.
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal Evolutionary Computation.
Overview Last two weeks we looked at evolutionary algorithms.
Genetic Algorithms. Solution Search in Problem Space.
Genetic Algorithm(GA)
Genetic Algorithm. Outline Motivation Genetic algorithms An illustrative example Hypothesis space search.
Intelligent Database Systems Lab 國立雲林科技大學 National Yunlin University of Science and Technology 1 Intelligent Exploration for Genetic Algorithms Using Self-Organizing.
USING MICROBIAL GENETIC ALGORITHM TO SOLVE CARD SPLITTING PROBLEM.
Bulgarian Academy of Sciences
Summary Half-Adder Basic rules of binary addition are performed by a half adder, which has two binary inputs (A and B) and two binary outputs (Carry out.
Aiman H. El-Maleh Sadiq M. Sait Syed Z. Shazli
EE368 Soft Computing Genetic Algorithms.
XOR Function Logic Symbol  Description  Truth Table 
Case Injected Genetic Algorithms
Presentation transcript:

Genetic Learning from Experience Sushil J. Louis Evolutionary Computing Systems LAB Department of Computer Science University of Nevada, Reno

2 Outline MotivationMotivation Case Injected Genetic AlgoRithmsCase Injected Genetic AlgoRithms Test problem: Designing 2-bit adderTest problem: Designing 2-bit adder RepresentationRepresentation ResultsResults Conclusions and future workConclusions and future work

3 Motivation Deployed systems are expected to confront and solve many problems over their lifetimeDeployed systems are expected to confront and solve many problems over their lifetime How can we increase genetic algorithm performance with experience?How can we increase genetic algorithm performance with experience? –Provide GA with a memory  Case Base

4 Case-Based Reasoning When confronted by a new problem, adapt similar (already solved) problem’s solution to solve new problemWhen confronted by a new problem, adapt similar (already solved) problem’s solution to solve new problem CBR  Associative Memory + AdaptationCBR  Associative Memory + Adaptation CBR: Indexing and adaptation are domain dependentCBR: Indexing and adaptation are domain dependent

5 Case Injected Genetic AlgoRithm Combine genetic search with case- based memoryCombine genetic search with case- based memory Case-base provides memoryCase-base provides memory Genetic algorithm provides adaptationGenetic algorithm provides adaptation Genetic algorithm generates casesGenetic algorithm generates cases –Any member of the GA’s population is a case

6 Human Problem 1Problem 2 CIGAR Problem 3

7 CIGAR acquires knowledge during problem solving Periodically save members of the GA’s population to the case- basePeriodically save members of the GA’s population to the case- base –A member of the population is a candidate solution to the problem Periodically inject appropriate cases into the GA’s population replacing lowest-fitness membersPeriodically inject appropriate cases into the GA’s population replacing lowest-fitness members Genetic Algorithm Case- base CBR module Preprocessor Candidate solutions Cases Save best individual Inject closest to the best

8 How does CIGAR operate ? Which cases do we inject?Which cases do we inject? Hamming Distance –Inject cases that are closest to the current best member of the population. Genetic algorithms usually use binary encodings. For these encodings, our distance metric is therefore Hamming Distance – the number of differing bits. GA theory points to other injection strategies –Probabilistic version: The probability of injection of a case in the case base is inversely proportional to distance from the current best member of the population relative to the distances of other cases. How often should we inject cases?How often should we inject cases? –Takeover time – number of generations needed for an individual to take over the population. P(Case i ) = (l – d i )/∑(l – d j ) Sum over all cases Chromosome length Hamming distance from best member

9 Test Problems Designing 4-input 3-output combinational logic circuitsDesigning 4-input 3-output combinational logic circuits 2 bit adder is one of these2 bit adder is one of these Evaluation functionEvaluation function –Feed all possible inputs and count the number of correct outputs –Maximum fitness = 16 x 3 = 48

10 Representation A two dimensional circuit is represented as a one dimensional chromosome

11 Generating 50 problems I1I2o carry Output String for 1-bit adder Output String for a boolean function that is similar to 1-bit adder Change output string Truth table for 1-bit adder We generate fifty similar problems by randomly selecting and flipping 0 – 10 bits of the output string of the 2-bit adder

12 Setup 50, 4-bit input, 3bit output combinational logic design problems50, 4-bit input, 3bit output combinational logic design problems Randomly select and flip between 0 – 10 bits in adder output to define logic function (the design problem)Randomly select and flip between 0 – 10 bits in adder output to define logic function (the design problem) Compare performanceCompare performance –Quality of final design solution (correct output) –Time to this final solution (in generations)

13 Parameters Population size: 100Population size: 100 No of generations: 150No of generations: 150 CHC (elitist) selectionCHC (elitist) selection Scaling factor: 1.05Scaling factor: 1.05 Prob. Crossover: 0.95Prob. Crossover: 0.95 Prob. Mutation: 0.05Prob. Mutation: 0.05 Store best individual every generationStore best individual every generation Inject every 8 generationsInject every 8 generations Inject 10 cases (10%)Inject 10 cases (10%) Multiple injection strategiesMultiple injection strategies Averages over 10 runs

14 Expected behavior Number of problems attempted Learning system/CIGAR No learning Quality Number of problems attempted Learning system/CIGAR No learning Time Expected behavior of a learning system QUALITY TIME

15 Actual Behavior Quality RIGA = Randomly Initialized GA

16 Actual Behavior Time to best solution RIGA = Randomly Initialized GA

17 Different Injection strategies Closest to bestClosest to best Probabilistic closest to bestProbabilistic closest to best Furthest from worstFurthest from worst Probabilistic furthest from worstProbabilistic furthest from worst

18 Quality and Time Injection strategy does not make significant difference

19 Less similar set of 50 problems Less difference in performance Flip 8 – 16 output bits

20 Summary CIGAR is a promising approach to learning from experienceCIGAR is a promising approach to learning from experience Hamming distance is similarity metricHamming distance is similarity metric Need to save intermediate solutionsNeed to save intermediate solutions Quality increases with experienceQuality increases with experience Time to solution decreases with experienceTime to solution decreases with experience

21 Future Work Investigate injection strategiesInvestigate injection strategies Similarity metrics for order-based encodingsSimilarity metrics for order-based encodings Does case-injection add useful diversity?Does case-injection add useful diversity? Is performance increase because of useful diversity or domain knowledge or both?Is performance increase because of useful diversity or domain knowledge or both?