Advanced Traveler Information System...T-Drive project [*] Jing Yuan, Yu Zheng, Chengyang Zhang,...

34
Advanced Traveler Information System Applications & Examples

Transcript of Advanced Traveler Information System...T-Drive project [*] Jing Yuan, Yu Zheng, Chengyang Zhang,...

Page 1: Advanced Traveler Information System...T-Drive project [*] Jing Yuan, Yu Zheng, Chengyang Zhang, Xing Xie, Guanzhong Sun, and Yan Huang,” T-Drive: Enhancing Driving Directions with

Advanced Traveler Information System Applications & Examples

Page 2: Advanced Traveler Information System...T-Drive project [*] Jing Yuan, Yu Zheng, Chengyang Zhang, Xing Xie, Guanzhong Sun, and Yan Huang,” T-Drive: Enhancing Driving Directions with

Area of applications

•  Freeway •  Highway •  Urban streets

Page 3: Advanced Traveler Information System...T-Drive project [*] Jing Yuan, Yu Zheng, Chengyang Zhang, Xing Xie, Guanzhong Sun, and Yan Huang,” T-Drive: Enhancing Driving Directions with

Focus

•  Travel time estimation and prediction •  Traffic concepts •  Travel time data collection

– Sources: •  Inductive loops •  Floating car or probe vehicles •  Cell phone signals

Page 4: Advanced Traveler Information System...T-Drive project [*] Jing Yuan, Yu Zheng, Chengyang Zhang, Xing Xie, Guanzhong Sun, and Yan Huang,” T-Drive: Enhancing Driving Directions with

Travel time estimation and prediction

Unknown traffic conditions

Future time

Estimation

Instantaneous prediction

Short-term prediction Long-term prediction

Past Now

Known traffic conditions

Prediction

1 hour

Travel time Travel time Travel time Travel time

Space

Page 5: Advanced Traveler Information System...T-Drive project [*] Jing Yuan, Yu Zheng, Chengyang Zhang, Xing Xie, Guanzhong Sun, and Yan Huang,” T-Drive: Enhancing Driving Directions with

Travel time pattern per day

0.00%

1.00%

2.00%

3.00%

4.00%

5.00%

6.00%

7.00%

8.00%

9.00%

1 3 5 7 9 11 13 15 17 19 21 23

Hour of Day

Perc

ent o

f Dai

ly T

raff

ic

Rural CarsBusiness Day TrucksThrough TrucksUrban Cars

Page 6: Advanced Traveler Information System...T-Drive project [*] Jing Yuan, Yu Zheng, Chengyang Zhang, Xing Xie, Guanzhong Sun, and Yan Huang,” T-Drive: Enhancing Driving Directions with

Describing Traffic

•  Hypothesis: – Let’s consider one road lane of traffic

Page 7: Advanced Traveler Information System...T-Drive project [*] Jing Yuan, Yu Zheng, Chengyang Zhang, Xing Xie, Guanzhong Sun, and Yan Huang,” T-Drive: Enhancing Driving Directions with

From WSDOT 2003 Annual Traffic Report

Page 8: Advanced Traveler Information System...T-Drive project [*] Jing Yuan, Yu Zheng, Chengyang Zhang, Xing Xie, Guanzhong Sun, and Yan Huang,” T-Drive: Enhancing Driving Directions with

From WSDOT 2003 Annual Traffic Report

Page 9: Advanced Traveler Information System...T-Drive project [*] Jing Yuan, Yu Zheng, Chengyang Zhang, Xing Xie, Guanzhong Sun, and Yan Huang,” T-Drive: Enhancing Driving Directions with

Modeling Traffic

•  Traffic can be seen as: – Liquid? – Fluid? – Discrete events? – etc

Page 10: Advanced Traveler Information System...T-Drive project [*] Jing Yuan, Yu Zheng, Chengyang Zhang, Xing Xie, Guanzhong Sun, and Yan Huang,” T-Drive: Enhancing Driving Directions with

Traffic concepts •  Traffic Flux

– The equivalent hourly rate at which vehicles pass a point during a time period less than 1 hr.

