SlideShare a Scribd company logo
Measuring and Predicting
Departures from Routine
in Human Mobility
Dirk Gorissen | @elazungu
PyData London - 23 February 2014
Me?

www.rse.ac.uk
Human Mobility - Credits


University of Southampton








BAE Systems ATC




James McInerney
Sebastian Stein
Alex Rogers
Nick Jennings

Dave Nicholson

Reference:




J. McInerney, S. Stein, A. Rogers, and N. R. Jennings (2013).
Breaking the habit: measuring and predicting departures from
routine in individual human mobility. Pervasive and Mobile
Computing, 9, (6), 808-822.
Submitted KDD paper


Beijing Taxi rides


Nicholas Jing Yuan (Microsoft Research)
Human Mobility


London in Motion - Jay Gordon (MIT)
Human Mobility: Inference


Functional Regions of a city


Nicholas Jing Yuan (Microsoft Research)
Human Mobility: Inference


Jay Gordon (MIT)
Human Mobility: Inference


Cross cuts many fields: sociology, physics, network
theory, computer science, epidemiology, …

© MIT
© PNAS
Project InMind


Project InMind announced on 12 Feb


$10m Yahoo-CMU collaboration on predicting human needs and
intentions
Human Mobility


Human mobility is highly predictable




Average predictability in the next hour is 93% [Song 2010]
Distance little or no impact
High degree of spatial and temporal regularity





Spatial: centered around a small number of base locations
Temporal: e.g., workweek / weekend

“…we find a 93% potential predictability in user mobility
across the whole user base. Despite the significant
differences in the travel patterns, we find a remarkable
lack of variability in predictability, which is largely
independent of the distance users cover on a regular
basis.”
Temporal Regularity


[Herder 2012] [Song 2010]
Spatial Regularity


[Herder 2012] [Song 2010]
Breaking the Habit


However, regular patterns not the full story





travelling to another city on a weekend break or while on
sick leave

Breaks in regular patterns signal potentially
interesting events
Being in an unfamiliar place at an unfamiliar time
requires extra context aware assistance



E.g., higher demand for map & recommendation apps,
mobile advertising more relevant, …
Predict future departures from routine?
Applications





Optimize public transport
Insight into social behaviour
Spread of disease
(Predictive) Recommender systems







Based on user habits (e.g., Google Now, Sherpa)

Context aware advertising
Crime investigation
Urban planning
…

Obvious privacy & de-anonymization concerns
-> Eric Drass’ talk
Human Mobility: Inference


London riots “commute”
Modeling Mobility


Entropy measures typically used to determine regularity in
fixed time slots






Well understood measures, wide applicability
Break down when considering prediction or higher level structure

Model based







Can consider different types of structure in mobility (i.e., sequential
and temporal)
Can deal with heterogeneous data sources
Allows incorporation of domain knowledge (e.g., calendar
information)
Can build extensions that deal with trust
Allows for prediction
Bayesian approach



distribution over locations
enables use as a generative model
Bayes Theorem
Bayesian Networks




Bottom up: Grass is wet, what is the most likely cause?
Top down: Its cloudy, what is the probability the grass is wet?
Hidden Markov Model



Simple Dynamic Bayesian Network
Shaded nodes are observed
Probabilistic Models



Model can be run forwards or backwards
Forwards (generation): parameters -> data



E.g., use a distribution
over word pair
frequencies to
generate sentences
Probabilistic Models



Model can be run backwards
Backwards (Inference): data -> parameters
Building the model





We want to model departures from routine
Assume assignment of a person to a hidden location
at all time steps (even when not observed)
Discrete latent locations
Correspond to “points of interest”


e.g., home, work, gym, train station, friend's house
Latent Locations



Augment with temporal structure
Temporal and periodic assumption to behaviour



e.g., tend to be home each night at 1am
e.g., often in shopping district on Sat afternoon
Add Sequential Structure


Added first-order Markov dynamics



e.g., usually go home after work
can extend to more complex sequential structures
Add Departure from Routine



zn = 0 : routine
zn = 1 : departure from routine
Sensors


Noisy sensors, e.g., cell tower observations



observed: latitude/longitude
inferred: variance (of locations)
Reported Variance


E.g., GPS


observed: latitude/longitude, variance
Trustworthiness


E.g., Eyewitness



observed: latitude/longitude, reported variance
inferred: trustworthiness of observation


single latent trust value(per time step & source)
Full Model
Inference
Inference is Challenging



Exact inference intractable
Can perform approximate inference using:


Expectation maximisation algorithm





Gibbs sampling, or other Markov chain Monte Carlo





Fast
But point estimates of parameters

Full distributions (converges to exact)
But slow

Variational approximation



Full distributions based on induced factorisation of model
And fast
Variational Approximation


Advantages







Straightforward parallelisation by user
Months of mobility data ~ hours
Updating previous day's parameters ~ minutes
Variational approximation amenable to fully online
inference

