Journal of Jilin University(Engineering and Technology Edition) ›› 2024, Vol. 54 ›› Issue (9): 2531-2539.doi: 10.13229/j.cnki.jdxbgxb.20221455

Previous Articles    

Traffic speed prediction of regional complex road networks integrating CapsNet with D-BiLSTM

Jie CAO1,2(),Guang SU1,Hong ZHANG1(),Peng-hui LI1   

  1. 1.School of Computer and Communication,Lanzhou University of Technoogy,Lanzhou 730050,China
    2.School of Information Engineening,Lanzhou City University,Lanzhou 730070,China
  • Received:2022-11-14 Online:2024-09-01 Published:2024-10-28
  • Contact: Hong ZHANG E-mail:caoj@lut.edu.cn;zhanghong@lut.edu.cn

Abstract:

Due to the complex and dynamic spatio-temporal correlation of traffic patterns leads to the inadequacy of existing methods to learn traffic evolution in terms of structural depth and prediction scale. a Deep learning model combining CapsNet and deep bi-directional LSTM (D-BiLSTM) was proposed. This model was used to identify the spatial topology of road networks and extract spatial features using CapsNet,was fused with the D-BiLSTM network, taking into account both the forward and backward dependencies of traffic states, and capturing the bi-directional temporal correlations of different historical periods, to forecast traffic on large-scale complex road networks in the target region. Experiments conducted on real traffic road network speed datasets show that the prediction accuracy of the proposed model is improved by more than 10% on average, outperforming other methods, with high prediction accuracy and good robustness in traffic prediction of regional complex road networks.

Key words: capsule network, deep bidirectional LSTM, complex road network, backward dependence, traffic speed forecast

CLC Number: 

  • TP183

Fig.1

Conversion form traffic network data to image"

Fig.2

CapsNet model structure diagram"

Fig.3

Attention model structure diagram"

Fig.4

LSTM architecture diagram"

Fig.5

BiLSTM architecture diagram"

Fig.6

Structure of CapsNet+D-BiLSTM model"

Table 1

Structural parameters of the CapsNet+D-BiLSTM"

层名参数输出大小
输入-164×148×10
卷积1

卷积核=3×3

通道=128

步长=2

87×73×1281 280
卷积2

卷积核=3×3

通道=128

步长=2

40×36×128147 584
注意力-
主胶囊层

卷积核=3×3

通道=128

步长=4

9×8×128147 584
胶囊维度=81 152×8
高级胶囊层

高级胶囊=30

胶囊维度=16

1 152×8

9 216

0
双向LSTM隐藏单元=200(None,200)7 453 600
舍弃层0.2(None,200)0
全连接层-(None,278)55 875
参数总数7 808 230

Table 2

Performance comparison of CapsNet+D-BiLSTM model with other models"

模型2 min10 min20 min
MAEMAPE/%MAEMAPE/%MAEMAPE/%
CapsNet4.517 222.174 94.849 523.430 45.792 026.242 6
BiLSTM5.703 230.863 15.795 230.885 66.318 834.375 4
CNN+LSTM4.783 024.692 45.057 125.002 05.473 326.003 8
CapsNet+LSTM4.313 521.636 34.764 425.038 14.906 425.806 5
CNN+BiLSTM4.597 521.565 44.971 624.721 05.015 125.051 5
CapsNet+D-BiLSTM4.154 620.663 54.748 722.616 54.890 423.465 9

Fig.7

MAE results for each model at different time steps"

Fig.8

MAPE results for each model at different time steps"

Fig.9

Comparison of training time for each model"

Fig.10

MAE box plot at different time lag stages"

1 James J Q. Citywide traffic speed prediction: a geometric deep learning approach[J]. Knowledge-Based Systems, 2021, 212: No.106592.
2 Wu P, Huang Z, Pian Y, et al. A combined deep learning method with attention-based LSTM model for short-term traffic speed forecasting[J]. Journal of Advanced Transportation, 2020, 2020: No.8863724.
3 Navarro-Espinoza A, López-Bonilla O R, García-Guerrero E E, et al. Traffic flow prediction for smart traffic lights using machine learning algorithms[J]. Technologies, 2022, 10(1): 5.
4 Huang Z, Xu L, Lin Y. Multi-stage pedestrian positioning using filtered WiFi scanner data in an urban road environment[J]. Sensors, 2020, 20(11):No. 20113259.
5 Yang H, Li X, Qiang W, et al. A network traffic forecasting method based on SA optimized ARIMA–BP neural network[J]. Computer Networks, 2021, 193: No. 108102.
6 Kumar P B, Hariharan K. Time series traffic flow prediction with hyper-parameter optimized ARIMA models for intelligent transportation system[J]. Journal of Scientific and Industrial Research (JSIR), 2022, 81(4): 408-415.
7 Ghosh B, Dauwels J. Comparison of different Bayesian methods for estimating error bars with incident duration prediction[J]. Journal of Intelligent Transportation Systems, 2022, 26(4): 420-431.
8 Xu D, Wang Y, Peng P, et al. Real-time road traffic state prediction based on kernel-KNN[J]. Transportmetrica A: Transport Science, 2020, 16(1): 104-118.
9 Zhang L, Ma J, Liu X, et al. A novel support vector machine model of traffic state identification of urban expressway integrating parallel genetic and C-means clustering algorithm[J]. Tehnički vjesnik, 2022, 29(3): 731-741.
10 Toan T D, Truong V H. Support vector machine for short-term traffic flow prediction and improvement of its model training using nearest neighbor approach[J]. Transportation Research Record, 2021, 2675(4): 362-373.
11 Feng B, Xu J, Zhang Y, et al. Multi-step traffic speed prediction based on ensemble learning on an urban road network[J]. Applied Sciences, 2021, 11(10):No. 11104423.
12 Bao X, Jiang D, Yang X, et al. An improved deep belief network for traffic prediction considering weather factors[J]. Alexandria Engineering Journal, 2021, 60(1): 413-420.
13 Nguyen T, Nguyen G, Nguyen B M. EO-CNN: an enhanced CNN model trained by equilibrium optimization for traffic transportation prediction[J]. Procedia Computer Science, 2020, 176: 800-809.
14 Sha S, Li J, Zhang K, et al. RNN-based subway passenger flow rolling prediction[J]. IEEE Access, 2020, 8: 15232-15240.
15 Ma X, Zhong H, Li Y, et al. Forecasting transportation network speed using deep capsule networks with nested LSTM models[J]. IEEE Transactions on Intelligent Transportation Systems, 2020, 22(8): 4813-4824.
16 Abduljabbar R L, Dia H, Tsai P W. Unidirectional and bidirectional LSTM models for short-term traffic prediction[J]. Journal of Advanced Transportation, 2021, 11(1): No.5589075.
17 Wang S, Zhao J, Shao C, et al. Truck traffic flow prediction based on LSTM and GRU methods with sampled GPS data[J]. IEEE Access, 2020, 8: 208158-208169.
18 Van L T, Nguyen Q H, Le T D T. Emotion recognition with capsule neural network[J]. Computer Systems Science and Engineering, 2022, 41(3): 1083-1098.
19 Sabour S, Frosst N, Hinton G E. Dynamic routing between capsules[J]. Advances in Neural Information Processing Systems, 2017, 30:3856-3866.
[1] Sheng-sheng WANG,Chen-xu LI,Xiang-yu WANG,Zhi-lin YAO,Yi-shen LIU,Jia-qian WU,Qing-ran YANG. Brain tumor image classification based on improved residual capsule network and sparrow search [J]. Journal of Jilin University(Engineering and Technology Edition), 2022, 52(11): 2653-2661.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!