Breaking news…. Three Behavioral Zones Zone of repulsion Zone of orientation Zone of attraction...

16
Birds flock, fishes school: Modeling Emergent Collective Behavior

Transcript of Breaking news…. Three Behavioral Zones Zone of repulsion Zone of orientation Zone of attraction...

Page 1: Breaking news…. Three Behavioral Zones Zone of repulsion Zone of orientation Zone of attraction Blind Region  Adapted from Inada, 2002 RoRo.

Birds flock, fishes school:Modeling Emergent Collective Behavior

Page 2: Breaking news…. Three Behavioral Zones Zone of repulsion Zone of orientation Zone of attraction Blind Region  Adapted from Inada, 2002 RoRo.

Breaking news….

Page 3: Breaking news…. Three Behavioral Zones Zone of repulsion Zone of orientation Zone of attraction Blind Region  Adapted from Inada, 2002 RoRo.

Three Behavioral Zones

•Zone of repulsion

•Zone of orientation

•Zone of attraction

•Blind Regiona

Adapted from Inada, 2002

Ro

Page 4: Breaking news…. Three Behavioral Zones Zone of repulsion Zone of orientation Zone of attraction Blind Region  Adapted from Inada, 2002 RoRo.

The Logic of the ModelIf any neighbors in zone of repulsion (“Dude, quit riding my tail!”).

Else If all neighbors are in the zone of orientation:

If neighbors exist in both orientation and attraction zones:

If all neighbors are in the zone of attraction:

Otherwise fish is lost

Get away--repulsion has highest priority.

Orient to their (average) heading

Come closer to their (average) position

Then orient and get closer, in proper proportion

Turn around 180 degrees and start heading back

Page 5: Breaking news…. Three Behavioral Zones Zone of repulsion Zone of orientation Zone of attraction Blind Region  Adapted from Inada, 2002 RoRo.

y

Definition of Coordinate System

Unit direction vector of fish i wrt its “local coordinates”

Page 6: Breaking news…. Three Behavioral Zones Zone of repulsion Zone of orientation Zone of attraction Blind Region  Adapted from Inada, 2002 RoRo.

The Three “Laws of Motion”

Image credit: http://www.red3d.com/cwr/boids/

Repulsion Rule Attraction Rule Orientation Rule

Page 7: Breaking news…. Three Behavioral Zones Zone of repulsion Zone of orientation Zone of attraction Blind Region  Adapted from Inada, 2002 RoRo.

Model Implementation: Compute Desired Heading

Else

If any neighbors in zone of repulsion (repulsion has highest priority!):

If all neighbors are in the zone of orientation:

If all neighbors are in the zone of attraction:

Otherwise fish is lost, turn 180 degrees

If neighbors exist in both orientation and attraction zones:

r: orient/attract priority parameter. Range = [0-1]

Page 8: Breaking news…. Three Behavioral Zones Zone of repulsion Zone of orientation Zone of attraction Blind Region  Adapted from Inada, 2002 RoRo.

Desired turning angle:

If f(t) < wt (Desired turn can be achieved in one time step)

Else (Desired turn cannot be achieved in one time step, turn as much as possible toward desired heading)

Model Implementation: Update Heading

Fraction defines how much of desired turn is actually achieved.

Page 9: Breaking news…. Three Behavioral Zones Zone of repulsion Zone of orientation Zone of attraction Blind Region  Adapted from Inada, 2002 RoRo.

Add a little noise; update position

Gaussian noise term: Imprecision/error

“cruising speed”, assumed constant over time

vi(t)

vi(t+t)

Page 10: Breaking news…. Three Behavioral Zones Zone of repulsion Zone of orientation Zone of attraction Blind Region  Adapted from Inada, 2002 RoRo.

Quantifying Group Behavior

Polarization

Angular Momentum

Moment Arm

Centroid

Page 11: Breaking news…. Three Behavioral Zones Zone of repulsion Zone of orientation Zone of attraction Blind Region  Adapted from Inada, 2002 RoRo.

Couzin Model ResultsCirculating fish school—rare!

Random/disorganized group behavior

Emergent collective behavior: all fish pointed the same direction

Page 12: Breaking news…. Three Behavioral Zones Zone of repulsion Zone of orientation Zone of attraction Blind Region  Adapted from Inada, 2002 RoRo.

Predator Attack!What rules do you

obey?Move away from

predator?Or stay with the

school?

Obey your thirst!

Page 13: Breaking news…. Three Behavioral Zones Zone of repulsion Zone of orientation Zone of attraction Blind Region  Adapted from Inada, 2002 RoRo.

Run (errr, swim) for Your Lives!: The Predator Escape Rule

Rpred

Pure predator escape rule

Predator escape with obedience to the school

Obedience parameter (range = 0-1)h = 1: Fully obedient to the schoolh = 0: Ignore the school, move only to get away from predator

If predator is within the ‘danger zone’ (defined by Rpred)

Page 14: Breaking news…. Three Behavioral Zones Zone of repulsion Zone of orientation Zone of attraction Blind Region  Adapted from Inada, 2002 RoRo.

Predator Attack: Further Considerations

What about multiple predators? And what about ratio of school sizeto number of predators?

Page 15: Breaking news…. Three Behavioral Zones Zone of repulsion Zone of orientation Zone of attraction Blind Region  Adapted from Inada, 2002 RoRo.

Simulation Software (FishSim)

Page 16: Breaking news…. Three Behavioral Zones Zone of repulsion Zone of orientation Zone of attraction Blind Region  Adapted from Inada, 2002 RoRo.

ReferencesI.D. Couzin et al. Collective Memory and Spatial Sorting

in Animal Groups, J. theor. Biol (2002) 218, 1-11

Y. Inada and K. Kawachi. Order and Flexibility in Motion of Fish Schools, J. theor. Biol (2002), 214, 371-387

Adi Shklarsh, Gil Ariel, Elad Schneidman, Eshel Ben-Jacob. Smart Swarms of Bacteria-Inspired Agents with Performance Adaptable Interactions. PLoS Computational Biology, 2011; 7 (9): e1002177 DOI: 10.1371/journal.pcbi.1002177