# US 2026/0154562 A1 · Method and apparatus for train re-scheduling based on diffusion model and reinforcement learning

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0154562 A1
- Document ID: US20260154562A1
- Status: Published application
- Kind: A1
- Application number: 19/273,278
- Filed: 2025-07-18
- Published: 2026-06-04
- Earliest claimed: 2024-12-04
- Applicants: Westlake University; Guangdong University of Foreign Studies
- Inventors: Yaochu JIN; Xueming YAN
- Web page: https://patentgrep.com/patent/US20260154562A1

## CPC

- G06N 3/092: Reinforcement learning
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- B61L 15/0058: {On-board optimisation of vehicle or vehicle train operation}
- B61L 27/12: Preparing schedules
- B61L 27/16: Trackside optimisation of vehicle or train operation
- B61L 27/60: Testing or simulation
- G06N 3/006: based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/08: Learning methods
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/088: Non-supervised learning, e.g. competitive learning
- G06N 3/09: Supervised learning
- G06N 20/00: Machine learning
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- B61L: GUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC (brakes or auxiliary equipment B61H, B61K; point or crossing construction E01B)

## Abstract

The present disclosure provides a method and an apparatus for train re-scheduling based on a diffusion model and reinforcement learning. A method for train re-scheduling includes: obtaining time series data indicating states, including a train operation state, a resource allocation state and an external environment state, at respective time points during a train operation process; providing the obtained time series data to a trained neural network model to generate a scheduling strategy for train re-scheduling, the scheduling strategy including an action to be performed by a train scheduling system; and instructing the train scheduling system to perform the generated scheduling strategy, where the neural network model includes a diffusion model and a reinforcement learning model.

## Claims

### Claim 1

A method for train re-scheduling, comprising:
obtaining time series data indicating states at respective time points during a train operation process, the states comprising a train operation state, a resource allocation state and an external environment state;
providing the obtained time series data to a trained neural network model to generate a scheduling strategy for train re-scheduling, the scheduling strategy comprising an action to be performed by a train scheduling system; and
instructing the train scheduling system to perform the generated scheduling strategy,
wherein the time series data has different noise in a case where an emergency occurs during the train operation process compared with a case where no emergency occurs during the train operation process, and
wherein the neural network model comprises a diffusion model and a reinforcement learning model, the diffusion model is configured to remove the noise in the time series data based on a reverse diffusion process to obtain denoised time series data, and the reinforcement learning model is configured to generate the scheduling strategy based on the denoised time series data.

### Claim 2 (depends on 1)

The method according to claim 1, wherein
the time series data has different noise in a case where a first emergency occurs during the train operation process compared with a case where a second emergency occurs during the train operation process, and
the first emergency has a different type from that of the second emergency, or the first emergency has a different priority from that of the second emergency.

### Claim 3 (depends on 1)

The method according to claim 1, wherein removing the noise in the time series data based on the reverse diffusion process comprises:
x
t
-
1
=
1
α
t
[
x
t
-
1
-
α
t
1
-
β
t
⁢
ε
θ
(
x
t
,
t
)
]
+
σ
t
⁢
z
,
where
the time series data comprises (T+1) time points, the time series data indicates a state x0 at time point 0 and indicates a state xT at time point T,
the reverse diffusion process is defined as a diffusion process from the state xT to the state x0 along a Markov chain consisting of T time steps, t is a time step in the Markov chain, where t ∈[1, T],
the state xt-1 represents a state obtained from the state xt after one step of denoising,
εθ(x, t) represents noise predicted for the state xt and the time step t, θ represents a scheduling strategy parameter,
α
t
=
1
-
β
t
,
β
t
=
σ
t
2
,
σt represents a noise coefficient at the time step t, and
z represents Gaussian noise.

### Claim 4 (depends on 3)

The method according to claim 3, wherein σt is determined based on an emergency occurring at the time step t.

### Claim 5 (depends on 4)

