Artificial Life and Emergent Behavior

Slides:



Advertisements
Similar presentations
Approaches, Tools, and Applications Islam A. El-Shaarawy Shoubra Faculty of Eng.
Advertisements

Tetris – Genetic Algorithm Presented by, Jeethan & Jun.
G5BAIM Artificial Intelligence Methods
Biologically Inspired AI (mostly GAs). Some Examples of Biologically Inspired Computation Neural networks Evolutionary computation (e.g., genetic algorithms)
1 The Game of Life Supplement 2. 2 Background The Game of Life was devised by the British mathematician John Horton Conway in More sophisticated.
1 Project Ideas in Computer Science Keld Helsgaun.
Cellular Automata (Reading: Chapter 10, Complexity: A Guided Tour)
1 Chapter 13 Artificial Life: Learning through Emergent Behavior.
Genetic Algorithms1 COMP305. Part II. Genetic Algorithms.
CELLULAR AUTOMATON Presented by Rajini Singh.
Evolutionary Algorithms Simon M. Lucas. The basic idea Initialise a random population of individuals repeat { evaluate select vary (e.g. mutate or crossover)
Genetic Algorithms Learning Machines for knowledge discovery.
Natural Computation: computational models inspired by nature Dr. Daniel Tauritz Department of Computer Science University of Missouri-Rolla CS347 Lecture.
Cellular Automata Avi Swartz 2015 UNC Awards Ceremony.
Nawaf M Albadia Introduction. Components. Behavior & Characteristics. Classes & Rules. Grid Dimensions. Evolving Cellular Automata using Genetic.
Discovery of Cellular Automata Rules Using Cases Ken-ichi Maeda Chiaki Sakama Wakayama University Discovery Science 2003, Oct.17.
The Role of Artificial Life, Cellular Automata and Emergence in the study of Artificial Intelligence Ognen Spiroski CITY Liberal Studies 2005.
Department of Information Technology Indian Institute of Information Technology and Management Gwalior AASF hIQ 1 st Nov ‘09 Department of Information.
Introduction to Genetic Algorithms and Evolutionary Computation
Evolution Strategies Evolutionary Programming Genetic Programming Michael J. Watts
CS 484 – Artificial Intelligence1 Announcements Lab 4 due today, November 8 Homework 8 due Tuesday, November 13 ½ to 1 page description of final project.
Study on Genetic Network Programming (GNP) with Learning and Evolution Hirasawa laboratory, Artificial Intelligence section Information architecture field.
Computer Science Dept, San Jose State University, CA Self Reproducing CA’s and Programs Shruti Parihar May 06, 2003.
Lecture 8: 24/5/1435 Genetic Algorithms Lecturer/ Kawther Abas 363CS – Artificial Intelligence.
Polynomial Discrete Time Cellular Neural Networks Eduardo Gomez-Ramirez † Giovanni Egidio Pazienza‡ † LIDETEA, POSGRADO E INVESTIGACION Universidad La.
Course material – G. Tempesti Course material will generally be available the day before the lecture Includes.
What is Genetic Programming? Genetic programming is a model of programming which uses the ideas (and some of the terminology) of biological evolution to.
1 Chapter 13 Artificial Life: Learning through Emergent Behavior.
I Robot.
Neural Networks and Machine Learning Applications CSC 563 Prof. Mohamed Batouche Computer Science Department CCIS – King Saud University Riyadh, Saudi.
Intelligent Database Systems Lab 國立雲林科技大學 National Yunlin University of Science and Technology 1 Evolving Reactive NPCs for the Real-Time Simulation Game.
Fundamentals of Game Design, 2 nd Edition by Ernest Adams Chapter 20: Artificial Life and Puzzle Games.
Cellular Automata Introduction  Cellular Automata originally devised in the late 1940s by Stan Ulam (a mathematician) and John von Neumann.  Originally.
Course Overview  What is AI?  What are the Major Challenges?  What are the Main Techniques?  Where are we failing, and why?  Step back and look at.
A few of the people involved and what they’ve done.
TRU-COMP3710 Artificial Life and Emergent Behavior1 Course Outline Part I – Introduction to Artificial Intelligence Part II – Classical Artificial Intelligence.
What is Evolution? How do things Evolve?. Ok, we have created the Earth Earth about 4.0 Ga. We now want to follow its evolution from past to present But.
Conway’s Game of Life Jess Barak Game Theory. History Invented by John Conway in 1970 Wanted to simplify problem from 1940s presented by John von Neumann.
A Brief History of AI Fall 2013 COMP3710 Artificial Intelligence Computing Science Thompson Rivers University.
Computing Systems Lecture 12 Future Computing. Natural computing Take inspiration from nature for the development of novel problem-solving techniques.
March 1, 2016Introduction to Artificial Intelligence Lecture 11: Machine Evolution 1 Let’s look at… Machine Evolution.
Origin Statement – August 8, 2012 From your experience so far, what do you know about science? Write down as much of the scientific method, in order, as.
Introduction to Genetic Algorithms
Knowledge Representation
Artificial Life and Emergent Behavior
Chaotic Behavior - Cellular automata
Spatio-Temporal Information for Society Münster, 2014
Cellular automata.
On Routine Evolution of Complex Cellular Automata
Evolution Strategies Evolutionary Programming
Done Done Course Overview What is AI? What are the Major Challenges?
COMP3710 Artificial Intelligence Thompson Rivers University
Chapter 3: Complex systems and the structure of Emergence
Illustrations of Simple Cellular Automata
Evolutionary Algorithms
Basics of Genetic Algorithms (MidTerm – only in RED material)
Cellular Automata.
Spatio-temporal information in society: cellular automata
GENETIC ALGORITHM A biologically inspired model of intelligence and the principles of biological evolution are applied to find solutions to difficult.
Introduction to Artificial Intelligence Lecture 11: Machine Evolution
Dr. Unnikrishnan P.C. Professor, EEE
Basics of Genetic Algorithms
G5BAIM Artificial Intelligence Methods
CHAPTER I. of EVOLUTIONARY ROBOTICS Stefano Nolfi and Dario Floreano
Knowledge Representation
COMP3710 Artificial Intelligence Thompson Rivers University
COMP3710 Artificial Intelligence Thompson Rivers University
Von Neumann’s Automaton and Viruses
Modeling Rainfall using a Cellular Automata
Coevolutionary Automated Software Correction
Presentation transcript:

Artificial Life and Emergent Behavior Course Outline Part I – Introduction to Artificial Intelligence Part II – Classical Artificial Intelligence Part III – Machine Learning Introduction to Machine Learning Neural Networks Probabilistic Reasoning and Bayesian Belief Networks Artificial Life: Learning through Emergent Behavior Part IV – Advanced Topics TRU-COMP3710 Artificial Life and Emergent Behavior

Artificial Life and Emergent Behavior Comp3710 Artificial Intelligence Computing Science Thompson Rivers University

Reference Artificial Intelligence Illuminated, Ben Coppin, Jones and Bartlett Illuminated Series … Emergent Behavior

Chapter Contents What is life? Emergent Behavior Finite State Automata Conway’s Life One-Dimensional Cellular Automata Self-Reproducing Systems Evolution and Evolution Strategies Genetic Programming Artificial Immune Systems Emergent Behavior

1. What is life? What are the defining features of life? self-reproduction ability to evolve by Darwinian natural selection response to stimuli ability to die growth or expansion Not all living things obey these rules E.g., mules Some things that are not alive do E.g., viruses, computer viruses Defining life is very difficult! Emergent Behavior

2. Emergent Behavior Emergent behavior is a prominent feature of life. The idea that complex behavior emerges from simple rules. For Goldstein, emergence can be defined as: "the arising of novel and coherent structures, patterns and properties during the process of self-organization in complex systems" (Corning 2002). Photo taken and supplied by Brian Voon Yee Yap. Cathedral Termite Mounds. Emergent Behavior

Emergent Behavior Examples Boids – Craig Reynolds in 1987 Simulations of birds given very simple rules about how to fly. Automatically flew in such a way as to avoid large obstacles, without being taught explicitly how to do so. Rules Tendency to move toward the center of gravity of the whole flock No collision each other No other rule except the above two Now to be used in animation software eFloys (evolving Floyes) (Note. Try with FireFox) Social, territorial, evolving artificial life creatures Territorialism (they defend their territory against intruders) Potential individualism (each can possess a different personality) Ability to evolve (using a Genetic Algorithm code). Emergent Behavior

3. Finite State Automata Very useful tool for AI, and computer science in general FSA: a machine with a finite number of states. A state represents a set of internal data at a certain moment. The FSA is given inputs, which result in transitions between states. Some states are accepting, meaning the FSA is saying “Yes”. Other states are rejecting. In this example there are two possible input characters – a and b, and two states, 1 and 2. Meaning of the FSA is ??? It will finish in state 1 (the accepting state) if the input has an even number of a’s. Emergent Behavior

Very useful tool for AI, and computer science in general It is possible to mimic certain behaviors of living creatures using FSAs. E.g., Boids Inputs – location, speed, other birds, obstacles, … State – direction, speed A set of rules that determine which state to move to from each state, according to the input data Can you make a FSA for variable names in Java? A variable consists of characters, numbers and ‘_’, Must not start with a number Can you make a FSA for pendulous words, e.g., abcddcba? Emergent Behavior

4. Cellular automata Emergent Behavior

Conway’s Life A two dimensional cellular automaton. A two dimensional grid of cells, each of which can be alive or dead. A set of rules determines how the cells will change from one generation to the next: A dead cell will come to life if it has three living neighbors. A living cell with two or three living neighbors, will stay alive. A living cell with fewer than two living neighbors will die of loneliness. A living cell with more than three living neighbors will die of overcrowding. Emergent Behavior

Conway’s Life Emergent behavior: Surprisingly complex behavior can sometimes emerge from these simple rules. This diagram shows a successive sequence of generations of Conway’s Life. This pattern is known as a glider. There is also a pattern known as a glider gun which constantly fires out gliders. Emergent Behavior

5. One-Dimensional Cellular Automata A single line of cells. Each cell thus has two immediate neighbors. It is usual to have rules that take into account the cells on either side of the immediate neighbors as well. Usually, the cell itself is also taken into account, meaning that each cell’s future is determined by 5 cells. 1-D Cellular Automata often use totalistic rules, meaning that the number of living cells out of the 5 is all that determines the cell’s state in the next generation. At least two living neighbors, then it will live Less than two neighbors, then it will stay dead If a dead cell has at least three living neighbors, then it will come to life Emergent Behavior

One-Dimensional Cellular Automata Hence, there are 32 possible rule sets. One such set of rules might be: 1 2 3 4 5 0 0 1 1 1 This says a cell can only survive if it has two, three or four neighbors. This rule can be seen applied in five generations in the following diagram: Applications: image processing 1st generation 2nd 3rd 4th 5th Emergent Behavior

More demonstration Game of Life One dimensional cellular automata Animal patterns Emergent Behavior

6. Self-Reproducing Systems Von Neumann proposed a self-reproducing system based on cellular automata in the 1950s. Langton invented loops: 8 different states Contains all the information that is needed to reproduce itself. The artificial system that was capable of self-reproducing. The “organism” that Langton created lived in an environment that was nothing more than a board of cells; each cell contains its own state. Depending upon the state of a cell and the state of the cells around it, a cell’s state might change in the next generation. The creature that Langton created in this environment looked like a loop with a tail. As time advanced the tail extended and made a new loop. This new loop then severed itself from the original loop organism and then there were two organisms. Both the new creature and the original creature were able to reproduce, and so they did, eventually filling up all the available space [Levy, 1992]. Emergent Behavior

Self-Reproducing Systems HAL 9000 in the movie “2001: A Space Odyssey” was inspired by Langton’s loops Ultimately we may have robots that can obtain the raw materials necessary to produce new versions of themselves. This would be useful for exploring other planets. Emergent Behavior

7. Evolution The changes in cellular automata involve single-step selection, while evolutionary systems involve cumulative selection (Dawkins, 1991). Survival of the fittest means that creatures that are fit are more likely to reproduce than those that are less fit. This idea is modeled exactly in systems such as genetic algorithms. Dawkins’ biomorphs Nine genes representing a feature of the biomorphs, such as the branching angle between branches or the length of branches. Evolved Virtual Creatures Karl Sims in 1994 Darwinian evolutions of virtual block creatures https://www.youtube.com/watch?v=0_8tNGKm87U Emergent Behavior

Evolution Strategies Similar to hill-climbing. A set of numeric parameters is varied from generation to generation by making normally distributed changes to the values. If the offspring is a better solution than the parent, then the process repeats from the offspring. Otherwise, the offspring is rejected, and a new attempt is made. This is asexual reproduction – a single parent produces a single offspring. Emergent Behavior

8. Genetic Programming http://www.genetic-programming.org/ http://www.genetic-programming.com/gpanimatedtutorial.html Genetic programming (GP) is an automated method for creating a working computer program from a high-level problem statement of a problem. Genetic programming starts from a high-level statement of “what needs to be done” and automatically creates a computer program to solve the problem. Not genetic algorithms U. S. PATENT 5,719,794 Emergent Behavior

9. Artificial Immune Systems Systems modeled on the immune systems in humans and other biological creatures. Used in anti-virus systems, for example. Also applied in computer security, for solving combinatorial problems, and for machine learning problems. Emergent Behavior