WHAT CAN MACHINE LEARNING BRING TO CROWD ANALYSIS, MODELLING AND SIMULATION? CONSIDERATIONS AND EXPERIMENTS
GIUSEPPE VIZZARI
CROWDS: MODELS AND CONTROL CIRM MARSEILLE, FRANCE, JUNE 3-7, 2019
WHAT CAN MACHINE LEARNING BRING TO CROWD ANALYSIS, MODELLING AND - - PowerPoint PPT Presentation
WHAT CAN MACHINE LEARNING BRING TO CROWD ANALYSIS, MODELLING AND SIMULATION? CONSIDERATIONS AND EXPERIMENTS GIUSEPPE VIZZARI CROWDS: MODELS AND CONTROL CIRM MARSEILLE, FRANCE, JUNE 3-7, 2019 OUTLINE AI, Machine Learning (ML), a turbulent
GIUSEPPE VIZZARI
CROWDS: MODELS AND CONTROL CIRM MARSEILLE, FRANCE, JUNE 3-7, 2019
legitimate, sometimes excessive, and sometimes completely hyped interest around AI
attention, especially on machine learning
(especially GPUs and even dedicated devices, e.g. TPUs)
pictures, videos, but also text in different languages)
source machine learning frameworks
machine learning bring to crowd analysis, modelling and simulation?
Next Generation AI Development Plan, State Council
Introducing Machine Learning
Introducing Machine Learning
Model and simulator Target system Simulation results Empirical data
Simulation campaign execution Modelling and design of a simulator
Analysis of results and interpretation
Analysis of the dynamics of target system Synthesis Analysis
(i) Formalisation of phenomenologies (ii) Metrics, indicators, techniques (iii) Generation of synthetic datasets (i) Motivations/goals for model innovation (ii) Data for calibration, validation, learning
ML provide support
analysis
simulation
lots of relevant work has been carried out on the border between surveillance and pedestrian/crowd studies
represented by a work on PAMI on group detection
Calderara, Rita Cucchiara: Socially Constrained Structural Learning for Groups Detection in Crowd. IEEE
38(5): 995-1008 (2016)
employing basic proxemic and group behavioural aspects that we developed in prior works…
gathered GT!trajectories!
lanes
quantitative characterization of this phenomenon
based on the concept of density
minPoints
concept of neighborhood:
than 𝜁, they are neighbors
minPoints neighbors it is a core point
neighboring core points, plus neighboring points (border points)
noise
The choice of a suitable distance metric is crucial, just as the values for parameters
clustering approach
considers velocity vectors to separate main flows according to the direction
clusters achieved from the previous step according also to positions
essentially evaluating in step (i) angle among velocities and in step (ii) distance among pedestrians (discounted for )
and minPoints in the two steps)
vectors
identified flow directions
agreement between two coders in classifying a certain subject
identification)
characterization)
Francesco Zanlungo to be discussed at TGF19
extent, without dissolving it or creating something new…
ML provide support
simulation
success
Fernando Fernández: Emergent behaviors and scalability for multi-agent reinforcement learning-based pedestrian
and Theory 74: 117-133 (2017)
approaches
Julien Pettré: Social Ways: Learning Multi-Modal Distributions of Pedestrian Trajectories with GANs. CVPR Workshops 2019
populations in urban areas
employed:
for pedestrian traffic
represented by a network, but some parts can be simulated with higher fidelity using the CA, to better capture interaction among pedestrians
computation of routes…
Crociani, L., Lämmel, G., & Vizzari, G. (2016). Simulation-aided crowd management: A multi-scale model for an urban case study. In International Workshop on Agent Based Modelling of Urban Systems (pp. 151-171)
abstract this concept:
compute their path, based on the experienced cost in the previous iteration
individual travel time of the agent
cost of the population is considered
account of some specific edge of the graph through a CA
Routes of agents (shortest path at the 1st iteration) Lo Loop p for # # iterat ations ns MA MATSim Routing algorithm Update experienced travel times simulation iteration St Star art
environment associated to each link, given the surrounding conditions
environment associated to each link, given the surrounding conditions
environment associated to each link, given the surrounding conditions
agents in the area of the environment associated to each link, given the surrounding conditions
substitution of the CA, saving many computations and time
agents in the area of the environment associated to each link, given the surrounding conditions
substitution of the CA, saving many computations and time
for the estimation of relationships between variables
compose ETT
For each generated agent:
1.
Ask the TT of the first link of the plan to the link model, according to current occupations
2.
Update the occupancy of the new/old link
3.
Let the agent wait
4.
Remove the link from the agent plan and repeat from 1 until the plan is completed
Scenario 2: Scenario with bottleneck Scenario 1: Corridor with uni/bi-directional flow
ETT model (red) and CA model (blue and cyan)
based simulations are respected
ETT model (red) and CA model (blue and cyan)
based simulations are respected
simulations also in this case
routes of the tenth iteration also leads to very close results to the CA
1st iteration 10th iteration Link 7à8 Link 8à9
(it is about 5 with the microscopic model)
iterations) and a few minutes to train the model using cross-validation
experiments, much information on the pedestrian proxemics behaviour…
machine learning and deep learning techniques, to build new data-driven models
accuracy of a fully-connected neural network for regression of pedestrian velocities, as function of their internal state and neighbourhood: 𝑊
# $%& = 𝑔 𝑌# $ ,
𝑌#
$ is a vector including the state and
neighbourhood information of the pedestrian 𝑏
[2] [3] [1]
[1] Gorrini, A., Crociani, L., Feliciani, C., Zhao, P., Nishinari, K., & Bandini, S. (2016). Social groups and pedestrian crowds: experiment on dyads in a counter flow scenario. PED 2016. [2-3] from http://ped.fz-juelich.de
another pedestrian, its state is represented in the input
Coarse sampling in the rear area Fine sampling in the front area
Nothing hit: <rayLength, 0,0,empty> hit: <rayLength, 0,0, obstacle> hit: <rayLength, !
"#,%, ! "#,&, pedestrian>
Real / Simulated
dir) are used for the training, dataset is split in training/test part in the 70/30 proportion
prediction for the next frame
carpet, I’m not selling you anything
in which some pedestrians employ the learned model…
behaviour seems to be underestimated
responding to changes in the contextual situation
back and really ask ourselves “what are we providing to the network learning algorithm? Is it consistent to what we want to achieve?”
Real / Simulated
techniques for researchers trying to analyse and synthetize pedestrian and crowd behaviour…
knowledge on the subject is needed to make these techniques work properly and interpret results (also negative ones)
interest is legitimate and these topics are current…
and applicability of the propose techniques
represents an invaluable contribution to the overall community
WORKS IN COLLABORATION WITH:
Giuseppe Vizzari
University of Milano-Bicocca, Milano, Italy giuseppe.vizzari@unimib.it