Smarter Traffic Prediction Using Big Data, In-Memory Computing, Deep Learning and GPUs
<p>Prediction workflow.</p> "> Figure 2
<p>A depiction of vehicles data collected from PeMS (24 h) (November 2017).</p> "> Figure 3
<p>Architecture of a deep neural network model with one input, one output and <span class="html-italic">k</span> hidden layers.</p> "> Figure 4
<p>Traffic flow: Actual and predicted values for a single VDS.</p> "> Figure 5
<p>Traffic flow: Sctual and predicted values for all 26 VDS.</p> "> Figure 6
<p>Traffic flow: Actual and predicted values (average of all VDS) (48 h).</p> "> Figure 7
<p>Traffic flow: Actual and predicted values (total of all VDS) (48 h).</p> "> Figure 8
<p>Traffic Flow: MAE, MAPE, AND RMSE Evaluation Metrics.</p> "> Figure 9
<p>Traffic speed: Actual and predicted values for a single VDS.</p> "> Figure 10
<p>Traffic speed: Actual and predicted values (all VDS) (peak hour: 26 June 2017, 16:00–17:00).</p> "> Figure 11
<p>Traffic speed: Actual and predicted values (average of all VDS) (29 and 30 April 2017).</p> "> Figure 12
<p>Traffic speed: MAE, MAPE, and RMSE evaluation metrics.</p> "> Figure 13
<p>Traffic occupancy: Actual and predicted values for a single VDS.</p> "> Figure 14
<p>Traffic occupancy: Actual and predicted values (all 26 VDS) (peak hour).</p> "> Figure 15
<p>Traffic occupancy: Actual and predicted values (average of all VDS) (48 h).</p> "> Figure 16
<p>Traffic occupancy: MAE, MAPE, and RMSE evaluation metrics.</p> "> Figure 17
<p>MAPE calculated by comparing actual and predicted vehicles flow on weekends.</p> "> Figure 18
<p>Comparison of original and predicted flow values on weekends.</p> "> Figure 19
<p>MAPE calculated by comparing actual and predicted vehicles flow on morning peak hours.</p> "> Figure 20
<p>Comparison of original and predicted flow values on morning peak hours.</p> "> Figure 21
<p>MAPE calculated by comparing actual and predicted vehicles flow on evening peak hours.</p> "> Figure 22
<p>Comparison of original and predicted flow values on evening peak hours.</p> "> Figure 23
<p>Model execution time while making predictions using the pre-trained models.</p> "> Figure 24
<p>Comparison of deep model execution time on CPUs and GPUs.</p> ">
Abstract
:1. Introduction
2. Literature Review
3. Methodology
3.1. Prediction Workflow
3.2. Dataset
3.3. Input Data Processing
Algorithm 1 Input dataset parsing. |
Input: Multiple data files from PeMS archived datasets. |
Output: Parsed sub-datasets files to be used as training, testing, and prediction datasets. |
1: |
2: for do |
3: |
4: |
5: end for |
6: |
7: for do |
8: |
9: |
10: |
11: |
12: end for |
13: |
14: |
15: for do |
16: for do |
17: if is NA then |
18: |
19: end if |
20: end for |
21: end for |
22: for do |
23: |
24: for do |
25: |
26: end for |
27: end for |
28: |
29: |
3.4. Deep Model Architecture
Algorithm 2 Deep model algorithm. |
Input: Parsed input data for training. |
Output: Prediction results. |
1: {e.g., Repeat each model 10 times} |
2: {If using multiple datasets} |
3: |
4: {Different batch sizes} |
5: {Set number of epochs} |
6: while do |
7: |
8: |
9: for all in do |
10: for all in do |
11: while do |
12: |
13: |
14: |
15: |
16: |
17: |
18: |
19: |
20: |
21: end while |
22: {Reset repeat counter} |
23: end for |
24: end for |
25: |
26: end while |
3.5. Validation
4. Experiments and Analysis
4.1. Traffic Flow Prediction
4.2. Traffic Speed Prediction
4.3. Traffic Occupancy Prediction
4.4. Comparative Analysis
- Prediction Method: It gives an idea about different prediction techniques and we can identify which of them performs better under which circumstances.
- Prediction Attribute: Which traffic data attribute has been predicted using the proposed method. Prediction accuracy may differ while predicting different traffic data attributes.
- Input Dataset: What is the source of input dataset? This is important because it tells about the way it is collected and we can know about the data health.
- Dataset Size: How big your input dataset is in terms of number of records in it. This is important because especially for deep learning it affects the training process.
- Data Collection Duration: It makes the data more diverse because if we are collecting, e.g., one month data, then our deep network may not know about the events/factors that occurs in other months.
- Evaluation Criteria: This is the metric used to compare the values obtained by using different performance metrics, e.g., MAE and MAPE.
4.5. Prediction from Pre-Trained Deep Models
4.5.1. Traffic Flow Prediction: Weekends
4.5.2. Traffic Flow Prediction: Morning Peak Hours
4.5.3. Traffic Flow Prediction: Evening Peak Hours
5. Performance Enhancement for Real-Time Prediction
5.1. Real-Time Prediction Using Pre-Trained Deep Models
5.2. Comparison of Deep Model Execution Time on CPUs and GPUs
6. Conclusions and Future Work
Author Contributions
Funding
Acknowledgments
Conflicts of Interest
References
- Mehmood, R.; Bhaduri, B.; Katib, I.; Chlamtac, I. (Eds.) Smart Societies, Infrastructure, Technologies and Applications, First International Conference, SCITA 2017, Jeddah, Saudi Arabia, November 27–29, 2017, Proceedings; Springer: Cham, Switzerland, 2018. [Google Scholar] [CrossRef]
- World Health Organization. Road Traffic Injuries. Available online: https://www.who.int/news-room/fact-sheets/detail/road-traffic-injuries (accessed on 27 November 2018).
- El Hatri, C.; Boumhidi, J. Traffic management model for vehicle re-routing and traffic light control based on Multi-Objective Particle Swarm Optimization. Intell. Decis. Technol. 2017, 11, 199–208. [Google Scholar] [CrossRef]
- Cookson, G. INRIX Global Traffic Scorecard; Technical Report; INRIX Research: Kirkland, WA, USA, 2018; Available online: http://inrix.com/scorecard/ (accessed on 12 January 2019).
- INRIX. Traffic Congestion Cost UK Motorists Over £37.7 Billion in 2017. 2019. Available online: http://inrix.com/press-releases/scorecard-2017-uk (accessed on 12 January 2019).
- Schrank, D.; Eisele, B.; Lomax, T. TTI’s 2012 Urban Mobility Report; Texas A&M Transportation Institute, The Texas A&M University System: College Station, TX, USA, 2012; Volume 4. [Google Scholar]
- Nationwide. Traffic Congestion Statistics. 2019. Available online: https://www.nationwide.com/road-congestion-infographic.jsp (accessed on 12 January 2019).
- Xu, Y.; Kong, Q.J.; Lin, S.; Liu, Y. Urban traffic flow prediction based on road network model. In Proceedings of the 2012 9th IEEE International Conference on Networking, Sensing and Control, Beijing, China, 11–14 April 2012; pp. 334–339. [Google Scholar]
- Miller, J.; Horowitz, E. FreeSim-a free real-time freeway traffic simulator. In Proceedings of the 2007 IEEE Intelligent Transportation Systems Conference, Seattle, WA, USA, 30 September–3 October 2007; pp. 18–23. [Google Scholar]
- Chrobok, R.; Wahle, J.; Schreckenberg, M. Traffic forecast using simulations of large scale networks. In Proceedings of the ITSC 2001, 2001 IEEE Intelligent Transportation Systems, Proceedings (Cat. No. 01TH8585), Oakland, CA, USA, 25–29 August 2001; pp. 434–439. [Google Scholar]
- Hardy, M.; Wunderlich, K.; Bunch, J. Structuring Modeling and Simulation Analysis for Evacuation Planning and Operations; Technical Report (No. FHWA-JPO-10-033; FHWA-HOP-10-025); ITS Joint Program Office: Washington, DC, USA, 2009. [Google Scholar]
- Barrett, B.; Ran, B.; Pillai, R. Developing a dynamic traffic management modeling framework for hurricane evacuation. Transp. Res. Rec. J. Transp. Res. Board 2000, 1733, 115–121. [Google Scholar] [CrossRef]
- Smith, B.L.; Demetsky, M.J. Traffic flow forecasting: Comparison of modeling approaches. J. Transp. Eng. 1997, 123, 261–266. [Google Scholar] [CrossRef]
- Okutani, I.; Stephanedes, Y.J. Dynamic prediction of traffic volume through Kalman filtering theory. Transp. Res. Part Methodol. 1984, 18, 1–11. [Google Scholar] [CrossRef]
- Chen, H.; Grant-Muller, S. Use of sequential learning for short-term traffic flow forecasting. Transp. Res. Part C Emerg. Technol. 2001, 9, 319–336. [Google Scholar] [CrossRef]
- Chien, S.I.J.; Kuchipudi, C.M. Dynamic travel time prediction with real-time and historic data. J. Transp. Eng. 2003, 129, 608–616. [Google Scholar] [CrossRef]
- Ayres, G.; Mehmood, R. On discovering road traffic information using virtual reality simulations. In Proceedings of the 11th International Conference on Computer Modelling and Simulation, UKSIM’09, Cambridge, UK, 25–27 March 2009; pp. 411–416. [Google Scholar]
- Mehmood, R. Towards understanding intercity traffic interdependencies. In Proceedings of the 14th World Congress On Intelligent Transport Systems (ITS), Beijing, China, 9–13 October 2007. [Google Scholar]
- Ahmed, M.S.; Cook, A.R. Analysis of Freeway Traffic Time-Series Data by Using Box-Jenkins Techniques; Number 722; Transportation Research Board: Washington, DC, USA, 1979. [Google Scholar]
- Williams, B.M.; Hoel, L.A. Modeling and forecasting vehicular traffic flow as a seasonal ARIMA process: Theoretical basis and empirical results. J. Transp. Eng. 2003, 129, 664–672. [Google Scholar] [CrossRef]
- Van Der Voort, M.; Dougherty, M.; Watson, S. Combining Kohonen maps with ARIMA time series models to forecast traffic flow. Transp. Res. Part C Emerg. Technol. 1996, 4, 307–318. [Google Scholar] [CrossRef]
- Cristianini, N.; Shawe-Taylor, J. An Introduction to Support Vector Machines and Other Kernel-Based Learning Methods; Cambridge University Press: Cambridge, UK, 2000. [Google Scholar]
- Lv, Y.; Duan, Y.; Kang, W.; Li, Z.; Wang, F.Y. Traffic Flow Prediction With Big Data: A Deep Learning Approach. IEEE Trans. Intell. Transp. Syst. 2015, 16, 865–873. [Google Scholar] [CrossRef]
- El Hatri, C.; Boumhidi, J. Fuzzy deep learning based urban traffic incident detection. Cogn. Syst. Res. 2018, 50, 206–213. [Google Scholar] [CrossRef]
- Jia, Y.; Wu, J.; Du, Y. Traffic speed prediction using deep learning method. In Proceedings of the 2016 IEEE 19th International Conference on Intelligent Transportation Systems (ITSC), Rio de Janeiro, Brazil, 1–4 November 2016; pp. 1217–1222. [Google Scholar]
- Zhao, Z.; Chen, W.; Wu, X.; Chen, P.C.; Liu, J. LSTM network: A deep learning approach for short-term traffic forecast. IET Intell. Transp. Syst. 2017, 11, 68–75. [Google Scholar] [CrossRef]
- Fouladgar, M.; Parchami, M.; Elmasri, R.; Ghaderi, A. Scalable deep traffic flow neural networks for urban traffic congestion prediction. In Proceedings of the 2017 International Joint Conference on Neural Networks (IJCNN), Anchorage, AK, USA, 14–19 May 2017; pp. 2251–2258. [Google Scholar]
- Aqib, M.; Mehmood, R.; Alzahrani, A.; Katib, I.; Albeshri, A. A Deep Learning Model to Predict Vehicles Occupancy on Freeways for Traffic Management. Int. J. Comput. Sci. Netw. Secur. (IJCSNS) 2018, 18, 246–254. [Google Scholar]
- Yu, R.; Li, Y.; Shahabi, C.; Demiryurek, U.; Liu, Y. Deep learning: A generic approach for extreme condition traffic forecasting. In Proceedings of the 2017 SIAM International Conference on Data Mining, SIAM, Houston, TX, USA, 27–29 April 2017; pp. 777–785. [Google Scholar]
- Ma, X.; Tao, Z.; Wang, Y.; Yu, H.; Wang, Y. Long short-term memory neural network for traffic speed prediction using remote microwave sensor data. Transp. Res. Part C Emerg. Technol. 2015, 54, 187–197. [Google Scholar] [CrossRef]
- Guo, Y.; Liu, Y.; Oerlemans, A.; Lao, S.; Wu, S.; Lew, M.S. Deep learning for visual understanding: A review. Neurocomputing 2016, 187, 27–48. [Google Scholar] [CrossRef]
- Mehmood, R.; See, S.; Katib, I.; Chlamtac, I. (Eds.) Smart Infrastructure and Applications: Foundations for Smarter Cities and Societies; EAI/Springer Innovations in Communication and Computing; Springer: Cham, Switzerland, 2019; p. 692. [Google Scholar] [CrossRef]
- Tawalbeh, L.; Basalamah, A.; Mehmood, R.; Tawalbeh, H. Greener and smarter phones for future cities: Characterizing the impact of GPS signal strength on power consumption. IEEE Access 2016, 4, 858–868. [Google Scholar] [CrossRef]
- Mehmood, R.; Alam, F.; Albogami, N.N.; Katib, I.; Albeshri, A.; Altowaijri, S.M. UTiLearn: A personalised ubiquitous teaching and learning system for smart societies. IEEE Access 2017, 5, 2615–2635. [Google Scholar] [CrossRef]
- Muhammed, T.; Mehmood, R.; Albeshri, A.; Katib, I. UbeHealth: A Personalized Ubiquitous Cloud and Edge-Enabled Networked Healthcare System for Smart Cities. IEEE Access 2018, 6, 32258–32285. [Google Scholar] [CrossRef]
- Büscher, M.; Coulton, P.; Efstratiou, C.; Gellersen, H.; Hemment, D.; Mehmood, R.; Sangiorgi, D. Intelligent mobility systems: Some socio-technical challenges and opportunities. In International Conference on Communications Infrastructure. Systems and Applications in Europe; Springer: Berlin/Heidelberg, Germany, 2009; pp. 140–152. [Google Scholar]
- Arfat, Y.; Aqib, M.; Mehmood, R.; Albeshri, A.; Katib, I.; Albogami, N.; Alzahrani, A. Enabling Smarter Societies through Mobile Big Data Fogs and Clouds. Procedia Comput. Sci. 2017, 109, 1128–1133. [Google Scholar] [CrossRef]
- Mehmood, R.; Graham, G. Big data logistics: A health-care transport capacity sharing model. Procedia Comput. Sci. 2015, 64, 1107–1114. [Google Scholar] [CrossRef]
- Arfat, Y.; Mehmood, R.; Albeshri, A. Parallel Shortest Path Graph Computations of United States Road Network Data on Apache Spark. In International Conference on Smart Cities, Infrastructure, Technologies and Applications; Springer: Cham, Switzerland, 2017; pp. 323–336. [Google Scholar]
- Mehmood, R.; Meriton, R.; Graham, G.; Hennelly, P.; Kumar, M. Exploring the influence of big data on city transport operations: A Markovian approach. Int. J. Oper. Prod. Manag. 2017, 37, 75–104. [Google Scholar] [CrossRef]
- Mehmood, R.; Lu, J.A. Computational Markovian analysis of large systems. J. Manuf. Technol. Manag. 2011, 22, 804–817. [Google Scholar] [CrossRef]
- Aqib, M.; Mehmood, R.; Albeshri, A.; Alzahrani, A. Disaster Management in Smart Cities by Forecasting Traffic Plan Using Deep Learning and GPUs. In International Conference on Smart Cities, Infrastructure, Technologies and Applications (SCITA 2017): Smart Societies, Infrastructure, Technologies and Applications; Mehmood, R., Bhaduri, B., Katib, I., Chlamtac, I., Eds.; Springer: Cham, Switzerland, 2018; pp. 139–154. [Google Scholar]
- Alazawi, Z.; Altowaijri, S.; Mehmood, R.; Abdljabar, M.B. Intelligent disaster management system based on cloud-enabled vehicular networks. In Proceedings of the 2011 11th International Conference on IEEE ITS Telecommunications (ITST), St. Petersburg, Russia, 23–25 August 2011; pp. 361–368. [Google Scholar]
- Alazawi, Z.; Abdljabar, M.B.; Altowaijri, S.; Vegni, A.M.; Mehmood, R. ICDMS: An intelligent cloud based disaster management system for vehicular networks. In International Workshop on Communication Technologies for Vehicles; Springer: Berlin/Heidelberg, Germany, 2012; pp. 40–56. [Google Scholar]
- Alazawi, Z.; Alani, O.; Abdljabar, M.B.; Altowaijri, S.; Mehmood, R. A smart disaster management system for future cities. In Proceedings of the 2014 ACM International Workshop on Wireless and Mobile Technologies for Smart Cities, Philadelphia, PA, USA, 11 August 2014; pp. 1–10. [Google Scholar]
- Alazawi, Z.; Alani, O.; Abdljabar, M.B.; Mehmood, R. An intelligent disaster management system based evacuation strategies. In Proceedings of the 2014 9th International Symposium on Communication Systems, Networks & Digital Signal Processing (CSNDSP), Manchester, UK, 23–25 July 2014; pp. 673–678. [Google Scholar]
- Alam, F.; Mehmood, R.; Katib, I. D2TFRS: An object recognition method for autonomous vehicles based on RGB and spatial values of pixels. In Social-Informatics and Telecommunications Engineering, LNICST; Lecture Notes of the Institute for Computer Sciences; Springer: Cham, Switzerland, 2018; Volume 224, pp. 155–168. [Google Scholar] [CrossRef]
- Graham, G.; Mehmood, R.; Coles, E. Exploring future cityscapes through urban logistics prototyping: A technical viewpoint. Supply Chain. Manag. Int. J. 2015, 20, 341–352. [Google Scholar] [CrossRef]
- Mehmood, R.; Nekovee, M. Vehicular ad hoc and grid networks: Discussion, design and evaluation. In Proceedings of the 14th World Congress On Intelligent Transport Systems (ITS), Beijing, China, 9–13 October 2007. [Google Scholar]
- Gillani, S.; Shahzad, F.; Qayyum, A.; Mehmood, R. A survey on security in vehicular ad hoc networks. In International Workshop on Communication Technologies for Vehicles; Springer: Berlin/Heidelberg, Germany, 2013; pp. 59–74. [Google Scholar]
- Alvi, A.; Greaves, D.; Mehmood, R. Intra-vehicular verification and control: A two-pronged approach. In Proceedings of the 2010 7th International Symposium on Communication Systems, Networks & Digital Signal Processing (CSNDSP 2010), Newcastle, UK, 21–23 July 2010; pp. 401–405. [Google Scholar]
- Nabi, Z.; Alvi, A.; Mehmood, R. Towards standardization of in-car sensors. In International Workshop on Communication Technologies for Vehicles; Springer: Berlin/Heidelberg, Germany, 2011; pp. 216–223. [Google Scholar]
- Schlingensiepen, J.; Mehmood, R.; Nemtanu, F.C.; Niculescu, M. Increasing sustainability of road transport in European cities and metropolitan areas by facilitating autonomic road transport systems (ARTS). In Sustainable Automotive Technologies 2013; Wellnitz, J., Subic, A., Trufin, R., Eds.; Springer: Ingolstadt, Germany, 2014; pp. 201–210. [Google Scholar]
- Schlingensiepen, J.; Nemtanu, F.; Mehmood, R.; McCluskey, L. Autonomic transport management systems-enabler for smart cities, personalized medicine, participation and industry grid/industry 4.0. In Intelligent Transportation Systems–Problems and Perspectives; Springer: Cham, Switzerland, 2016; pp. 3–35. [Google Scholar]
- Schlingensiepen, J.; Mehmood, R.; Nemtanu, F.C. Framework for an autonomic transport system in smart cities. Cybern. Inf. Technol. 2015, 15, 50–62. [Google Scholar] [CrossRef]
- Suma, S.; Mehmood, R.; Albugami, N.; Katib, I.; Albeshri, A. Enabling Next Generation Logistics and Planning for Smarter Societies. Procedia Comput. Sci. 2017, 109, 1122–1127. [Google Scholar] [CrossRef]
- Suma, S.; Mehmood, R.; Albeshri, A. Automatic Event Detection in Smart Cities Using Big Data Analytics. In International Conference on Smart Cities, Infrastructure, Technologies and Applications; Springer: Cham, Switzerland, 2017; pp. 111–122. [Google Scholar]
- Alomari, E.; Mehmood, R. Analysis of tweets in Arabic language for detection of road traffic conditions. In Social-Informatics and Telecommunications Engineering, LNICST; Lecture Notes of the Institute for Computer Sciences; Springer: Cham, Switzerland, 2018; Volume 224, pp. 98–110. [Google Scholar] [CrossRef]
- Mehmood, R.; Faisal, M.A.; Altowaijri, S. Future Networked Healthcare Systems: A Review and Case Study. In Handbook of Research on Redesigning the Future of Internet Architectures; Boucadair, M., Jacquenet, C., Eds.; IGI Global: Hershey, PA, USA, 2015; pp. 531–558. [Google Scholar] [CrossRef]
- Farber, R. The Convergence of Big Data and Extreme-Scale HPC. 2018. Available online: https://www.hpcwire.com/2018/08/31/the-convergence-of-big-data-and-extreme-scale-hpc/ (accessed on 25 October 2018).
- Usman, S.; Mehmood, R.; Katib, I. Big data and HPC convergence: The cutting edge and outlook. In International Conference on Smart Cities, Infrastructure, Technologies and Applications (SCITA 2017); Lecture Notes of the Institute for Computer Sciences, Social-Informatics and Telecommunications Engineering, LNICST; Springer: Cham, Switzerland, 2018; Volume 224, pp. 11–26. [Google Scholar] [CrossRef]
- California Department of Transportation (Caltrans). Caltrans Peformance Measurement System (PeMS). Available online: http://pems.dot.ca.gov/ (accessed on 13 May 2019).
- Fu, R.; Zhang, Z.; Li, L. Using LSTM and GRU neural network methods for traffic flow prediction. In Proceedings of the Youth Academic Annual Conference of Chinese Association of Automation (YAC), Wuhan, China, 11–13 November 2016; pp. 324–328. [Google Scholar]
- Wu, Y.; Tan, H. Short-term traffic flow forecasting with spatial-temporal correlation in a hybrid deep learning framework. arXiv 2016, arXiv:1612.01022. [Google Scholar]
- Sun, J.; Sun, J. A dynamic Bayesian network model for real-time crash prediction using traffic speed conditions data. Transp. Res. Part C Emerg. Technol. 2015, 54, 176–186. [Google Scholar] [CrossRef]
- Huang, W.; Hong, H.; Li, M.; Hu, W.; Song, G.; Xie, K. Deep architecture for traffic flow prediction. In Proceedings of the International Conference on Advanced Data Mining and Applications, Hangzhou, China, 14–16 December 2013; pp. 165–176. [Google Scholar]
- Polson, N.; Sokolov, V. Deep learning predictors for traffic flows. arXiv 2016, arXiv:1604.04527. [Google Scholar]
- Duan, Y.; Lv, Y.; Wang, F.Y. Performance evaluation of the deep learning approach for traffic flow prediction at different times. In Proceedings of the 2016 IEEE International Conference on Service Operations and Logistics, and Informatics (SOLI), Beijing, China, 10–12 July 2016; pp. 223–227. [Google Scholar]
- Yi, H.; Jung, H.; Bae, S. Deep Neural Networks for traffic flow prediction. In Proceedings of the 2017 IEEE International Conference on Big Data and Smart Computing (BigComp), Jeju Island, Korea, 13–16 February 2017; pp. 328–331. [Google Scholar]
- Zhang, J.; Zheng, Y.; Qi, D. Deep Spatio-Temporal Residual Networks for Citywide Crowd Flows Prediction. In Proceedings of the AAAI, San Francisco, CA, USA, 4–9 February 2017; pp. 1655–1661. [Google Scholar]
- Lemieux, J.; Ma, Y. Vehicle speed prediction using deep learning. In Proceedings of the 2015 IEEE Vehicle Power and Propulsion Conference (VPPC), Montreal, QC, Canada, 19–22 October 2015; pp. 1–5. [Google Scholar]
- Wang, J.; Gu, Q.; Wu, J.; Liu, G.; Xiong, Z. Traffic speed prediction and congestion source exploration: A deep learning method. In Proceedings of the 2016 IEEE 16th International Conference on Data Mining (ICDM), Barcelona, Spain, 12–15 December 2016; pp. 499–508. [Google Scholar]
- Ma, X.; Yu, H.; Wang, Y.; Wang, Y. Large-scale transportation network congestion evolution prediction using deep learning theory. PLoS ONE 2015, 10, e0119044. [Google Scholar] [CrossRef]
- Koesdwiady, A.; Soua, R.; Karray, F. Improving traffic flow prediction with weather information in connected cars: A deep learning approach. IEEE Trans. Veh. Technol. 2016, 65, 9508–9517. [Google Scholar] [CrossRef]
- Meso West Data. Available online: http://mesowest.utah.edu (accessed on 12 December 2018).
- Huang, M.L. Intersection traffic flow forecasting based on ν-GSVR with a new hybrid evolutionary algorithm. Neurocomputing 2015, 147, 343–349. [Google Scholar] [CrossRef]
- Li, X.; Bai, R. Freight Vehicle Travel Time Prediction Using Gradient Boosting Regression Tree. In Proceedings of the 2016 15th IEEE International Conference on Machine Learning and Applications (ICMLA), Anaheim, CA, USA, 18–20 December 2016; pp. 1010–1015. [Google Scholar]
- Rupnik, J.; Davies, J.; Fortuna, B.; Duke, A.; Clarke, S.S. Travel Time Prediction on Highways. In Proceedings of the 2015 IEEE International Conference on Computer and Information Technology; Ubiquitous Computing and Communications; Dependable, Autonomic and Secure Computing; Pervasive Intelligence and Computing (CIT/IUCC/DASC/PICOM), Liverpool, UK, 26–28 October 2015; pp. 1435–1442. [Google Scholar]
- R Core Team. R: A Language and Environment for Statistical Computing; R Foundation for Statistical Computing: Vienna, Austria, 2013. [Google Scholar]
- RStudio Team. RStudio: Integrated Development for R; RStudio, Inc.: Boston, MA, USA, 2015; Available online: http://www.rstudio.com (accessed on 16 May 2017).
- Guyon, I. A Scaling Law for the Validation-Set Training-Set Size Ratio; AT & T Bell Laboratories: Murray Hill, NJ, USA, 1997. [Google Scholar]
- Chollet, F.; Keras. 2015. Available online: https://keras.io (accessed on 1 April 2019).
- Abadi, M.; Agarwal, A.; Barham, P.; Brevdo, E.; Chen, Z.; Citro, C.; Corrado, G.S.; Davis, A.; Dean, J.; Devin, M.; et al. TensorFlow: Large-Scale Machine Learning on Heterogeneous Systems. 2015. Available online: https://www.tensorflow.org (accessed on 1 April 2019).
- Huang, W.; Song, G.; Hong, H.; Xie, K. Deep architecture for traffic flow prediction: Deep belief networks with multitask learning. IEEE Trans. Intell. Transp. Syst. 2014, 15, 2191–2201. [Google Scholar] [CrossRef]
No. | Attribute Name | Description |
---|---|---|
1 | Timestamp | Defines the time when data is captured at a vehicle detector station (VDS). Timestamp gives both date and time when data was calculated at a specific VDS. |
2 | StationId | Id of a vehicle detector station (VDS). In these data, station id is a numeric value. |
3 | StationTotalFlow | Total number of vehicles passed through a specific VDS at a specific time interval. |
4 | StationAvgOcc | Average occupancy rate; calculated at a VDS at a given time interval defined in timestamp attribute. |
5 | StationAvgSpeed | Average speed calculated at a specific VDS at specific time interval. |
6 | StationPercent Observed | Number of lanes at this VDS station |
7 | Lane1TotalFlow | Number of vehicles in Lane1 |
8 | Lane1AvgOcc | Average occupancy calculated w.r.t. lane1 |
9 | Lane1AvgSpeed | Average speed calculated at lane1 |
10 | Lane1Observed | Either values observed or imputed for lane1 |
11 | Lane2TotalFlow | Number of vehicles in Lane2 |
12 | Lane2AvgOcc | Average occupancy calculated w.r.t. lane2 |
13 | Lane2AvgSpeed | Average speed calculated at lane2 |
14 | Lane2Observed | Either values observed or imputed for lane2 |
. | . | . |
. | . | . |
. | . | . |
35 | Lane8TotalFlow | Number of vehicles in Lane8 |
36 | Lane8AvgOcc | Average occupancy calculated w.r.t. lane8 |
37 | Lane8AvgSpeed | Average speed calculated at lane8 |
38 | Lane8Observed | Either values observed or imputed for lane8 |
No. | Attribute Name | Description |
---|---|---|
1 | stationId | This attribute defines the numeric value assigned to each vehicle detector station (VDS) on the highway. VDSs in PeMS are the data collection points on highways. Data used in this experiment include I5-N highway and has 26 VDSs. |
2 | dayOfMonth | Defines the day of a month in a Gregorian calendar in “dd” format. Thus, its value ranges from 1 to 31. This could be helpful in getting some traffic flow trends on some specific events, e.g traffic flow on Christmas every year. |
3 | month | Gives the numeric value for a Gregorian month in “mm” format and its value ranges from 1 to 12. |
4 | year | Value for a Gregorian year in the “yyyy” format. |
5 | hours | Clock hours in numbers starting from 0 to 23. This could help us identifying traffic flow trends and other information in specific hours in a day, e.g., traffic flow at 9 a.m. |
6 | weekDays | Day of a week, e.g., Monday. weekDays values are also in numeric format ranging from 1 to 7 where 1 represents Sunday, and 7 represents Saturday. This is important in identifying specific trends on specific days, e.g., on weekends. |
7–18 | flow (flow_00, flow_05, flow_10, …, flow_55) | As defined on PeMS, flow defines the number of vehicles passing through a vehicle detector station (VDS). In this dataset, we used five-minute interval flow values where the flow_00 defines the aggregated vehicle flow calculated at a VDS during the first five minutes of an hour. Similarly, flow_55 defines the aggregated flow value at a VDS during the last five minutes of the hour. |
No. | Description | Values |
---|---|---|
1 | Number of input parameters | 17 |
2 | Number of output parameters | 1 |
3 | Number of hidden layers | 4 |
4 | Hidden units in each layer resp. | 85, 425, 425, 85 |
5 | Batch size | 500, 5000 |
6 | Number of epochs | 100, 500, 1000 |
7 | Activation function |
No. | Description | Values |
---|---|---|
1 | Number of input parameters | 17 |
2 | Number of output parameters | 1 |
3 | Number of hidden layers | 5 |
4 | Hidden units in each layer resp. | 17, 85, 425, 425, 85 |
5 | Batch size | 1000, 5000, 10,000 |
6 | Number of epochs | 100, 200 |
7 | Activation function |
No. | Description | Values |
---|---|---|
1 | Number of input parameters | 17 |
2 | Number of output parameters | 1 |
3 | Number of hidden layers | 5 |
4 | Hidden units in each layer resp. | 17, 85, 425, 425, 85 |
5 | Batch size | 1000, 5000, 10000 |
6 | Number of epochs | 100, 200 |
7 | Activation function |
No. | Reference | Method | Forecast Parameter | Input Dataset | Dataset Size | Data Duration | Minimum MAPE |
---|---|---|---|---|---|---|---|
1 | [26] | LSTM | Flow | Beijing Traffic Management Bureau | 500 observation stations, 26 million records | 6 months | 6.05 |
2 | [23] | Auto- encoders | Flow | PeMS | For all the highways in the system (GBs) | 3 months | 6.75 |
3 | [27] | CNN, LSTM | Flow | PeMS | Includes 60 VDSs | 2 months | NA |
4 | [84] | DBNs | Flow | PeMS | Roads with top 50 traffic flow values | 12 months | 9 |
5 | [30] | LSTM | Speed | Self deployed detectors | Two sensors, 42387 records | 1 month | 3.78 |
6 | This paper | LSTM | Speed | PeMS | Dataset used in our model | 11 years | 3.5 |
7 | This paper | SVM | Speed | PeMS | Dataset used in our model | 11 years | 4.6 |
8 | Our Model | CNN | Speed | PeMS | Dataset used in our model | 11 years | 2.59 |
9 | Our Model | CNN | Flow | PeMS | Dataset used in our model | 11 years | 5.96 |
© 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Aqib, M.; Mehmood, R.; Alzahrani, A.; Katib, I.; Albeshri, A.; Altowaijri, S.M. Smarter Traffic Prediction Using Big Data, In-Memory Computing, Deep Learning and GPUs. Sensors 2019, 19, 2206. https://doi.org/10.3390/s19092206
Aqib M, Mehmood R, Alzahrani A, Katib I, Albeshri A, Altowaijri SM. Smarter Traffic Prediction Using Big Data, In-Memory Computing, Deep Learning and GPUs. Sensors. 2019; 19(9):2206. https://doi.org/10.3390/s19092206
Chicago/Turabian StyleAqib, Muhammad, Rashid Mehmood, Ahmed Alzahrani, Iyad Katib, Aiiad Albeshri, and Saleh M. Altowaijri. 2019. "Smarter Traffic Prediction Using Big Data, In-Memory Computing, Deep Learning and GPUs" Sensors 19, no. 9: 2206. https://doi.org/10.3390/s19092206
APA StyleAqib, M., Mehmood, R., Alzahrani, A., Katib, I., Albeshri, A., & Altowaijri, S. M. (2019). Smarter Traffic Prediction Using Big Data, In-Memory Computing, Deep Learning and GPUs. Sensors, 19(9), 2206. https://doi.org/10.3390/s19092206