M. Hoffman, D. Blei, C. Wang, and J. Paisley.
Stochastic variational inference. arXiv:1206.7051,
2012
Model enables


Inference







Exploration/summarisation




location
departures from routine
noise characteristics of observations
trust characteristics of sensors

parameters have intuitive interpretations

Prediction



Future mobility (given time context)
Future departures from routine
Performance


Nokia Dataset (GPS only) [McInerney 2012]
Performance
Performance



Synthetic dataset with heterogeneous, untrustworthy
observations.
Parameters of generating model learned from OpenPaths
dataset
Performance
Implementation


Backend inference and data processing code all python






UI to explore model predictions & sanity check







numpy
scipy
matplotlib
flask
d3.js
leaflet.js
kockout.js

Future



Gensim, pymc, bayespy, …
Probabilistic programming
Map View: Observed
Map View: Inferred
Departures from Routine: Temporal
Departures from Routine: Spatial
Departures from Routine: Combined
Departures from Routine
Conclusion & Future Work


Summary
 Novel model for learning and predicting departures from routine



Limitations



Need better ground truth for validation
Finding ways to make the model explain why each departure
from routine happened.




Needs more data (e.g., from people who know each other, using
weather data, app usage data, …).

Future Work


Incorporating more advanced sequential structure into the model







e.g., hidden semi-Markov model, sequence memoizer

Supervised learning of what “interesting" mobility looks like
More data sources
Online inference
Taxi drivers
Questions?


Thank you.




dirk.gorissen@baesystems.com

| @elazungu

Reference:


J. McInerney, S. Stein, A. Rogers, and N. R. Jennings (2013).
Breaking the habit: measuring and predicting departures from routine
in individual human mobility. Pervasive and Mobile Computing, 9, (6),
808-822.

More Related Content

