[关键词]
[摘要]
为解决地铁短时进站客流预测中多粒度时间特征融合不足、站点空间关联异质性刻画不充分等问题,提 出一种融合多粒度感知与图注意力机制的地铁短时客流预测模型(multi-granularity and attention-enhanced passenger flow,MGAPF)。模型在时间维度构建 4 种不同感受野的一维卷积分支,并通过粒度注意力机制自适应融合多尺 度时间特征;在空间维度引入图注意力机制,动态学习邻接站点间的关联强度;同时融合节假日、周末及天气等 外部特征,并结合门控融合结构、残差连接和 Transformer 编码器完成时空特征交互与预测输出。基于杭州市地铁 真实运营数据的实验结果表明,在 10 min 与 30 min 客流预测任务中,MGAPF 的 MAPE(平均绝对百分比误差)分 别达到 16.93%与 9.52%,相较次优模型分别下降约 4.5%与 7.8%,且在 MAE(平均绝对误差)、RMSE(均方根误差) 及预测稳定性方面表现更优,表明融合多时间粒度特征、站点空间关联及外部影响因素能够有效提升地铁短时进 站客流预测的精度与稳定性。
[Key word]
[Abstract]
To address the insufficient fusion of multi-granularity temporal features and inadequate modeling of spatial heterogeneity among stations in short-term metro inbound passenger flow forecasting, this paper proposes the Multi-Granularity and Attention- enhanced Passenger Flow Prediction model (MGAPF). In the temporal dimension, four one-dimensional convolutional branches with different receptive fields are constructed, and a granularity attention mechanism is used to adaptively fuse multi-scale temporal features. In the spatial dimension, a graph attention mechanism is introduced to dynamically learn the correlation strengths among adjacent stations. External temporal contextual features, including holidays, weekends, and weather conditions, are also incorporated. A gated fusion structure, residual connections, and a Transformer encoder are further combined to perform spatiotemporal feature interaction and generate prediction outputs. Experimental results based on real operational data from Hangzhou Metro show that MGAPF achieves MAPE values of 16.93% and 9.52% in the 10-minute and 30-minute forecasting tasks, respectively, representing error reductions of approximately 4.5% and 7.8% compared with the second-best baseline model. MGAPF also performs better in terms of MAE, RMSE, and prediction stability, indicating that the fusion of multi-granularity temporal features, spatial correlations among stations, and external factors can effectively improve the accuracy and stability of short-term metro inbound passenger flow prediction.
[中图分类号]
U231
[基金项目]
广西科技重大专项(桂科 AA23062021-2);国铁集团科研开发计划课题(P2025X002)