Can You do Maths in a Crowd? Chris Budd

Similar documents
Modelling with cellular automata

biologically-inspired computing lecture 12 Informatics luis rocha 2015 INDIANA UNIVERSITY biologically Inspired computing

Cellular Automata. and beyond. The World of Simple Programs. Christian Jacob

Extension of cellular automata by introducing an algorithm of recursive estimation of neighbors

Cellular automata are idealized models of complex systems Large network of simple components Limited communication among components No central

Cellular Automata. History. 1-Dimensional CA. 1-Dimensional CA. Ozalp Babaoglu

Cellular Automata. ,C ) (t ) ,..., C i +[ K / 2] Cellular Automata. x > N : C x ! N. = C x. x < 1: C x. = C N+ x.

Image Encryption and Decryption Algorithm Using Two Dimensional Cellular Automata Rules In Cryptography

Introduction to Scientific Modeling CS 365, Fall 2011 Cellular Automata

Any live cell with less than 2 live neighbours dies. Any live cell with 2 or 3 live neighbours lives on to the next step.

Toward a Better Understanding of Complexity

biologically-inspired computing lecture 22 Informatics luis rocha 2015 INDIANA UNIVERSITY biologically Inspired computing

Cellular Automata CS 591 Complex Adaptive Systems Spring Professor: Melanie Moses 2/02/09

Mitchell Chapter 10. Living systems are open systems that exchange energy, materials & information

CELLULAR AUTOMATA WITH CHAOTIC RULE FORMATION AND ITS CHARACTERISTICS ABSTRACT

Introduction to Artificial Life and Cellular Automata. Cellular Automata

Pedestrian traffic models

Computer Simulation and Applications in Life Sciences. Dr. Michael Emmerich & Dr. Andre Deutz LIACS

Motivation. Evolution has rediscovered several times multicellularity as a way to build complex living systems

Measurement of human activity using velocity GPS data obtained from mobile phones

Introduction to Scientific Modeling Stephanie Forrest Dept. of Computer Science Univ. of New Mexico Albuquerque, NM

DIATHEMATIKON PROGRAMMA CROSS-THEMATIC CURRICULUM FRAMEWORK

M. Saraiva* 1 and J. Barros 1. * Keywords: Agent-Based Models, Urban Flows, Accessibility, Centrality.

II. Cellular Automata 8/27/03 1

Periodic Cellular Automata of Period-2

Mathematical Biology - Lecture 1 - general formulation

Complex Systems Theory

A virtual world comic book by Andrew oleksiuk

Part 1. Modeling the Relationships between Societies and Nature... 1

How Do Things Evolve? How do things change, become more complex, through time?

Outline 1 Introduction Tiling definitions 2 Conway s Game of Life 3 The Projection Method

Why Complexity is Different

Cellular automata as emergent systems and models of physical behavior

Session 4: Lecture 4: Cellular Automata. One and Two D D Automata and the Beginnings of ABM. Michael Batty

Composable Group Behaviors

Application of Cellular Automata in Conservation Biology and Environmental Management 1

15-251: Great Theoretical Ideas in Computer Science Lecture 7. Turing s Legacy Continues

o or 1. The sequence of site values is the "configuration" of the cellular automaton. The cellular

The Emergence of Polarization in Flocks of Starlings

Lecture 7: Cellular Automata Modelling: Principles of Cell Space Simulation

Content Area: Social Studies Standard: 1. History Prepared Graduates: Develop an understanding of how people view, construct, and interpret history

Cellular Automata as Models of Complexity

Lecture 7: Cellular Automata Modelling: Principles of Cell Space Simulation

arxiv:cond-mat/ v4 [cond-mat.soft] 23 Sep 2002

P The Entropy Trajectory: A Perspective to Classify Complex Systems. Tomoaki SUZUDO Japan Atomic Energy Research Institute, JAERI

Cellular Automata: Tutorial

An intelligent floor field cellular automation model for pedestrian dynamics

Self-organized Criticality and its implication to brain dynamics. Jaeseung Jeong, Ph.D Department of Bio and Brain Engineering, KAIST

Justine Seastres. Cellular Automata and the Game of Life

Mathematical modeling of complex systems Part 1. Overview

A Colorful Introduction to Cellular Automata

Exercise 4: Markov Processes, Cellular Automata and Fuzzy Logic

A) The Weather. Write the name of these weather instruments: (4 marks)

LOCAL NAVIGATION. Dynamic adaptation of global plan to local conditions A.K.A. local collision avoidance and pedestrian models

Nepal College of Travel & Tourism Management

arxiv: v1 [cs.fl] 17 May 2017

