cellular automata
play

Cellular Automata Global Effects from Local Rules 2 Christian - PDF document

Cellular Automata Global Effects from Local Rules 2 Christian Jacob, University of Calgary Cellular Automata One-dimensional Finite CA Architecture The CA space is a lattice of cells (usually 1D, 2D, 3D) Neighbourhood size: with a


  1. Cellular Automata Global Effects from Local Rules 2 Christian Jacob, University of Calgary Cellular Automata One-dimensional Finite CA Architecture • The CA space is a lattice of cells (usually 1D, 2D, 3D) • Neighbourhood size: with a particular geometry. K = 5 • Each cell contains a variable from a limited range of local connections values (e.g., 0 and 1). per cell • All cells update synchronously. • All cells use the same updating rule (in uniform CA), time • Synchronous depending only on local relations. update in discrete • Time advances in discrete steps. time steps A. Wuensche: The Ghost in the Machine, Artificial Life III, 1994. 3 Christian Jacob, University of Calgary 4 Christian Jacob, University of Calgary Time Evolution of Cell i with K-Neighbourhood Value Range and Update Rules • For V different states (= values) per cell there are V K permuations of values in a neighbourhood of size K. ( t + 1) = f ( C i � [ K / 2] ( t ) ( t ) , C i ( t ) , C i + 1 ( t ) ,..., C i + [ K / 2] ( t ) C i ,..., C i � 1 ) • The update function f can be implemented as a lookup table with V K entries, giving V VK possible rules. With periodic boundary conditions: 00000: 1 … V v K v K V v^K 00001: _ 00010: _ x < 1: C x = C N + x 2 3 8 256 V K … 11110: _ 2 5 32 4.3 � 10 9 11111: _ x > N : C x = C x � N 2 7 128 3.4 � 10 38 2 9 512 1.3 � 10 154 5 Christian Jacob, University of Calgary 6 Christian Jacob, University of Calgary

  2. Cellular Automata: Local Rules — Global Effects History of Cellular Automata • Alternative names: – Tesselation automata – Cellular spaces – Iterative automata – Homogeneous structures – Universal spaces • John von Neumann (1947) – Tries to develop abstract model of self-reproduction in biology (from investigations in cybernetics; Norbert Wiener) • J. von Neumann & Stanislaw Ulam (1951) – 2D self-reproducing cellular automaton – 29 states per cell – Complicated rules – 200,000 cell configuration – (Details filled in by Arthur Burks in 1960s.) Demos 7 Christian Jacob, University of Calgary 8 Christian Jacob, University of Calgary History of Cellular Automata (3) John H. Conway’s GAME of LIFE • Stansilaw Ulam at Los Alamos Laboratories • Example in Breve: PatchLife – 2D cellular automata to produce recursively defined geometrical objects (evolution from a single black cell) – Explorations of simple growth rules • Specific types of CAs (1950s/60s) – 1D: optimization of circuits for arithmetic and other operations – 2D: • Neural networks with neuron cells arranged on a grid • Active media: reaction-diffusion processes • John Horton Conway (1970s) – Game of Life (on a 2D grid) – Popularized by Martin Gardner: Scientific American 9 Christian Jacob, University of Calgary 10 Christian Jacob, University of Calgary Stephen Wolfram’s World of CAs Stephen Wolfram’s World of CAs 11 Christian Jacob, University of Calgary 12 Christian Jacob, University of Calgary

  3. Stephen Wolfram’s World of CAs Stephen Wolfram’s World of CAs 13 Christian Jacob, University of Calgary 14 Christian Jacob, University of Calgary Example Update Rule CA Demos • V = 2, K = 3 • Evolvica CA Notebooks • The rule table for rule 30: 111 110 101 100 011 010 001 000 0 0 0 1 1 1 1 0 128 64 32 16 8 4 2 1 16 + 8 + 4 + 2 = 30 See examples: NKS Explorer 15 Christian Jacob, University of Calgary 16 Christian Jacob, University of Calgary Four Wolfram Classes of CA Four Wolfram Classes of CA • Class 1 : • Class 2 : A fixed, homogeneous, state is eventually reached A pattern consisting of separated periodic regions is (e.g., rules 0, 8, 128, 136, 160, 168). produced (e.g., rules 4, 37, 56, 73). 0 136 4 37 160 168 56 73 17 Christian Jacob, University of Calgary 18 Christian Jacob, University of Calgary

  4. Four Wolfram Classes of CA Four Wolfram Classes of CA • Class 3 : • Class 4 : A chaotic, aperiodic, pattern is produced Complex, localized structures are generated (e.g., rules 18, 45, 105, 126). (e.g., rules 30, 110). 18 45 30 110 105 126 19 Christian Jacob, University of Calgary 20 Christian Jacob, University of Calgary Class 4: Rule 30 Class 4: Rule 110 21 Christian Jacob, University of Calgary 22 Christian Jacob, University of Calgary Crystallization of Connected Webs Random Boolean Generalized Cellular Automata [S. Kauffman: At Home in the Universe] 23 Christian Jacob, University of Calgary 24 Christian Jacob, University of Calgary

  5. Random Network Architecture Network at time t wiring scheme Random Nets Demo pseudo neighbourhood Network at time t+ 1 25 Christian Jacob, University of Calgary 26 Christian Jacob, University of Calgary Time Evolution of the i-th Cell States and Cycles Cell i is connected to K cells w i 1 , w i 2 , …, w i K ; with w ij from {1,…, N }. • System State Following State • N K possible alternative wiring options. • Update rule for cell i : State Cycle 1 ( t + 1) = f i ( C w i 1 ( t ) , C w i 2 ( t ) ,..., C w iK ( t ) ) C i State Cycle 2 State Cycle 3 [S. Kauffman: Leben am Rande des Chaos] 27 Christian Jacob, University of Calgary 28 Christian Jacob, University of Calgary Kauffman’s Random Boolean Networks Attractor Cycles Boolean functions represented by shades of green. Binary values that have changed are white. Stuart Kauffman used this network to investigate the Unchanged values are blue. interaction of proteins within living systems. These networks settle very quickly into an oscillatory state. [A. Wuensche, Discrete Dynamics Lab] http://members.rogers.com/fmobrien/experiments/boolean_net/BooleanNetworkApplet_both.html 29 Christian Jacob, University of Calgary 30 Christian Jacob, University of Calgary

  6. Basin of Attraction Field Basin of Attraction Field 68 984 784 1300 264 76 316 120 64 120 256 2724 604 84 428 Nodes: n =13; Connectivity: k = 3; States: 2 13 = 8192 [A. Wuensche, Discrete Dynamics Lab] Nodes: n =13; Connectivity: k = 3; States: 2 13 = 8192 [A. Wuensche, Discrete Dynamics Lab] 31 Christian Jacob, University of Calgary 32 Christian Jacob, University of Calgary Mutations on Random Boolean Networks Attractor = Cell Type ? • From the set of all possible gene activation patterns, the regulatory network selects a specific sequence of activations over time. • A differenciated cell doesn’t change its type any more. – Hence, only a constrained set of genes is active – = state cycle – = attractor? [S. Kauffman: Leben am Rande des Chaos] [A. Wuensche 98] 33 Christian Jacob, University of Calgary 34 Christian Jacob, University of Calgary References Cellular Automata • Holland, J. H. (1992). Adaptation in Natural and Artificial Systems. Cambridge, MA, MIT Press. • Kauffman, S. A. (1992). Leben am Rande des Chaos. Entwicklung und Gene. Heidelberg, Spektrum Akademischer Verlag: 162-170. Lindenmayer • Kauffman, Stuart A., (1993), The Origins of Order: Self-Organization and Selection in Evolution. (pp. 407-522), New York, NY; Oxford University Systems Press. • Kauffman, S. (1995). At Home in the Universe: The Search for Laws of Self-Organization and Complexity. Oxford, Oxford University Press. • Wolfram, S. (2002). A New Kind of Science. Champaign, IL, Wolfram Random Boolean Media. • Wuensche, A. (1994). The Ghost in the Machine: Basins of Attraction of Networks Random Boolean Networks. Artificial Life III. C. G. Langton. Reading, MA, Addison-Wesley. Proc. Vol. XVII: 465-501. • Wuensche, A. (1998). Discrete Dynamical Networks and their Attractor Basins. Proceedings of Complex Systems’98, University of New South Wales, Sydney, Australia. • Wuensche, A. Discrete Dynamics Lab: http://www.santafe.edu/ ~wuensch/ddlab.html Classifier Systems 35 Christian Jacob, University of Calgary 36 Christian Jacob, University of Calgary

Recommend


More recommend