Download presentation
Presentation is loading. Please wait.
Published byAllen Gallagher Modified over 6 years ago
1
T-Share: A Large-Scale Dynamic Taxi Ridesharing Service
Shuo Ma, Yu Zheng, Ouri Wolfson Microsoft Research Asia University of Illinois at Chicago This is a joint work with⦠Overview, taxi-sharing, accept user queries, subject to capacity and time constraints, and minimize the increase of travel distance for each query.
2
Background Taxi-sharing is of great social and environmental importance Serving more demands: Peak hours vs Off-peak hours Reduce energy consumption and air pollutants emission Could save taxi fares while increasing the income of taxi drivers Taxi is a transportation modes between public transportation and public transportation, providing door-to-door commuting services However, peak hours, simply increasing the number.. Does not work Taxi sharing can increase the capacity of the taxi system without adding new taxis.
5
Background Challenges Wide range of applications Dynamic:
Dynamic queries: anytime and anywhere, lazy users Dynamic taxis Real-time query processing large-scale: millions of users and tens of thousands of taxis Wide range of applications Private vehicles Logistic industry for transporting goods
6
Value Government Passengers
Save 800 million liter gasoline per year Supporting 1M cars for 10 months Worth about 1 billion USD 1.64 billion KG CO2 emission Passengers Serving rate increased 300% Save 42% expense on average Taxi drivers increase profit 16% on average
7
Problem Definition Query π=< π.π , π.π ,π.π€π, π.π€π >
Origin and destination: π.π and π.π Time window for pickup: π.π€π =(π.π€π.π, π.π€π.π) Time window for delivery: π.π€π =(π.π€π.π, π.π€π.π) Given a fixed number of taxis traveling on a road network and a stream of queries, we aim to serve each query π in the stream by dispatching the taxi which satisfies π with the minimum increase in travel distance. Query, satisfy, problem (optimize for each query, with minimum travel distance)
8
Architecture Update (status)
9
Spatio-Temporal Index
Grid-based approximation Select an anchor node in each grid
10
Spatio-Temporal Index
For each Grid Spatially-ordered grid cell list π. π π (spatial closeness) Temporally-ordered grid cell list π. π π‘ (temporal closeness) Taxi list π. π π£ sorted by the arrival time
11
Taxi Searching Update (status)
12
Taxi Searching Single-side taxi search Problem π.π is located in π 7
π‘ π7 + π‘ ππ’π β€ π.π€π.π Merge taxi lists Problem Many candidate taxis Scheduling process is heavy π 3 π 5 π 9
13
Dual-Side Taxi Searching
Origin side π.π in π 7 π‘ π7 + π‘ ππ’π β€ π.π€π.π Destination side π.π in π 2 π‘ ππ’π + π‘ π2 β€π.π€π.π π 1 π 2 π 3 π 5 π 9 π 7 π 6
14
Reduce candidate taxis, allow first fit search
15
Scheduling Module Calculate schedule for each candidate taxi
16
Scheduling Module Feasibility check
Two steps: first insert π.π and then π.π Do not change the order of an existing schedule Minimize the increase of travel distance Given a schedule π.π composed of π points π+1 positions to insert π.π πβπ+1 positions to insert π.π π( π 2 ) possible ways of insertion
17
Scheduling Module Feasibility check (using π.π as an example)
π‘ π = π 2 .πβπ.π + π.πβ π 1 .π + π‘ π€ β π 2 .πβ π 1 .π π‘ π€ : the time spent on waiting for the passenger (π. π) π π‘ =π.π€π.πβ π π (π. π) π π‘ =π.π€π.πβ π π If π π
β₯π΄ππ{ πΈ π .π
ππ , πΈ π .π
ππ }, fail
18
Scheduling Module Lazy Shortest Path Calculation
Find a lower bounder of travel time between two points π‘ ππ· β₯ π‘ ππ β( π π βπ)β(π·β π π ) 1. π π βπ + π‘ ππ· β₯ (π π βπ·) 2. (π π βπ·)+(π·β π π ) β₯ π‘ ππ O D (π π βπ·)β₯ π‘ ππ - (π·β π π ) 3. π π βπ + π‘ ππ· β₯ π‘ ππ β (π·β π π )
19
Pricing Scheme Taxi fare per mile is higher for multiple passengers than for a single passenger The taxi fare of shared distances is evenly split among the riding passengers πΉπππ= π (π 1 + β π=2 π πΌ+1 β π π π ) πππ‘ππ_ππππππ‘=π( π· π + 1+πΌ β π· π )
20
Evaluation Settings Big data
A trajectory dataset generated by over 33,000 taxis in Beijing over 3 months Built experimental platform based on the data Big data 400 million kilometres 790 million points 20 million trips (46% occupied)
21
Evaluation Experimental platform
Learn the distribution of queries on the road network over time of day from the data Assume the arrival of queries follows a Poisson distribution Learn the transition probability between different road segments π π π π π ππ π ππ #. Of queries π π
22
Settings of experimental platform
Definition Value The start time of simulation 9 am The end time of simulation 9:30 am The number of taxis 2,980 The pickup window size 5 minute The length of a time bin The # of time bins in a frame 12 Number of queries 27,000
23
Evaluation Baselines No ridesharing
Single-side and First Fit Ridesharing (SF) Single-side and Best-fit Ridesharing (SB) Dual-side and First Fit Ridesharing (DF) Dual-side and Best-fit Ridesharing (DB)
24
Results Effectiveness
25
Results Efficiency
26
Conclusion Win-win-win scenario
Candidate taxi selection based on a spatio-temporal index Dual-side search saves 50% computational load Have the similar effectiveness as compared with the single-side search Taxi scheduling based on Feasibility check Lazy shortest path computing saves 83% computational load Serve 720k queries per hour on a single machine Future work Consider more constraints: monetary constraints Dynamic time estimation Other factors: like social trust and credit
27
Thanks! Yu Zheng Homepage
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.