•  Traffic Speed – The distance traveled by a vehicle during a

unit of time •  Traffic Density

– The number of vehicles (n) occupying a given length (l) of a lane or roadway at a particular instant

Page 11: Advanced Traveler Information System...T-Drive project [*] Jing Yuan, Yu Zheng, Chengyang Zhang, Xing Xie, Guanzhong Sun, and Yan Huang,” T-Drive: Enhancing Driving Directions with

Traffic Flow (q)

•  Traffic Flux :

– Where, •  n is the number of vehicles passing a road

segment at specific time t – Units: vehicles/hour – The flow in an hour is typically the

volume

tnq =

Page 12: Advanced Traveler Information System...T-Drive project [*] Jing Yuan, Yu Zheng, Chengyang Zhang, Xing Xie, Guanzhong Sun, and Yan Huang,” T-Drive: Enhancing Driving Directions with

Traffic time space diagram microscopic approach

Time

Distance 1

2 34 5

6

Time headway

Spa

ce

head

way

Page 13: Advanced Traveler Information System...T-Drive project [*] Jing Yuan, Yu Zheng, Chengyang Zhang, Xing Xie, Guanzhong Sun, and Yan Huang,” T-Drive: Enhancing Driving Directions with

Headway Time Headway ” “ is the time (in seconds) between successive vehicles, as their front bumpers pass a given point.

q = n

hii=1

n

∑=1h

measurement point

h

Page 14: Advanced Traveler Information System...T-Drive project [*] Jing Yuan, Yu Zheng, Chengyang Zhang, Xing Xie, Guanzhong Sun, and Yan Huang,” T-Drive: Enhancing Driving Directions with

Traffic speed

•  Measuring traffic speed – Time mean speed (TMS)

•  Measured at a specific point •  Average of instantaneous speeds

– Space mean speed “u” (SMS) •  Harmonic speed •  Average speed of all vehicles in a specific

road segment

Page 15: Advanced Traveler Information System...T-Drive project [*] Jing Yuan, Yu Zheng, Chengyang Zhang, Xing Xie, Guanzhong Sun, and Yan Huang,” T-Drive: Enhancing Driving Directions with

Traffic speed

•  Time mean speed

ui =1n

vii=1

n

measurement point

v = 10 mph

v = 15 mph

v = 7.5 mph

Page 16: Advanced Traveler Information System...T-Drive project [*] Jing Yuan, Yu Zheng, Chengyang Zhang, Xing Xie, Guanzhong Sun, and Yan Huang,” T-Drive: Enhancing Driving Directions with

Traffic speed

•  Space mean speed

start point t = 3 min

t = 2 min

t = 4 min

end point

l

us =n1vii=1

n

∑=nl

tii=1

n

∑=lt t = 1

nt1l1 + t2l2 +...+ tnln( )

Page 17: Advanced Traveler Information System...T-Drive project [*] Jing Yuan, Yu Zheng, Chengyang Zhang, Xing Xie, Guanzhong Sun, and Yan Huang,” T-Drive: Enhancing Driving Directions with

illustration •  You are in a vehicle traveling a total of 10

kilometers. –  first 5 kilometer you travel at 40 km/h –  next 5 kilometer you travel at exactly 60 km/h

•  What is your time average speed?

10 km

40 km/h 60 km/h

Page 18: Advanced Traveler Information System...T-Drive project [*] Jing Yuan, Yu Zheng, Chengyang Zhang, Xing Xie, Guanzhong Sun, and Yan Huang,” T-Drive: Enhancing Driving Directions with

illustration 10 km

40 km/h 60 km/h

What is your time average speed? Time per section: 5 kilometers / 40 km/h = 7.5 minutes 5 kilometers / 60 km/h = 5 minutes

weighted average = (40(7.5) + 60(5))/(7.5 + 5) = 48 km/h

Page 19: Advanced Traveler Information System...T-Drive project [*] Jing Yuan, Yu Zheng, Chengyang Zhang, Xing Xie, Guanzhong Sun, and Yan Huang,” T-Drive: Enhancing Driving Directions with

illustration •  If you have 5 vehicles over a given 1 mile section