PDF
Effects of mobility models and nodes distribution on wireless sensors networks
DOC
Chapter 5 applications of neural networks
PDF
Volume 2-issue-6-2102-2107
PDF
F33022028
PDF
Machine Learning Based Watchdog Protocol for Wormhole Attack Detection in Wir...
PPTX
Geometric_positioning (KTH-5392's conflicted copy 2014-03-05)
PDF
ENERGY EFFICIENT MULTIHOP QUALITY PATH BASED DATA COLLECTION IN WIRELESS SENS...
PDF
Information Extraction from Wireless Sensor Networks: System and Approaches
 
Effects of mobility models and nodes distribution on wireless sensors networks
Chapter 5 applications of neural networks
Volume 2-issue-6-2102-2107
F33022028
Machine Learning Based Watchdog Protocol for Wormhole Attack Detection in Wir...
Geometric_positioning (KTH-5392's conflicted copy 2014-03-05)
ENERGY EFFICIENT MULTIHOP QUALITY PATH BASED DATA COLLECTION IN WIRELESS SENS...
Information Extraction from Wireless Sensor Networks: System and Approaches
 

What's hot (17)

PDF
wireless sensor network,mobile networking
PDF
An Overview and Classification of Approaches to Information Extraction in Wir...
 
DOCX
Cooperative positioning and tracking in disruption tolerant networks
PPTX
An ensemble deep neural network
PDF
Map as a Service: A Framework for Visualising and Maximising Information Retu...
 
PPT
Ambient 2013: Persuasion Mobility in Ambient Intelligence
PDF
Adaptive Routing in Wireless Sensor Networks: QoS Optimisation for Enhanced A...
 
PPT
Modular RADAR: Immune System Inspired Strategies for Distributed Systems
DOCX
artificial inteliigence in spacecraft power application
PPTX
Socioeconomics internet of space
PPTX
Chapter 2 wireless sensor
PDF
Parametric Study on Signal Reconstruction in Wireless Capsule Endoscopy using...
PDF
V01 i010405
PDF
Applications of Artificial Neural Networks in Civil Engineering
PDF
Knowledge manifold
PPTX
Study of indoor positioning algorithms based on light fidelity
PDF
An Efficient Approach for Data Gathering and Sharing with Inter Node Communi...
wireless sensor network,mobile networking
An Overview and Classification of Approaches to Information Extraction in Wir...
 
Cooperative positioning and tracking in disruption tolerant networks
An ensemble deep neural network
Map as a Service: A Framework for Visualising and Maximising Information Retu...
 
Ambient 2013: Persuasion Mobility in Ambient Intelligence
Adaptive Routing in Wireless Sensor Networks: QoS Optimisation for Enhanced A...
 
Modular RADAR: Immune System Inspired Strategies for Distributed Systems
artificial inteliigence in spacecraft power application
Socioeconomics internet of space
Chapter 2 wireless sensor
Parametric Study on Signal Reconstruction in Wireless Capsule Endoscopy using...
V01 i010405
Applications of Artificial Neural Networks in Civil Engineering
Knowledge manifold
Study of indoor positioning algorithms based on light fidelity
An Efficient Approach for Data Gathering and Sharing with Inter Node Communi...
Ad

Similar to Measuring and Predicting Departures from Routine in Human Mobility (20)

PPTX
Measuring and Predicting Departures from Routine in Human Mobility by Dirk Go...
PDF
Prediction of route and destination intent shibumon alampatta
PPT
Learning And Inferring Transportation Routines
PPTX
Hyperoptimized Machine Learning and Deep Learning Methods For Geospatial and ...
PDF
IRJET- Next Location Prediction
PDF
Poster
PDF
Dw35701704
PDF
Study of statistical models for route prediction algorithms in vanet
PDF
Conference talk: Understanding Vulnerabilities of Location Privacy Mechanisms...
PDF
La telefonía móvil como fuente de información para el estudio de la movilidad...
PDF
ubc_2014_spring_dewancker_ian (9)
PDF
R data mining_clear
PDF
TorkkolaZhangLiZhangSchreinerGardner(MIRW2007)
PDF
DATI, AI E ROBOTICA @POLITO
PPTX
Quettra Design Problem Solution - Deepti Chafekar
PDF
Prediction of nodes mobility in 3-D space
PDF
Social Event Detection
PPTX
Transforming instagram data into location intelligence
PPTX
Cab travel time prediction using ensemble models
PDF
Technical report
Measuring and Predicting Departures from Routine in Human Mobility by Dirk Go...
Prediction of route and destination intent shibumon alampatta
Learning And Inferring Transportation Routines
Hyperoptimized Machine Learning and Deep Learning Methods For Geospatial and ...
IRJET- Next Location Prediction
Poster
Dw35701704
Study of statistical models for route prediction algorithms in vanet
Conference talk: Understanding Vulnerabilities of Location Privacy Mechanisms...
La telefonía móvil como fuente de información para el estudio de la movilidad...
ubc_2014_spring_dewancker_ian (9)
R data mining_clear
TorkkolaZhangLiZhangSchreinerGardner(MIRW2007)
DATI, AI E ROBOTICA @POLITO
Quettra Design Problem Solution - Deepti Chafekar
Prediction of nodes mobility in 3-D space
Social Event Detection
Transforming instagram data into location intelligence
Cab travel time prediction using ensemble models
Technical report
Ad

More from Dirk Gorissen (9)

PPTX
Data For Good ?
PPTX
UNNMANED AIRCRAFT SYSTEMS – CURRENT OPS, INTEGRATION AND CHALLENGES
PPTX
Structronics
PPTX
London Big-O Algorithms and Datastructures Meetup Welcome
PPTX
ICT4D and me
PDF
Random Hacks of Kindness, Dec 2012
PPTX
"Click here" to build your UAV
PPTX
Ngo Clarity
PPTX
Pyconuk2011
Data For Good ?
UNNMANED AIRCRAFT SYSTEMS – CURRENT OPS, INTEGRATION AND CHALLENGES
Structronics
London Big-O Algorithms and Datastructures Meetup Welcome
ICT4D and me
Random Hacks of Kindness, Dec 2012
"Click here" to build your UAV
Ngo Clarity
Pyconuk2011

Recently uploaded (20)

PDF
Getting Started with Data Integration: FME Form 101
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Encapsulation theory and applications.pdf
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
A novel scalable deep ensemble learning framework for big data classification...
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Hindi spoken digit analysis for native and non-native speakers
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Web App vs Mobile App What Should You Build First.pdf
PDF
DP Operators-handbook-extract for the Mautical Institute
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
Enhancing emotion recognition model for a student engagement use case through...
PPTX
Tartificialntelligence_presentation.pptx
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Getting Started with Data Integration: FME Form 101
Univ-Connecticut-ChatGPT-Presentaion.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
Encapsulation theory and applications.pdf
A comparative analysis of optical character recognition models for extracting...
A novel scalable deep ensemble learning framework for big data classification...
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Group 1 Presentation -Planning and Decision Making .pptx
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Hindi spoken digit analysis for native and non-native speakers
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
NewMind AI Weekly Chronicles - August'25-Week II
Web App vs Mobile App What Should You Build First.pdf
DP Operators-handbook-extract for the Mautical Institute
WOOl fibre morphology and structure.pdf for textiles
Enhancing emotion recognition model for a student engagement use case through...
Tartificialntelligence_presentation.pptx
Profit Center Accounting in SAP S/4HANA, S4F28 Col11

Measuring and Predicting Departures from Routine in Human Mobility

Editor's Notes

  • #9: http://www.pnas.org/content/95/25/15145/F2.expansion.htmlhttps://cee.mit.edu/news/releases/2013/human-mobility-travel-configurations
  • #15: http://ceur-ws.org/Vol-872/aum2012_paper_3.pdf