Nature-Based Problems in Cellular Automata Martin Kutrib Institut - - PowerPoint PPT Presentation

nature based problems in cellular automata
SMART_READER_LITE
LIVE PREVIEW

Nature-Based Problems in Cellular Automata Martin Kutrib Institut - - PowerPoint PPT Presentation

Nature-Based Problems in Cellular Automata Martin Kutrib Institut f ur Informatik, Universit at Giessen Overview The Dawn of Cellular Automata The French Flag Problem Synchronization of Growing Arrays Oblivious Cellular


slide-1
SLIDE 1

Nature-Based Problems in Cellular Automata

Martin Kutrib

Institut f¨ ur Informatik, Universit¨ at Giessen

slide-2
SLIDE 2

Overview

➜ The Dawn of Cellular Automata ➜ The French Flag Problem ➜ Synchronization of Growing Arrays ➜ Oblivious Cellular Automata ➜ The Fault-Tolerant Early Bird Problem

slide-3
SLIDE 3

Overview

➜ The Dawn of Cellular Automata ➜ The French Flag Problem ➜ Synchronization of Growing Arrays ➜ Oblivious Cellular Automata ➜ The Fault-Tolerant Early Bird Problem

slide-4
SLIDE 4

Overview

➜ The Dawn of Cellular Automata ➜ The French Flag Problem ➜ Synchronization of Growing Arrays ➜ Oblivious Cellular Automata ➜ The Fault-Tolerant Early Bird Problem

slide-5
SLIDE 5

Overview

➜ The Dawn of Cellular Automata ➜ The French Flag Problem ➜ Synchronization of Growing Arrays ➜ Oblivious Cellular Automata ➜ The Fault-Tolerant Early Bird Problem

slide-6
SLIDE 6

Overview

➜ The Dawn of Cellular Automata ➜ The French Flag Problem ➜ Synchronization of Growing Arrays ➜ Oblivious Cellular Automata ➜ The Fault-Tolerant Early Bird Problem

slide-7
SLIDE 7

The Dawn of Cellular Automata

Fundamental questions [John von Neumann 1949]:

slide-8
SLIDE 8

The Dawn of Cellular Automata

Fundamental questions [John von Neumann 1949]: (A) Logical universality. When is a class of automata logically universal? Also, with what additional attachments is a single automaton logically universal?

slide-9
SLIDE 9

The Dawn of Cellular Automata

Fundamental questions [John von Neumann 1949]: (A) Logical universality. When is a class of automata logically universal? Also, with what additional attachments is a single automaton logically universal? (B) Constructibility. Can an automaton be constructed by another automaton? What class of automata can be constructed by

  • ne, suitably given, automaton?
slide-10
SLIDE 10

The Dawn of Cellular Automata

Fundamental questions [John von Neumann 1949]: (A) Logical universality. When is a class of automata logically universal? Also, with what additional attachments is a single automaton logically universal? (B) Constructibility. Can an automaton be constructed by another automaton? What class of automata can be constructed by

  • ne, suitably given, automaton?

(C) Construction-universality. Can any one, suitably given, automaton be construction-universal, that is, be able to construct every other automaton?

slide-11
SLIDE 11

The Dawn of Cellular Automata

Fundamental questions [John von Neumann 1949]: (D) Self-reproduction. Can any automaton construct other automata that are exactly like it? Can it be made, in addition, to perform further tasks?

slide-12
SLIDE 12

The Dawn of Cellular Automata

Fundamental questions [John von Neumann 1949]: (D) Self-reproduction. Can any automaton construct other automata that are exactly like it? Can it be made, in addition, to perform further tasks? (E) Evolution. Can the construction of automata by automata progress from simpler types to increasingly complicated types? Also, can this evolution go from less efficient to more efficient automata?

slide-13
SLIDE 13

A self-reproducing machine is an artificial construct that is theoretically capable of autonomously manufacturing a copy

  • f itself using raw materials taken from its environment.
slide-14
SLIDE 14

A self-reproducing machine is an artificial construct that is theoretically capable of autonomously manufacturing a copy

  • f itself using raw materials taken from its environment.

➜ What is an artificial construct? ➜ What is raw material? ➜ What is an environment?

slide-15
SLIDE 15

Von Neumann’s Kinematic Model:

slide-16
SLIDE 16

Von Neumann’s Cellular Automata:

➜ Stanis

law Ulam suggested to employ a mathematical device which is a multitude of interconnected machines operating in parallel to form a larger machine.

slide-17
SLIDE 17

Von Neumann’s Cellular Automata:

➜ Stanis

law Ulam suggested to employ a mathematical device which is a multitude of interconnected machines operating in parallel to form a larger machine.