StarLogo Simulation of Streaming Aggregation. Demonstration of StarLogo Simulation of Streaming. Differentiation & Pattern Formation.

Wisconsin Academic Standards Science Grade: K - Adopted: 1998

Doing Physics with Random Numbers

Joint-accessibility Design (JAD) Thomas Straatemeier

Cellular Automata. Jason Frank Mathematical Institute

The Fixed String of Elementary Cellular Automata

1 The Nature of Science

Literature revision Agent-based models

arxiv: v1 [physics.soc-ph] 3 Dec 2009

II. Spatial Systems. A. Cellular Automata. Structure. Cellular Automata (CAs) Example: Conway s Game of Life. State Transition Rule

Advanced GCE Results June 2017: Grades A* E

On Elementary and Algebraic Cellular Automata

The Spatial Structure of Cities: International Examples of the Interaction of Government, Topography and Markets

Chaotic Properties of the Elementary Cellular Automaton Rule 40 in Wolfram s Class I

depending only on local relations. All cells use the same updating rule, Time advances in discrete steps. All cells update synchronously.

Evolutionary Games and Computer Simulations

Urban Planning Word Search Level 1

Nebraska Core Academic Content Standards Science Grade: 2 - Adopted: 2010

Bacteria Inspired Patterns Grown with Hyperbolic Cellular Automata

Computer Simulations

Winter Weather Get It Together. Infographic Social Media Campaign Transcomm 2018 Awards - 8a: Logo, Illustration and Infographic

@igorwhiletrue

Simulation of Pedestrian Dynamics and Model Adjustments: A Reality-Based Approach

Crystals of Crowd: Modeling Pedestrian GroupsUsing MAS-based Approach

Cellular automata, entropy and box- coun4ng dimension

CREATING LIVEABLE & SAFE CITIES FOR ALL

NCC Education Limited. Substitution Topic NCC Education Limited. Substitution Topic NCC Education Limited

BINARY MORPHOLOGY AND CELLULAR AUTOMATA

Complexity and agent-based modelling in urban research

Situation. The XPS project. PSO publication pattern. Problem. Aims. Areas

The Evolution of Animal Grouping and Collective Motion

Bio-inspired Models of Computation Seminar. Daniele Sgandurra. 16 October 2009

arxiv: v1 [nlin.cg] 4 Nov 2014

Crowded Particles - From Ions to Humans

Macroscopic Simulation of Open Systems and Micro-Macro Link

ESD.84 Doctoral Seminar Session 8 Notes Guests Presenting: Seth Lloyd, Joe Sussman, Neil Gershenfeld

Announcements. Problem Set 6 due next Monday, February 25, at 12:50PM. Midterm graded, will be returned at end of lecture.

The Game (Introduction to Digital Physics) *

Agent-Based Models: Statistical Issues and Challenges

A CFD SIMULATION AND OPTIMIZATION OF SUBWAY STATION VENTILATION

Cellular Automata Models of Pedestrian Dynamics

Spatial Epidemic Modelling in Social Networks

El Botellón: Modeling the Movement of Crowds in a City

A Cellular Automata Approach to Population Modeling

Transcription:

Can You do Maths in a Crowd? Chris Budd

Human beings are social animals We usually have to make decisions in the context of interactions with many other individuals

Examples Crowds in a sports stadium such as the Olympics Transport networks Pilgrimages Tourist hot spots such as Dorset Can maths help us to make decisions in this context?

To do this we need to predict human behaviour using mathematics! Is this the subject of science fiction?

Not necessarily Mathematics can certainly give insights into large scale collective behaviour Secret is : Emergence Large scale structure and order in complex systems. (Simple) patterns can arise through the way that components in a complex system interact rather than through their individual behaviours

Example 1: A phantom traffic jam Single car braking slightly can cause an expanding shock wave to travel back through the traffic

Example 2: A snowflake

Example 3: A galaxy Large scale structure arises through many gravitational interactions

Example 4: A murmuration of starlings Birds interact with their neighbours. Collectively leads to large scale motion which deters predators

Example 5: Shoaling of fish

Example 6: Dictyostelium Slime Mould

Slime Mould cells of density u release chemicals with concentration v Chemical diffuse Cells move in the direction of increasing chemical u and v then satisfy partial differential equations which give rise to patterns

Example 7: Animal coat patterns Alan Turing Coat patterns satisfy reaction diffusion partial differential equations Study the emergent patterns in these to predict the coat patterns

Spotty animals can have striped tails, but striped animals can t have spotty tails.

Extravagant claims have been made for emergent systems. Claimed that order will generally emerge from complex systems if we leave them to themselves.

