Complex Systems Made Simple - René Doursat

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple". 54. Concepts collected from these examples. ➢ large number of ...
10MB taille 1 téléchargements 74 vues
Complex Systems Made Simple 1.

Introduction

2.

A Complex Systems Sampler a. b. c. d. e. f.

Cellular automata Pattern formation Swarm intelligence Complex networks Spatial communities Structured morphogenesis

3.

Commonalities

4.

NetLogo Tutorial

7/16-18/2008

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

49

Complex Systems Made Simple 1.

Introduction

2.

A Complex Systems Sampler a. b. c. d. e. f.

• Game of life

Cellular automata: • 1-D binary automata Pattern formation Swarm intelligence Complex networks Spatial communities Structured morphogenesis

3.

Commonalities

4.

NetLogo Tutorial

7/16-18/2008

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

50

2. A Complex Systems Sampler a. Cellular automata – Game of life NetLogo model: /Computer Science/Cellular Automata/Life

Bill Gosper's Glider Gun (Wikipedia, “Conway’s Game of Life”)

7/16-18/2008

History ¾ most famous cellular automaton ¾ designed by John H. Conway in 1970 ¾ in an attempt to find a simpler self-replicating machine than von Neumann’s 29-state cells ¾ very simple set of rules on black and white pixels ¾ creates small “autonomous”, “life-like” patterns (static, repeating, translating, etc.) on the few-pixel scale

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

51

2. A Complex Systems Sampler a. Cellular automata – Game of life Rules of the game ¾ survival: a live cell with 2 or 3 neighboring live cells survives for the next generation survival

death by overcrowding

¾ death by overcrowding: a live cell with 4 of more neighbors dies ¾ death by loneliness: a live cell with 1 neighbor or less dies ¾ birth: an empty cell adjacent to exactly 3 live cells becomes live

death by isolation

7/16-18/2008

birth

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

52

2. A Complex Systems Sampler a. Cellular automata – 1-D binary automata

NetLogo model: /Computer Science/Cellular Automata/CA 1D Elementary

repeating: Rule 250

randomness: Rule 30

7/16-18/2008

nesting: Rule 90

localized structures: Rule 110

History ¾ “elementary CAs” = black and white pixels on one row ¾ like the Game of Life, simple rules depending on nearest neighbors only (here, 2) ¾ total number of rules = 2^(2^3) = 256 ¾ Wolfram’s attempt to classify them in four major groups: ƒ ƒ ƒ ƒ

repetition nesting [apparent] randomness localized structures (“complex”)

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

53

2. A Complex Systems Sampler a. Cellular automata

Concepts collected from these examples ¾ large number of elements = pixels ¾ ultra-simple local rules ¾ emergence of macroscopic structures (patterns >> pixels) ¾ complex & diverse patterns (selfreproducible, periodic, irregular)

7/16-18/2008

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

54

Complex Systems Made Simple 1.

Introduction

2.

A Complex Systems Sampler a. b. c. d. e. f.

Cellular automata • Physical: convection cells • Biological: animal colors; slime mold Pattern formation: • Chemical: BZ reaction Swarm intelligence Complex networks Spatial communities Structured morphogenesis

3.

Commonalities

4.

NetLogo Tutorial

7/16-18/2008

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

55

2. A Complex Systems Sampler b. Pattern formation – Physical: convection cells Phenomenon ¾ “thermal convection” is the motion of fluids caused by a temperature differential Rayleigh-Bénard convection cells in liquid heated uniformly from below

Convection cells in liquid (detail) (Manuel Velarde, Universidad Complutense, Madrid)