➜ d-dimensional grid of cells (machines). ➜ Synchronous behavior. ➜ Cells are deterministic finite automata (simplicity). ➜ All cells are identical (homogeneity). ➜ One interconnection scheme (homogeneous local

communication structures).

slide-18
SLIDE 18

Interconnection schemes:

¯ H1

1

H1

1

H2

1

M2

1

¯ H2

2

slide-19
SLIDE 19

Interconnection schemes:

¯ H1

1

H1

1

H2

1

M2

1

¯ H2

2

Quiescent state: If a cell itself and all of its neighbors are in the quiescent state, the cell remains in the quiescent state.

slide-20
SLIDE 20

Interconnection schemes:

¯ H1

1

H1

1

H2

1

M2

1

¯ H2

2

Quiescent state: If a cell itself and all of its neighbors are in the quiescent state, the cell remains in the quiescent state. Larger machines are patterns of cell states, embedded in space.

slide-21
SLIDE 21

Example:

➜ Two dimensions. ➜ The state set is {0, 1}. ➜ Each cell is connected to its eight immediate neighbors.

slide-22
SLIDE 22

Example:

➜ Two dimensions. ➜ The state set is {0, 1}. ➜ Each cell is connected to its eight immediate neighbors. ➜ The local transition function is defined by the sum of the

states of the neighbors and of the cell itself. In particular:

➜ A cell enters state 1, if the sum is three. ➜ A cell keeps its current state, if the sum is four. ➜ Otherwise the cell enters state 0.

slide-23
SLIDE 23

t t + 1 t + 2 t + 3 t + 4

slide-24
SLIDE 24

t t + 1 t + 2 t + 3 t + 4

slide-25
SLIDE 25

John von Neumann succeeded. He constructed a 29-state cellular automaton which is contruction-universal, self-reproducing, and Turing-universal.

slide-26
SLIDE 26

The French Flag Problem

Origin of the Problem:

➜ Problem of pattern formation of simple axial patterns.

slide-27
SLIDE 27

The French Flag Problem

Origin of the Problem:

➜ Problem of pattern formation of simple axial patterns. ➜ To model the determination of a pattern in a tissue having

three regions of cells with discrete properties and sharp bounds between them.

slide-28
SLIDE 28

The French Flag Problem

Origin of the Problem:

➜ Problem of pattern formation of simple axial patterns. ➜ To model the determination of a pattern in a tissue having

three regions of cells with discrete properties and sharp bounds between them.

➜ Concept of a morphogen, that is, a signaling molecule that

regulates the pattern formation.

slide-29
SLIDE 29

The French Flag Problem

Origin of the Problem:

➜ Problem of pattern formation of simple axial patterns. ➜ To model the determination of a pattern in a tissue having

three regions of cells with discrete properties and sharp bounds between them.

➜ Concept of a morphogen, that is, a signaling molecule that

regulates the pattern formation.

➜ High concentrations activate a blue gene, lower

concentrations activate a white gene, where red indicates cells below the necessary concentration threshold.

slide-30
SLIDE 30

The Problem in Terms of Cellular Automata:

➜ Construct a finite but arbitrary large one-dimensional cellular

automaton with nearest neighbor connections that

slide-31
SLIDE 31

The Problem in Terms of Cellular Automata:

➜ Construct a finite but arbitrary large one-dimensional cellular

automaton with nearest neighbor connections that

➜ when started with all cells in the quiescent state turns into a

French flag upon excitation from the outside world at one of the ends.

slide-32
SLIDE 32

The Problem in Terms of Cellular Automata:

➜ Construct a finite but arbitrary large one-dimensional cellular

automaton with nearest neighbor connections that

➜ when started with all cells in the quiescent state turns into a

French flag upon excitation from the outside world at one of the ends.

➜ The colors are represented by states and the blue region

appears at the end excited.

slide-33
SLIDE 33

The Problem in Terms of Cellular Automata:

➜ Construct a finite but arbitrary large one-dimensional cellular

automaton with nearest neighbor connections that

➜ when started with all cells in the quiescent state turns into a

French flag upon excitation from the outside world at one of the ends.

➜ The colors are represented by states and the blue region

appears at the end excited.

➜ Moreover, if the array is cut into two or more pieces, it is

required that all pieces turn into French flags with the same

  • rientation as the original.
slide-34
SLIDE 34

s i g n a l i s i g n a l l s i g n a l l s i g n a l j s i g n a l k

slide-35
SLIDE 35

s i g n a l i s i g n a l l s i g n a l l signal j s i g n a l k s i g n a l p

cut point cut point

slide-36
SLIDE 36

Cellular Automata Without Local Polarity:

