公交协同优化的时空 Transformer-STGNN 混合强化学习方法
张韫博 , 周雪梅 , 王沛钰 , 徐傲 , 戴咏奇
交通信息与安全 ›› 2026, Vol. 44 ›› Issue (1) : 101 -112.
公交协同优化的时空 Transformer-STGNN 混合强化学习方法
A Spatio-temporal Transformer-STGNN Hybrid Reinforcement Learning Method for Bus Cooperative Optimization
为解决公交动态越站与驻站多策略协同中局部决策引发全局连锁延误及多重目标冲突的难题,研究了1种融合Transformer与时空图神经网络的动态协同优化模型。构建双向交互的感知与预知时空特征提取架构。利用时空变换器的空间注意力机制提取公交站点的动态依赖关系,生成自适应权重矩阵并作为动态邻接矩阵输入时空图神经网络。该网络结合图卷积网络与因果扩张卷积,预测客流积压与延误传播风险,并将预知风险评分反向传递至时序注意力层。此闭环反馈机制通过风险驱动调整权重,量化了单一调度决策产生的时空非线性连锁效应。设计了1种嵌套改进遗传算法与深度双Q网络的混合强化学习框架。利用遗传算法的全局广度搜索生成帕累托前沿解集,将其作为深度双Q网络的初始策略空间;同时,在多目标奖励函数中引入时空图神经网络的风险评分作为安全约束惩罚,以此权衡车辆运行效率与乘客出行成本,输出动态越站与驻站协同控制策略。基于佛山市101路公交线路高峰时段运营数据开展仿真实验。结果表明,该策略控制了车头时距波动,避免了公交车辆的连续串车现象。在乘客平均等待时间增加0.83%的前提下,乘客平均在途时间减少约24.7%,同时缩短了车辆整体在途时间并提升了站间行驶速度。相比传统单一深度强化学习算法,该混合算法具备更少的迭代次数与更小的寻优误差。适用于高频发车的城市干线公交实时协同调度,能在控制时空风险传播的前提下实现多调度策略的动态平衡。
To address multi-objective conflicts and global ripple delays caused by local decisions, a dynamic cooperative optimization model is investigated. This model integrates a Spatio-Temporal Transformer and a spatiotemporal graph neural network (STGNN). A bidirectional interactive architecture for the perception and anticipation of spatio-temporal features is constructed. Dynamic dependencies of bus stops are extracted using the spatial attention mechanism of the Transformer. An adaptive weight matrix is generated and subsequently inputted into the STGNN as a dynamic adjacency matrix. This network combines graph convolutional networks and causal dilated convolutions to predict risks of passenger accumulation and delay propagation. The anticipated risk scores are reversely transmitted to the temporal attention layer. Driven by risks, this closed-loop feedback mechanism adjusts the weights. Thereby, the nonlinear ripple effects in space and time generated by single scheduling decisions are quantified. A hybrid reinforcement learning framework is designed. An improved genetic algorithm (GA) and a Deep Double Q-Network (DDQN) are nested in this framework. A Pareto front solution set is generated using the global broad search of the GA. This set serves as the initial strategy space for the DDQN. Simultaneously, the risk scores from the STGNN are introduced into the multi-objective reward function as safety constraint penalties. Consequently, the operational efficiency of vehicles and the travel costs of passengers are balanced. Thus, optimal coordinated control strategies for stop-skipping and holding are generated. Simulation experiments are conducted based on the operational data of Foshan Bus Route 101 during peak hours. The results indicate that the fluctuations in headways are controlled by this strategy. Furthermore, the continuous bus bunching phenomenon is successfully avoided. Under the premise of a 0.83% increase in the average passenger waiting time, the average passenger in-vehicle time is reduced by approximately 24.7%. Meanwhile, the overall vehicle travel time is shortened, and the driving speed between stops is improved. Compared with traditional single deep reinforcement learning algorithms, this hybrid algorithm exhibits fewer iteration counts and smaller optimization errors. The proposed model is applicable to the real-time cooperative scheduling for urban trunk buses with high-frequency departures. A dynamic balance of multiple scheduling strategies is achieved under the premise of controlling risk propagation.
| [1] |
彭刚 . 基于多源数据的公交客流预测及发车时刻表优化方法研究[D]. 大连: 大连海事大学, 2023. |
| [2] |
|
| [3] |
焦峰 . 基于多源数据融合的城市公交客流预测与预警研究[D]. 北京: 北京交通大学, 2023. |
| [4] |
|
| [5] |
孙世超, 吕豪 . 大数据环境下基于职住地识别的公交通勤行为判断与特征分析[J]. 上海海事大学学报, 2023, 44(4): 45-50. |
| [6] |
|
| [7] |
邓红星, 韩树鑫 . 基于手机信令数据的城市居民出行特征季节性差异分析[J]. 重庆理工大学学报(自然科学), 2022, 36(9): 202-210. |
| [8] |
|
| [9] |
王鹏飞 . 实时供需信息条件下城市公交运营优化策略研究[D]. 南京: 东南大学, 2022. |
| [10] |
|
| [11] |
赵小梅, 朱香原, 汪秦, |
| [12] |
|
| [13] |
卢凯, 夏小龙, 胡建伟, |
| [14] |
|
| [15] |
温惠英, 张东冉, 陆思园 . GA—LSTM模型在高速公路交通流预测中的应用[J]. 哈尔滨工业大学学报, 2019, 51(9): 81—87, 95. |
| [16] |
|
| [17] |
|
| [18] |
|
| [19] |
|
| [20] |
周文竹, 汪琦, 王楠 . 交通视角下防御单元的适应性规划策略——基于突发公共卫生安全事件的思考[J]. 城市交通, 2021, 19(6): 71—80,90. |
| [21] |
|
| [22] |
宋钰 . 基于多源数据的城市交通需求时空格局演化及驱动机理[D]. 大连: 大连海事大学, 2023. |
| [23] |
|
| [24] |
卢凯, 田鑫, 林观荣, |
| [25] |
|
| [26] |
|
| [27] |
|
| [28] |
|
| [29] |
|
| [30] |
|
| [31] |
|
| [32] |
|
| [33] |
|
| [34] |
|
| [35] |
|
| [36] |
|
| [37] |
奇格奇, 曹琳琪, 沈益达, |
| [38] |
|
| [39] |
郑乐, 高良鹏, 沈金星, |
| [40] |
|
| [41] |
|
| [42] |
|
| [43] |
|
| [44] |
戴小文, 宋建霖, 岳丽全 . 仿人智能控制理论及应用研究进展. 自动化学报, 2020, 41(1): 1-13. |
| [45] |
|
| [46] |
邓中杰, 茅云生, 董早鹏, |
| [47] |
|
| [48] |
唐军, 钱明炎, 陈善颖, |
| [49] |
|
| [50] |
|
国家自然科学基金面上项目(52372318)
/
| 〈 |
|
〉 |