For example in management, cities and even But.. Careful study of such complex systems indicate that this is not usually the case Whilst simple ordered patterns can emerge, it is usually as common to see disorder instead.

However, in many complex systems patterns do emerge, and can be classified using the theory of dynamical systems. For example Periodic repeating patterns, such as waves Chaotic patterns which look disordered but are highly structured [See first lecture of the next series]

Cellular Automata (CAs) Cellular Automata give a mathematical tool for studying patterns in complex systems [Wolfram (1980s), Von Neumann, Ulam (1940s)] IDEA Have a generation of cells Update cells from one generation to the next according to a simple rule Repeat over many generations

One-dimensional Cellular Automaton First generation Second generation First Simple rule: Averaging A = a, B = (a+b+c)/3, C = (b + c + d)/3, D = (c + d + e)/3, E = e Tends to a constant state over many generations a a+x a+2x a+3x a+4x = e

Second simple rule: Application of the ExOr rule 1 ExOr 1 = 0, 0 ExOr 0 = 0, 1 ExoR 0 = 1, 0 ExOr 1 = 1 1 1 0 1 0 1 1 0 0 1 0 1 0 1 1 0 0 0 1 0 1 1 1 0 1 1 0 0 0 1 0 1 1 0 0 0 0 1 1 1 0 1 0 0 1 0 1 0 1 1 1 0 1 0 0 1 1 1 0 0 1 1 0 1 0 0 1 1 0 0 0 0 1 0 1 0 0 1 1 1 0 1 1 1 1 1 0 0 1 1 1 1 1 0 0 0 1 0 0 1 1 1 0 1 0 0 0 0 0 1 1 1 1 0 0 0 1 1 0 0 Complicated and time evolving pattern results

Wolfram [A new kind of science] gives many interesting examples

Combination of periodic and chaotic behaviour

Periodic and selfsimilar behaviour

Pascal s Triangle ExOr on an offset grid Sierpinski Gasket

Conus Textile Shell: A natural CA?

Two-dimensional Cellular Automata Simultaneously update all elements of a two-dimensional grid

Conway s Game of Life Any live cell with fewer than two live neighbours dies Any live cell with two or three live neighbours lives on to the next generation. Any live cell with more than three live neighbours dies Any dead cell with exactly three live neighbours becomes live

Popularised by Martin Gardner in the Scientific American 1970 It has many stable exotic patterns

Glider Gun

Similar automata are now used to simulate true biological processes Immune cells Bacteria

Agent Based Models (ABMs) These are a more sophisticated version of CAs in which the cells are able to move, often under the action of differential equations They comprise: Numerous agents specified at various scales A set of decision-making rules for each agent A set of learning rules for each agent. A space in which the agents can move/operate and an environment in which they can interact

Typically the agents obey nonlinear ordinary differential equations Resulting ABMs are much too complex to be solved by hand. Usually the subject of heavy duty computing Can test how changes in the behaviour patterns of individual agents will affect the system's emerging overall behaviour ABMs are now used widely in simulating systems in biology, sociology, economics, education and even management

So How do we simulate a crowd? Scramble crossing at Shibuya Metro Station

ABM Simulation of the Scramble Crossing

How does the ABM work? People are the agents What rules do they obey?

People in a crowd: Have an overall goal, which may be to exit a building or to follow signage Cannot walk through walls or other solid obstacles. Have an (individual/cultural) view on how close they want to be to a stranger Will want to be close to family or friends Will have a certain amount of randomness in their movements.

Social Force Model People in a crowd are subject to three forces 1. Global intent f_i 2. Social force f_{i,j} Dirk Helbing 3. Boundary force

Global intent: Want to get to a fixed destination at a certain speed Social Force: Much more complicated. For each individual build in: Own views on personal space Cultural perceptions Aggression/concern.

The resulting ABMs are now used To develop and test theories on crowd behaviour To simulate the response of crowds to emergency situations By the Home Office, London Underground, Sports stadia designers, organisers of pilgrimages,

Corridor counter flow

Exit from a lecture theatre

Simulating flocking Flocks are similar to crowds but Birds move in three dimensions Are more driven by local conditions

Rules for a flocking ABM Alignment: Each bird aligns its flight with the average flight direction of the local flock Cohesion: Each bird moves towards the average position of the local flock Separation: Each bird tries to avoid local over crowding

These give realistic flocks which can be changed to allow for predators

So can we model Dorset? Agents: local population, tourists, industry, Factor in: the weather, the economy, Brexit.. Identify: rules of interaction Light the blue touch paper and hope that we get an answer which means something useful. Watch this space!