The method according to claim 4, wherein σt is determined based on one of following noise strategies:
σt is determined as
σ
min
+
t
T
⁢
(
σ
max
-
σ
min
)
based on a linear noise strategy; or
σt is determined as
σ
t
=
σ
max
·
cos
⁢
(
π
⁢
t
2
⁢
T
)
based on an cosine noise strategy, or
σt is determined as
σ
min
·
(
σ
max
σ
min
)
t
T
based on an exponential noise strategy,
where
σmin represents a minimum noise coefficient for the T time steps, and
σmax represents a maximum noise coefficient for the T time steps.

### Claim 6 (depends on 5)

The method according to claim 5, further comprising:
selecting the linear noise strategy in response to no emergency occurring at the time step t; or
selecting the cosine noise strategy in response to an emergency with a first priority occurring at the time step t; or
selecting the exponential noise strategy in response to an emergency with a second priority, higher than the first priority, occurring at the time step t.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the neural network model is trained by following steps:
obtaining historical time series data indicating states at respective time points during a historical train operation process and a historical train scheduling strategy corresponding to the historical train operation process, the states comprising a train operation state, a resource allocation state and an external environment state, the historical train scheduling strategy comprising an action that was performed by a train scheduling system;
adding noise to the historical time series data based on a forward diffusion process through the diffusion model to obtain noise-added historical time series data; and
training the reinforcement learning model by using the noise-added historical time series data as sample data and using the historical train scheduling strategy as label data.

### Claim 8 (depends on 7)

The method according to claim 7, wherein adding the noise to the historical time series data based on the forward diffusion process comprises:
x
t
=
α
t
⁢
x
0
+
1
-
α
t
⁢
ε
,
where
the historical time series data comprises (T+1) time points, the historical time series data indicates a state x0 at time point 0 and indicates a state xT at time point T,
the forward diffusion process is defined as a diffusion process from the state x0 to the state xT along a Markov chain consisting of T time steps, t is a time step t in the Markov chain, where t∈[1, T],
the state xt represents a state obtained from the state x0 after t steps of noise-adding,
αt represents a weight coefficient used to control noise-adding at the time step t, and
ε represents Gaussian noise.

### Claim 9 (depends on 8)

The method according to claim 8, wherein αt decreases with increase of t.

### Claim 10 (depends on 8)

The method according to claim 8, wherein
α
t
=
1
-
σ
t
2
,
where σt represents a noise coefficient at the time step t, and σt is determined based on an emergency that is simulated to occur at the time step t,
wherein σt is determined based on one of following noise strategies:
σt is determined as
σ
min
+
t
T
⁢
(
σ
max
-
σ
min
)
based on a linear noise strategy; or
σt is determined as
σ
t
=
σ
max
·
cos
⁢
(
π
⁢
t
2
⁢
T
)
based on a cosine noise strategy; or
σt is determined as
σ
min
·
(
σ
max
σ
min
)
t
T
based on an exponential noise strategy,
where
σmin represents a minimum noise coefficient for the T time steps, and
σmax represents a maximum noise coefficient for the T time steps.

### Claim 11 (depends on 10)

The method according to claim 10, further comprising:
selecting the linear noise strategy in response to simulating that no emergency occurs at the time step t; or
selecting the cosine noise strategy in response to simulating that an emergency with a first priority occurs at the time step t; or
selecting the exponential noise strategy in response to simulating that an emergency with a second priority, higher than the first priority, occurs at the time step t.

### Claim 12 (depends on 1)

The method according to claim 1, wherein
the emergencies comprise device failure, bad weather, passenger emergency;
the train operation state comprises a current position, a speed, and planned arrival time of the train; the resource allocation state comprises a station condition and track availability; the external environment state comprises a weather condition, a device condition, a passenger condition; and actions that can be performed by the train scheduling system comprise determining train departure time and arrival time, determining train operation priority, selecting a track, and selecting a station.

### Claim 13

