traffic simulations with empirical data – how to replace missing … faculteit... · 2017. 10....

17
Traffic Simulations with Empirical Data – How to replace missing Traffic Flows? Lars Habel, Thomas Zaksek, Michael Schreckenberg Alejandro Molina, Kristian Kersting 28.10.2015

Upload: others

Post on 25-Feb-2021

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Traffic Simulations with Empirical Data – How to replace missing … faculteit... · 2017. 10. 18. · Traffic Simulations with Empirical Data – How to replace missing Traffic

Traffic Simulations with Empirical Data – How to replace missing Traffic Flows? Lars Habel, Thomas Zaksek, Michael Schreckenberg

Alejandro Molina, Kristian Kersting

28.10.2015

Page 2: Traffic Simulations with Empirical Data – How to replace missing … faculteit... · 2017. 10. 18. · Traffic Simulations with Empirical Data – How to replace missing Traffic

Motivation

28.10.2015 2

Real-time traffic simulations with empirical data

On-the-fly filling of gaps is needed!

time X1 X2 X3 X4 X5 X6

13:01 18 23 19 NA 27 29

13:02 19 NA 22 NA NA 20

13:03 23 22 21 NA 26 22

13:04 22 14 17 NA NA 25

13:05 27 NA 21 NA 30 22 traffic flow [vehs/min]

Page 3: Traffic Simulations with Empirical Data – How to replace missing … faculteit... · 2017. 10. 18. · Traffic Simulations with Empirical Data – How to replace missing Traffic

Historical Data Approach

28.10.2015

Different methods of traffic forecast based on real data Roland Chrobok, Oliver Kaumann, Joachim Wahle, Michael Schreckenberg Eur J Oper Res (2004) 155(3) 558-568

𝑗𝑗𝑡𝑡∗ = 0.8 𝑗𝑗𝑡𝑡 + 0.8 �(1 − 0.8)𝑖𝑖𝑗𝑗𝑡𝑡−𝑖𝑖

𝑡𝑡−1

𝑖𝑖=1

+ (1 − 0.8)𝑡𝑡𝑗𝑗0

3

Exponential smoothing of historical data up to 𝑡𝑡 = 30 historical timestamps from clustering by: • day of week • school holiday? • bank holiday?

• can be pre-calculated • no spatial dependencies

current prediction of flow 𝑗𝑗

Page 4: Traffic Simulations with Empirical Data – How to replace missing … faculteit... · 2017. 10. 18. · Traffic Simulations with Empirical Data – How to replace missing Traffic

Poisson Dependency Networks

28.10.2015

Graphical models

Markov Random Fields

• undirected arcs

• allow cycles

Bayesian Networks

• directed arcs

• no cycles

Dependency Networks

• „hybrid“

• based on partial correlations

4

Page 5: Traffic Simulations with Empirical Data – How to replace missing … faculteit... · 2017. 10. 18. · Traffic Simulations with Empirical Data – How to replace missing Traffic

Poisson Dependency Networks

28.10.2015

Poisson Dependency Networks: Gradient Boosted Models for Multivariate Count Data Fabian Hadiji, Alejandro Molina, Sriraam Natarajan, Kristian Kersting Mach Learn (2015) 100:477–507

𝑝𝑝 𝑗𝑗𝑎𝑎 𝒋𝒋\𝑎𝑎 =𝜆𝜆𝑎𝑎(𝒋𝒋\𝑎𝑎)𝑗𝑗𝑎𝑎! 𝑒𝑒−𝜆𝜆𝑎𝑎(𝒋𝒋\𝑎𝑎)

5

local probability function for detector 𝑎𝑎:

𝜆𝜆𝑎𝑎 is obtained by learned decision tree(s) (by e.g. Gradient Boosting, Regression)

global “prediction” ← obtained by Gibbs-Sampling

Page 6: Traffic Simulations with Empirical Data – How to replace missing … faculteit... · 2017. 10. 18. · Traffic Simulations with Empirical Data – How to replace missing Traffic

Data Collection

28.10.2015

… (dynamic)

1 week

60 min window

Prediction time

newer

3 min mean

3 min mean

3 min mean

1 week

1 week

n weeks

n detectors 1 detector

PDN Historical Data

6

Page 7: Traffic Simulations with Empirical Data – How to replace missing … faculteit... · 2017. 10. 18. · Traffic Simulations with Empirical Data – How to replace missing Traffic

