Research Article

The investigation of traffic flow prediction and optimization based on Spark

Yikang Mai1,*, Meng Xu2
1. Financial Mathematics, Beijing Normal University - Hong Kong Baptist University United International College, Zhuhai, Guangdong, China
2. Data Science and Big Data Technology, Zhejiang Wanli University, Ningbo, Zhejiang, China

* Corresponding author: [email protected]

Abstract

Spark and flink have made great strides in big data processing in recent years. Although the current spark can process a large amount of data at the same time, it still has a lot of shortcomings in the transparency, credibility, and practicality of the model. This paper provides a comprehensive overview of how to tackle the performance bottlenecks, insufficient model interpretability, and lack of regional adaptability faced by Spark and Flink in big data processing. It discusses the introduction of interpretable algorithms such as SHAP and LIME to enhance the transparency and user trust of neural network models. Then it discusses how to combine time-aware transfer learning and Geographic Information Systems (GIS) technology to enhance the technology generalization and adaptability of Spark machine learning models. Time-aware transfer learning uses historical data’s temporal evolution to ensure models perform well in new time periods or scenarios, while GIS technology enables more precise predictions and analyses based on geographical data, enhancing spatial adaptability. Lastly, the study explores hybrid processing strategies by integrating Apache Flink, Kafka Streams, and Spark batch processing frameworks. This approach not only facilitates efficient real-time data processing and detailed analysis but also enhances the model’s flexibility and processing capabilities in complex data scenarios. By integrating these techniques, it is possible to improve the efficiency and effectiveness of big data processing frameworks in addressing complex real-world challenges, thereby advancing technology and application development in related fields.

Keywords: Traffic flow prediction; machine learning; spark
Published: July 31, 2024
DOI: 10.54254/2755-2721/86/20241571
Volume: ACE Vol.86
pp. 1-7
Download PDF

References

  1. Krizhevsky A, Sutskever I & Hinton GE 2012 ImageNet Classification with Deep Convolutional Neural Networks Advances in Neural Information Processing Systems vol 25 pp 1097-1105
  2. Simonyan K & Zisserman A 2015 Very Deep Convolutional Networks for Large-Scale Image Recognition International Conference on Learning Representations (ICLR)
  3. He K, Zhang X, Ren S & Sun J 2016 Deep Residual Learning for Image Recognition Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR)
  4. Silver D, Huang A, Maddison CJ et al. 2016 Mastering the game of Go with deep neural networks and tree search Nature vol 529 pp 484-489
  5. Goodfellow I, Pouget-Abadie J, Mirza M et al. 2014 Generative Adversarial Nets Advances in Neural Information Processing Systems vol 27 pp 2672-2680
  6. Zhu JY, Park T, Isola P & Efros AA 2017 Unpaired Image-to-Image Translation using Cycle-Consistent Adversarial Networks Proceedings of the IEEE International Conference on Computer Vision (ICCV)
  7. Karras T, Laine S & Aila T 2019 A Style-Based Generator Architecture for Generative Adversarial Networks Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)
  8. Ault A 2017 AI for traffic control: Reinforcement learning vs. traditional methods Retrieved from MIT News
  9. Intel 2024 Intel’s intelligent traffic management system Retrieved from Intel’s research blog (n.d.)
  10. Zaharia M, Chowdhury M, Das T et al. 2012 Resilient Distributed Datasets: A Fault-Tolerant Abstraction for In-Memory Cluster Computing Proceedings of the 9th USENIX Conference on Networked Systems Design and Implementation (NSDI)
  11. Liu Y et al 2024 Online learning resource recommendation based on parallelized spectral clustering algorithm based on Spark platform Journal of Jinan University (Natural Science Edition) pp 1-5
  12. Ning Y, Chen JL, Luo M et al. 2024 Design and implementation of tourism big data analysis platform based on SpringBoot+Spark+Vue Wireless Internet Technology vol 21 (07) pp 60-67
  13. Li XH et al 2024 Real-time Traffic Flow Prediction Based on Stream Computing and Big Data Platform Computer Engineering and Design vol 45 (02) pp 553-561
  14. Ren G et al. 2023 A Calculation Method for Road Segment Travel Time Based on the Spark Model Wireless Internet Technology vol 20 (22) pp 101-107
  15. Gong XL et al 2023 Research on Real-time Traffic Big Data Analysis and Visualized Geographic Information Platform Journal of Guizhou Police College vol 35 (04) pp 77-83