(Scott Camazine, http://www.scottcamazine.com)

¾ observed at multiple scales, whether frying pan or geo/astrophysical systems ¾ spontaneous symmetrybreaking of a homogeneous state ¾ formation of stripes and cells, several order of magnitudes larger than molecular scale

Sand dunes

Solar magnetoconvection

(Scott Camazine, http://www.scottcamazine.com)

(Steven R. Lantz, Cornell Theory Center, NY)

7/16-18/2008

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

56

2. A Complex Systems Sampler b. Pattern formation – Physical: convection cells Mechanism ¾ warm fluid is pushed up from the bottom by surrounding higher density (buoyancy force)

ΔT

¾ cold fluid sinks down from the top due to surrounding lower density Schematic convection dynamics (Arunn Narasimhan, Southern Methodist University, TX)

¾ accelerated motion ¾ viscosity and thermal diffusion normally counteract buoyancy... ¾ ... but only up to a critical temperature differential ΔTc ¾ beyond ΔTc buoyancy takes over and breaks up the fluid into alternating rolls

Hexagonal arrangement of sand dunes (Solé and Goodwin, “Signs of Life”, Perseus Books)

7/16-18/2008

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

57

2. A Complex Systems Sampler b. Pattern formation – Physical: convection cells Modeling & simulation ¾ surfaces of constant temperatures (red for hot, blue for cold) ¾ visualization of ascending and descending currents ¾ notice the moving cell borders at the top ¾ marginal case of multi-agent modeling: ƒ top-down modeling by discretization of macroscopic differential equations Convection dynamics (Stéphane Labrosse, Institut de Physique du Globe, Paris)

7/16-18/2008

ƒ extremely fine-grain and dense distribution of agents = fixed grid

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

58

2. A Complex Systems Sampler b. Pattern formation – Physical: convection cells

Concepts collected from this example ¾ large number of elementary constituents ¾ emergence of macroscopic structures (convection cells >> molecules) ¾ self-arranged patterns ¾ amplification of small fluctuations (positive feedback, symmetry breaking) ¾ phase transition ¾ far from equilibrium 7/16-18/2008

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

59

2. A Complex Systems Sampler b. Pattern formation – Biological: animal colors Phenomenon ¾ rich diversity of pigment patterns across species ¾ evolutionary advantage: ƒ ƒ ƒ ƒ ƒ

warning camouflage, mimicry sexual attraction individual recognition etc.

Mammal fur, seashells, and insect wings (Scott Camazine, http://www.scottcamazine.com)

7/16-18/2008

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

60

2. A Complex Systems Sampler b. Pattern formation – Biological: animal colors Possible mechanism (schematic) ctivator nhibitor

¾ development of spots and stripes on mammal fur ¾ melanocytes (pigment cells) can be undifferentiated “U”, or differentiated “D” ¾ only D cells produce color → they diffuse two morphogens, activator “A” and inhibitor “I” ¾ neighboring cells differentiate or not according to: ƒ short-range activation ƒ long-range inhibition

David Young’s model of fur spots and stripes (Michael Frame & Benoit Mandelbrot, Yale University)

7/16-18/2008

¾ a classical case of reaction-diffusion

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

61

2. A Complex Systems Sampler b. Pattern formation – Biological: animal colors NetLogo model: /Biology/Fur

NetLogo fur coat simulation, after David Young’s model (Uri Wilensky, Northwestern University, IL)

Modeling & simulation ¾ example of cellular automaton ¾ each cell has 2 states: ƒ “pigmented” (black) ƒ “undifferentiated” (white) 7/16-18/2008

¾ each cell’s state is updated by: ƒ counting pigmented neighbors within radius 3 (they contribute to activation) ƒ counting pigmented neighbors between radius 3 and 6 (they contribute to inhibition) ƒ calculating weighted vote

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

62

2. A Complex Systems Sampler b. Pattern formation – Biological: animal colors

Concepts collected from this example ¾ simple microscopic rules ¾ emergence of macroscopic structures (spots >> cells) ¾ self-arranged patterns (random, unique) ¾ amplification of small fluctuations (positive feedback, symmetry breaking) ¾ local cooperation, distant competition (cell ↔ cell) 7/16-18/2008

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

63

2. A Complex Systems Sampler b. Pattern formation – Biological: slime mold Phenomenon ¾ unicellular organisms (amoebae) clump together into multicellular “slugs” ¾ with enough food, they grow and divide independently ¾ under starvation, they synchronize (chemical waves), aggregate and differentiate ¾ aggregation phase shows same concentric wave patterns as BZ reaction ¾ a famous example of “excitable medium” and self-organization Synchronization, breakup and aggregation of slime mold amoebae on an agar plate (P. C. Newell; from Brian Goodwin, “How the leopard changed its spots”, Princeton U. Press)

7/16-18/2008

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

64

2. A Complex Systems Sampler b. Pattern formation – Biological: slime mold Mechanism ¾ life cycle of slime mold amoebae (Dictyostelium): independent amoebae (A) → aggregation (A)

→ clump → slug → growth → body & fruit → spore release & germination

Life cycle of Dictyostelium slime mold

→ amoebae (A)

(Ivy Livingstone, BIODIDAC, University of Ottawa)

7/16-18/2008

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

65

2. A Complex Systems Sampler b. Pattern formation – Biological: slime mold Mechanism ¾ life cycle of slime mold amoebae (Dictyostelium): independent amoebae (A) → aggregation (A)

ƒ stage 1: oscillatory secretion of chemical (cAMP) by each cell ƒ stage 2: local coupling of secretion signal, forming spiral waves ƒ stage 3: pulsatile motion toward spiral centers

→ clump Life cycle of Dictyostelium slime mold (Ivy Livingstone, BIODIDAC, University of Ottawa)

7/16-18/2008

→ ...

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

66

2. A Complex Systems Sampler b. Pattern formation – Biological: slime mold NetLogo model: /Biology/Slime

NetLogo simulation of slime mold aggregation, after Mitchel Resnick (Uri Wilensky, Northwestern University, IL)

Modeling & simulation ¾ for wave formation (stages 1 & 2 of aggregation)

→ see B-Z reaction model

7/16-18/2008

¾ for clumping (stage 3 of aggregation), three simplified rules: ƒ each cell (red) secretes a chemical (shades of green) ƒ each cell moves towards greater concentration of chemical ƒ chemical evaporates

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

67

2. A Complex Systems Sampler b. Pattern formation – Biological: slime mold

Concepts collected from this example ¾ simple, “blind” individual behavior ¾ emergence of aggregates ¾ cluster centers are not already differentiated cells (decentralization) ¾ local interactions (cell ↔ chemical) ¾ phase transition (critical mass)

7/16-18/2008

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

68

2. A Complex Systems Sampler b. Pattern formation – Chemical: BZ reaction Phenomenon ¾ Belousov-Zhabotinsky reaction: “chemical clock” ¾ if well stirred, it oscillates ¾ if spread on a plate, it creates waves (reactiondiffusion) ¾ example of an “excitable medium” The Belousov-Zhabotinsky reaction (a) well-stirred tank; (b) Petri dish

Spiral and circular traveling waves in the Belousov-Zhabotinsky reaction

(Gabriel Peterson, College of the Redwoods, CA)

(Arthur Winfree, University of Arizona)

7/16-18/2008

¾ often cited in selforganization

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

69

2. A Complex Systems Sampler b. Pattern formation – Chemical: BZ reaction Mechanism (A)

¾ in each elementary volume of solution, there is competition between two reaction branches, A and B ¾ A is faster than B, but B is autocatalytic

(B)

Simplified diagram of the Belousov-Zhabotinsky reaction

¾ when A runs out of reactants, B takes over and regenerates them ¾ a color indicator signals the oscillation between A and B through iron ions 2+ 3+ (Fe /Fe )

(Gabriel Peterson, College of the Redwoods, CA)

7/16-18/2008

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

70

2. A Complex Systems Sampler b. Pattern formation – Chemical: BZ reaction NetLogo model: /Chemistry & Physics/Chemical Reactions/B-Z Reaction

NetLogo B-Z reaction simulation, after A. K. Dewdney’s “hodgepodge machine” (Uri Wilensky, Northwestern University, IL)

Modeling & simulation ¾ abstract, simplified rules ¾ each cell has 3 states: ƒ “healthy” (x = 0, black) ƒ “infected” (0 < x < 1, red) ƒ “sick” (x = 1, white) 7/16-18/2008

¾ each cell follows 3 rules that create a cycle: ƒ if “healthy, become “infected” as a function of neighbors ƒ if “infected”, increase infection level as a function of neighbors ƒ if “sick”, become “healthy”

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

71

2. A Complex Systems Sampler b. Pattern formation – Chemical: BZ reaction

Concepts collected from this example ¾ simple individual rules (modeling a less simple, but small set of reactions) ¾ emergence of long-range spatiotemporal correlations ¾ no impurities; spiral centers are not specialized (decentralization) ¾ local interactions by reaction and diffusion 7/16-18/2008

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

72

Complex Systems Made Simple 1.

Introduction

2.

A Complex Systems Sampler a. b. c. d. e. f.

Cellular automata Pattern formation • Insect colonies: ant trails; termites Swarm intelligence: • Collective motion: flocking; traffic jams • Synchronization: fireflies; neurons Complex networks Spatial communities Structured morphogenesis

3.

Commonalities

4.

NetLogo Tutorial

7/16-18/2008

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

73

2. A Complex Systems Sampler c. Swarm intelligence – Insect colonies: ant trails Phenomenon ¾ insect colonies are the epitome of complex systems, self-organization and emergence ¾ one striking example of collective behavior: spontaneous trail formation by ants, without anyone having a map ¾ two-way trails appear between nest and food source, brooding area or cemetery White-footed ants trailing on a wall (J. Warner, University of Florida)

¾ ants carry various items back and forth on these trails ¾ the colony performs collective optimization of distance and productivity without a leader

7/16-18/2008

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

74

2. A Complex Systems Sampler c. Swarm intelligence – Insect colonies: ant trails

Basic mechanism ¾ while moving, each ant deposits a chemical (“pheromone”) to signal the path to other ants ¾ each ant also “smells” and follows the pheromone gradient laid down by others Harvester ant (Deborah Gordon, Stanford University)

7/16-18/2008

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

75

2. A Complex Systems Sampler c. Swarm intelligence – Insect colonies: ant trails NetLogo model: /Biology/Ants

StarLogo ant foraging simulation, after Mitchel Resnick (StarLogo Project, MIT Media Laboratory, MA)

Modeling & simulation ¾ setup: ƒ 1 nest (purple) ƒ 3 food sources (blue spots) ƒ 100 to 200 ants (moving red dots) 7/16-18/2008

¾ ant’s behavioral repertoire: ƒ walk around randomly ƒ if bump into food, pick it and return to nest ƒ if carrying food, deposit pheromone (green) ƒ if not carrying food, follow pheromone gradient

¾ typical result: food sources are exploited in order of increasing distance and decreasing richness ¾ emergence of a collective “intelligent” decision

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

76

2. A Complex Systems Sampler c. Swarm intelligence – Insect colonies: ant trails

Concepts collected from this example ¾ simple individual rules ¾ emergence of collective computation ¾ no leader, no map (decentralization) ¾ amplification of small fluctuations (positive feedback) ¾ local interactions (ant ↔ environment) ¾ phase transition (critical mass = minimal number of ants) 7/16-18/2008

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

77

2. A Complex Systems Sampler c. Swarm intelligence – Insect colonies: termite mounds Phenomenon ¾ another spectacular example of insect self-organization: mound building by termites ¾ remarkable size and detailed architecture ¾ essentially made of tiny pellets of soil glued together ¾ starts with one underground chamber and grows up like a plant Termite mound

Inside of a termite mound

(J. McLaughlin, Penn State University)

(Lüscher, 1961)

7/16-18/2008

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

78

2. A Complex Systems Sampler c. Swarm intelligence – Insect colonies: termite mounds Mechanism ¾ no plan or central control ¾ termites interact indirectly, through the environment they are modifying ¾ “stigmergy” is a set of stimulusresponse pairs: ƒ pattern A in environment triggers behavior R in termite ƒ behavior R changes A into A1 ƒ pattern A1 triggers behavior R1 ƒ behavior R1 changes A1 into A2 ƒ etc.

¾ for example, a small heap develops into an arch Termite stigmergy (after Paul Grassé; from Solé and Goodwin, “Signs of Life”, Perseus Books)

7/16-18/2008

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

79

2. A Complex Systems Sampler c. Swarm intelligence – Insect colonies: termite mounds NetLogo model: /Biology/Termites

StarLogo termite mound building simulation, after Mitchel Resnick (StarLogo Project, MIT Media Laboratory, MA)

Modeling & simulation ¾ virtual termite’s repertoire:

¾ simplified setup: ƒ randomly scattered wood chips (or soil pellets) ƒ termites moving among the chips 7/16-18/2008

ƒ walk around randomly ƒ if bump into wood chip, pick it up and move away ƒ if carrying wood chip, drop it where other wood chips are

¾ result: wood chips are stacked in piles of growing size ¾ explains one aspect of mound formation

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

80

2. A Complex Systems Sampler c. Swarm intelligence – Insect colonies: termite mounds

Concepts collected from this example ¾ simple individual rules ¾ emergence of macroscopic structure ¾ no architect, no blueprint ¾ amplification of small fluctuations (positive feedback) ¾ local interactions (termite ↔ environment)

7/16-18/2008

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

81

2. A Complex Systems Sampler c. Swarm intelligence – Collective motion: flocking

Giant flock of flamingos

Fish school

(John E. Estes, UC Santa Barbara, CA)

(Eric T. Schultz, University of Connecticut)

Phenomenon ¾ coordinated collective movement of dozens or thousands of individuals ¾ adaptive significance:

Bison herd (Center for Bison Studies, Montana State University, Bozeman)

7/16-18/2008

ƒ prey groups confuse predators ƒ predator groups close in on prey ƒ increased aero/hydrodynamic efficiency

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

82

2. A Complex Systems Sampler c. Swarm intelligence – Collective motion: flocking S

Mechanism ¾ Reynolds’ “boids” model ¾ each individual adjusts its position, orientation and speed according to its nearest neighbors

A

¾ steering rules:

C

interaction potential

ƒ separation: avoid crowding local flockmates ƒ cohesion: move toward average position of local flockmates ƒ alignment: adopt average heading of local flockmates

Separation, alignment and cohesion (“Boids” model, Craig Reynolds, http://www.red3d.com/cwr/boids)

7/16-18/2008

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

83

2. A Complex Systems Sampler c. Swarm intelligence – Collective motion: flocking NetLogo model: /Biology/Flocking

NetLogo flocking simulation, after Craig Reynolds’ “boids” model (Uri Wilensky, Northwestern University, IL)

Modeling & simulation

7/16-18/2008

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

84

2. A Complex Systems Sampler c. Swarm intelligence – Collective motion: flocking

Concepts collected from this example ¾ simple individual rules ¾ emergence of coordinated collective motion ¾ no leader, no external reference point (decentralization) ¾ local interactions (animal ↔ animal) ¾ cooperation 7/16-18/2008

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

85

2. A Complex Systems Sampler c. Swarm intelligence – Collective motion: traffic jams

Phenomenon ¾ stream of cars breaks down into dense clumps and empty stretches ¾ spontaneous symmetry-breaking of initially uniform density and speed

Traffic jam (Department of Physics, University of Illinois at Urbana-Champaign)

7/16-18/2008

¾ no need for a central cause (such as slow vehicle, stop light or accident)

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

86

2. A Complex Systems Sampler c. Swarm intelligence – Collective motion: traffic jams NetLogo model: /Social Science/Traffic Basic

Modeling & simulation ¾ each car: ƒ slows down if there is another car close ahead ƒ speeds up if there is no car close ahead

¾ traffic nodes move in the direction opposite to cars ¾ emergence of group behavior qualitatively different from individual behavior NetLogo traffic basic simulation, after Mitchel Resnick (Uri Wilensky, Northwestern University, IL)

7/16-18/2008

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

87

2. A Complex Systems Sampler c. Swarm intelligence – Collective motion: traffic jams

Concepts collected from this example ¾ simple individual reactions ¾ emergence of moving superstructures ¾ no accident, no light, no police radar (decentralization) ¾ amplification of small fluctuations (positive feedback) ¾ local interactions (car ↔ car) 7/16-18/2008

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

88

2. A Complex Systems Sampler c. Swarm intelligence – Synchronization: fireflies Phenomenon ¾ a swarm of male fireflies (beetles) synchronize their flashes ¾ starting from random scattered flashing, pockets of sync grow and merge ¾ adaptive significance: ƒ still unclear... ƒ cooperative behavior amplifies signal visibility to attract females (share the reward)? ƒ cooperative behavior helps blending in and avoiding predators (share the risk)? ƒ ... or competition to be the first to flash?

Fireflies flashing in sync on the river banks of Malaysia

7/16-18/2008

¾ famous example of synchronization among independently sustained oscillators

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

89

2. A Complex Systems Sampler c. Swarm intelligence – Synchronization: fireflies Mechanism ¾ light-emitting cells (photocytes) located in the abdomen ¾ 1. each firefly maintains an internal regular cycle of flashing: Say's firefly, in the US (Arwin Provonsha, Purdue Dept of Entomology, IN)

ƒ physiological mechanism still unclear... ƒ pacemaker cluster of neurons controlling the photocytes? ƒ autonomous oscillatory metabolism? ƒ ... or just the movie in repeat mode? :-)

¾ 2. each firefly adjusts its flashing cycle to its neighbors: ƒ pushing/pulling or resetting phase ƒ increasing/decreasing frequency Firefly flashing (slow motion) (Biology Department, Tufts University, MA)

7/16-18/2008

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

90

2. A Complex Systems Sampler c. Swarm intelligence – Synchronization: fireflies NetLogo model: /Biology/Fireflies

NetLogo fireflies simulation (Uri Wilensky, Northwestern University, IL)

Modeling & simulation ¾ each firefly “cell”: ƒ hovers around randomly ƒ cycles through an internal flashing clock ƒ resets its clock upon seeing flashing in the vicinity 7/16-18/2008

¾ distributed system coordinates itself without a central leader

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

91

2. A Complex Systems Sampler c. Swarm intelligence – Synchronization: fireflies

Concepts collected from this example ¾ simple individual rules ¾ emergence of collective synchronization ¾ no conductor, no external pacemaker (decentralization) ¾ local interactions (insect ↔ insect) ¾ cooperation

7/16-18/2008

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

92

2. A Complex Systems Sampler c. Swarm intelligence – Synchronization: neurons Phenomenon ¾ neurons together form... the brain! (+ peripheral nervous system)

Medial surface of the brain (Virtual Hospital, University of Iowa)

ƒ ƒ ƒ ƒ

perception, cognition, action emotions, consciousness behavior, learning autonomic regulation: organs, glands

¾ ~1011 neurons in humans ¾ communicate with each other through electrical potentials ¾ neural activity exhibits specific patterns of spatial and temporal synchronization (“temporal code”) Pyramidal neurons and interneurons, precentral gyrus (Ramón y Cajal 1900)

7/16-18/2008

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

93

2. A Complex Systems Sampler c. Swarm intelligence – Synchronization: neurons

Schematic neurons

A binary neural network

(adapted from CS 791S “Neural Networks”, Dr. George Bebis, UNR)

Mechanism ¾ each neuron receives signals from many other neurons through its dendrites ¾ the signals converge to the soma (cell body) and are integrated ¾ if the integration exceeds a threshold, the neuron fires a signal on its axon 7/16-18/2008

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

94

2. A Complex Systems Sampler c. Swarm intelligence – Synchronization: neurons high activity rate high activity rate high activity rate low activity rate low activity rate low activity rate ¾ 1 and 2 more in sync than 1 and 3 ¾ 4, 5 and 6 correlated through delays 7/16-18/2008

IXXI / ISC-PIF Summer School 2008 - René Doursat: "Complex Systems Made Simple"

95