➜ Since a solution turns the entire array into an asymmetric

French flag, the array exhibits a polarity.

➜ This global polarity can be achieved by single cells exhibiting a

local polarity.

➜ This local polarity is an unlikely activity for cells of organisms. ➜ Cellular automata having no polarity on the cellular level are

called symmetric.

slide-37
SLIDE 37

Simulating Local Polarity:

➜ Immediately after emitting signal i the excited cell sends

another signal which labels the cells passed through cyclically by 1,2,3,1,. . .

➜ Now it is easy for a cell to recognize which state received

comes from right or left.

slide-38
SLIDE 38

Synchronization of Growing Arrays

Origin of the Problem:

➜ Simulation of pigmentation patterns on the shells of sea-snails. ➜ It is supposed that glands stop their action synchronously at

the same time,

➜ even though their number was growing during the

synchronization process.

slide-39
SLIDE 39

The Firing Squad Synchronization Problem:

➜ Construct finite but arbitrary large one-dimensional cellular

automaton with nearest neighbor connections that grows at the fixed rates p cells in q steps at the right and r cells in t steps at the left, which

slide-40
SLIDE 40

The Firing Squad Synchronization Problem:

➜ Construct finite but arbitrary large one-dimensional cellular

automaton with nearest neighbor connections that grows at the fixed rates p cells in q steps at the right and r cells in t steps at the left, which

➜ when started with all but the leftmost cells in the quiescent

state

slide-41
SLIDE 41

The Firing Squad Synchronization Problem:

➜ Construct finite but arbitrary large one-dimensional cellular

automaton with nearest neighbor connections that grows at the fixed rates p cells in q steps at the right and r cells in t steps at the left, which

➜ when started with all but the leftmost cells in the quiescent

state

➜ synchronizes in such a way that all cells enter a distinguished

state, the firing state, for the first time at the same time step.

slide-42
SLIDE 42

Base of the Algorithm:

➜ The problem can be solved by dividing the array in two, four,

eight etc. parts of (almost) the same length until all cells are cut-points.

➜ Exactly at this time the cells will fire synchronously.

slide-43
SLIDE 43

Base of the Algorithm:

➜ The problem can be solved by dividing the array in two, four,

eight etc. parts of (almost) the same length until all cells are cut-points.

➜ Exactly at this time the cells will fire synchronously. ➜ The divisions are performed recursively. At first the array is

divided into two parts. Then the process is applied to both parts in parallel, etc.

slide-44
SLIDE 44

Base of the Algorithm:

➜ The problem can be solved by dividing the array in two, four,

eight etc. parts of (almost) the same length until all cells are cut-points.

➜ Exactly at this time the cells will fire synchronously. ➜ The divisions are performed recursively. At first the array is

divided into two parts. Then the process is applied to both parts in parallel, etc.

➜ In order to divide the array into two parts, the general sends

two signals S1 and S2 to the right.

➜ Signal S1 moves with speed one, and signal S2 with

speed 1/3.

slide-45
SLIDE 45
slide-46
SLIDE 46
slide-47
SLIDE 47
slide-48
SLIDE 48
slide-49
SLIDE 49

Oblivious Cellular Automata

Origin of the Problem:

➜ Another phenomenon occurring in nature is obliviousness. ➜ In order to be economic, information that has not been used

for a certain time is supposed to be of little relevance and therefore may be forgotten.

➜ If it is possible to perform any computation of classical cellular

automata by oblivious cellular automata, then the constructions can be seen as strategies of self-repair (with respect to the faults caused by obliviousness).

slide-50
SLIDE 50

Modelling Obliviousness:

➜ Given a cellular automaton, let τ(i, p, t) denote the last time

step between time 0 and time t at which cell i was in state p.

➜ If cell i was never in state p until time t then τ(i, p, t) is equal

to ∞.

slide-51
SLIDE 51

Modelling Obliviousness:

➜ Given a cellular automaton, let τ(i, p, t) denote the last time

step between time 0 and time t at which cell i was in state p.

➜ If cell i was never in state p until time t then τ(i, p, t) is equal

to ∞.

➜ The transition function sends a cell to its successor state p at

time t provided that the cell has been in state p within the last ϕ(t) time steps.

➜ Otherwise state p has been forgotten and the cell enters the

quiescent state instead.

slide-52
SLIDE 52

Theorem

Let M be a (classical) cellular automaton and ϕ be monoton- ically increasing and unbounded. Then there is an oblivious cellular automaton which R-simulates M.

slide-53
SLIDE 53

The Fault-Tolerant Early Bird Problem

Origin of the Problem:

➜ In massively parallel computing systems each single

