{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,11]],"date-time":"2026-11-11T06:41:03Z","timestamp":1794379263681,"version":"4.9.0"},"reference-count":32,"publisher":"MDPI AG","issue":"4","license":[{"start":{"date-parts":[[2019,2,19]],"date-time":"2019-02-19T00:00:00Z","timestamp":1550534400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"National Key R \\&amp; D Program of China","award":["2018YFB0803400, 2018YFB0505302"],"award-info":[{"award-number":["2018YFB0803400, 2018YFB0505302"]}]},{"DOI":"10.13039\/501100001809","name":"National Science Foundation of China","doi-asserted-by":"publisher","award":["61832012"],"award-info":[{"award-number":["61832012"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>Traffic prediction is based on modeling the complex non-linear spatiotemporal traffic dynamics in road network. In recent years, Long Short-Term Memory has been applied to traffic prediction, achieving better performance. The existing Long Short-Term Memory methods for traffic prediction have two drawbacks: they do not use the departure time through the links for traffic prediction, and the way of modeling long-term dependence in time series is not direct in terms of traffic prediction. Attention mechanism is implemented by constructing a neural network according to its task and has recently demonstrated success in a wide range of tasks. In this paper, we propose an Long Short-Term Memory-based method with attention mechanism for travel time prediction. We present the proposed model in a tree structure. The proposed model substitutes a tree structure with attention mechanism for the unfold way of standard Long Short-Term Memory to construct the depth of Long Short-Term Memory and modeling long-term dependence. The attention mechanism is over the output layer of each Long Short-Term Memory unit. The departure time is used as the aspect of the attention mechanism and the attention mechanism integrates departure time into the proposed model. We use AdaGrad method for training the proposed model. Based on the datasets provided by Highways England, the experimental results show that the proposed model can achieve better accuracy than the Long Short-Term Memory and other baseline methods. The case study suggests that the departure time is effectively employed by using attention mechanism.<\/jats:p>","DOI":"10.3390\/s19040861","type":"journal-article","created":{"date-parts":[[2019,2,20]],"date-time":"2019-02-20T03:05:52Z","timestamp":1550631952000},"page":"861","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":132,"title":["An LSTM-Based Method with Attention Mechanism for Travel Time Prediction"],"prefix":"10.3390","volume":"19","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-7128-0949","authenticated-orcid":false,"given":"Xiangdong","family":"Ran","sequence":"first","affiliation":[{"name":"School of Computer Science and Technology, University of Science and Technology Beijing, Beijing 100083, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Zhiguang","family":"Shan","sequence":"additional","affiliation":[{"name":"Informatization and Industry Development Department, State Information Center, Beijing 100045, China"},{"name":"College of Computer Science and Software Engineering, Shenzhen University, Shenzhen 518060, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Yufei","family":"Fang","sequence":"additional","affiliation":[{"name":"School of Computer Science and Technology, University of Science and Technology Beijing, Beijing 100083, China"},{"name":"Informatization and Industry Development Department, State Information Center, Beijing 100045, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Chuang","family":"Lin","sequence":"additional","affiliation":[{"name":"Department of Computer Science and Technology, Tsinghua University, Beijing 100084, China <email>chlin@tsinghua.edu.cn<\/email>"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2019,2,19]]},"reference":[{"key":"ref_1","unstructured":"Lint, H. (May 2004). Reliable Travel Time Prediction for Freeways. [Ph.D. Thesis, The Netherlands TRAIL Research School]."},{"key":"ref_2","doi-asserted-by":"crossref","unstructured":"Ma, X., Dai, Z., He, Z., Ma, J., Wang, Y., and Wang, Y. (2017). Learning traffic as images: A deep convolutional neural network for large-scale transportation network speed prediction. Sensors, 17.","DOI":"10.3390\/s17040818"},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"591","DOI":"10.1016\/j.trc.2017.10.016","article-title":"Short-term forecasting of passenger demand under on-demand ride services: A spatio-temporal deep learning approach","volume":"85","author":"JKe","year":"2017","journal-title":"Transp. Res. Part C Emerg. Technol."},{"key":"ref_4","doi-asserted-by":"crossref","unstructured":"Wang, J., Gu, Q., Wu, J., Liu, G., and Xiong, Z. (2016, January 12\u201315). Traffic speed prediction and congestion source exploration: A deep learning method. Proceedings of the IEEE International Conference on Data Mining, Barcelona, Spain.","DOI":"10.1109\/ICDM.2016.0061"},{"key":"ref_5","doi-asserted-by":"crossref","unstructured":"Duan, Y., Lv, Y., and Wang, F.Y. (2016, January 1\u20134). Travel time prediction with LSTM neural network. Proceedings of the IEEE International Conference on Intelligent Transportation Systems, Rio de Janeiro, Brazil.","DOI":"10.1109\/ITSC.2016.7795686"},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"187","DOI":"10.1016\/j.trc.2015.03.014","article-title":"Long short-term memory neural network for traffic speed prediction using remote microwave sensor data","volume":"54","author":"Ma","year":"2015","journal-title":"Transp. Res. Part C"},{"key":"ref_7","unstructured":"Ahmed, M.S., and Cook, A.R. (1979). Analysis of Freeway Traffic Time-Series Data by Using Box-Jenkins Techniques, Transportation Research Board."},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"249","DOI":"10.1061\/(ASCE)0733-947X(1995)121:3(249)","article-title":"Short-Term Prediction of Traffic Volume in Urban Arterials","volume":"121","author":"Hamed","year":"1995","journal-title":"J. Transp. Eng."},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"664","DOI":"10.1061\/(ASCE)0733-947X(2003)129:6(664)","article-title":"Modeling and Forecasting Vehicular Traffic Flow as a Seasonal ARIMA Process: Theoretical Basis and Empirical Results","volume":"129","author":"Williams","year":"2003","journal-title":"J. Transp. Eng."},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"200","DOI":"10.1109\/TITS.2004.833765","article-title":"A simple and effective method for predicting travel times on freeways","volume":"5","author":"Rice","year":"2004","journal-title":"IEEE Trans. Intell. Transp. Syst."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"178","DOI":"10.1061\/(ASCE)0733-947X(1991)117:2(178)","article-title":"Nonparametric Regression and ShortTerm Freeway Traffic Forecasting","volume":"117","author":"Davis","year":"1991","journal-title":"J. Transp. Eng."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"303","DOI":"10.1016\/S0968-090X(02)00009-8","article-title":"Comparison of parametric and nonparametric models for traffic flow forecasting","volume":"10","author":"Smith","year":"2002","journal-title":"Transp. Res. Part C Emerg. Technol."},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"292","DOI":"10.1049\/iet-its.2011.0123","article-title":"Dynamic near-term traffic flow prediction: Systemoriented approach based on past experiences","volume":"6","author":"Chang","year":"2012","journal-title":"IET Intell. Transp. Syst."},{"key":"ref_14","unstructured":"Nikovski, D., Nishiuma, N., Goto, Y., and Kumazawa, H. (2005, January 16). Univariate short-term prediction of road travel times. Proceedings of the Intelligent Transportation Systems, Vienna, Austria."},{"key":"ref_15","first-page":"779","article-title":"Support Vector Regression Machines","volume":"28","author":"Drucker","year":"1996","journal-title":"Adv. Neural Inf. Process. Syst."},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"276","DOI":"10.1109\/TITS.2004.837813","article-title":"Travel-time prediction with support vector regression","volume":"5","author":"Wu","year":"2004","journal-title":"IEEE Trans. Intell. Transp. Syst."},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"Su, H., Zhang, L., and Yu, S. (2007, January 24\u201327). Short-term Traffic Flow Prediction Based on Incremental Support Vector Regression. Proceedings of the International Conference on Natural Computation, Haikou, China.","DOI":"10.1109\/ICNC.2007.661"},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"6164","DOI":"10.1016\/j.eswa.2008.07.069","article-title":"Online-SVR for short-term traffic flow prediction under typical and atypical traffic conditions","volume":"36","author":"Jeong","year":"2009","journal-title":"Expert Syst. Appl. Int. J."},{"key":"ref_19","first-page":"865","article-title":"Traffic Flow Prediction With Big Data: A Deep Learning Approach","volume":"16","author":"Lv","year":"2015","journal-title":"IEEE Trans. Intell. Transp. Syst."},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1016\/j.trc.2017.02.024","article-title":"Deep learning for short-term traffic flow prediction","volume":"79","author":"Polson","year":"2017","journal-title":"Transp. Res. Part C Emerg. Technol."},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"921","DOI":"10.1061\/(ASCE)0733-947X(2006)132:12(921)","article-title":"Reliable Real-Time Framework for Short-Term Freeway Travel Time Prediction","volume":"132","author":"Lint","year":"2006","journal-title":"J. Transp. Eng."},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"179","DOI":"10.1207\/s15516709cog1402_1","article-title":"Finding structure in Time","volume":"14","author":"Elman","year":"1990","journal-title":"Cogn. Sci."},{"key":"ref_23","first-page":"2204","article-title":"Recurrent models of visual attention","volume":"3","author":"Mnih","year":"2014","journal-title":"Adv. Neural Inf. Process. Syst."},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Luong, M.T., Pham, H., and Manning, C.D. (arXiv, 2015). Effective Approaches to Attention-based Neural Machine Translation, arXiv.","DOI":"10.18653\/v1\/D15-1166"},{"key":"ref_25","doi-asserted-by":"crossref","unstructured":"Chen, J., Zhang, H., He, X., Liu, W., Liu, W., and Chua, T.S. (2017, January 7\u201311). Attentive Collaborative Filtering: Multimedia Recommendation with Item- and Component-Level Attention. Proceedings of the International ACM SIGIR Conference on Research and Development in Information Retrieval, Tokyo, Japan.","DOI":"10.1145\/3077136.3080797"},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"157","DOI":"10.1109\/72.279181","article-title":"Learning long-term dependencies with gradient descent is difficult","volume":"5","author":"Bengio","year":"2002","journal-title":"IEEE Trans. Neural Netw."},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"1735","DOI":"10.1162\/neco.1997.9.8.1735","article-title":"Long Short-Term Memory","volume":"9","author":"Hochreiter","year":"1997","journal-title":"Neural Comput."},{"key":"ref_28","first-page":"257","article-title":"Adaptive Subgradient Methods for Online Learning and Stochastic Optimization","volume":"12","author":"Duchi","year":"2011","journal-title":"J. Mach. Learn. Res."},{"key":"ref_29","unstructured":"Dean, J., Corrado, G.S., Monga, R., Chen, K., Devin, M., Le, Q.V., Mao, M.Z., Ranzato, M., Senior, A., and Tucker, P. (2012, January 3\u20136). Large scale distributed deep networks. Proceedings of the International Conference on Neural Information Processing Systems, Lake Tahoe, NV, USA."},{"key":"ref_30","unstructured":"Vanhoucke, V., and Mao, M.Z. (2011, January 16\u201317). Improving the speed of neural networks on CPUs. Proceedings of the NIPS 2011 Workshop on Deep Learning and Unsupervised Feature Learning, Granada, Spain."},{"key":"ref_31","unstructured":"Highways England (2017, April 10). Highways Agency Network Journey Time and Traffic Flow Data. Available online: http:\/\/data.gov.uk\/dataset\/highways-england-network-journey-time-and-traffic-flow-data."},{"key":"ref_32","unstructured":"Fortmannroe, S. (2017, June 05). Understanding the Bias-Variance Tradeoff. Available online: http:\/\/scott.fortmann-roe.com\/docs\/BiasVariance.html."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/19\/4\/861\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T12:33:12Z","timestamp":1760185992000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/19\/4\/861"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2019,2,19]]},"references-count":32,"journal-issue":{"issue":"4","published-online":{"date-parts":[[2019,2]]}},"alternative-id":["s19040861"],"URL":"https:\/\/doi.org\/10.3390\/s19040861","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2019,2,19]]}}}