Journal of Jilin University(Engineering and Technology Edition) ›› 2025, Vol. 55 ›› Issue (7): 2251-2259.doi: 10.13229/j.cnki.jdxbgxb.20231091

Previous Articles    

Passenger flow prediction model of external transportation hub based on hybrid Transformer

Jiang-bo YU1(),Jian-cheng WENG1(),Peng-fei LIN2,Yu-xing SUN3,Jiao-long CHAI3   

  1. 1.Beijing Key Laboratory of Traffic Engineering,Beijing University of Technology,Beijing 100124,China
    2.Faculty of Information Technology,Beijing University of Technology,Beijing 100124,China
    3.Beijing Development Center of Transport,Beijing Municipal Commission of Transport,Beijing 100088,China
  • Received:2023-10-11 Online:2025-07-01 Published:2025-09-12
  • Contact: Jian-cheng WENG E-mail:y1728467259@gmail.com;youthweng@bjut.edu.cn

Abstract:

The impact of various external factors such as holidays, weather conditions, and epidemic prevention policies was considered in this paper, based on the passenger arrivals date at Beijing Capital International Airport between March 2021 and May 2023, and seven major high-speed railway stations from December 2021 to July 2023, a hybrib Transformer model integrating convolutional neural networks, long short-term memory networks is proposed for hab-to-station passenger flow prediction, analyzing the time-varying patterns of passenger flow volume at arrival stations under the influence of multiple factors. The empirical results reveal that the hybrib Transformer model outperforms conventional machine learning and deep learning models in prediction accuracy, achieving over 80% across all stations, and nearing 90% for six of them, this evidences the model's robust applicability.

Key words: engineering of communications and transportation system, external transportation hubs, intercity mobility, passenger flow prediction, hybrid Transformer model

CLC Number: 

  • U125

Table 1

Factor samples of original dataset"