take 1.0, 1.2, 1.5, 0.75 and 1.0 minutes respectively

•  What is your space average speed?

1 km

Start End

Page 20: Advanced Traveler Information System...T-Drive project [*] Jing Yuan, Yu Zheng, Chengyang Zhang, Xing Xie, Guanzhong Sun, and Yan Huang,” T-Drive: Enhancing Driving Directions with

illustration

What is your space average speed?

Average travel time

5.45/5 = 1.09 minutes = 0.0182 hours Therefore, average speed over that distance

1 km/0.0182 hours = 55.05 km/h

1 km

Start End

Page 21: Advanced Traveler Information System...T-Drive project [*] Jing Yuan, Yu Zheng, Chengyang Zhang, Xing Xie, Guanzhong Sun, and Yan Huang,” T-Drive: Enhancing Driving Directions with

Traffic density

•  Traffic density

•  Unit of density is vehicles per kilometer (v/km).

k = nl=qus

Page 22: Advanced Traveler Information System...T-Drive project [*] Jing Yuan, Yu Zheng, Chengyang Zhang, Xing Xie, Guanzhong Sun, and Yan Huang,” T-Drive: Enhancing Driving Directions with

Fundamental diagram of traffic flow (flow vs. density)

Flow

(q)

Density (k)

Optimal flow or capacity,qmax

Optimal density, ko

Jam density, kj

Mean free flow speed, uf

Optimal speed, uo

Speed is the slope. u = q/k

Uncongested flow Congested flow

Page 23: Advanced Traveler Information System...T-Drive project [*] Jing Yuan, Yu Zheng, Chengyang Zhang, Xing Xie, Guanzhong Sun, and Yan Huang,” T-Drive: Enhancing Driving Directions with

Fundamental diagram of traffic flow (SMS vs. density & SMS vs. flow)

kj 0

uf

Density

SM

S

SMS vs. density

qmax 0

uf

Flow S

MS

SMS vs. flow

Uncongested flow

Congested flow

Page 24: Advanced Traveler Information System...T-Drive project [*] Jing Yuan, Yu Zheng, Chengyang Zhang, Xing Xie, Guanzhong Sun, and Yan Huang,” T-Drive: Enhancing Driving Directions with

Case study example: Microsoft Research Asia

T-Drive project

[*] Jing Yuan, Yu Zheng, Chengyang Zhang, Xing Xie, Guanzhong Sun, and Yan Huang,” T-Drive: Enhancing Driving Directions with Taxi Drivers' Intelligence”, Knowledge and Data Engineering, IEEE Transactions on (Volume:25 , Issue: 1 ),2013

Page 25: Advanced Traveler Information System...T-Drive project [*] Jing Yuan, Yu Zheng, Chengyang Zhang, Xing Xie, Guanzhong Sun, and Yan Huang,” T-Drive: Enhancing Driving Directions with

Motivation

•  Using Taxi drivers •  Taxis are equipped with GPS

System Intelligence

Page 26: Advanced Traveler Information System...T-Drive project [*] Jing Yuan, Yu Zheng, Chengyang Zhang, Xing Xie, Guanzhong Sun, and Yan Huang,” T-Drive: Enhancing Driving Directions with

Challenges we are faced

  Data sparseness   Low-sampling-rate

Page 27: Advanced Traveler Information System...T-Drive project [*] Jing Yuan, Yu Zheng, Chengyang Zhang, Xing Xie, Guanzhong Sun, and Yan Huang,” T-Drive: Enhancing Driving Directions with

A Time-dependent Landmark Graph

Taxi Trajectories

A Road Network

Rough Routing

Refined Routing

Pre-processing

Building landmark

Travel time estimation

Time-dependent landmark

Routing

Methodology

Page 28: Advanced Traveler Information System...T-Drive project [*] Jing Yuan, Yu Zheng, Chengyang Zhang, Xing Xie, Guanzhong Sun, and Yan Huang,” T-Drive: Enhancing Driving Directions with

Step 1: Pre-processing

•  Shortest path •  Find out possible routing •  Get the effective routing

•  Map-matching •  map a GPS point to a road segment

e1 e2e3

