Figure 4: Loss (on the test data) vs epoch for the deep-learning-based models on the NYC dataset.
normal hours; thus, the accuracy of the prediction re-
sult is unstable. We added the residual connection to
the LSTM layers to encourage gradient flows and ap-
plied the attention mechanism to recognize the fluctu-
ation at different periods. Additionally, we designed a
loss function that properly addresses regions with few
but consistent taxi demands. We conducted extensive
experiments on two open datasets. The experimental
results show that the proposed models outperform the
baseline models in nearly all cases. This model also
won second place out of hundreds of teams in a taxi
demand prediction challenge that was held jointly by
the Taiwan Taxi Company and the Industrial Technol-
ogy Research Institute in Taiwan.
Although the proposed models can better predict
taxi demands in the near future, we did not design a
mechanism to dispatch the taxis. This is partially be-
cause the performance of a dispatch policy can only
be confirmed on a live system. We are hoping to col-
laborate with local taxi companies to apply our cur-
rent model to their system and further design a dis-
patch policy. We also hope to obtain other requests
from the taxi industry to make our research results
satisfy real-world requirements.
ACKNOWLEDGEMENTS
We acknowledge partial support by the Ministry of
Science and Technology under Grant No.: MOST
107-2221-E-008- 077-MY3.
REFERENCES
Chen, J., Low, K. H., Yao, Y., and Jaillet, P. (2015). Gaus-
sian process decentralized data fusion and active sens-
ing for spatiotemporal traffic modeling and prediction
in mobility-on-demand systems. IEEE Transactions
on Automation Science and Engineering, 12(3):901–
921.
Chen, T. and Guestrin, C. (2016). XGBoost: A scalable
tree boosting system. In Proceedings of the 22nd acm
sigkdd international conference on knowledge discov-
ery and data mining, pages 785–794. ACM.
Cosby, S. (1992). Are taxis public transport? London:
PTRC Education and Research Services Ltd.
Cui, Y., Meng, C., He, Q., and Gao, J. (2018). Forecasting
current and next trip purpose with social media data
and google places. Transportation Research Part C:
Emerging Technologies, 97:159–174.
Cui, Z., Chen, W., and Chen, Y. (2016). Multi-scale convo-
lutional neural networks for time series classification.
arXiv preprint arXiv:1603.06995.
Davis, N., Raina, G., and Jagannathan, K. (2016). A multi-
level clustering approach for forecasting taxi travel de-
mand. In 2016 IEEE 19th International Conference
on Intelligent Transportation Systems (ITSC), pages
223–228. IEEE.
Hasan, S., Zhan, X., and Ukkusuri, S. V. (2013). Under-
standing urban human activity and mobility patterns
using large-scale location-based data from online so-
cial media. In Proceedings of the 2nd ACM SIGKDD
international workshop on urban computing, page 6.
ACM.
He, K., Zhang, X., Ren, S., and Sun, J. (2016). Deep resid-
ual learning for image recognition. In Proceedings of
the IEEE conference on computer vision and pattern
recognition, pages 770–778.
Hyndman, R. J. and Khandakar, Y. (2008). Automatic time
series forecasting: the forecast package for R. Journal
of Statistical Software, 26(3):1–22.
Li, X., Pan, G., Wu, Z., Qi, G., Li, S., Zhang, D., Zhang, W.,
and Wang, Z. (2012). Prediction of urban human mo-
bility using large-scale taxi traces and its applications.
Frontiers of Computer Science, 6(1):111–121.
Markou, I., Kaiser, K., and Pereira, F. C. (2019). Predicting
taxi demand hotspots using automated internet search
queries. Transportation Research Part C: Emerging
Technologies, 102:73–86.
Markou, I., Rodrigues, F., and Pereira, F. C. (2018). Real-
time taxi demand prediction using data from the
web. In 2018 21st International Conference on In-
telligent Transportation Systems (ITSC), pages 1664–
1671. IEEE.
VEHITS 2020 - 6th International Conference on Vehicle Technology and Intelligent Transport Systems
274