Cellular Automata Orit Moskovich 4.12.2013.

Slides:



Advertisements
Similar presentations
{ John Conway’s Game of Life.  John von Neumann  Wanted to find/create a machine that could replicate itself  Found an answer, but it was very complex.
Advertisements

Game of Life in 21 st Century ECE817 Presentation By Kyusik Chung
Cellular Automata COMP308 Unconventional models and paradigms.
Game of Life Rules and Games Linh Tran ECE 573. What is Life? Life is just one example of a cellular automaton, which is any system in which rules are.
1 Stefano Redaelli LIntAr - Department of Computer Science - Unversity of Milano-Bicocca Space and Cellular Automata.
CITS4403 Computational Modelling Game of Life. One of the first cellular automata to be studied, and probably the most popular of all time, is a 2-D CA.
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.
Cellular Automata (Reading: Chapter 10, Complexity: A Guided Tour)
1 Chapter 13 Artificial Life: Learning through Emergent Behavior.
CELLULAR AUTOMATON Presented by Rajini Singh.
CELLULAR AUTOMATA Derek Karssenberg, Utrecht University, the Netherlands LIFE (Conway)
CS Summer 2005 Final class - July 1st Assorted fun topics in computability and complexity.
Cellular Automata MATH 800 Fall “Cellular Automata” 588,000 results in 94,600 results in 61,500 results in 2.
An Introduction to Cellular Automata
Joanne Turner 15 Nov 2005 Introduction to Cellular Automata.
Lectures on Cellular Automata Continued Modified and upgraded slides of Martijn Schut Vrij Universiteit Amsterdam Lubomir Ivanov Department.
Today’s Plan Introduction to Artificial Life Cellular Automata
1 GEM2505M Frederick H. Willeboordse Taming Chaos.
Cellular Automata Avi Swartz 2015 UNC Awards Ceremony.
Introduction At the heart of the growth of a multi-cellular organism is the process of cellular division… … aka (in computing) self-replication.
A New Kind of Science in a Nutshell David Sehnal QIPL at FI MU.
A New Kind of Science Chapter 3 Matthew Ziegler CS 851 – Bio-Inspired Computing.
Two Dimensions and Beyond From: “ A New Kind of Science” by Stephen Wolfram Presented By: Hridesh Rajan.
Nawaf M Albadia Introduction. Components. Behavior & Characteristics. Classes & Rules. Grid Dimensions. Evolving Cellular Automata using Genetic.
Pablo Cristian Tissera, Marcela Printista, Marcelo Luis Errecalde Lab. de Investigacion y Desarrollo en Inteligencia Computacional (LIDIC) Universidad.
Parallelization: Conway’s Game of Life. Cellular automata: Important for science Biology – Mapping brain tumor growth Ecology – Interactions of species.
Discrete Time and Discrete Event Modeling Formalisms and Their Simulators Dr. Feng Gu.
Chapter 12: Simulation and Modeling
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.
Dynamic Models of Segregation
Complex systems complexity chaos the butterfly effect emergence determinism vs. non-determinism & observational non-determinism.
More Accurate Rate Estimation CS 170: Computing for the Sciences and Mathematics.
Governor’s School for the Sciences Mathematics Day 13.
CS 484 – Artificial Intelligence1 Announcements Lab 4 due today, November 8 Homework 8 due Tuesday, November 13 ½ to 1 page description of final project.
Course material – G. Tempesti Course material will generally be available the day before the lecture Includes.
1 Cellular Automata and Applications Ajith Abraham Telephone Number: (918) WWW:
Centre for Advanced Spatial Analysis (CASA), UCL, 1-19 Torrington Place, London WC1E 6BT, UK web Talk.
1 Chapter 13 Artificial Life: Learning through Emergent Behavior.
The Game of Life A simulation of "life". From simple rules, complex behavior arises Rules –A cell that is alive and has fewer than two live neighbors dies.
Activity 2-1: The Game of Life
Introduction to Lattice Simulations. Cellular Automata What are Cellular Automata or CA? A cellular automata is a discrete model used to study a range.
Fractals. In colloquial usage, a fractal is "a rough or fragmented geometric shape that can be subdivided in parts, each of which is (at least approximately)
EASy Summer 2006Non Symbolic AI Lecture 131 Non Symbolic AI - Lecture 13 Symbolic AI is often associated with the idea that “ Intelligence is Computation”
Cellular Automata Spatio-Temporal Information for Society Münster, 2014.
CELLULAR AUTOMATA A Presentation By CSC. OUTLINE History One Dimension CA Two Dimension CA Totalistic CA & Conway’s Game of Life Classification of CA.
Cellular Automata Martijn van den Heuvel Models of Computation June 21st, 2011.
The Game of Life Erik Amelia Amy. What is the “Game of Life?” The “Game of Life” (often referred to as Life) is not your typical game. There are no actual.
Model Iteration Iteration means to repeat a process and is sometimes referred to as looping. In ModelBuilder, you can use iteration to cause the entire.
Cellular Automata. John von Neumann 1903 – 1957 “a Hungarian-American mathematician and polymath who made major contributions to a vast number of fields,
Cellular Automata FRES 1010 Eileen Kraemer Fall 2005.
Cellular Automata Introduction  Cellular Automata originally devised in the late 1940s by Stan Ulam (a mathematician) and John von Neumann.  Originally.
Cellular Automata Martijn van den Heuvel Models of Computation June 21st, 2011.
CS851 – Biological Computing February 6, 2003 Nathanael Paul Randomness in Cellular Automata.
Cellular Automata BIOL/CMSC 361: Emergence 2/12/08.
제 4 주. Cellular Automata A Brief history of Cellular Automata P. Sarkar, ACM Computing Surveys, vol. 32, no. 1, pp. 80~107, 2000 학습목표 계산도구로서의 Cellular.
1 Cellular Automata What could be the simplest systems capable of wide-ranging or even universal computation? Could it be simpler than a simple cell?
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.
1 1 2 What is a Cellular Automaton? A one-dimensional cellular automaton (CA) consists of two things: a row of "cells" and a set of "rules". Each of.
Chaotic Behavior - Cellular automata
Spatio-Temporal Information for Society Münster, 2014
Hiroki Sayama NECSI Summer School 2008 Week 3: Methods for the Study of Complex Systems Cellular Automata Hiroki Sayama
Illustrations of Simple Cellular Automata
Cellular Automata + Reaction-Diffusion Systems
Alexei Fedorov January, 2011
Cellular Automata.
Spatio-temporal information in society: cellular automata
Hiroki Sayama NECSI Summer School 2008 Week 2: Complex Systems Modeling and Networks Cellular Automata Hiroki Sayama
Cellular Automata What could be the simplest systems capable of wide-ranging or even universal computation? Could it be simpler than a simple cell?
Cellular Automata (CA) Overview
Presentation transcript:

Cellular Automata Orit Moskovich 4.12.2013

Outline What is a Cellular Automaton? Wolfram’s Elementary CA Conway's Game of Life Applications and Summary

Cellular automaton A discrete model Regular grid of cells, each in one of a finite number of states The grid can be in any finite number of dimensions For each cell, a set of cells called its neighborhood is defined relative to the specified cell  Moore neighborhood von Neumann neighborhood

Cellular automaton An initial state (time t=0) is selected by assigning a state for each cell A new generation is created (advancing t by 1), according to some fixed rule that determines the new state of each cell in terms of: the current state of the cell the states of the cells in its neighborhood Typically, the rule set is the same for each cell does not change over time applied to the whole grid simultaneously  Moore neighborhood von Neumann neighborhood

Background Ulam Originally discovered in the 1940s by Stanislaw Ulam and John von Neumann Ulam was studying the growth of crystals and von Neumann was imagining a world of self-replicating robots Studied by some throughout the 1950s and 1960s Conway's Game of Life (1970), a two-dimensional cellular automaton, interest in the subject expanded beyond academia In the 1980s, Stephen Wolfram engaged in a systematic study of one- dimensional cellular automata (elementary cellular automata) Wolfram’s research assistant Matthew Cook showed that one of these rules has a VERY cool and important property Wolfram published A New Kind of Science in 2002 and discusses how CA are not simply cool, but are relevant to the study of many fields in science, such as biology, chemistry, physics, computer processors and cryptography, and many more von Neumann

Why the big interest??? A complex system, generated from a very simple configuration Is this even possible? Cellular automata can simulate a variety of real-world systems. There has been speculation that CA may be able to model reality itself, i.e. that the universe could be viewed as a giant cellular automaton.

Outline What is a Cellular Automaton? Wolfram’s Elementary CA Conway's Game of Life Applications and Summary

General One-Dimensional CA Grid Initial state Neighborhood Rules Average, Sum …

Wolfram’s Elementary CA Simplest possible model One-dimensional cellular automaton  The standard Wolfram model is to initialize the grid with all cells assigned with 0, except for the middle cell which is assigned with 1 The neighborhood is the two immediate neighbors Rules i i + 1

Wolfram’s Elementary CA - Demo In the demo we’ll use this set of rules: These set of rules are called “Rule 90” Demo

Wolfram’s Elementary CA – Rule 90 Rules: XOR of the two neighboring values "the simplest non-trivial cellular automaton“ (Martin, Odlyzko & Wolfram, ‘84) Interesting properties: When started from a random initial configuration, its configuration remains random at each time step Any configuration with only finitely many nonzero cells becomes a replicator that eventually fills all of the cells with copies of itself Additive cellular automaton: if two initial states are combined by computing the XOR of each their states, then their subsequent configurations will be combined in the same way

Rule 90 & Sierpiński triangle The time-space diagram of Rule 90 has the appearance of the Sierpiński triangle fractal  when responding to an initial state with a single nonzero cell Because the XOR rule is equivalent to  modulo-2 addition, this generates the modulo-2 version of Pascal's triangle, which is a discrete version of the Sierpiński triangle

Rule 90 - Uses  Gilbreath's conjecture on the differences of consecutive prime numbers Rule 90 controls the behavior of the parts of the rows that contain only the values 0 and 2 From any initial configuration of Rule 90, one may form an acyclic graph in which every node has at most one outgoing edge

Wolfram’s Elementary CA – Classes There are only 256(= 28) different ways for a Wolfram Elementary CA can be defined! They can be categorized into 4 classifications: CA which rapidly converge to a uniform state (rule 222) CA which rapidly converge to a repetitive or stable state (rule 190) CA which appear to remain in a random state (rule 30) CA which form areas of repetitive or stable states, but also form structures that interact with each other in complicated ways – a complex system (rule 110) These are thought to be computationally universal, or capable of simulating a Turing machine ? ? ? ? ? ? ? ? Demo

Wolfram’s Elementary CA – Rule 110 From the ‘Complexity’ class Interesting behavior on the boundary between stability and chaos Rule 110 is known to be Turing complete. This implies that, any calculation or computer program can be simulated using this automaton (like 𝜆−calculus) Rule 110 is arguably the simplest known Turing complete system This result therefore provides significant support for Wolfram's view that class 4 systems are inherently likely to be universal

Outline What is a Cellular Automaton? Wolfram’s Elementary CA Conway's Game of Life Applications and Summary

Conway's Game Of Life - History von Neumann attempted to find a hypothetical machine that could build copies of itself and succeeded when he found a mathematical model for such a machine with very complicated rules on a rectangular grid The Game of Life emerged as Conway's successful attempt to drastically simplify von Neumann's ideas and still achieve similar “lifelike” result Conway's Game of Life has the power of a universal Turing machine: that is, anything that can be computed algorithmically can be computed within the game The game made its first public appearance in the October 1970 issue of Scientific American, in Martin Gardner's "Mathematical Games" column

Conway's Game Of Life A two-dimensional CA Each cell is initialized with a random state: 0 or 1. In this case, 0 means dead and 1 means alive Each cell will have a bigger neighborhood With nine cells as the neighborhood, we have 9 bits, or 512 possible configurations - impractical to define an outcome for every single possibility (This is Moore neighborhood, the total number of automata possible would be 2 2 9 , or 1.34× 10 154 )

Conway's Game Of Life – The Rules A cell can die if The cell is alive and has fewer than two live neighbors (loneliness) The cell is alive and has more than three live neighbors (overpopulation) A cell can reborn if The cell is dead and has exactly three live neighbors (reproduction) A cell remains in its current state if The cell is alive and has two or three live neighbors The cell is dead and has anything other than three live neighbors Demo

Mathematical Games (1970) The fantastic combinations of John Conway's new solitaire game "life" “This month we consider Conway's latest brainchild, a fantastic solitaire pastime he calls "life“” Conway's game  belongs to a growing class of what are called "simulation games"- games that resemble real-life processes due to its analogies with the rise, fall and alternations of a society of living organisms The basic idea is to start with a simple configuration of organisms, one to a cell Then observe how it changes as you apply Conway's "genetic laws" for births, deaths, and survivals

Mathematical Games (1970) The fantastic combinations of John Conway's new solitaire game "life" Conway chose his rules carefully, after a long period of experimentation, to meet three desiderata: There should be no initial pattern for which there is a simple proof that the population can grow without limit. There should be initial patterns that apparently do grow without limit. There should be simple initial patterns that grow and change for a considerable period of time before coming to end in three possible ways: fading away completely (from overcrowding or becoming too sparse), settling into a stable configuration that remains unchanged thereafter, or entering an oscillating phase in which they repeat an endless cycle of two or more periods In brief, the rules should be such as to make the behavior of the population unpredictable

Mathematical Games (1970) The fantastic combinations of John Conway's new solitaire game "life" You will find the population constantly undergoing unusual, sometimes beautiful and always unexpected change  In a few cases the society eventually dies out Most starting patterns either reach stable figures that cannot change or patterns that oscillate forever Patterns with no initial symmetry tend to become symmetrical Once this happens the symmetry cannot be lost, although it may increase in richness

Conway’s Conjecture Conway conjectures that no pattern can grow without limit This is probably the deepest and most difficult question posed by the game

Conway’s Conjecture - Disproved A gun is a pattern with a main part that repeats periodically, like an oscillator, and that also periodically emits spaceships A finite pattern is called a spaceship if it reappears after a certain number of generations in the same orientation but in a different position The glider is a pattern that travels across the board in GOL. Gliders are the smallest spaceships, and they travel diagonally. Bill Gosper discovered the first glider gun (and, so far, the smallest one found) in 1970, earning $50 from Conway This eventually led to the proof that Conway's Game of Life could function as a Turing machine

Outline What is a Cellular Automaton? Wolfram’s Elementary CA Conway's Game of Life Applications and Summary

Graph Dynamical System (GDS) A Graph Dynamical System is a triple consisting of: A graph 𝑌 with vertex set 𝑣 𝑌 ={1,2,…,𝑛} For each vertex 𝑖 there is: a state 𝑥 𝑖 ∈𝐾 a Y-local function 𝐹 𝑖 : 𝐾 𝑛 → 𝐾 𝑛 𝐹 𝑖 𝑥= 𝑥 1 ,…, 𝑥 𝑛 = 𝑥 1 , …, 𝑥 𝑖−1 , 𝑓 𝑖 𝑥 𝑖 , 𝑥 𝑖+1 ,…, 𝑥 𝑛 An update scheme that governs how the maps 𝐹 𝑖 are assembled to a map 𝐹: 𝐾 𝑛 → 𝐾 𝑛 Typical choices of update schemes: Parallel: Generalized Cellular Automata Sequential: Sequential Dynamical Systems

GDS Applications Dynamical processes on networks: disease propagation on social contact graph packet flow in cell phone communication urban traffic and transportation Computational paradigms: Distributed computing

More Applications Simulation of biological processes Simulation of cancer cells growth Image processing Pattern recognition Simulations of social movement Urban modeling Universal computers (embedded Turing machines) Cryptography … "Cellular automata are sufficiently simple to allow detailed mathematical analysis, yet sufficiently complex to exhibit a wide variety of complicated phenomena.“ Stephen Wolfram (1983)

Homework Something other than a rectangular (cubic, etc.) grid for example, if a plane is tiled with regular hexagons, those hexagons could be used as cells. In many cases the resulting cellular automata are equivalent to those with rectangular grids with specially designed neighborhoods and rules Probabilistic cellular automata - rules can be probabilistic rather than deterministic The neighborhood or rules could change over time or space Continuous automata - a CA extended so the valid states a cell can take continuous values, for example, the real number range [0,1] such automata can be used to model certain physical reactions more closely More complex cell types – remember history with properties … Demo

Is the universe a cellular automaton?