Empirical Setup

28.10.2015

Cologne Orbital Motorway Network

© OpenStreetMap.de

• 3 motorways: A1, A3, A4 • ~ 100 km • 2 – 4 lanes per direction

• 187 detectors • 95 cross-sections

• 21.09.2015 – 27.09.2015

• ~ 1.8 million values of traffic flows

7

Page 8: Traffic Simulations with Empirical Data – How to replace missing … faculteit... · 2017. 10. 18. · Traffic Simulations with Empirical Data – How to replace missing Traffic

Empirical Setup

28.10.2015

clockwise direction anti-clockwise direction

Traffic Message Events (TMC)

8

Page 9: Traffic Simulations with Empirical Data – How to replace missing … faculteit... · 2017. 10. 18. · Traffic Simulations with Empirical Data – How to replace missing Traffic

Results

28.10.2015

𝑁𝑁𝑁𝑁𝑁𝑁𝑁𝑁𝑁𝑁 = 100𝑁𝑁𝑁𝑁𝑁𝑁𝑁𝑁𝑠𝑠𝑠𝑠(𝑂𝑂𝑖𝑖)

Overall prediction accuracy of traffic flows

Normalised Root-Mean-Square Error:

𝑁𝑁𝑁𝑁𝑁𝑁𝑁𝑁 =1𝑁𝑁� (𝑃𝑃𝑖𝑖 − 𝑂𝑂𝑖𝑖)2

𝑁𝑁

𝑖𝑖=1

Root-Mean-Square Error: better

9

Page 10: Traffic Simulations with Empirical Data – How to replace missing … faculteit... · 2017. 10. 18. · Traffic Simulations with Empirical Data – How to replace missing Traffic

Results

28.10.2015

Working day prediction accuracy of traffic flows

clockwise direction anti-clockwise direction

Intervals: morning 05:00 – 09:59, midday 10:00 – 13:59, afternoon 14:00 – 17:59, evening 18:00 – 21:59, night 22:00 – 04:59

better better

10

Page 11: Traffic Simulations with Empirical Data – How to replace missing … faculteit... · 2017. 10. 18. · Traffic Simulations with Empirical Data – How to replace missing Traffic

Results

28.10.2015

Prediction accuracy by location

PDN

Historical Data

(working days, clockwise direction only)

11

Page 12: Traffic Simulations with Empirical Data – How to replace missing … faculteit... · 2017. 10. 18. · Traffic Simulations with Empirical Data – How to replace missing Traffic

Results

28.10.2015

Prediction accuracy by location

PDN

Historical Data

(working days, anti-clockwise direction only)

12

Page 13: Traffic Simulations with Empirical Data – How to replace missing … faculteit... · 2017. 10. 18. · Traffic Simulations with Empirical Data – How to replace missing Traffic

Results

28.10.2015

Prediction accuracy of traffic flows around events …

(working days, anti-clockwise direction only)

… by TMC message … by empirical velocity

better better

13

Page 14: Traffic Simulations with Empirical Data – How to replace missing … faculteit... · 2017. 10. 18. · Traffic Simulations with Empirical Data – How to replace missing Traffic

Results

28.10.2015

Typical problems around events

Thursday, 24.09.2015

14

Page 15: Traffic Simulations with Empirical Data – How to replace missing … faculteit... · 2017. 10. 18. · Traffic Simulations with Empirical Data – How to replace missing Traffic

Results

28.10.2015

PDN correlations

Thursday, 24.09.2015, at 07:00

LTE Connectivity and Vehicular Traffic Prediction based on Machine Learning Approaches Christoph Ide, Fabian Hadiji, Lars Habel, Alejandro Molina, Thomas Zaksek, Michael Schreckenberg, Kristian Kersting, Christian Wietfeld Proc. of 82nd IEEE Conference on Vehicular Technology (VTC Fall 2015)

Tuesday, 26.08.2014, at 05:00 Training data: 1 day

15

Page 16: Traffic Simulations with Empirical Data – How to replace missing … faculteit... · 2017. 10. 18. · Traffic Simulations with Empirical Data – How to replace missing Traffic

Summary

28.10.2015 16

Page 17: Traffic Simulations with Empirical Data – How to replace missing … faculteit... · 2017. 10. 18. · Traffic Simulations with Empirical Data – How to replace missing Traffic

?...