component is subject to failure, such that the probability of misoperations and loss of function of the whole system increases with the number of its elements.

➜ Biological systems may serve as good examples for

fault-tolerant systems.

➜ Due to the necessity to function normally even in case of

certain failures of their components, nature developed mechanisms which invalidate the errors.

slide-54
SLIDE 54

Defective Cellular Automata: Self-diagnosis. Each cell has a self-diagnosis circuit which is run

  • nce before the actual computation. The result is stored locally in

a register.

slide-55
SLIDE 55

Defective Cellular Automata: Self-diagnosis. Each cell has a self-diagnosis circuit which is run

  • nce before the actual computation. The result is stored locally in

a register. Recognition of defective neighbors. In this way intact cells can detect whether their neighbors are defective or not when they receive the first states.

slide-56
SLIDE 56

Defective Cellular Automata: Self-diagnosis. Each cell has a self-diagnosis circuit which is run

  • nce before the actual computation. The result is stored locally in

a register. Recognition of defective neighbors. In this way intact cells can detect whether their neighbors are defective or not when they receive the first states. Static defects. Some cells are initially defect, and during the actual computation no new defects may occur.

slide-57
SLIDE 57

Defective Cellular Automata: Self-diagnosis. Each cell has a self-diagnosis circuit which is run

  • nce before the actual computation. The result is stored locally in

a register. Recognition of defective neighbors. In this way intact cells can detect whether their neighbors are defective or not when they receive the first states. Static defects. Some cells are initially defect, and during the actual computation no new defects may occur.

  • Transmission. A defective cell is able to transmit information but

cannot process or modify it.

slide-58
SLIDE 58

The Early Bird Problem:

➜ Initially all cells are quiescent. ➜ Quiescent cells may be excited from the outside world (a bird

has arrived at the cell).

➜ Distinguish between the first (early) and later birds.

slide-59
SLIDE 59

Five-State Algorithm for Classical Cellular Automata: .· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · .· · · · · · · · · · · · · · B · · · · · · · · · · · · · · · · · · .· · · · · · · · · · · · · < B > · · · · · · · · · · · · · · · · · .· · · · · · · · B · · · < < B > > · · · · · · · · · · · · · · · · .· · · · · · · < B > · < < < B > > > · · · · · · · · · · · · · · · .· · · · · · < < B > * < < < B > > > > · · · · B · B · · · · · · · .· · · · · < < < B * * * < < B > > > > > · · < B * B > · · · · · · .· · · · < < < < B * * < * < B > > > > > > < < B * B > > · · · · · .· · · < < < < < B * < * < * B > > > > > * * < B * B > > > · · · · .· · < < < < < < B < * < * * B > > > > * > < * B * B > > > > · · · .· < < < < < < < < * < * * * B > > > * > * * * B * B > > > > > · · .< < < < < < < < < < * * * * B > > * > * > * * B * B > > > > > > · .* < < < < < < < < < * * * * B > * > * > * > * B * B > > > > > > > .< * < < < < < < < < * * * * B * > * > * > * > B * B > > > > > > * .* < * < < < < < < < * * * * B * * > * > * > * > * B > > > > > * > .< * < * < < < < < < * * * * B * * * > * > * > * > B > > > > * > * .* < * < * < < < < < * * * * B * * * * > * > * > * > > > > * > * > .< * < * < * < < < < * * * * B * * * * * > * > * > > > > * > * > *

slide-60
SLIDE 60

For Defective Cellular Automata, Combination of:

➜ five-state algorithm (in intact regions)

# B B B B #

➜ synchronization (in defective regions)

# B B B B #

slide-61
SLIDE 61

A basic principle of the solution algorithm is that signals circulate between two bird cells until the next step of the algorithm is completed.

slide-62
SLIDE 62

Sketch of Synchronization in Defective Regions:

➜ When a bird arrives, it emits signals to the left and right at

each time step until it receives a signal from another bird.

➜ Now it bounces arriving signals. ➜ The difference of the numbers of signals emitted by the birds

is twice the age difference of the birds.

slide-63
SLIDE 63

Sketch of Synchronization in Defective Regions:

➜ The birds convert the number of emitted signals into binary. ➜ The binary number is sent as signals which circulate, too. ➜ The difference of binary numbers of neighboring birds is

computed and divided by two, in order to determine the elder bird.

➜ Again, the difference is sent as signals which circulate.

slide-64
SLIDE 64

Sketch of Synchronization in Defective Regions:

➜ All differences in between two farther birds are summed up in

a specific way in order to compare their ages.

➜ The birds in between them are deleted and behave like

defective cells.

➜ The last step of the algorithm is repeated until all birds have

the same age and, thus, are the global early birds.