Genetic Programming: Hypothesis Evolution By Nam Nguyen Greg Nelson.

Slides:



Advertisements
Similar presentations
The people Look for some people. Write it down. By the water
Advertisements

Null Hypothesis : The dynamics of the forest ecosystem will not be affected by the fire. Hypothesis 1 : The fires will have a considerable effect on the.
Fry’s Third 100 Phrases Read each phrase out loud in a soft voice.
High-Frequency Phrases
A.
Genetic Algorithms.
High-Frequency Phrases
Near the car.
Third 100 Words. near the car between the lines.
Decision Trees Decision tree representation ID3 learning algorithm
Machine Learning III Decision Tree Induction
1 CS101 Introduction to Computing Lecture 17 Algorithms II.
Classification Algorithms
For Wednesday Read chapter 19, sections 1-3 No homework.
ICS320-Foundations of Adaptive and Learning Systems
Evolutionary Games The solution concepts that we have discussed in some detail include strategically dominant solutions equilibrium solutions Pareto optimal.
NEW TIES WP2 Agent and learning mechanisms. Decision making and learning Agents have a controller (decision tree, DQT)  Input: situation (as perceived.
Basic concepts of Data Mining, Clustering and Genetic Algorithms Tsai-Yang Jea Department of Computer Science and Engineering SUNY at Buffalo.
Naïve Bayesian Classifiers Before getting to Naïve Bayesian Classifiers let’s first go over some basic probability theory p(C k |A) is known as a conditional.
Investigating the why of the commerce, by starting from a plausible primordial world model.
Evolutionary Games The solution concepts that we have discussed in some detail include strategically dominant solutions equilibrium solutions Pareto optimal.
Evolving Agents in a Hostile Environment Alex J. Berry.
Design of a Learning Classifier System for … … Distributed Max-Flow Algorithm Fault Detection.
Second Grade Sight Words. high 229 every 230 near 231.
Decision tree: Example 0 = Not a Saturday, 1 = Saturday Given: rainy, humid, not windy Is it a Saturday? It is a Saturday.
By Wang Rui State Key Lab of CAD&CG
Evolving a Sigma-Pi Network as a Network Simulator by Justin Basilico.
Genetic Algorithms CS121 Spring 2009 Richard Frankel Stanford University 1.
I am ready to test!________ I am ready to test!________
Sight Words.
Lecture 8: 24/5/1435 Genetic Algorithms Lecturer/ Kawther Abas 363CS – Artificial Intelligence.
Using Neural Networks to Predict Claim Duration in the Presence of Right Censoring and Covariates David Speights Senior Research Statistician HNC Insurance.
List #3 3 rd hundred most commonly used words Directions: 1. Please read through this list with a partner 2. Time each other reading the words 3. Start.
High. every near add food between own below.
GENETIC ALGORITHM A biologically inspired model of intelligence and the principles of biological evolution are applied to find solutions to difficult problems.
Predator/Prey Simulation for Investigating Emergent Behavior Jay Shaffstall.
DECOI: Social Simulation - August Social Simulation Branimir Cace, Carlos Grilo, Arne Handt, Pablo Rabanal & Scott Stensland.
By Jose Campuzano and Dylan Goerner. The bunny population has been increasing over the years because of the high number of babies they have at one time.
Genetic Algorithms ML 9 Kristie Simpson CS536: Advanced Artificial Intelligence Montana State University.
Sight Word List.
1 Appendix D: Application of Genetic Algorithm in Classification Duong Tuan Anh 5/2014.
Chapter 9 Genetic Algorithms.  Based upon biological evolution  Generate successor hypothesis based upon repeated mutations  Acts as a randomized parallel.
Bike. are at can big cannot am book books.
Machine Learning Concept Learning General-to Specific Ordering
High Frequency Words.
Near the car. For example Watch the river. Between the lines.
The Third 100. Directions: Read each phrase. A left mouse click advances the slide show. Time yourself. Try to get faster and make fewer errors. Have.
Frye’s phrases 3 rd 100. Near the car Between the lines.
GENETIC ALGORITHM Basic Algorithm begin set time t = 0;
Measuring Populations. Introduction If you had one male and one female elephant in the wild They would reproduce every so often and have a baby elephant.
Machine Learning in Practice Lecture 2 Carolyn Penstein Rosé Language Technologies Institute/ Human-Computer Interaction Institute.
These words come from Dr. Edward Fry’s Instant Word List.
Introduction Sample surveys involve chance error. Here we will study how to find the likely size of the chance error in a percentage, for simple random.
Learning Procedural Knowledge through Observation -Michael van Lent, John E. Laird – 인터넷 기술 전공 022ITI02 성유진.
Created By Sherri Desseau Click to begin TACOMA SCREENING INSTRUMENT FIRST GRADE.
Genetic Algorithm. Outline Motivation Genetic algorithms An illustrative example Hypothesis space search.
 Presented By: Abdul Aziz Ghazi  Roll No:  Presented to: Sir Harris.
Fry Phrase List 3.
Machine Learning Inductive Learning and Decision Trees
Decision Trees: Another Example
Fry’s Third 100 Phrases Read each phrase out loud in a soft voice.
Play Tennis ????? Day Outlook Temperature Humidity Wind PlayTennis
Read the phrases before the slide changes for fluency practice.
START.
Fry’s Third 100 Phrases Read each phrase out loud in a soft voice.
March 12, 2018 EQ: How does natural selection affect gene frequency over several generations? Warm-Up: In genetics, we discussed selective breeding. In.
Presentation transcript:

Genetic Programming: Hypothesis Evolution By Nam Nguyen Greg Nelson

Introduction To Evol An attempt to more directly simulate the process of natural selection. The system is set up as a large board with agents and examples. Each agent executes on its own thread. Agents live on the board and wander around processing examples and interacting with other agents. Two kinds of agents: helpers and fighters. Examples act as food for the agents.

Goal Implement a new genetic algorithm that, rather than being based on probabilities, actually models the process of natural selection. Build a dynamic, intuitive learning system that very closely emulates natural selection. Find a balance in parameter settings (how much "life" an agent starts with, what the "age" threshold is in order to breed, how much an agent's "life" is boosted by eating an example, etc...); some settings cause agents to breed like rabbits and grow to doomsday, others lead to almost immediate extinction.

Problem Representation Environment is represented by a board. All entities live on this board. Agents walk around, eat examples, breed, share information, and fight with other agents. E E

Hierarchy Tree Entity Example Agent Helper Fighter

Play Tennis Example Example 1 (Outlook = Sunny) && (Temp = Hot) && (Humidity = High) && (Wind = Weak) Then (PlayTennis = Yes) Bit string (First three bits for Outlook, etc…) All hypotheses and examples are represented with this notation.

Agents The agents contain a genotype and phenotype. Both represent hypotheses. The phenotype is used (and changed); the genotype is inherited from birth, never changed, and passed on to future generations. Agents also interact by breeding, helping each other, or fighting.

Examples Continued Examples are created from the training data set and act as food for the agents. When an agent comes upon an example it does one of two things: 1. If it classifies it correctly, it "eats" it, which increases its strength and likelihood for survival. 2. If not, it tries to learn something from it (change some of the phenotype bits to match the example’s).

When Helpers Meet Other Helpers Helper Helper

You are too young. We should help each other. Okay, let’s be friends! Helper Helper

This is what I learned Here’s my knowledge Helper Helper Bit 5 is true Bit 6 is true

When Helpers Meet Other Helpers: part 2 Helper 1 Life 500 Helper 2 Life 800

How old are you?

I am above threshold

Censored

Helper 1 Life 250 Helper 2 Life 550 Helper 3 (Baby) Life 500 Several Cycles Later…

When Fighters Meet Other Agents Fighter 1

Quit stealing my mates and examples

No, you stop!

Lightning Bolt

POW! AH HA HA HA!

When Fighters Meet Wise Helpers Helper 1 Life 900 Fighter 1 Life 800

Must… fight!

That agent is too cute to bully… Hello! How are you?

Get over here!

Zip! AHHHHH!

Whoos h

Smooch!

Helper 1 Life 650 Fighter 1 Life 550 Fighter 2 Baby Life 500 Several Cycles Later…..

Learning Algorithm Agents move around the board learning from examples and each other. The more successful agents will breed more readily, while the less successful agents will be killed by starvation and combat.

Performance Seemed to learn simple tasks such as playTennis and mushroom. - classified 80% of the playTennis set correctly - classified 92% of mushroom test set correctly. This is because it “learned” to classify everything as edible. Performed dismally on other tasks such as voting. Varying parameters might improve stability and speedup convergence.

Problems Population control (doomsday and extinction, memory issues). Too much interaction between agents, not enough eating! Disturbing bug (fixed): agents would have a child and then immediately mate with it!

Conclusions Hard to control/predict a dynamic population of agents acting independently. Nondeterministic: different results every time, although similar trends (above). With lots of work, we think this could work very well.

Sample log file. (Fighter3, ) at [12,3] ate (person161,99) at [12,3] (Fighter3, ) at [12,3] ate (person161,98) at [12,3] (Fighter0, ) at [20,1] is breeding with (Helper0, ) at [20,1]! (Fighter0, ) at [20,1] begat (Fighter20,500000) at [20,1]! (Fighter20,499999) at [19,1] beat up (Fighter19,499987) at [19,1]! (Fighter19,499987) at [19,1] is dying! (Fighter0, ) at [20,2] is breeding with (Helper0, ) at [20,2]! (Fighter0, ) at [20,2] begat (Fighter21,500000) at [20,2]! (Fighter21,500000) at [20,2] got beat up by (Fighter0, ) at [20,2] (Fighter21,500000) at [20,2] is dying! (Helper1, ) at [18,0] ate (person77,98) at [18,0] (Fighter0, ) at [21,4] is breeding with (Helper0, ) at [21,4]! (Fighter0, ) at [21,4] begat (Fighter22,500000) at [21,4]! (Fighter3, ) at [18,0] ate (person77,97) at [18,0] (Helper2, ) at [5,16] ate (person112,99) at [5,16] (Fighter3, ) at [18,24] ate (person52,95) at [18,24] (Helper2, ) at [6,17] ate (person130,100) at [6,17].

Sample output Time limit reached: terminating. The following 42 rules were learned from the training set: Helper1, RANK 2670: IF ((handicappedkids=y) OR (handicappedkids=n)) AND... AND ((export_act_safrica=y)) THEN Democrat.

Questions… ???