A method for training a neural network model for train re-scheduling, the neural network model comprising a diffusion model and a reinforcement learning model, and the method comprising:
obtaining historical time series data indicating states at respective time points during a historical train operation process and a historical train scheduling strategy corresponding to the historical train operation process, the states comprising a train operation state, a resource allocation state and an external environment state, the historical train scheduling strategy comprising an action that was performed by a train scheduling system;
adding noise to the historical time series data based on a forward diffusion process through the diffusion model to obtain noise-added historical time series data; and
training the reinforcement learning model by using the noise-added historical time series data as sample data and using the historical train scheduling strategy as label data.

### Claim 14 (depends on 13)

The method according to claim 13, wherein adding the noise to the historical time series data based on the forward diffusion process comprises:
x
t
=
α
t
⁢
x
0
+
1
-
α
t
⁢
ε
,
where
the historical time series data comprises (T+1) time points, the historical time series data indicates a state x0 at time point 0 and indicates a state xT at time point T,
the forward diffusion process is defined as a diffusion process from the state x0 to the state xT along a Markov chain consisting of T time steps, t is a time step t in the Markov chain, where t∈[1, T],
the state xt represents a state obtained from the state x0 after t steps of noise-adding,
αt represents a weight coefficient used to control noise-adding at the time step t, and
ε represents Gaussian noise.

### Claim 15 (depends on 14)

The method according to claim 14, wherein
α
t
=
1
-
σ
t
2
,
where σt represents a noise coefficient at the time step t, and σt is determined based on an emergency that is simulated to occur at the time step t,
wherein σt is determined based on one of following noise strategies:
σt is determined as
σ
min
+
t
T
⁢
(
σ
max
-
σ
min
)
based on a linear noise strategy; or
σt is determined as
σ
t
=
σ
max
·
cos
⁢
(
π
⁢
t
2
⁢
T
)
based on a cosine noise strategy; or
σt is determined as
σ
min
·
(
σ
max
σ
min
)
t
T
based on an exponential noise strategy,
where
σmin represents a minimum noise coefficient for the T time steps, and
σmax represents a maximum noise coefficient for the T time steps,
wherein the method comprises:
selecting the linear noise strategy in response to simulating that no emergency occurs at the time step t; or
selecting the cosine noise strategy in response to simulating that an emergency with a first priority occurs at the time step t; or
selecting the exponential noise strategy in response to simulating an emergency with a second priority, higher than the first priority, occurs at the time step t.

### Claim 16 (depends on 1)

A computing device, comprising:
a processor; and
a memory storing computer executable instructions that, when executed by the processor, cause the processor to perform the method according to claim 1.

### Claim 17 (depends on 1)

A non-transitory computer-readable storage medium having computer executable instructions stored thereon that, when executed by a processor, cause the processor to perform the method according to claim 1.

### Claim 18 (depends on 13)

A computing device, comprising:
a processor; and
a memory storing computer executable instructions that, when executed by the processor, cause the processor to perform the method according to claim 13.

### Claim 19 (depends on 13)

A non-transitory computer-readable storage medium having computer executable instructions stored thereon that, when executed by a processor, cause the processor to perform the method according to claim 13.

### Claim 20

A train scheduling system, comprising:
a computing device comprising a processor and a memory coupled to the processor and storing instructions that, when executed by the processor, cause the processor to:
obtain time series data indicating states at respective time points during a train operation process, the states comprising a train operation state, a resource allocation state and an external environment state;
providing the obtained time series data to a trained neural network model to generate a scheduling strategy for train re-scheduling, the scheduling strategy comprising an action to be performed by a train scheduling system,
wherein the time series data has different noise in a case where an emergency occurs during the train operation process compared with a case where no emergency occurs during the train operation process, and
wherein the neural network model comprises a diffusion model and a reinforcement learning model, the diffusion model is configured to remove the noise in the time series data based on a reverse diffusion process to obtain denoised time series data, and the reinforcement learning model is configured to generate the scheduling strategy based on the denoised time series data; and
send the generated scheduling strategy to an execution apparatus communicatively coupled to the computing device; and
the execution apparatus configured to perform the scheduling strategy in response to receiving the scheduling strategy from the computing device.
