Real-Time Trip Information Service for a Large Taxi Fleet Rajesh Krishna Balan, Nguyen Xuan Khoa,...
-
Upload
mervyn-lee -
Category
Documents
-
view
213 -
download
0
Transcript of Real-Time Trip Information Service for a Large Taxi Fleet Rajesh Krishna Balan, Nguyen Xuan Khoa,...
![Page 1: Real-Time Trip Information Service for a Large Taxi Fleet Rajesh Krishna Balan, Nguyen Xuan Khoa, and Lingxiao Jiang MobiSys 2011.](https://reader035.fdocuments.in/reader035/viewer/2022062805/5697c0271a28abf838cd601d/html5/thumbnails/1.jpg)
Real-Time Trip Information Service for a Large Taxi Fleet
Rajesh Krishna Balan, Nguyen Xuan Khoa, and Lingxiao Jiang
MobiSys 2011
![Page 2: Real-Time Trip Information Service for a Large Taxi Fleet Rajesh Krishna Balan, Nguyen Xuan Khoa, and Lingxiao Jiang MobiSys 2011.](https://reader035.fdocuments.in/reader035/viewer/2022062805/5697c0271a28abf838cd601d/html5/thumbnails/2.jpg)
Introduction
• Real-time trip information system that provides passengers with the expected fare and trip duration of the taxi ride they are planning to take.
• 15000 taxi, 21 month, 250 million data in Singapore
• Large scale implementation and evaluations
![Page 3: Real-Time Trip Information Service for a Large Taxi Fleet Rajesh Krishna Balan, Nguyen Xuan Khoa, and Lingxiao Jiang MobiSys 2011.](https://reader035.fdocuments.in/reader035/viewer/2022062805/5697c0271a28abf838cd601d/html5/thumbnails/3.jpg)
Motivation
• Unscrupulous driver who take longer routes• Passenger can estimate trip time and fares by
themselves.• Failed solution : Google Maps– Latency– Trip fare– Not accurate• 35% time error
![Page 4: Real-Time Trip Information Service for a Large Taxi Fleet Rajesh Krishna Balan, Nguyen Xuan Khoa, and Lingxiao Jiang MobiSys 2011.](https://reader035.fdocuments.in/reader035/viewer/2022062805/5697c0271a28abf838cd601d/html5/thumbnails/4.jpg)
Taxi Network
• Taxi are cheap• Taxi are common and found everywhere• Most pickups are street pickups• Used for all activities
![Page 5: Real-Time Trip Information Service for a Large Taxi Fleet Rajesh Krishna Balan, Nguyen Xuan Khoa, and Lingxiao Jiang MobiSys 2011.](https://reader035.fdocuments.in/reader035/viewer/2022062805/5697c0271a28abf838cd601d/html5/thumbnails/5.jpg)
Taxi locations in one day
![Page 6: Real-Time Trip Information Service for a Large Taxi Fleet Rajesh Krishna Balan, Nguyen Xuan Khoa, and Lingxiao Jiang MobiSys 2011.](https://reader035.fdocuments.in/reader035/viewer/2022062805/5697c0271a28abf838cd601d/html5/thumbnails/6.jpg)
challenge
• Large amount data • Real time query requirement • Various time-related factors• How much data is sufficient?• How to filter the data?
![Page 7: Real-Time Trip Information Service for a Large Taxi Fleet Rajesh Krishna Balan, Nguyen Xuan Khoa, and Lingxiao Jiang MobiSys 2011.](https://reader035.fdocuments.in/reader035/viewer/2022062805/5697c0271a28abf838cd601d/html5/thumbnails/7.jpg)
Service requirements
• Accuracy– Time– Fares
• Real time capability• Low computational requirements• Easy to deploy operationally
![Page 8: Real-Time Trip Information Service for a Large Taxi Fleet Rajesh Krishna Balan, Nguyen Xuan Khoa, and Lingxiao Jiang MobiSys 2011.](https://reader035.fdocuments.in/reader035/viewer/2022062805/5697c0271a28abf838cd601d/html5/thumbnails/8.jpg)
Method design
• Partition – Time– location
• Prediction – Hash table– KNN
![Page 9: Real-Time Trip Information Service for a Large Taxi Fleet Rajesh Krishna Balan, Nguyen Xuan Khoa, and Lingxiao Jiang MobiSys 2011.](https://reader035.fdocuments.in/reader035/viewer/2022062805/5697c0271a28abf838cd601d/html5/thumbnails/9.jpg)
Time partition
• Hour• Days of week(DoW)• Hourly DoW– 24*7=168Hr
• Peak period– Week day 7am~10am, 5pm~8pm +35%– Week day 6am-7am, 10am~5pm non-peak– Weekend 6am~0am non-peak– night 0am~6am +50%
![Page 10: Real-Time Trip Information Service for a Large Taxi Fleet Rajesh Krishna Balan, Nguyen Xuan Khoa, and Lingxiao Jiang MobiSys 2011.](https://reader035.fdocuments.in/reader035/viewer/2022062805/5697c0271a28abf838cd601d/html5/thumbnails/10.jpg)
location partition
• Static zone– 25km x 50km– 50x50m~500x500m to divide zones
• Dynamic zone– Adjust zone size for each trip
![Page 11: Real-Time Trip Information Service for a Large Taxi Fleet Rajesh Krishna Balan, Nguyen Xuan Khoa, and Lingxiao Jiang MobiSys 2011.](https://reader035.fdocuments.in/reader035/viewer/2022062805/5697c0271a28abf838cd601d/html5/thumbnails/11.jpg)
Prediction
• Input : start time, start GPS, end GPS• Static – Similar historical data and average ( fare, duration,
distance– Index and hash table
• Dynamic – KNN– Data set (start time, S_long, S_latt, E_long, E_latt)
![Page 12: Real-Time Trip Information Service for a Large Taxi Fleet Rajesh Krishna Balan, Nguyen Xuan Khoa, and Lingxiao Jiang MobiSys 2011.](https://reader035.fdocuments.in/reader035/viewer/2022062805/5697c0271a28abf838cd601d/html5/thumbnails/12.jpg)
Evaluation
• Set1: 20 subsets for training– 2010/8– 2010/7+8…..– 2009/1~2010/8
• Set2 : 1 subset for testing(query)– 2010/9
![Page 13: Real-Time Trip Information Service for a Large Taxi Fleet Rajesh Krishna Balan, Nguyen Xuan Khoa, and Lingxiao Jiang MobiSys 2011.](https://reader035.fdocuments.in/reader035/viewer/2022062805/5697c0271a28abf838cd601d/html5/thumbnails/13.jpg)
Evaluation
• LOC: start and end location• PEAK: peak hour• DoW: days of week• HR: 24 hour• DoW x HR: 168hr
![Page 14: Real-Time Trip Information Service for a Large Taxi Fleet Rajesh Krishna Balan, Nguyen Xuan Khoa, and Lingxiao Jiang MobiSys 2011.](https://reader035.fdocuments.in/reader035/viewer/2022062805/5697c0271a28abf838cd601d/html5/thumbnails/14.jpg)
Fare and duration in Static zone
• Fare error : 0.87$~2.53$• Duration error: 2min ~4min
![Page 15: Real-Time Trip Information Service for a Large Taxi Fleet Rajesh Krishna Balan, Nguyen Xuan Khoa, and Lingxiao Jiang MobiSys 2011.](https://reader035.fdocuments.in/reader035/viewer/2022062805/5697c0271a28abf838cd601d/html5/thumbnails/15.jpg)
Hit rate in static zone
• Hit rate: % of test trips having a non-empty entry in prediction table
• Hit rate in static zone is 17%~58%
![Page 16: Real-Time Trip Information Service for a Large Taxi Fleet Rajesh Krishna Balan, Nguyen Xuan Khoa, and Lingxiao Jiang MobiSys 2011.](https://reader035.fdocuments.in/reader035/viewer/2022062805/5697c0271a28abf838cd601d/html5/thumbnails/16.jpg)
Fare and duration in dynamic
• Fare error : 1.05$~1.25$• Duration error: <3min• K=25 is the optimal choice
![Page 17: Real-Time Trip Information Service for a Large Taxi Fleet Rajesh Krishna Balan, Nguyen Xuan Khoa, and Lingxiao Jiang MobiSys 2011.](https://reader035.fdocuments.in/reader035/viewer/2022062805/5697c0271a28abf838cd601d/html5/thumbnails/17.jpg)
PEAK predictor w/ various K
• Save the fare 15 cents at most• Save the time 15 sec at mosy
![Page 18: Real-Time Trip Information Service for a Large Taxi Fleet Rajesh Krishna Balan, Nguyen Xuan Khoa, and Lingxiao Jiang MobiSys 2011.](https://reader035.fdocuments.in/reader035/viewer/2022062805/5697c0271a28abf838cd601d/html5/thumbnails/18.jpg)
Radius of dynamic zone
• Mean: 375m• Std.dev. :741m
![Page 19: Real-Time Trip Information Service for a Large Taxi Fleet Rajesh Krishna Balan, Nguyen Xuan Khoa, and Lingxiao Jiang MobiSys 2011.](https://reader035.fdocuments.in/reader035/viewer/2022062805/5697c0271a28abf838cd601d/html5/thumbnails/19.jpg)
Speed and memory
• Static is efficient than dynamic• Dynamic costs lots of memory space static zones dynamic zones
![Page 20: Real-Time Trip Information Service for a Large Taxi Fleet Rajesh Krishna Balan, Nguyen Xuan Khoa, and Lingxiao Jiang MobiSys 2011.](https://reader035.fdocuments.in/reader035/viewer/2022062805/5697c0271a28abf838cd601d/html5/thumbnails/20.jpg)
Accuracy analysis
• Still not very accurate using three basic features
• Why?– Indirect routing– Traffic conditions
![Page 21: Real-Time Trip Information Service for a Large Taxi Fleet Rajesh Krishna Balan, Nguyen Xuan Khoa, and Lingxiao Jiang MobiSys 2011.](https://reader035.fdocuments.in/reader035/viewer/2022062805/5697c0271a28abf838cd601d/html5/thumbnails/21.jpg)
Accuracy analysis
• PEAK predictor with 200m zones• Same start time, start point ,end point• Distance error– 6km max
• Duration error– 1000 sec max
![Page 22: Real-Time Trip Information Service for a Large Taxi Fleet Rajesh Krishna Balan, Nguyen Xuan Khoa, and Lingxiao Jiang MobiSys 2011.](https://reader035.fdocuments.in/reader035/viewer/2022062805/5697c0271a28abf838cd601d/html5/thumbnails/22.jpg)
Filter design
• Filter 1:– Trip distance > 2 straight distance of Start and End
• Filter 2:– Average speed <20 km/h or >100km/h
![Page 23: Real-Time Trip Information Service for a Large Taxi Fleet Rajesh Krishna Balan, Nguyen Xuan Khoa, and Lingxiao Jiang MobiSys 2011.](https://reader035.fdocuments.in/reader035/viewer/2022062805/5697c0271a28abf838cd601d/html5/thumbnails/23.jpg)
Apply filter result
• Save fare 25 cents • Save time 30 sec
![Page 24: Real-Time Trip Information Service for a Large Taxi Fleet Rajesh Krishna Balan, Nguyen Xuan Khoa, and Lingxiao Jiang MobiSys 2011.](https://reader035.fdocuments.in/reader035/viewer/2022062805/5697c0271a28abf838cd601d/html5/thumbnails/24.jpg)
Traffic conditions
• Rainfall is severe• Save fare 10 cents • Save time 60 sec
![Page 25: Real-Time Trip Information Service for a Large Taxi Fleet Rajesh Krishna Balan, Nguyen Xuan Khoa, and Lingxiao Jiang MobiSys 2011.](https://reader035.fdocuments.in/reader035/viewer/2022062805/5697c0271a28abf838cd601d/html5/thumbnails/25.jpg)
Future work
• Different zone size for various location• Zone size determined by radius of dynamic
![Page 26: Real-Time Trip Information Service for a Large Taxi Fleet Rajesh Krishna Balan, Nguyen Xuan Khoa, and Lingxiao Jiang MobiSys 2011.](https://reader035.fdocuments.in/reader035/viewer/2022062805/5697c0271a28abf838cd601d/html5/thumbnails/26.jpg)
Conclusion
• reducing the data size through aggregation and smart filtering is essential.• real world data needs to be cleaned before
use• deploying a research prototype into a real
production environment requires far more work than we naively expected
![Page 27: Real-Time Trip Information Service for a Large Taxi Fleet Rajesh Krishna Balan, Nguyen Xuan Khoa, and Lingxiao Jiang MobiSys 2011.](https://reader035.fdocuments.in/reader035/viewer/2022062805/5697c0271a28abf838cd601d/html5/thumbnails/27.jpg)
contribution
• Detailed description of the steps to build such real time taxi system
• Method of identifying real-time patterns, applicable for other transportation network
• Principled approach to balance the tradeoffs between accuracy, real time performance
• KNN method to produce accurate predictor• Insight into challenge from prototype to
operational environment