Unequal Interval Dynamic Traffic Flow Prediction with Singular Point Detection
Abstract
:1. Introduction
- The paper gives a framework to use singular point detection to analyze the traffic flow signal. An improved wavelet transform method is proposed to detect singular points dynamically based on the wavelet’s adjustable scale. Based on the position of the singular points, the traffic flow signal is divided into unequal slots in time series, which is determined via the multiscale.
- Depending on the real-time observation and historical traffic data, we propose an algorithm to predict the position of the next singular point in the observed process based on similarity measurement via a weighted function. The forecasting of the next singular point position decides the interval of traffic flow prediction.
- We use the Vasicek model to predict the traffic flow’s trend from the current moment to the predicted next singular point. The matrix decomposition is imported to deal with the unequal size problem during an optimization solution.
2. Related Work
3. System Model
4. Singular Point Detection and Prediction via Wavelet Transform
4.1. Singular Point Detection via Multiscale Wavelet Transform
- The order of smoothing and derivation of a signal does not influence the wavelet transform performance.
- The first-order derivative and second-order derivative of this low-pass smoothing function should be a band-pass function, which denotes
4.2. Next Singular Point Prediction via Weighted Similarity Measurement
Algorithm 1 Singular point detection and prediction via multiscale wavelet transform and weighted similarity measurement (SPDP-wtsm). |
|
5. Multiscale Traffic Flow Prediction via Vasicek Model
5.1. Unequal Interval Dynamic Traffic Flow Prediction Design Based on Vasicek Model
5.2. Unequal Element Solution via Matrix Decomposition
Algorithm 2 Dynamic unequal interval traffic flow prediction via the Vasicek model (DTFP-vm). |
|
6. Performance Evaluations
- Is the proposed algorithm effective and accurate for detecting and predicting the traffic flow’s singular points?
- How does the wavelet adaptive parameter a influence the traffic flow prediction performance?
- Is the proposed algorithm better than other traffic flow prediction methods?
6.1. Simulation Setup
6.1.1. Simulation Scenario
6.1.2. Metrics
- Mean relative error (MRE): The ratio of absolute difference and observed value, in which absolute difference is between the predicted value and the corresponding observed value. MRE evaluates the accuracy of the traffic flow singular point detection and prediction.
- Normalized computing time: This metric is used to evaluate the algorithms’ computation cost. To balance the magnitudes of different algorithms, we normalize the computing time that can reflect the computation cost and computing increment directly.
- Sum of squares error (SSE) and coefficient of determination (R-square): The lower the SSE is, the closer are the predicted traffic flow and the observed value. The performance is better when the value of R-square closes to 1. These two metrics reflect the prediction robustness during the different processes.
6.1.3. Comparing Algorithms
- Linear regression: Based on the confidence interval (), linear regression analyzes the distribution of the observed data in each time interval and uses the linear relation to express and smooth the curve, which predicts the traffic flow’s trend. The algorithm will shorten the time interval once the prediction leaks the area.
- Kernel regression: Depending on the core of the support vector machine, kernel regression lies at the Gaussian process to label the observed and historical data. The Laplacian matrix is used for predicting and recovering the results.
- Fourier series: The intervals and prediction intervals of the observation process are divided evenly. The traffic flow trend in the observation process is fixed and predicted based on the Fourier series’ parameter determination. The Fourier method improves the prediction performance via the increment of the Fourier series degree and the adjustment of parameters.
- LSTM (long short-term memory): Besides the above three comparing algorithms, LSTM sets up a single-input-and-single-output recurrent neural network with 96 neural cells. During the training ratio determination and 250 iterations, LSTM can output the predicted results. Because the selected LSTM model needs some extent of observations as the training data, comparison with our proposed algorithm is separated.
6.2. Performance Evaluation of Singular Point Detection and Prediction by Multiscale Wavelet Transform
6.3. Performance Evaluation of Dynamic Traffic Flow Prediction via Unequal Interval Vasicek Approach
6.4. Traffic Flow Prediction Performance Comparison
7. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Chen, J.; Wang, Q.; Cheng, H.H.; Peng, W.; Xu, W. A Review of Vision-Based Traffic Semantic Understanding in ITSs. IEEE Trans. Intell. Transp. Syst. 2022, 23, 19954–19979. [Google Scholar] [CrossRef]
- Chen, J.; Xu, M.; Xu, W.; Li, D.; Peng, W.; Xu, H. A Flow Feedback Traffic Prediction Based on Visual Quantified Features. IEEE Trans. Intell. Transp. Syst. 2023, 1, 1–9. [Google Scholar] [CrossRef]
- Shen, J.; Liu, D.; Chen, X.; Li, J.; Kumar, N.; Vijayakumar, P. Secure Real-Time Traffic Data Aggregation with Batch Verification for Vehicular Cloud in VANETs. IEEE Trans. Veh. Technol. 2020, 69, 807–817. [Google Scholar] [CrossRef]
- Chang, Z.; Liu, C.; Jia, J. STA-GCN: Spatial-Temporal Self-Attention Graph Convolutional Networks for Traffic-Flow Prediction. Appl. Sci. 2023, 13, 6796. [Google Scholar] [CrossRef]
- Manibardo, E.L.; Laña, I.; Ser, J.D. Deep Learning for Road Traffic Forecasting: Does It Make a Difference? IEEE Trans. Intell. Transp. Syst. 2021, 23, 6164–6188. [Google Scholar] [CrossRef]
- Zheng, Z.; Washington, S. On selecting an optimal wavelet for detecting singularities in traffic and vehicular data. Transp. Res. Part C Emerg. Technol. 2012, 25, 18–33. [Google Scholar] [CrossRef] [Green Version]
- Khatua, P.; Ray, K.C. VLSI Architecture of DCT-Based Harmonic Wavelet Transform for Time–Frequency Analysis. IEEE Trans. Instrum. Meas. 2023, 72, 6502108. [Google Scholar] [CrossRef]
- Guo, K.; Yu, X.; Liu, G.; Tang, S. A Long-Term Traffic Flow Prediction Model Based on Variational Mode Decomposition and Auto-Correlation Mechanism. Appl. Sci. 2023, 13, 7139. [Google Scholar] [CrossRef]
- Jiang, X.; Adeli, H. Dynamic Wavelet Neural Network Model for Traffic Flow Forecasting. J. Transp. Eng. 2005, 131, 771–779. [Google Scholar] [CrossRef]
- Peng, Y.; Xiang, W. Short-term traffic volume prediction using GA-BP based on wavelet denoising and phase space reconstruction. Phys. A Stat. Mech. Its Appl. 2020, 549, 123913. [Google Scholar] [CrossRef]
- Xing, L.; Liu, W. A Data Fusion Powered Bi-Directional Long Short Term Memory Model for Predicting Multi-Lane Short Term Traffic Flow. IEEE Trans. Intell. Transp. Syst. 2021, 23, 16810–16819. [Google Scholar] [CrossRef]
- Li, R.; Hu, Y.; Liang, Q. T2F-LSTM Method for Long-Term Traffic Volume Prediction. IEEE Trans. Fuzzy Syst. 2020, 28, 3256–3264. [Google Scholar] [CrossRef]
- Chu, K.; Saigal, R.; Saitou, K. Real-Time Traffic Prediction and Probing Strategy for Lagrangian Traffic Data. IEEE Trans. Intell. Transp. Syst. 2019, 20, 497–506. [Google Scholar] [CrossRef]
- Dong, H.; Ding, F.; Tan, H.; Zhang, H. Laplacian integration of graph convolutional network with tensor completion for traffic prediction with missing data in inter-city highway network. Phys. A Stat. Mech. Its Appl. 2022, 586, 126474. [Google Scholar] [CrossRef]
- Hu, C.; Fan, W.; Zen, E.; Hang, Z.; Wang, F.; Qi, L.; Bhuiyan, M.Z.A. A Digital Twin-Assisted Real-time Traffic Data Prediction Method for 5G-enabled Internet of Vehicles. IEEE Trans. Ind. Inform. 2021, 18, 2811–2819. [Google Scholar] [CrossRef]
- Ali, F.; Khan, Z.H.; Gulliver, T.A.; Khattak, K.S.; Altamimi, A.B. A Microscopic Traffic Model Considering Driver Reaction and Sensitivity. Appl. Sci. 2023, 13, 7810. [Google Scholar] [CrossRef]
- Chen, Y.; Chen, H.; Ye, P.; Lv, Y.; Wang, F.Y. Acting as a Decision Maker: Traffic-Condition- Aware Ensemble Learning for Traffic Flow Prediction. IEEE Trans. Intell. Transp. Syst. 2020, 23, 3190–3200. [Google Scholar] [CrossRef]
- Ma, C.; Dai, G.; Zhou, J. Short-Term Traffic Flow Prediction for Urban Road Sections Based on Time Series Analysis and LSTM BILSTM Method. IEEE Trans. Intell. Transp. Syst. 2021, 23, 5615–5624. [Google Scholar] [CrossRef]
- Hou, Q.; Leng, J.; Ma, G.; Liu, W.; Cheng, Y. An adaptive hybrid model for short-term urban traffic flow prediction. Phys. A Stat. Mech. Its Appl. 2019, 527, 121065. [Google Scholar] [CrossRef]
- Fang, W.; Zhuo, W.; Yan, J.; Song, Y.; Jiang, D.; Zhou, T. Attention meets long short-term memory: A deep learning network for traffic flow forecasting. Phys. A Stat. Mech. Its Appl. 2022, 587, 126485. [Google Scholar] [CrossRef]
- Wang, K.; Ma, C.; Qiao, Y.; Lu, X.; Hao, W.; Dong, S. A hybrid deep learning model with 1DCNN-LSTM-Attention networks for short-term traffic flow prediction. Phys. A Stat. Mech. Its Appl. 2021, 583, 126293. [Google Scholar] [CrossRef]
- Wang, J.; Wang, W.; Liu, X.; Yu, W.; Li, X.; Sun, P. Traffic prediction based on auto spatiotemporal Multi-graph Adversarial Neural Network. Phys. A Stat. Mech. Its Appl. 2022, 590, 126736. [Google Scholar] [CrossRef]
- Guo, C.; Li, D.; Zhang, G.; Cui, Z. Data delivery delay reduction for VANETs on bi-directional roadway. IEEE Access 2016, 4, 8514–8524. [Google Scholar] [CrossRef]
- Guo, C.; Li, D.; Chen, X.; Zhang, G. An adaptive V2R communication strategy based on data delivery delay estimation in VANETs. Veh. Commun. 2022, 34, 100444. [Google Scholar] [CrossRef]
- Guo, C.; Li, D.; Zhang, G.; Zhai, M. Real-time path planning in urban area via VANET-assisted traffic information sharing. IEEE Trans. Veh. Technol. 2018, 67, 5635–5649. [Google Scholar] [CrossRef]
- Rajabzadeh, Y.; Rezaie, A.H.; Amindavar, H. Short-term traffic flow prediction using time-varying Vasicek model. Transp. Res. Part C Emerg. Technol. 2017, 74, 168–181. [Google Scholar] [CrossRef]
- Zhang, D. Wavelet transform. In Fundamentals of Image Data Mining; Springer: Berlin/Heidelberg, Germany, 2019; pp. 35–44. [Google Scholar]
- Huang, Y.; Chen, F. Data Interpolation of Traffic Flow Algorithm Using Wavelet Transform for Traffic Generative Modeling. IEEE J. Radio Freq. Identif. 2022, 6, 739–742. [Google Scholar] [CrossRef]
- Shafieipour, M.; Nazari, M.; Dawalibi, F.P.; Fortin, S.; Tatematsu, A.; De Silva, J.; Gómez, P. Full-Wave 3-D Transient Analysis with Method of Moments and Numerical Laplace Transform Including Resistive Non-Linear Elements. IEEE Trans. Power Deliv. 2023, 38, 299–308. [Google Scholar] [CrossRef]
- Fang, S.; Prinet, V.; Chang, J.; Werman, M.; Zhang, C.; Xiang, S.; Pan, C. MS-Net: Multi-Source Spatio-Temporal Network for Traffic Flow Prediction. IEEE Trans. Intell. Transp. Syst. 2022, 23, 7142–7155. [Google Scholar] [CrossRef]
- Sachan, A.; Kumar, N. SDN Control-Enabled and Time-Quantum-Driven Max-Pressure Approach for Intersection Management in Smart City. IEEE Syst. J. 2023, 17, 1694–1702. [Google Scholar] [CrossRef]
- Attoui, I.; Boutasseta, N.; Fergani, N. Novel Machinery Monitoring Strategy Based on Time-Frequency Domain Similarity Measurement With Limited Labeled Data. IEEE Trans. Instrum. Meas. 2021, 70, 1–8. [Google Scholar] [CrossRef]
- Fan, W.; Mamon, R. A Hybridized Stochastic SIR-Vasiček Model in Evaluating a Pandemic Emergency Financing Facility. IEEE Trans. Comput. Soc. Syst. 2023, 10, 1105–1114. [Google Scholar] [CrossRef]
- Boyd, S.; Vandenberghe, L. Convex Optimization; Cambridge University Press: Cambridge, UK, 2004. [Google Scholar]
- Huang, H.; Chen, J.; Sun, R.; Wang, S. Short-term traffic prediction based on time series decomposition. Phys. A Stat. Mech. Its Appl. 2022, 585, 126441. [Google Scholar] [CrossRef]
- Guo, H.; Cao, Z.; Seshadri, M.; Zhang, J.; Niyato, D.; Fastenrath, U. Routing multiple vehicles cooperatively: Minimizing road network breakdown probability. IEEE Trans. Emerg. Top. Comput. Intell. 2017, 1, 112–124. [Google Scholar] [CrossRef]
- Fudan University. Traffic Actual Measurement Video and Traffic Data Sharing Platform. 2008. Available online: https://traflow.fudan.edu.cn/sh.html (accessed on 30 January 2008).
Notation | Description |
---|---|
a | scale parameter of wavelet |
original traffic flow signal | |
wavelet signal with scale a | |
ith singular point’s position in real-time traffic data | |
ith singular point’s position in historical traffic data | |
weighed parameter of kth historical traffic data | |
relative error of the kth historical traffic data | |
antirandom interference factor of the kth historical traffic data | |
correction factor of the kth historical traffic data | |
current observation process | |
traffic flow prediction results from t to | |
stochastic disturbance in the traffic flow process |
Simulation Parameter | Value |
---|---|
default vehicular lane in road segment | 1 |
duration of the observation/prediction | 120 min |
interval of average traffic flow calculation | 1 min |
comparing methods’ default prediction time interval | 12 min |
maximum volume of wavelet scales | 8 |
number of training data | 5 |
level of Fourier series | 8 |
Our Proposed | Linear Regression | Kernel Regression | Fourier | |
---|---|---|---|---|
unequal interval? | Y | N | N | N |
reprediction times | 46 | 90 | 10 | 10 |
multiscale? | Y | N | N | N |
degree | 7 | - | - | 8 |
MRE | 0.841 | 1.543 | 1.021 | 1.087 |
SSE | 137.009 | 432.321 | 216.668 | 283.275 |
RMSE | 1.064 | 1.890 | 1.338 | 1.530 |
normalized computing time | 0.256 | 0.500 | 1.000 | 0.500 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 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 (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Guo, C.; Li, D.; Chen, X. Unequal Interval Dynamic Traffic Flow Prediction with Singular Point Detection. Appl. Sci. 2023, 13, 8973. https://doi.org/10.3390/app13158973
Guo C, Li D, Chen X. Unequal Interval Dynamic Traffic Flow Prediction with Singular Point Detection. Applied Sciences. 2023; 13(15):8973. https://doi.org/10.3390/app13158973
Chicago/Turabian StyleGuo, Chang, Demin Li, and Xuemin Chen. 2023. "Unequal Interval Dynamic Traffic Flow Prediction with Singular Point Detection" Applied Sciences 13, no. 15: 8973. https://doi.org/10.3390/app13158973
APA StyleGuo, C., Li, D., & Chen, X. (2023). Unequal Interval Dynamic Traffic Flow Prediction with Singular Point Detection. Applied Sciences, 13(15), 8973. https://doi.org/10.3390/app13158973