e3.start

e3.end

e4

Vi

Vj

R1 R2

R3

a

bR4

Page 29: Advanced Traveler Information System...T-Drive project [*] Jing Yuan, Yu Zheng, Chengyang Zhang, Xing Xie, Guanzhong Sun, and Yan Huang,” T-Drive: Enhancing Driving Directions with

Step 2: Building landmark graphs  Detecting landmarks

  A landmark is a frequently-traversed road segment   Top k road segments, e.g. k=4

 Establishing landmark edges   Number of transitions between two landmark edges > 𝛿

  E.g., 𝛿=1

r2

Tr1 r3

r9

r8

r6

r1

Tr2

Tr5

Tr3

Tr4

A) Matched taxi trajectories B) Detected landmarks C) A landmark graph

r9

r3r1

r6

r9

r3r1

r6

p1 p2

p3 p4

r4

r5r7

r10

e16

e96e93

e13

e63

Page 30: Advanced Traveler Information System...T-Drive project [*] Jing Yuan, Yu Zheng, Chengyang Zhang, Xing Xie, Guanzhong Sun, and Yan Huang,” T-Drive: Enhancing Driving Directions with

Step 3: Travel time estimation   The travel time of an landmark

edge   Varies in time of day   is not a Gaussian distribution   Looks like a set of clusters

  A time-based single valued function is not a good choice   Data sparseness   Loss information related to drivers   Different landmark edges have different

time-variant patterns   Cannot use a predefined time splits

  VE-Clustering   Clustering samples according to

variance   Split the time line in terms of entropy

Page 31: Advanced Traveler Information System...T-Drive project [*] Jing Yuan, Yu Zheng, Chengyang Zhang, Xing Xie, Guanzhong Sun, and Yan Huang,” T-Drive: Enhancing Driving Directions with

Step 3: Travel time estimation

•  V-Clustering •  Sort the transitions by their travel times •  Find the best split points on Y axis in a binary-recursive way

•  E-clustering •  Represent a transition with a cluster ID •  Find the best split points on X axis iteratively

Page 32: Advanced Traveler Information System...T-Drive project [*] Jing Yuan, Yu Zheng, Chengyang Zhang, Xing Xie, Guanzhong Sun, and Yan Huang,” T-Drive: Enhancing Driving Directions with

Step 4: Two-stage routing

r4

r1

qd

0.1 r3

r2

0.1

0.1

qs

C12(0.1)=2 C34(0.1)=1

0.1

C12(1.1)=1 C34(1.1)=2e12 e34

•  Rough routing •  Search a landmark graph for a rough route •  Based on a user query •  Applying time dependent algorithm

Page 33: Advanced Traveler Information System...T-Drive project [*] Jing Yuan, Yu Zheng, Chengyang Zhang, Xing Xie, Guanzhong Sun, and Yan Huang,” T-Drive: Enhancing Driving Directions with

Step 4: Two-stage routing

•  Refined routing •  Find out the fastest path connecting the consecutive landmarks •  Can use speed constraints •  Dynamic programming

•  Very efficient •  Smaller search spaces •  Computed in parallel

r4 r5r2qs qe

2 2 10.3 0.2

r4.end

r6

qe

r4.start r5.start

r5.endr2.end

r2.start r6.start

r6.end1.4

4.5 1.72.5

2.8

2.4

3.2

0.9

qe1.4

2.5

0.9

r2.start

A) A rough route

B) The refined routing

C) A fastest pathr2.end r4.end

r4.start r5.start

r5.end

r6.start

r6.end

0.3

0.2

0.3

0.2

1 1 1 1

1 1 1 1qs

qs

Page 34: Advanced Traveler Information System...T-Drive project [*] Jing Yuan, Yu Zheng, Chengyang Zhang, Xing Xie, Guanzhong Sun, and Yan Huang,” T-Drive: Enhancing Driving Directions with

Results

•  More effective •  60-70% of the routes suggested by our method are faster than Bing and Google

Maps. •  Over 50% of the routes are 20+% faster than Bing and Google. •  On average, we save 5 minutes per 30 minutes driving trip.

•  More efficient •  More functional