因素2021/3/22021/3/22021/3/2
时间8:00~9:009:00~10:0010:00~11:00
实际抵站客流/人次5841 0322 239
预售票/张1 7751 9802 759
星期222
节假日444
月份333
季节111
风速/(m·s-1122
天气雾霾雾霾雾霾
最低温度/℃-1.2-1.2-1.2
最高温度/℃555
航班准点率/%100100100
航班数量/架次61319
新增病例数000
进返京限制政策111

Table 2

Exaple of epidemic prevention and control measures for itercity centering and returning to Beijing in Beijing"

疫情防控等级政策
第一级管控中高风险地区所在市全域人员限制进京,中高风险地区人员不得进京。全面升级北京首都国际机场、大兴国际机场防控措施。所有人员进(返)京须持48 h内核酸检测阴性证明和“北京健康宝”绿码
第二级管控有1例及以上本土新冠病毒感染者所在地级市(直辖市、副省级城市的县、市、区)其他县人员来京的须持“北京健康宝”绿码和登机登车前48 h内核酸检测阴性证明;高风险地区人员暂不许返京
第三级管控国内低风险地区进返京人员仅需持健康通行码绿码即可进京;国内中高风险地区及全域实行封闭管理的人员,原则上不能进京

Fig.1

Overall tendency of passenger flow arriving atBeijing Capital International Airport"

Fig.2

Comparison of daily variation characteristics between passenger flow and number of daily new COVID-19 cases"

Fig.3

The structures of hybrid CL-Transformer model"

Table 3

Relative importance of influencing factors"

影响因素相对重要度排序
时段属性11
航班数0.922
预售票量0.843
天气状况0.894
进返京限制政策0.855
本土新增新冠肺炎病例数0.736
准点率0.727
日期属性0.718
节假日0.659
风速0.5910
月份0.4711
季节0.3212
最低气温0.2713
最高气温014

Table 4

Optimal parameter results for different models"

模型类型模型名称最优参数
深度学习模型

LSTM、

Transformer

学习率:0.001

Epoch:150

批大小:48

优化器:Adam

CNN-Transformer、

LSTM-Transformer、

CL-Transformer

学习率:0.001

Epoch:150

批大小:128

优化器:Adam

机器学习模型GBDT

评估器数量:1 000

最大深度:7

最小样本数量:50

学习率:0.002

Table 5

Performance comparison of different passenger flow predicting models"

场站验证指标GBDTLSTMTransformerCNN-TransformerLSTM-TransformerCL-Transformer
北京首都国际机场MAE375.98269.8230.6134.6144.888.6
RMSE432.01359.1462.3196.1191.9134.4
Accuracy/%71.880.172.587.586.691.8
北京站MAE723.6875.9676.8538.9746.2440.3
RMSE1 824.34 868.32 470.22 388.92 486.92 222.3
Accuracy/%43.266.874.379.571.783.3
北京西站MAE1 379.5943.2634.3784.31 020590
RMSE2 657.64 155.62 360.42 997.52 954.91 418.3
Accuracy/%51.282.488.285.38189
北京南站MAE1 877.61 336.71 242.7958.61 515.4697.4
RMSE3 728.94 034.23 375.53 951.33 881.73 088.5
Accuracy/%39.579.781.185.477.189.4
北京北站MAE139.1202.262.443.4106.729.13
RMSE187.8423.283.770.7175.451.8
Accuracy/%54.864.989.292.58195.9
清河站MAE244.656.4134.345.1164.344.7
RMSE420129.8195.7115.2322.5117.6
Accuracy/%43.193.484.394.880.994.8
北京朝阳站MAE501.5734.8623.6533.9762492.7
RMSE2 108.74 648.33 811.93 523.73 675.83 337.1
Accuracy/%37.561.165.368.955.581.3
北京丰台站MAE648.1505.2634.37460.9813.5350.6
RMSE1 269.81 308.91 769.91 500.81 861.31 289.6
Accuracy/%46.675.769.677.96183

Fig.4

Comparison of prediction results from different models for arrival passenger flow at various hubs"

[1] 刘咏. 城市对外综合客运枢纽功能定位及相关问题研究[D]. 四川:西南交通大学交通运输学院, 2008.
Liu Yong. Research on functional orientation and related issues of urban comprehensive passenger transport hubs[D]. Sichuan: School of Trarsportation, Southwest Jiaotong University, 2008.
[2] Liu L, Chen R C, Zhu S. Passenger flow prediction using weather data for metro systems[C]∥Proceedings of the 2018 Conference on Technologies and Applications of Artificial Intelligence. Taichung: IEEE, 2018: 70-73.
[3] 巫威眺, 曾坤, 周伟, 等. 基于多源数据和响应面优化的公交客流预测深度学习方法[J]. 吉林大学学报:工学版, 2023, 53(7): 2001-2015.
Wu Wei-tiao, Zeng Kun, Zhou Wei, et.al. Deep learning method for bus passenger flow prediction based on multi-source data and surrogate-based optimization[J]. Journal of Jilin University(Engineering and Technology Edition), 2023, 53(7): 2001-2015.
[4] Guo Z, Zhao X, Chen Y, et al. Short‐term passenger flow forecast of urban rail transit based on GPR and KRR[J]. IET Intelligent Transport Systems, 2019, 13(9): 1374-1382.
[5] Zhang J, Chen F, Cui Z, et al. Deep learning architecture for short-term passenger flow forecasting in urban rail transit[J]. IEEE Transactions on Intelligent Transportation Systems, 2021, 22(11): 7004-7014.
[6] Sha S, Li J, Zhang K, et al. RNN-based subway passenger flow rolling prediction[J]. IEEE Access, 2020, 8: 15232-15240.
[7] Jiao F, Huang L, Song R, et al. An improved STL-LSTM model for daily bus passenger flow prediction during the COVID-19 pandemic[J]. Sensors, 2021, 21(17): No.5950.
[8] Zhang L, Yang H, Wang K, et al. The impact of COVID-19 on airline passenger travel behavior: An exploratory analysis on the chinese aviation market[J]. Journal of Air Transport Management, 2021, 95: No.102084.
[9] Qian H, Yang Z, Weng J, et al. Short-term passenger flow prediction of metro stations around sports events based on afc data[C]∥The 20th COTA International Conference of Transportation Professionals, Online,2020:70-73.
[10] Hochreiter S, Schmidhuber J. Long short-term memory[J]. Neural Computation, 1997, 9(8): 1735-1780.
[11] 张惠臻, 高正凯, 李建强, 等. 基于循环神经网络的城市轨道交通短时客流预测[J]. 吉林大学学报:工学版, 2023, 53(2): 430-438.
Zhang Hui-zhen, Gao Zheng-kai, Li Jian-qiang, et al. Short⁃term passenger flow forecasting of urban rail transit based on recurrent neural network[J]. Journal of Jilin University(Engineering and Technology Edition), 2023,53(2): 430-438.
[12] Zhang X, Zhong S, Mahadevan S. Airport surface movement prediction and safety assessment with spatial–temporal graph convolutional neural network[J]. Transportation Research Part C: Emerging Technologies, 2022, 144: No.103873.
[13] Zhang J, Che H, Chen F, et al. Short-term origin-destination demand prediction in urban rail transit systems: a channel-wise attentive split-convolutional neural network method[J]. Transportation Research Part C: Emerging Technologies, 2021, 124: No. 102928.
[14] Cheng Z, Lu J, Zhou H, et al. Short-term traffic flow prediction: an integrated method of econometrics and hybrid deep learning[J]. IEEE Transactions on Intelligent Transportation Systems, 2022, 23(6): 5231-5244.
[15] Hu S, Xiong C. High-dimensional population inflow time series forecasting via an interpretable hierarchical transformer[J]. Transportation Research Part C: Emerging Technologies, 2023, 146: No.103962.
[16] Zhou H, Li J, Zhang S, et al. Expanding the prediction capacity in long sequence time-series forecasting[J]. Artificial Intelligence, 2023, 318: No. 103886.
[17] Ramana K, Srivastava G, Kumar M R, et al. A vision transformer approach for traffic congestion prediction in urban areas[J]. IEEE Transactions on Intelligent Transportation Systems, 2023, 24(4): 3922-3934.
[18] Fisher A, Rudin C, Dominici F. All models are wrong, but many are useful: Learning a variable's importance by studying an entire class of prediction models simultaneously[J]. Journal of Machine Learning Research, 2019, 20: 1-8.
[1] Shu-shan CHAI,Zhi-qiang ZHOU,Hai-tao LI,Jiong-yang XU. Real-time road network traffic anomaly incident detection based on graph spatial-temporal pattern learning network [J]. Journal of Jilin University(Engineering and Technology Edition), 2025, 55(7): 2145-2161.
[2] Hong-zhuan ZHAO,Ze-jian WU,Xin ZHANG,Sheng-wen SHI,Wen-yong LI,Xin ZHAN,En-yong XU,Jia-ming WANG. Curve lattice model for connected commercial vehicles based on density dispersion and information transmission delay [J]. Journal of Jilin University(Engineering and Technology Edition), 2025, 55(6): 2015-2029.
[3] Yi-yong PAN,Jia-cong XU,Yi-wen YOU,Yong-jun QUAN. Multi-scale spatial heterogeneity analysis of influencing factors of ride-hailing travel demand [J]. Journal of Jilin University(Engineering and Technology Edition), 2025, 55(5): 1567-1575.
[4] Kai-ming LU,Yan-yan CHEN,Yao TONG,Jian ZHANG,Yong-xing LI,Ying LUO. Data-driven prediction of departure state for tail vehicles in queues at signalized intersections [J]. Journal of Jilin University(Engineering and Technology Edition), 2025, 55(4): 1275-1286.
[5] He-shan ZHANG,Meng-wei FAN,Xin TAN,Zhan-ji ZHENG,Li-ming KOU,Jin XU. Dense small object vehicle detection in UAV aerial images using improved YOLOX [J]. Journal of Jilin University(Engineering and Technology Edition), 2025, 55(4): 1307-1318.
[6] Jiao-rong WU,Xu-dong LIU. Analysis of influence of built environment of spatial units of different housing types on commuting mode choice [J]. Journal of Jilin University(Engineering and Technology Edition), 2025, 55(2): 554-565.
[7] Fa-cheng CHEN,Guang-quan LU,Qing-feng LIN,Hao-dong ZHANG,She-qiang MA,De-zhi LIU,Hui-jun SONG. Review of drivers' takeover behavior in conditional automated driving [J]. Journal of Jilin University(Engineering and Technology Edition), 2025, 55(2): 419-433.
[8] Yong-ming HE,Jia FENG,Kun WEI,Ya-nan WAN. Analysis on influencing factors of vehicle braking sideslip in curved section of superhighway [J]. Journal of Jilin University(Engineering and Technology Edition), 2025, 55(2): 591-602.
[9] Jie MA,Zhi-li LIU,Shu-ling WANG,Hao DONG. Passenger flow prediction at entrance and exit of rail transit stations:a case study of Beijing [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(8): 2197-2205.
[10] Zhao-wei QU,Lin LI,Yong-heng CHEN,Chang-jian WU. Traffic characteristics and safety analysis of long interval U-turn intersections [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(8): 2206-2213.
[11] Yong-ming HE,Cong QUAN,Kun WEI,Jia FENG,Ya-nan WAN,Shi-sheng CHEN. Perceptual fusion method of vehicle road cooperation roadside unit in superhighway [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(7): 1923-1934.
[12] Guo-zhu CHENG,Lin SHENG,Hao-yu WANG,Tian-jun FENG. Safety evaluation method for pedestrians crossing street at signalized intersection considering secondary conflict of right-turn vehicles [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(7): 1903-1912.
[13] Ming-ye ZHANG,Min YANG,Yu LI,Shi-yu HUANG,Qing-yun LI. Optimal electric bus scheduling with multiple vehicle types considering coordinated recharging strategy [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(5): 1293-1301.
[14] Da-yi QU,Ke-kun ZHANG,Yuan GU,Tao WANG,Hui SONG,Shou-chen DAI. Analysis of lane⁃changing decision⁃making behavior and molecular dynamics modeling for autonomous vehicles [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(3): 700-710.
[15] De-lin LI,Jun-xian CHEN,Yong-gang WANG,Lu WANG,Zhao-qing SHEN. Identification of driving behavior on steep sharp curves based on latent class model [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(12): 3526-3533.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!