Conceptio › Archive › NCBI PubMed Central
NCBI PubMed Central open access

Optimization of train real-time dynamic scheduling under unexpected events in high-speed railway based on MAPPO.

Tang Z et al. · ncbi_pmc
NCBI PubMed Central · Papers
Open Source ↗Direct PDF ↓
computer-science-education
Conceptio Open Archive

Analyze & explore related research in Conceptio

Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.

Optimization of train real-time dynamic scheduling under unexpected events in high-speed railway based on MAPPO - PMC Skip to main content An official website of the United States government Here's how you know Here's how you know Search Log in Primary site navigation Search Log in Search PMC Full-Text Archive Search in PMC Journal List User Guide As a library, NLM provides access to scientific literature. Inclusion in an NLM database does not imply endorsement of, or agreement with, the contents by NLM or the National Institutes of Health. Learn more: PMC Disclaimer | PMC Copyright Notice Sci Rep . 2026 Apr 27;16:19300. doi: 10.1038/s41598-026-50132-x Optimization of train real-time dynamic scheduling under unexpected events in high-speed railway based on MAPPO Ziyue Tang 1, 4 , Piao Huang 2 , Jianping Sun 3, ✉ Author information Article notes Copyright and License information 1 School of Information Engineering, Nanchang Hangkong University, Nanchang, China 2 School of Information and Software Engineering, East China Jiaotong University, Nanchang, China 3 School of Transportation Engineering, East China Jiaotong University, Nanchang, China 4 Institute of Computer Science, Freie Universität Berlin, Berlin, Germany ✉ Corresponding author. Received 2025 Sep 5; Accepted 2026 Apr 20; Collection date 2026. © The Author(s) 2026 Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ . PMC Copyright notice PMCID: PMC13284176  PMID: 42045543 Abstract With the expansion of high-speed railway networks and the increase in traffic density, delay propagation caused by unexpected events such as equipment failures, natural disasters, and safety incidents has become more pronounced. Traditional approaches, including mixed-integer programming and fireworks algorithm-based optimization, perform well under stable conditions but are less suitable for dynamic situations with multiple interacting trains. To address this issue, this paper proposes a dynamic scheduling framework based on multi-agents proximal policy optimization, with the goal of reducing train delays. In this framework, each train is treated as an independent agent within a distributed decision structure and makes decisions based on local observations described by 11-dimensional state features. A composite rewards mechanism is designed by combining punctuality incentives, safety headway constraints, speed control rules, and rewards and penalties related to minimum dwell time. A centralized training with decentralized execution strategy is adopted to improve coordination among agents. Results from case studies show that the method can effectively mitigate delay propagation under disruption conditions. The average station punctuality rate reaches 56.3%, the average terminal punctuality rate reaches 91.6%, and key trains achieve 100% terminal punctuality, indicating that the approach is applicable in complex railway systems. Keywords: Emergencies, High-speed railroad, Integrated rewards mechanism, Multi-agents proximal policy optimization, Real-time dynamic scheduling Subject terms: Engineering, Mathematics and computing Introduction High-speed railways serve as the backbone of the integrated transportation network, and the stability of their operations is closely tied to economic activity and social mobility. As the network continues to expand and traffic density increases, delay propagation caused by disruptions such as equipment failures, natural disasters, and safety incidents has become more evident. According to data from the China State Railway Group, disruption-related delays accounted for 42% of all delay events in 2023, with an average propagation factor of 3.2, significantly reducing transport efficiency and passenger satisfaction 1 . A considerable amount of research has been conducted on train delay propagation caused by disruptions. Zeng Yi et al. 2 (2022) developed a constraint-based train operation model to support intelligent scheduling by identifying key constraints and optimization objectives. Ding Shuxin et al. 3 (2022) proposed a multi-objective mixed-integer programming (MIP) model that minimizes both delay time and track adjustment, achieving a balance between efficiency and resource utilization. Wu Han et al. 4 (2024) applied a fireworks algorithm to optimize timetable adjustments and verified its effectiveness through a case study. Liao Zhiwen et al. 5 (2022) introduced a priority-based rescheduling model that reduces disturbances and accelerates recovery compared with conventional sequencing strategies. Liang Jin et al. 6 (2022) applied a human–machine interactive multi-objective particle swarm optimization algorithm to optimize train operations. By combining operation mode classification with an adaptive fuzzy system for real-time adjustment, energy consumption was reduced by 12%. Zhang Fengqin 7 (2020) proposed an intelligent adjustment approach for train operation plans based on a chaotic firefly algorithm. By incorporating passenger satisfaction indicators and stochastic intuitionistic fuzzy decision-making into a weighted multi-objective framework, the model effectively reduces delays and limits their impact range. Liang Shanshan et al. 8 (2025) further established a two-stage adjustment model under snow and ice disaster scenarios. The first stage minimizes total train delay time by optimizing the timetable, while the second stage minimizes track changes to adjust station resource allocation. The feasibility of the model under complex conditions was verified. Mohammad Abbasi et al. 9 (2024) addressed congestion caused by port disruptions in intermodal freight networks by developing a multi-objective linear programming model to simultaneously optimize cost and emissions and validated its effectiveness using a real case in Italy. Kou Ruirui et al. 10 (2023) proposed a two-stage method for high-speed railway train rescheduling under single-track failure scenarios, with the objective of minimizing total arrival delay time, providing an effective solution for complex disruption conditions. Existing studies have achieved progress in scheduling optimization through mathematical programming models, improvements in intelligent algorithms, and human–machine interaction mechanisms, particularly in multi-objective coordination and adaptation to specific scenarios. However, they generally rely on predefined rules and lack real-time responsiveness. In recent years, with the rapid development of artificial intelligence, reinforcement learning has shown strong potential in train timetable rescheduling because it can improve decisions through trial-and-error learning in dynamic environments. Liu J et al. 11 (2024) proposed a Q-learning-based method that uses a hierarchical rewards structure and a lightweight state representation based on train directions. This approach improves learning efficiency and knowledge sharing, and it can also solve more complex problems on the same line by reusing learned knowledge. Han Xinchen et al. 12 (2021) developed a real-time dynamic scheduling model for high-speed rail based on Q-learning, with the objective of minimizing total train delay. By constructing an interactive simulation environment, the model enables intelligent decision-making and effectively addresses cascading delays caused by disruptions. Yu Shengping et al. 13 (2022) further improved Q-learning by introducing a policy gradient-based method to enhance decision quality. Dai Xuewu et al. 14 (2022) proposed a model-free reinforcement learning approach for train group rescheduling under disruption scenarios, which significantly reduces delay propagation within the train group. Pang Zishuai et al. 15 (2023) developed a timetable adjustment model based on proximal policy optimization, aiming to minimize total delay. Jiang Lingming et al. 16 (2023) designed upbound and downbound trains as independent agents for competitive learning, which effectively addresses the limitations of single-agent methods in large-scale scenarios. Yang Xue et al. 17 (2023) applied the DDPG algorithm to establish a dynamic scheduling model for high-speed trains, with the dual objectives of minimizing total delay and total energy consumption. Experimental results show that the model can effectively handle delay propagation caused by unexpected events and provide support for dispatching decisions. Overall, reinforcement learning methods have improved learning efficiency, reduced delay propagation, and optimized energy consumption through techniques such as hierarchical rewards design, multi-agents competitive learning, and multi-objective optimization. However, most existing studies still focus on single-train decision-making or local interaction patterns and lack global coordination in system-level scheduling. Compared with the above studies, the dynamic scheduling framework proposed in this paper, which is based on Multi-Agents Proximal Policy Optimization (MAPPO), is fundamentally different in its underlying mechanism. Unlike the single-agent reinforcement learning approaches adopted in 11 – 13 , 15 , 17 , the MAPPO framework uses a multi-agent distributed decision-making structure, where each train is modeled as an independent agent. This design is more consistent with the real-world situation in which multiple trains make decisions simultaneously. In addition, different from the competitive learning paradigm used in 16 , the proposed framework is built on a centralized training with decentralized execution mechanism. During the training phase, a centralized critic network learns global state information to coordinate the behavior of all agents, while in the execution phase, each agent makes decisions based only on local observations, enabling fast responses while maintaining coordinated system-level optimization. It is also worth noting that the centralized training with decentralized execution framework has good scalability. It has been validated in a number of large-scale multi-agents applications and can effectively support scenarios with a growing number of agents without significant loss in learning efficiency or coordination performance 18 , 19 . This mechanism effectively addresses the limitations of traditional approaches that rely on predefined rules and lack real-time responsiveness, as well as the challenge of limited global coordination in existing reinforcement learning methods. Building on this, a MAPPO approach is developed. A distributed decision-making structure is constructed in which each train is treated as an independent agent and makes decisions based on local observations. A composite rewards function is designed by integrating punctuality, safety headway, speed control rules, and minimum dwell time requirements. In addition, a centralized training with decentralized execution framework is established to achieve coordinated optimization of agent behaviors. In a case study on the Shanghai–Kunming High-Speed Railway in China, the proposed method demonstrates clear advantages under typical disruption scenarios, including speed restrictions caused by equipment failures and track occupancy due to severe weather conditions. These results provide a new theoretical framework and practical foundation for intelligent scheduling in complex transportation systems. Problem description Under ideal operating conditions, all trains strictly follow the predefined timetable and run in an orderly manner within a network consisting of stations A to E and Sections " Introduction to Train Operation Optimization Decision MakingBased on MAPPO ". In this case, the spatiotemporal trajectories of trains appear as parallel lines with stable spacing on the timetable, forming a predictable and well-organized operation process. However, the railway operating environment involves significant uncertainty, and various disruptions, such as the fault occurring near station C in Section " Optimization model for timetables " as shown in Fig. 1 , can easily disrupt this stable operating state. Fig. 1. Open in a new tab Knock-on delay propagation under disruption event. Due to the strong spatiotemporal dependence and tight coupling of train operations in high-speed railway systems, local disruptions can trigger cascading effects. When a fault occurs, train operations at station C are disrupted, and the actual departure time is forced to be delayed. As a result, the planned safety headway with preceding and following trains is significantly reduced and may even fall below the minimum allowable threshold specified by operational regulations. The initial departure delay at station C is not an isolated event but serves as the source of subsequent disruption to the operating order, propagating along the line in a cascading manner. The delay causes later passage times in subsequent sections to be postponed, occupying the planned paths and time windows of following trains and forcing successive delays in their arrival, departure, and dwell times at downstream stations. Under the continued impact of the disruption, the deviation between actual and scheduled train trajectories gradually increases. This eventually leads to the failure of the original timetable, with widespread shifts in train arrival and departure times, a reduction in network capacity, and a significant decline in transport efficiency, ultimately resulting in large-scale train delays. Optimization model for timetables The high-speed railway system consists of trains, tracks, and stations, and delays within the system can trigger significant cascading effects that disrupt the normal operation of specific sections. To maintain overall network efficiency and ensure the punctuality of key trains, multiple trains within a given area are incorporated into a coordinated scheduling framework. The objective is to quickly and effectively coordinate train positions, speeds, and timing plans, and to apply appropriate combinations of adjustment measures at suitable moments, so as to minimize the total delay caused by disruptions while satisfying all operational safety constraints. Each train agent makes sequential decisions on operation adjustment and resource allocation based on dispatching center instructions or its own strategy. Operation adjustment includes speed control and stop–start actions, while resource allocation involves route selection or dynamic priority adjustment. Based on this, an optimization model is established with the objective of minimizing the total delay of both regular and key trains Eq. ( 1 ), subject to the corresponding constraints Eq. ( 2 ). 1 2 Equation ( 1 ) takes the minimization of delay as the objective function, where is the key vehicle delay weight; for key train collection ; for ordinary train collection; for single-train delay time. Equation ( 2 ) is the optimization model constraint, where denotes the difference between the actual arrival time and the planned arrival time of the computed train g and takes a non-negative value (the delay is 0 if the arrival is early, otherwise it is positive). This is the delay variable defined for the penalty term in the objective function; is the position of train g at moment t ; denotes that at any moment, the positional distance (in absolute value) between any two different trains must remain at least 10 km. The minimum safe distance constraint (10 km) adopted in this study is a conservative simplified model designed for proof of concept, and its value is equivalent to the safety interval required by a worst-case moving block system. is the actual stopping time of train g at station s . denotes the minimum stopping time required by station s . is the speed of train g at moment t ; means that the train must operate at a speed between 0 km/h and 352 km/h at any given moment t ; indicates that the absolute value of the amount of velocity change (acceleration) in adjacent moments needs to be ≤ 10 km/h; is the key train identification; To reflect the high priority of key trains, the model imposes restrictions on the temporal adjustment flexibility of regular trains. The constraint is defined as: . Here, is a binary variable (where = 1 for key trains and = 0 for regular trains). This formulation implies that for regular trains ( = 0), their temporal adjustment must not exceed the maximum allowable value . For key trains ( = 1), the right-hand side of the constraint becomes zero, enforcing ≤ 0. This mechanism strictly requires key trains to adhere to their original scheduled timestamps as closely as possible, thereby prioritizing resource allocation in their favor. Train operation optimization decision making based on MAPPO In order to solve the optimization decision of multi-train operation in high-speed railroads under unexpected events, this study designs the MAPPO Real-time dynamic scheduling framework shown in Fig. 2 , the core of which is a closed-loop adaptive real-time interaction system composed of train intelligences. The operation mechanism of the system is as follows: the train intelligent body continuously collects 11-dimensional state feature vectors in the high-speed railway operation environment (Table 1 ), covering the dynamics of disturbance events, real-time train status, line resource constraints and scheduling target indicators, to realize holographic sensing of the operation situation. Based on the current local observation, the intelligent body calls the neural network policy model frozen after online training by the MAPPO algorithm, and generates five types of discrete action decisions in the distributed execution mode (Table 2 ): ± 10 km/h precise speed regulation or speed maintenance in interval operation, and mandatory starting or extended stopping in station stopping, and rigidly integrates the safety constraints through the state-action correlation mechanism. After the generated speed regulation or start-stop commands are applied to the high-speed rail simulation environment, the environment updates the spatio-temporal state of the train based on the train dynamics model, tracking interval rules and resource occupation logic, and computes the composite rewards feedback synchronously. The intelligent body then observes the updated state of the environment, forming a millisecond-level closed-loop control flow of “perception → decision-making → execution → evaluation” until all trains arrive at the terminal. The following schematic diagram shows the interaction mechanism, and the state space, Discrete action set, rewards function and training process of the intelligent body are described in detail below. Fig. 2. Open in a new tab Train adjustment agent decision process. Table 1. multi-agent observation space representation. State type State name Identifier Range of values Disturbance event information impact location Event duration recovery time Train state information Train Section Location Train Speed Stopping State Stopping Time Line resource information Number of Station Arrivals and Departure Section Capacity Dispatch target information Key train identification Timetable offset Open in a new tab is the total length of the line (km), is the maximum simulation time, is the maximum permissible stopping time (min), indicates the total number of sections, is the maximum speed (km/h), and is the maximum permissible delay (min). Table 2. Space representation of agent’s actions. Action type Action name Action ID Outside the station Accelerate Decelerate Maintain speed Inside the station Continue to stop Departure Open in a new tab Multi-agent observation spaces The design of the multi-agent state space follows the system-level requirements of coordinated decision-making and is constructed based on the key elements of train operation control to form a multidimensional feature representation. The state space of each agent includes four categories of information: disruption-related information, train status information, line resource information, and scheduling objective information. A total of 11-dimensional feature vectors are used to encode the global operating state of trains. The main feature dimensions include train identity, spatiotemporal status, operating conditions, station association, safety status, and departure control. Detailed descriptions of the state variables corresponding to train operation adjustment decisions, including their types, names, symbols, dimensions, value ranges, and units, are provided in Table 1 . Agent discrete action sets In this study, the train action set is defined as five discrete actions, whose physical meanings are dynamically adapted according to the train operating state. During section operation, the available actions include speed adjustments of ± 10 km/h and maintaining the current speed. During station dwell, the actions include departure and extended stopping. A state–action coupling mechanism is constructed through constraint logic: the departure action is disabled when departure conditions are not satisfied, and it is prohibited when the section ahead is occupied, thereby enforcing operational safety constraints. The types, names, symbols, value ranges, and units of the five actions are listed in Table 2 . Rewards function design The rewards function is primarily designed around operational safety and delay control. To ensure trains arrive on schedule, the function imposes penalties for delays, with the severity escalating as delay duration increases—particularly at critical hub stations—to mitigate impacts on overall scheduling efficiency. Simultaneously, early arrivals may disrupt operational fluidity and are therefore also penalized to maintain schedule adherence. Operational safety serves as the foundational requirement for scheduling optimization. Train spacing must remain above safety thresholds; violations trigger substantial penalties to prevent collision risks. Furthermore, abrupt speed fluctuations may compromise operational stability, necessitating penalties for sharp acceleration or deceleration to ensure smooth and safe travel. In summary, the rewards function aims to minimize delays while guaranteeing safety margins and operational stability, enabling the learning agent to develop optimized scheduling strategies for reliable high-speed railway operations. The specific rewards function configuration is detailed below: Delay in improving rewards. Let denote the delay improvement rewards, whose rewards value is dynamically adjusted based on the difference between the current delay and the delay at the previous moment. 3 In the formula, represents the delay improvement rewards; represents the current delay; represents the delay at the previous time step; represents the difference between the current delay and the delay at the previous time step; represents the intersection; represents the delay improvement rewards coefficient. (2) On-time Arrival Rewards. Let denote the on-time train arrival rewards, whose rewards value decays by deviation within the station on-time window ( minutes) 20 . 4 In the formula, denotes the punctuality arrival bonus; represents the train’s actual arrival time at station s , denotes the train’s scheduled arrival time at station s ; indicates the punctuality arrival bonus coefficient; s represents the station number. (3) rewards for reaching the final destination. Let denote the differentiation of incentives based on the percentage of terminal delays and the type of train。 5 In the formula, denotes the terminal arrival rewards; term represents the terminal arrival rewards coefficient; f indicates the gain coefficient for trains stopping at major stations; signifies the current delay; 60 denotes 60 min, representing the maximum acceptable delay threshold at the terminal station. (4) Safe Operation Rewards. Let denote the safety threshold mechanism based on the distance from the front vehicle. 6 In the formula, denotes the safety operation rewards/penalty; represents the distance between the current train and the preceding train; indicates the safety operation rewards coefficient. (5) Stop efficiency rewards. Let denote the actual stopping time graded incentive. 7 In the formula, represents the dwell efficiency rewards; denotes the dwell efficiency rewards coefficient; indicates the actual dwell time; refers to the minimum dwell time; represents the target dwell time. (6) Speeding Penalty Let denote the speeding behavior and impose a progressive penalty. 8 In the formula, represents the overspeed penalty term; denotes the overspeed penalty coefficient; ν indicates the current speed; refers to the maximum allowed speed. Total rewards integration mechanism 9 In the formula, k indicates whether the train is at the station, where 1 represents the train being at the station, and 0 represents the train not at the station or having just arrived. denotes the total rewards returned by the environment when the train is within the station, where , and represents the dwell efficiency rewards; represents the total rewards returned by the environment when the train is outside the station or has just arrived, where, In the formula, represents the safety operation rewards/penalty; denotes the overspeed penalty term; indicates the delay improvement rewards; refers to the punctual arrival rewards; represents the terminal arrival rewards. Parallelized decision-making with centralized training and decentralized execution In this work, we adopted the MAPPO framework under the centralized training and decentralized execution in Fig. 3 paradigm to enable parallelized decision-making among multiple agents. Fig. 3. Open in a new tab Parallelized Decision-Making under Centralized Training and Decentralized Execution. During training, a centralized critic is employed to stabilize learning by leveraging global information. Specifically, the critic takes the joint observations and joint actions of all agents as input and estimates a shared value function: 10 In the formula, N denotes the number of agents, and represent the local observation and action of agent i at time step t , respectively. The centralized critic is only used during training and is not required during execution. The policy optimization follows the standard PPO objective, where the advantage function is computed using the centralized critic, enabling more accurate credit assignment and improved training stability in the multi-agent setting. During execution, each agent makes decisions independently based solely on its own local observation, without access to global information or other agents’ states. All agents share a common policy network with shared parameters , and the action of each agent is generated as: 11 where denotes an agent-specific identifier encoded as part of the policy input. This design allows the shared policy to distinguish different agents while maintaining parameter sharing, thereby improving scalability and generalization. The decentralized execution process is fully parallelized: at each decision step, all agents simultaneously perform forward inference through the shared policy network based on their respective local observations. No sequential dependency exists among agents during action selection, which ensures efficient parallel decision-making and real-time applicability. It should be emphasized that the proposed “parallelized agent decisions” are realized through simultaneous policy inference rather than sequential control. Combined with parameter sharing and CTDE, this deployment allows the framework to scale to a large number of agents while preserving decentralized autonomy. The novelty of this work lies in the tailored deployment of MAPPO in the considered scenario, where parallel execution is essential for capturing the distributed and interactive nature of the system. Training process based on MAPPO algorithm In the train operation adjustment decision-making problem under contingencies, each HSR train is modeled as an agent that independently develops an adjustment strategy based on localized observations. Multi-agents observation space by acquiring the State Information and Scheduling Discrete action set defined in sections (i) and (ii) of this chapter. Training is performed using the MAPPO algorithm, which extends the single-intelligent agent PPO to multi-intelligent agents scenarios. MAPPO employs an online training mode, which eliminates the need to pre-store historical empirical data and improves algorithmic stability and performance through policy entropy constraints and update magnitude limitations. The training framework is shown in Fig. 4 , initializing the policy network and the value network Start. Fig. 4. Open in a new tab MAPPO co-scheduling training framework. Within the training loop, each episode commences by acquiring the environment’s initial state, whereupon agents sample actions based on local observations through multi-agent collaboration; following joint action execution, the system receives instant rewards , transitions to state , and stores the experience tuple . Upon accumulated experiences reaching threshold N , the algorithm computes both the Generalized Advantage Estimator to evaluate action advantages and the discounted return to quantify long-term cumulative rewards. Subsequent optimization proceeds via the Proximal Policy Optimization (PPO) mechanism: calculating the probability ratio , applying the Clipped surrogate objective to prevent policy divergence, and incorporating entropy regularization to enhance exploration, thereby updating policy parameters through gradient ascent ; concurrently, value optimization minimizes the mean squared error loss to update value network parameters via . This cyclic experience collection coupled with dual-network collaborative optimization framework confers Multi-Agents PPO (MAPPO) exceptional stability and convergent capabilities in cooperative multi-agents tasks, with full specifications enumerated in Table 3 . Table 3. MAPPO Algorithm Workflow. MAPPO algorithm: multi-agents reinforcement learning MAPPO algorithm 1: Initialize policy network and value network 2: for episode = 1 to MAX_STEPS: 3:    while not terminal: 4:       for agents : 5:          Sample action 6:      Sample action ,obtain 7:      Store transition tuple in replay buffer 8:      if buffer size ≥ N : 9:         GAE Calculation 10:         Discounted Return 11:        for k = 1 to K: 12:            Sample batch B∼ replay buffer: 13:                Policy Optimization Probability ratio Clipped surrogate objective Entropy regularization Total loss Update 14               Value Optimization Value loss Update Open in a new tab Simulation verification Environmental setting To verify the effectiveness of the proposed high-speed railway train scheduling model based on the MAPPO algorithm, a high-precision simulation environment for high-speed railway operations is constructed. The environment is developed using the Python programming language, and its core modules strictly follow the train operation adjustment problem model defined in Section " Problem description " and the mechanism models established in Section " Optimization model for timetables ", including the train dynamics model, timetable model, headway constraint model, minimum dwell time model, unexpected disturbance model, and rail network resource occupancy model. The simulation scenario reproduces the section from Nanchang West Station to Shanghai Hongqiao Station on the Shanghai–Kunming High-Speed Railway in China, with 12 high-speed trains selected, among which 3 are designated as key trains. The core elements of the scenario are as follows: the rail network structure covers 12 stations and 11 railway sections, including Nanchang West, Jinxian South, Fuzhou East, Yingtan North, Shangrao, Yushan South, Longyou, Yiwu, Zhuji, Hangzhou East, and Shanghai Hongqiao; the train operation scheme simulates 12 high-speed trains with different speed classes and stopping strategies; an unexpected event is set as a traffic blockade between Nanchang West Station and Fuzhou East Station from 09:00 to 10:30 due to a landslide. The core performance parameter settings are presented in Table 4 . Table 4. Simulation Environment Performance Parameters. Parameter Parameter name Symbol Value/range Train operations Train type {0, 1} Minimum safe distance 5 Max Accel/decel 0.5 Minimum dwell time 2–5 Infrastructure Station tracks 2–8 Track occupancy status {0, 1} Unexpected events Event duration 90 Affected section - Nanchang → Yingtan Scheduling objectives Weight for key train delays 0.7 Weight for regular train delays 0.3 Max allowed advance departure 300 Severe delay threshold 600 Open in a new tab Model training process In the established simulation environment, the high-speed railway train scheduling agents are trained using the MAPPO algorithm described in Sect.  3.4, where each train is regarded as an independent agent. The deep neural network employed is implemented based on the PyTorch framework. The training process consists of three main parts: data collection, network training, and cyclic evaluation. In the data collection stage, the environment is reset at the beginning of each training episode, and the initial positions and speeds of trains are restored to their starting states. After the occurrence of unexpected disturbances, each train agent observes its own state, samples actions through the current policy network, and then interacts with the environment by making decisions on speed regulation, stop, or departure. The environment feeds back the next state and rewards signal according to the train dynamic model, quantitative delay calculation, and safety constraint rules. A single training episode terminates when all trains arrive at Shanghai Hongqiao Station or the maximum simulation step is reached. In the network optimization stage, after the experience replay buffer accumulates experiences up to capacity N, the MAPPO algorithm performs multiple iterative updates. The Adam optimizer is adopted to optimize the policy network and value network separately. The algorithm parameters are systematically tuned using a combination of grid search and Bayesian optimization. The optimal parameter combination is finally determined through repeated experiments, with specific values listed in Table 5 . Table 5. MAPPO algorithm training parameters. Parameter category Identifier Value Policy network learning rate 5 × 10 −4 Value network learning rate 5 × 10 −4 Max training steps 1 × 10 6 Replay buffer capacity B 10 Evaluation interval 50 Max steps per episode 200 Network update frequency K 5 PPO clipping parameter s 0.2 Entropy coefficient 0.01 Discount factor 0.99 GAE parameter 0.95 Network hidden layers 3 Hidden layer neurons 256 Open in a new tab At fixed intervals of training episodes, the current policy network is deployed in a fixed simulation environment to calculate the average values of key performance indicators such as terminal punctuality rate and punctuality rate of key trains. After 10,000 training episodes, it can be observed that the high-speed railway dynamic scheduling agent based on the MAPPO algorithm exhibits a clear three-stage evolutionary characteristic during training. In the initial exploration stage from 0 to 3,333 episodes, the rewards function fluctuates drastically, indicating that unexpected events exert a strong disturbance effect on the initial policy, as shown in Fig. 5 . Entering the policy optimization stage from 3333 to 6666 episodes, collaborative decision-making among multiple agents drives the rewards value to increase significantly and finally converges to a steady-state peak of 388,172. The terminal punctuality rate of key trains can reach 100%, achieving the optimal level for a single training episode, as illustrated in Fig. 6 . Fig. 5. Open in a new tab Total rewards variation curve. Fig. 6. Open in a new tab Key trains punctuality rate variation. Global scheduling performance is more significantly affected by rigid constraints, and the comprehensive punctuality rate of the entire rail network finally converges to 56.60% (Fig. 7 ), corresponding to 43.4% of delays that cannot be recovered through scheduling adjustment. This result verifies the priority-guarantee effect under resource constraints and the existence of a performance upper bound in multi-objective optimization. Fig. 7. Open in a new tab Station-by-station punctuality rate variation. The variation curve of terminal punctuality rate is presented in Fig. 8 . After exponential moving average smoothing, it can be seen that the terminal punctuality rate of all trains in the entire rail network increases steadily in the later training period after 3,899 episodes, and finally reaches a theoretical maximum of 91.71%, which is marked by a yellow asterisk in Fig. 8 . The above results indicate that the global scheduling strategy achieves local optimization while still facing certain systematic bottlenecks. Fig. 8. Open in a new tab Train destination punctuality rate variation. Optimization effect evaluation and comparative analysis To further improve scheduling efficiency and operational punctuality under emergency scenarios, this study employs a reinforcement learning policy network based on MAPPO for railway timetable optimization. Taking Eqs. ( 1 ) and ( 2 ) as the optimization objectives, the proposed network receives real-time operational states and environmental information as inputs, and dynamically outputs train acceleration/deceleration strategies and priority adjustment schemes, thereby minimizing the total terminal delay of all trains while satisfying rigorous operational safety constraints. To validate the effectiveness and stability of the established policy, the well-trained network is deployed in a simulation environment incorporating a 90-minute unexpected emergency disturbance scenario, and 100 independent repeated experiments are conducted with the train terminal punctuality rate selected as the core evaluation index. The experimental results indicate that the terminal punctuality rate presents a prominent upward trend with the increase of training episodes of the policy network, and the optimized timetable diagram is illustrated in Fig. 9 . Fig. 9. Open in a new tab Optimized schedule for dynamic train dispatching under sudden disruption. To comprehensively verify the performance superiority of the proposed MAPPO-based scheduling method, a comparative experimental framework incorporating three typical benchmark algorithms is constructed in this paper, namely single-agent proximal policy optimization, the traditional first-come-first-served scheduling rule, and the firework algorithm. All core performance metrics average over 100 independent running repetitions with standard deviations calculated to guarantee the statistical significance and numerical reliability of the experimental results. Specifically, the Single-agent PPO is adopted to quantify the performance improvement brought by multi-agents collaborative optimization mechanisms. The FCFS rule is selected as a typical representative of conventional scheduling strategies widely applied in on-site high-speed railway actual operation. In addition, the FWA is set up in accordance with the high-speed railway scheduling application configurations proposed by Wu et al. 4 (2024), serving as a classical intelligent optimization algorithm benchmark. The above-mentioned benchmarks cover both traditional empirical scheduling methods and advanced intelligent optimization algorithms, which can comprehensively and objectively evaluate the overall comprehensive performance of the proposed method. Quantitative comparative experiments are carried out from three core dimensions including overall operational efficiency, passenger service quality, and emergency dynamic response capability. Four critical evaluation indicators are selected for systematic algorithm performance assessment, including terminal punctuality rate, key train punctuality rate, total network delay duration, and algorithm policy convergence time. Among them, the terminal punctuality rate refers to the proportion of trains arriving within the allowable arrival time tolerance of ± 8 min relative to the planned timetable, which directly reflects the on-time service reliability of the high-speed railway system. The total network delay duration is utilized to quantitatively characterize the cumulative negative impact of delay propagation on the entire railway network. The algorithm policy convergence time is employed to evaluate the real-time decision-making computational efficiency of scheduling models. As summarized in Table 6 , the developed MAPPO framework exhibits remarkable comprehensive performance advantages over the three conventional benchmark methods. In terms of on-time operation guarantee capability, the multi-agents collaborative scheduling mechanism embedded in MAPPO improves the average terminal punctuality rate by 14.8%, 29.3%, and 22.1% compared with PPO, FCFS, and FWA, respectively. Meanwhile, the average punctuality rate of core key trains is increased by 33.3%, 66.6%, and 33.3% correspondingly. Such significant performance advantages are attributed to the effective global coordination capability of the centralized critic network, which realizes the global collaborative optimization of multi-train interactive operational behaviors. Furthermore, the MAPPO method controls the total network delay to 120.5 ± 10.2 min, which is substantially lower than 180.3 ± 15.7 min of the PPO algorithm. It is fully demonstrated that the proposed method can effectively enhance the operational resilience of high-speed railway systems under sudden emergency disturbance conditions. Table 6. erformance comparison of MAPPO, PPO, FCFS and FWA methods. Metric Destination punctuality rate Key trains punctuality rate (%) Total delay minutes (min) Policy convergence time (×100) MAPPO 91.6 ± 1.5 100.0 ± 0.0 120.5 ± 10.2 66.7 ± 5.1 PPO 76.8 ± 2.1 66.6 ± 0.0 180.3 ± 15.7 100.0 ± 8.3 FCFS 62.3 ± 3.3 33.3 ± 0.0 250.6 ± 20.4 N/A FWA 69.5 ± 2.8 66.6 ± 0.0 210.3 ± 18.5 N/A Open in a new tab The research findings verify that the real-time dynamic scheduling strategy based on MAPPO can not only stably guarantee the high-quality on-time service of key priority trains, but also suppress the large-scale propagation of train delays through efficient multi-train collaborative scheduling, realizing the synchronous improvement of overall railway network operational efficiency and adaptive emergency response capability. The performance superiority of the proposed method is particularly prominent in complex dynamic multi-train operational scenarios, which outperforms both traditional empirical scheduling rules such as FCFS and intelligent optimization algorithms such as FWA. The substantial reduction of total network delay and the enhancement of algorithm operational stability further enable the method to achieve excellent performance in both operational economic benefits and comprehensive social service value. The intuitive optimization effects presented in Fig. 9 fully demonstrate that the proposed method can minimize the adverse impact of unexpected emergencies on the entire railway network while ensuring the stable and safe daily operation of high-speed trains. In terms of computational real-time performance, as listed in Table 7 , the traditional FWA only requires approximately 0.15 s for a single scheduling solution calculation, which possesses a fast solving speed. Nevertheless, FWA belongs to offline static optimization algorithms, which cannot adapt to the time-varying dynamic emergency operational environment in practical scenarios. The PPO algorithm requires about 3.4 h to complete full model training and policy convergence, while its online inference execution latency is only 56 milliseconds, presenting the typical operational characteristic of long training time but rapid real-time decision-making. Due to the higher computational complexity of multi-agents interactive collaborative training, the total training time of the MAPPO algorithm is approximately 4.8 h, which is slightly longer than that of the single-agent PPO. However, the actual online scheduling execution latency of MAPPO is merely 67 milliseconds, which fully meets the strict real-time response requirements of actual high-speed railway on-site scheduling work. Table 7. Comparison of the scalability of the three algorithms. Algorithm Time Unit Category FWA (12 trains) 0.15 s Offline solving FWA (20 trains) 1.33 s Offline solving PPO training 3.4 h Training phase PPO execution 56 ms Execution phase MAPPO training 4.8 h Training phase MAPPO execution 67 ms Execution phase Open in a new tab In terms of model scalability, as illustrated in Fig. 10 , the three algorithms show significantly different scalability performance with the gradual expansion of actual train operation scale. When the number of scheduled trains increases from 12 to 20, the single scheduling time of the FWA increases exponentially, showing poor large-scale scenario adaptability. In contrast, both PPO and MAPPO maintain a stable solving time without obvious growth, possessing excellent model scalability. The experimental results confirm that with the continuous expansion of high-speed railway network scale and the gradual increase of actual train operation density, reinforcement learning-based intelligent scheduling algorithms have irreplaceable application advantages in large-scale complex multi-train real-time operation adjustment problems. Fig. 10. Open in a new tab Algorithmic convergence process. Conclusion This study proposes a scheduling framework based on MAPPO to address the problem of train delay propagation caused by unexpected incidents in high-speed railways. The framework adopts a distributed decision-making structure, in which each train is treated as an independent agent, and autonomous decision-making under local observation is realized using 11-dimensional state features. Its core lies in the design of a composite rewards mechanism that integrates punctuality rewards, safety spacing constraints, speed limit regulations, and minimum dwell time requirements. Collaborative optimization of group behavior is achieved through the centralized training and decentralized execution paradigm. Experimental results verify the effectiveness of the proposed method in practical scenarios. In the simulation of a landslide emergency on the Shanghai–Kunming high-speed railway in China, the presented framework can significantly suppress delay propagation and achieve superior performance. The average terminal punctuality rate of all trains is approximately 91.6%, and the punctuality rate of key trains reaches 100% in this simulation scenario. Comparisons with benchmark methods including PPO, FCFS, and FWA demonstrate that the MAPPO method proposed in this paper improves the terminal punctuality rate by 14.8% compared with PPO, 29.3% compared with FCFS, and 22.1% compared with FWA. The punctuality rate of key trains is increased by 33.3%, 66.6%, and 33.3%, respectively. The results also reveal the limitations of the method: affected by rigid operation constraints, the overall network punctuality rate finally converges to 56.3%. This finding reflects an inherent trade-off between prioritizing the punctuality of key trains and maintaining the overall operational efficiency of the railway network under resource constraints. Figure 8 intuitively illustrates the optimized scheduling effect, indicating that the proposed method can minimize the impact of emergencies on the railway network on the premise of ensuring operational stability. Future research may break through the scheduling upper bound under strong resource constraints via dynamic constraint relaxation and multi-objective Pareto optimization. Extending the framework to large-scale operation scenarios with 200 trains will face computational challenges such as state space dimensionality expansion and increased training time. However, the distributed architecture of MAPPO and parallel decision-making of agents can provide feasible solutions to the above issues. In addition, incorporating more practical operational constraints and expanding the model to adapt to complex railway network topologies are of great significance for engineering implementation. This study provides a robust and scalable solution for real-time dynamic scheduling of high-speed railways, enriches research outcomes in the field of intelligent transportation systems, and can also be extended to other complex transportation networks with collaborative scheduling requirements under emergencies. Acknowledgements The authors gratefully acknowledge the financial support from the Humanities and Social Sciences Planning Project of the Ministry of Education of China (Grant No. 24YJAZH132) and the Key Project of Natural Science Foundation of Jiangxi Province (Grant No. 20242BAB26083). We extend our thanks to Ziyue Tang, Piao Huang, and Jianping Sun for their technical contributions to model development and validation. Professional editing assistance for language refinement is also acknowledged. Author contributions Ziyue Tang contributed to conceptualization, methodology, software development, data curation, visualization, andthe original draft preparation.Piao Huang was involved in validation, resource provision, software implementation, formal analysis, investigation,and review & editing of the manuscript.Jianping Sun secured funding, managed the project, supervised the research. Funding This work was supported by: The Humanities and Social Sciences Planning Project of the Ministry of Education of China: "Research on the Synergistic Mechanism and Realization Path of Digital Intelligence Empowering Railway Emergency Capability Reconstruction and Resilience Governance" [No. 24YJAZH132]. Key Project of Natural Science Foundation of Jiangxi Province of China: "Optimization Theory and Method for Emergency Resource Scheduling of Railway Large-scale Emergencies under Multiple Uncertainties" [No. 20242BAB26083]. Data availability The data that support the findings of this study are available from the corresponding author upon reasonable request, but restrictions apply to the availability of these data, which were processed from public domain sources (via China Railway’s 12306 Open Platform) for the current study. Raw operational datasets require compliance with China Railway’s data usage policies and are accessible from the 12306 Developer Portal (https://www.12306.cn/index/) under registered access. Competing interests The authors declare no competing interests. Footnotes Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. References 1. China State Railway Group Co. Ltd. China Railway 2023 Transport Safety White Paper. (China State Railway Group, 2024). 2. ZENG Y. A real-time adjustment method for train operation in intelligent centralized traffic control system. Railway Signal. Commun. 58(7): 1–6 (2022). 10.13879/j.issn.1000-7458.2022-07.22056 3. Ding S X, Zhang, T. et al. Research on adjustment of arrival-departure track utilization scheme for high-speed railway passenger stations. Railway Signal. Commun. , 58 (8): 32–36. 10.13879/j.issn.1000-7458.2022-08.21484 (2022). 4. WU, H. & SUN Z C. Research on train operation adjustment based on fireworks optimization algorithm. Sci. Technol. Innov. , (2): 81–84. 10.15913/j.cnki.kjycx.2024.02.022 (2024). 5. LIAO, Z. Research on high-speed railway operation adjustment model based on priority. Smart Resilient Transp. 4 (1), 12–21. 10.1108/SRT-04-2021-0005 (2022). [ Google Scholar ] 6. JIN, L., MENG, Q. & LIANG, S. Operation optimal control of urban rail train based on multi-objective particle swarm optimization. Comput. Syst. Sci. Eng. 42 (1), 387–395. 10.32604/CSSE.2022.017745 (2022). [ Google Scholar ] 7. ZHANG, F. Fuzzy decision adjustment of train operation plan for high-speed rail network based on multi-objective optimization. Eur. J. Automated Syst. 53 (1), 131–136. 10.18280/jesa.530116 (2020). [ Google Scholar ] 8. LIANG, S. S., LI D W, WANG & Y C. Research on high-speed train operation adjustment under snow disaster scenarios. Compr. Transp. 47 (2), 9–15. 10.20164/j.cnki.cn11-1197/u.2025.02.008 (2025). [ Google Scholar ] 9. ABBASI, M. & CONSILVIO, A. A multi-objective optimization approach for disruption management in an intermodal freight transport network. Transp. Res. Procedia . 78 , 410–417. 10.1016/j.trpro.2024.02.052 (2024). [ Google Scholar ] 10. KOU R R, LI, H. J. Train operation adjustment method for high-speed railway under section line failure. Railway Transp. Econ. , 45(6): 1–7,14. (2023). 10.16668/j.cnki.issn.1003-1421.2023.06.01 11. LIU, J., LIN, Z. & LIU, R. A reinforcement learning approach to solving very-short term train rescheduling problem for a single-track rail corridor. J. Rail Transp. Plann. Manag. 32 , 100432. 10.1016/j.jrtpm.2024.100483 (2024). [ Google Scholar ] 12. HAN X C et al. Real-time dynamic scheduling method for high-speed railway trains based on Q-learning. Control Theory Appl. 38 (10), 1511–1521. 10.7641/CTA.2021.00421 (2021). [ Google Scholar ] 13. YU, S. P. et al. Real-time dynamic scheduling method for high-speed railway trains based on policy gradient reinforcement learning. Control Decis. 37 (9), 2201–2210. 10.13195/j.kzyjc.2021.0670 (2022). [ Google Scholar ] 14. DAI X W et al. Operation adjustment method for high-speed train groups based on reinforcement learning. Sci. Sinica Inform. . 52 (5), 890–906. 10.1360/SSI-2021-0298 (2022). [ Google Scholar ] 15. PANG Z S, WANG L W & PENG Q Y. Research on high-speed railway timetable adjustment under disturbances based on reinforcement learning. J. Transp. Syst. Eng. Inf. Technol. 23 (5), 156–165. 10.16097/j.cnki.1009-6744.2023.05.029 (2023). [ Google Scholar ] 16. JIANG L M, NI, S. Q. Efficient dynamic adjustment method for freight train operation based on multi-agent reinforcement learning. J. China Railway Soc. 45 (8), 1–9. 10.16097/j.cnki.1009-6744.2023.05.029 (2023). [ Google Scholar ] 17. Xue, Y. & Huan, W. Lijuan L. Train operation scheduling optimization based on deep reinforcement learning. J. Phys. Conf. Ser. 2558(1): 012034. (2023). 10.1088/1742-6596/2558/1/012042 18. Li Yueheng, X. Guangming. Multi-agent reinforcement learning under centralized training with decentralized execution: A survey. Control Theory Appl. , 1–11[2025-11-30]. https://link.cnki.net/urlid/44.1240 19. Sun, D. & Jamshidnejad, A. De Schutter. A Novel framework combining mpc and deep reinforcement learning with application to freeway traffic control. IEEE Trans. Intell. Transp. Syst. 6756–6769. 10.1109/TITS.2023.3342651 (July 2024). 20. LIU, J. Research on statistical analysis system for punctuality rate of EMU maintenance in high-speed railway. Railway Transp. Econ. 41 (1), 80–84. 10.16668/j.cnki.issn.1003-1421.2019.01.16 (2019). [ Google Scholar ] Associated Data This section collects any data citations, data availability statements, or supplementary materials included in this article. Data Citations Ding S X, Zhang, T. et al. Research on adjustment of arrival-departure track utilization scheme for high-speed railway passenger stations. Railway Signal. Commun. , 58 (8): 32–36. 10.13879/j.issn.1000-7458.2022-08.21484 (2022). Data Availability Statement The data that support the findings of this study are available from the corresponding author upon reasonable request, but restrictions apply to the availability of these data, which were processed from public domain sources (via China Railway’s 12306 Open Platform) for the current study. Raw operational datasets require compliance with China Railway’s data usage policies and are accessible from the 12306 Developer Portal (https://www.12306.cn/index/) under registered access. Articles from Scientific Reports are provided here courtesy of Nature Publishing Group ACTIONS View on publisher site PDF (4.0 MB) Cite Collections Permalink RESOURCES Similar articles Cited by other articles Links to NCBI Databases Follow NCBI NCBI on X (formerly known as Twitter) NCBI on Facebook NCBI on LinkedIn NCBI on GitHub NCBI RSS feed Connect with NLM NLM on X (formerly known as Twitter) NLM on Facebook NLM on YouTube National Library of Medicine 8600 Rockville Pike Bethesda, MD 20894 Web Policies FOIA HHS Vulnerability Disclosure Help Accessibility Careers NLM NIH HHS USA.gov Back to Top

Related documents

Record · ID 305329 · SHA-256 2c8d606f33b6b860
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Bring this data into your agent: Connect via MCP or API · 20 free credits to start · no card required
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive