Train delay prediction method and device and storage medium
Patent Information
- Application Number
- CN202410851651.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-06-27
AI Technical Summary
Existing train delay prediction schemes are difficult to achieve a balance between accuracy and explainability. Schemes that emphasize explainability usually show poor prediction performance, while schemes that prioritize prediction accuracy fail to elucidate the delay propagation mechanism.
By determining the initial railway network graph, including train nodes, station nodes and interference event nodes, the railway network delay evolution prediction model is used to predict based on the characteristics of nodes and edges. The model includes an encoder, latent space and decoder, and a prediction is generated by training the model. Set the train delay prediction results after the time interval, and calculate the loss function based on historical data for optimization.
It achieves high-precision late prediction taking into account the interaction relationship of multiple elements, while improving the interpretability of the prediction and harmonizing the accuracy and interpretability of the prediction.
Smart Images

Figure CN118761497A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of artificial intelligence technology, and in particular to a train delay prediction method, device and storage medium. Background Art
[0002] Accurate delay prediction is an important part of railway operation management. It provides decision support for real-time adjustment of delayed trains by estimating the potential impact of delays at the operational level. At the same time, understanding the complex interactions between various factors in the process of delay evolution is crucial to tactical timetable formulation, which helps optimize the tactical allocation of redundant time in timetable planning.
[0003] Current train delay prediction schemes have difficulty in achieving a balance between interpretability and accuracy. Schemes that emphasize interpretability usually rely on Markov properties such as Markov chains and Bayesian networks, or are built on overly simple models. These interpretable models often show relatively poor prediction performance. In contrast, schemes that prioritize prediction accuracy usually use machine learning techniques. However, these schemes usually treat the delay evolution process as a black box and cannot explain the specific mechanism of delay propagation caused by various influencing factors. Therefore, there is an urgent need for a train delay prediction method that is both accurate and interpretable. Summary of the invention
[0004] In view of this, the present disclosure proposes a train delay prediction method, device and storage medium.
[0005] According to one aspect of the present disclosure, a train delay prediction method is provided. The method comprises:
[0006] Determine an initial railway network graph at the current moment, where the nodes in the railway network graph include one or more of train nodes, station nodes, and interference event nodes, and the edges in the railway network graph and the adjacency matrix corresponding to the edges are used to represent the interaction relationship between the nodes;
[0007] The initial railway network graph at the current moment is input into the railway network delay evolution prediction model, and the train delay prediction result after a preset time interval is determined based on the characteristics of the nodes, the characteristics of the edges and the initial adjacency matrix corresponding to the edges in the initial railway network graph.
[0008] In a possible implementation, the initial railway network graph at the current moment is input into the railway network delay evolution prediction model, and based on the characteristics of the nodes and edges in the initial railway network graph and the initial adjacency matrix corresponding to the edges, the train delay prediction result after a preset time interval is determined, including:
[0009] Based on the characteristics of the train nodes in the initial railway network graph, determining the adjacency matrix corresponding to the edges between the updated train nodes and the train nodes;
[0010] The adjacency matrix corresponding to the edges between train nodes and train nodes in the initial adjacency matrix in the initial railway network graph is replaced with the updated adjacency matrix corresponding to the edges between train nodes and train nodes to determine an updated railway network graph;
[0011] Based on the updated railway network diagram, train delay prediction results after a preset time interval are determined.
[0012] In a possible implementation, based on the characteristics of the train nodes in the initial railway network graph, determining the adjacency matrix corresponding to the edges between the updated train nodes and the train nodes includes:
[0013] Extracting features of train nodes in the initial railway network graph and determining a first train node embedding corresponding to the train node;
[0014] Based on the first train node embedding, determining a first edge embedding corresponding to the train node and an edge between the train nodes;
[0015] Determining a second train node embedding based on the first edge embedding;
[0016] Determining a second edge embedding based on the second train node embedding;
[0017] Based on the second edge embedding, the adjacency matrix corresponding to the edge between the updated train nodes and the train nodes is determined.
[0018] In a possible implementation, determining a train delay prediction result after a preset time interval based on the updated railway network diagram includes:
[0019] Based on a preset continuous distribution, the adjacency matrix corresponding to the edge between the updated train nodes and the train nodes is normalized to obtain a representation that conforms to the preset continuous distribution;
[0020] Based on the representation that conforms to the preset continuous distribution and the characteristics of the nodes and the characteristics of the edges in the updated railway network graph, the train delay prediction result after the preset time interval is determined.
[0021] In a possible implementation, determining a train delay prediction result after a preset time interval based on a representation conforming to a preset continuous distribution and features of nodes and edges in an updated railway network graph includes:
[0022] Determine a third edge embedding based on the representation that conforms to the preset continuous distribution, the third edge embedding being used to indicate whether there is a connection between the train node and the train node;
[0023] Based on the third edge embedding, the features of the nodes in the updated railway network graph and the features of the edges, the train nodes in the updated railway network graph are aggregated with other nodes to determine the features of the updated train nodes;
[0024] Based on the third edge embedding, the characteristics of the nodes in the updated railway network graph and the characteristics of the edges, the station nodes in the updated railway network graph are aggregated to determine the characteristics of the updated station nodes;
[0025] Determine the characteristics of the target train node based on the third edge embedding, the characteristics of the updated train node, the characteristics of the updated station node, the characteristics of the interference event node in the updated railway network graph, and the characteristics of the edge;
[0026] Based on the characteristics of the train nodes in the updated railway network diagram and the characteristics of the target train nodes, the train delay prediction result after a preset time interval is determined.
[0027] In a possible implementation, the characteristics of the train node include any one or more of the delay time of the train at the current moment, the time interval between the train node and the previous train node, the minimum running time of the train within a preset time interval, the planned running time of the train within the preset time interval, and the occurrence time of the most recent event of the train before the current moment;
[0028] Characteristics of station nodes include the number of arrival and departure tracks in the station;
[0029] The characteristics of the interference event node include the vectorized interference event.
[0030] In one possible implementation, the edge characteristics include the characteristics of the edge between the station node and the train node, and the characteristics of the edge between the station node and the station node. The characteristics of the edge between the station node and the train node include the planned arrival / departure time of the train at the station from the current moment, and the characteristics of the edge between the station node and the station node include the shortest running time between stations.
[0031] In one possible implementation, the railway network delay evolution prediction model includes an encoder, a latent space and a decoder. The encoder is used to determine the adjacency matrix corresponding to the edges between the updated train nodes and the train nodes, the latent space is used to determine the representation that conforms to the preset continuous distribution, and the decoder is used to determine the train delay prediction result after a preset time interval.
[0032] In a possible implementation, the railway network delay evolution prediction model is a trained railway network delay evolution prediction model, and the method further includes:
[0033] Inputting historical railway network graph sample data into the initial railway network delay evolution prediction model to obtain the predicted train delay prediction results;
[0034] Calculate the value of the loss function based on the predicted train delay prediction results;
[0035] The initial railway network delay evolution prediction model is trained based on the loss function value to obtain a trained railway network delay evolution prediction model.
[0036] In one possible implementation, the loss function includes a divergence component and a reconstruction component. The divergence component is determined based on the output of the encoder of the initial railway network delay evolution prediction model, and the reconstruction component is determined based on the output of the decoder of the initial railway network delay evolution prediction model and the label data corresponding to the historical railway network diagram sample data. The label data is used to represent the actual train delay prediction results.
[0037] According to another aspect of the present disclosure, a train delay prediction device is provided. The device comprises:
[0038] A first determination module is used to determine an initial railway network diagram at a current moment, wherein the nodes in the railway network diagram include one or more of train nodes, station nodes, and interference event nodes, and the edges in the railway network diagram and the adjacency matrix corresponding to the edges are used to represent the interaction relationship between the nodes;
[0039] The second determination module is used to input the initial railway network diagram at the current moment into the railway network delay evolution prediction model, and determine the train delay prediction result after a preset time interval based on the characteristics of the nodes, the characteristics of the edges and the initial adjacency matrix corresponding to the edges in the initial railway network diagram.
[0040] In a possible implementation manner, the second determining module is configured to:
[0041] Based on the characteristics of the train nodes in the initial railway network graph, determining the adjacency matrix corresponding to the edges between the updated train nodes and the train nodes;
[0042] The adjacency matrix corresponding to the edges between train nodes and train nodes in the initial adjacency matrix in the initial railway network graph is replaced with the updated adjacency matrix corresponding to the edges between train nodes and train nodes to determine an updated railway network graph;
[0043] Based on the updated railway network diagram, train delay prediction results after a preset time interval are determined.
[0044] In a possible implementation, based on the characteristics of the train nodes in the initial railway network graph, determining the adjacency matrix corresponding to the edges between the updated train nodes and the train nodes includes:
[0045] Extracting features of train nodes in the initial railway network graph and determining a first train node embedding corresponding to the train node;
[0046] Based on the first train node embedding, determining a first edge embedding corresponding to the train node and an edge between the train nodes;
[0047] Determining a second train node embedding based on the first edge embedding;
[0048] Determining a second edge embedding based on the second train node embedding;
[0049] Based on the second edge embedding, the adjacency matrix corresponding to the edge between the updated train nodes and the train nodes is determined.
[0050] In a possible implementation, determining a train delay prediction result after a preset time interval based on the updated railway network diagram includes:
[0051] Based on a preset continuous distribution, the adjacency matrix corresponding to the edge between the updated train nodes and the train nodes is normalized to obtain a representation that conforms to the preset continuous distribution;
[0052] Based on the representation that conforms to the preset continuous distribution and the characteristics of the nodes and the characteristics of the edges in the updated railway network graph, the train delay prediction result after the preset time interval is determined.
[0053] In a possible implementation, determining a train delay prediction result after a preset time interval based on a representation conforming to a preset continuous distribution and features of nodes and edges in an updated railway network graph includes:
[0054] Determine a third edge embedding based on the representation that conforms to the preset continuous distribution, the third edge embedding being used to indicate whether there is a connection between the train node and the train node;
[0055] Based on the third edge embedding, the features of the nodes in the updated railway network graph and the features of the edges, the train nodes in the updated railway network graph are aggregated with other nodes to determine the features of the updated train nodes;
[0056] Based on the third edge embedding, the characteristics of the nodes in the updated railway network graph and the characteristics of the edges, the station nodes in the updated railway network graph are aggregated to determine the characteristics of the updated station nodes;
[0057] Determine the characteristics of the target train node based on the third edge embedding, the characteristics of the updated train node, the characteristics of the updated station node, the characteristics of the interference event node in the updated railway network graph, and the characteristics of the edge;
[0058] Based on the characteristics of the train nodes in the updated railway network diagram and the characteristics of the target train nodes, the train delay prediction result after a preset time interval is determined.
[0059] In a possible implementation, the characteristics of the train node include any one or more of the delay time of the train at the current moment, the time interval between the train node and the previous train node, the minimum running time of the train within a preset time interval, the planned running time of the train within the preset time interval, and the occurrence time of the most recent event of the train before the current moment;
[0060] Characteristics of station nodes include the number of arrival and departure tracks in the station;
[0061] The characteristics of the interference event node include the vectorized interference event.
[0062] In one possible implementation, the edge characteristics include the characteristics of the edge between the station node and the train node, and the characteristics of the edge between the station node and the station node. The characteristics of the edge between the station node and the train node include the planned arrival / departure time of the train at the station from the current moment, and the characteristics of the edge between the station node and the station node include the shortest running time between stations.
[0063] In one possible implementation, the railway network delay evolution prediction model includes an encoder, a latent space and a decoder. The encoder is used to determine the adjacency matrix corresponding to the edges between the updated train nodes and the train nodes, the latent space is used to determine the representation that conforms to the preset continuous distribution, and the decoder is used to determine the train delay prediction result after a preset time interval.
[0064] In a possible implementation, the railway network delay evolution prediction model is a trained railway network delay evolution prediction model, and the device further includes:
[0065] The third determination module is used to input the historical railway network diagram sample data into the initial railway network delay evolution prediction model to obtain the predicted train delay prediction result;
[0066] A calculation module, used for calculating the value of the loss function based on the predicted train delay prediction result;
[0067] The training module is used to train the initial railway network delay evolution prediction model based on the loss function value to obtain the trained railway network delay evolution prediction model.
[0068] In one possible implementation, the loss function includes a divergence component and a reconstruction component. The divergence component is determined based on the output of the encoder of the initial railway network delay evolution prediction model, and the reconstruction component is determined based on the output of the decoder of the initial railway network delay evolution prediction model and the label data corresponding to the historical railway network diagram sample data. The label data is used to represent the actual train delay prediction results.
[0069] According to another aspect of the present disclosure, a train delay prediction device is provided, comprising: a processor; a memory for storing processor executable instructions; wherein the processor is configured to implement the above method when executing the instructions stored in the memory.
[0070] According to another aspect of the present disclosure, a non-volatile computer-readable storage medium is provided, on which computer program instructions are stored, wherein the computer program instructions implement the above method when executed by a processor.
[0071] According to another aspect of the present disclosure, a computer program product is provided, including a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes the above method.
[0072] According to an embodiment of the present application, by determining the initial railway network graph at the current moment, wherein the nodes in the railway network graph include one or more of train nodes, station nodes, and interference event nodes, the edges in the railway network graph and the adjacency matrix corresponding to the edges are used to represent the interaction relationship between the nodes, and the importance of the interaction between the elements in the railway network in the delay evolution process and the sensitivity of the influencing features can be analyzed. By inputting the initial railway network graph at the current moment into the railway network delay evolution prediction model, based on the characteristics of the nodes in the initial railway network graph, the characteristics of the edges, and the initial adjacency matrix corresponding to the edges, the train delay prediction result after a preset time interval is determined, and train delay prediction guided by the prediction range is realized, while considering multiple trains in the line, which is more holistic and systematic. At the same time, by considering the interaction relationship between multiple elements, the delay prediction accuracy is higher, and the interaction relationship between trains in the delay evolution process can be revealed, which improves the interpretability of the delay evolution, thereby coordinating the interpretability and accuracy of the delay evolution prediction.
[0073] Further features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0074] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the disclosure and, together with the description, serve to explain the principles of the disclosure.
[0075] Figure 1 A schematic diagram showing an application scenario according to an embodiment of the present application.
[0076] Figure 2 A flow chart of a train delay prediction method according to an embodiment of the present application is shown.
[0077] Figure 3 A schematic diagram showing the current railway network status according to an embodiment of the present application.
[0078] Figure 4 A schematic diagram showing a prediction task for the railway network status at the current moment according to an embodiment of the present application is shown.
[0079] Figure 5 A schematic diagram of a railway network diagram according to an embodiment of the present application is shown.
[0080] Figure 6 A schematic diagram of the structure of a railway network delay evolution prediction model according to an embodiment of the present application is shown.
[0081] Figure 7 A flow chart of a train delay prediction method according to an embodiment of the present application is shown.
[0082] Figure 8 A flow chart of a train delay prediction method according to an embodiment of the present application is shown.
[0083] Fig. 9 A schematic diagram showing the prediction performance of a railway network delay evolution prediction model according to an embodiment of the present application.
[0084] Fig.10 A structural diagram of a train delay prediction device according to an embodiment of the present application is shown.
[0085] Fig.11 It is a block diagram of a device 1900 for predicting train delays according to an exemplary embodiment. DETAILED DESCRIPTION
[0086] Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.
[0087] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.
[0088] In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present disclosure can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present disclosure.
[0089] Accurate delay prediction is an important part of railway operation management. It provides decision support for real-time adjustment of delayed trains by estimating the potential impact range of delays at the operational level. At the same time, understanding the intricate interactions between various factors in the delay evolution process is crucial to the tactical timetable formulation, which helps to optimize the tactical allocation of redundant time in timetable planning. Current train delay prediction schemes are difficult to strike a balance between interpretability and accuracy. Schemes that emphasize interpretability usually rely on Markov properties such as Markov chains and Bayesian networks, or are built on overly simple models. These interpretable models often show relatively poor prediction performance. In contrast, schemes that prioritize prediction accuracy usually use machine learning techniques. However, these schemes usually treat the delay evolution process as a black box and cannot explain the specific mechanism of delay propagation caused by various influencing factors. Therefore, there is an urgent need for a train delay prediction method that is both accurate and interpretable.
[0090] In view of this, the present application provides a train delay prediction method, device and storage medium. The method of the embodiment of the present application determines the initial railway network diagram at the current moment, wherein the nodes in the railway network diagram include one or more of train nodes, station nodes and interference event nodes, and the edges in the railway network diagram and the adjacency matrix corresponding to the edges are used to represent the interaction relationship between the nodes. The importance of the interaction between the elements in the railway network in the delay evolution process and the sensitivity of the influencing features can be analyzed. By inputting the initial railway network diagram at the current moment into the railway network delay evolution prediction model, based on the characteristics of the nodes in the initial railway network diagram, the characteristics of the edges and the initial adjacency matrix corresponding to the edges, the train delay prediction result after a preset time interval is determined, and the prediction range is used to guide the train delay prediction. At the same time, multiple trains in the line are considered, which is more holistic and systematic. At the same time, by considering the interaction relationship between multiple elements, the delay prediction accuracy is higher, and the interaction relationship between trains in the delay evolution process can be revealed, which improves the interpretability of the delay evolution, thereby coordinating the interpretability and accuracy of the delay evolution prediction.
[0091] Figure 1A schematic diagram showing an application scenario according to an embodiment of the present application is shown. Figure 1 As shown, the train delay prediction system of the embodiment of the present application can be used in the scenario of predicting delays for trains in a railway network. The train delay prediction system can obtain the railway network diagram at the current moment, and output the train delay set in the railway network diagram, that is, the train delay prediction result. The train delay set may include the delay duration of each train in the railway network diagram at its subsequent station after a preset time interval at the current moment.
[0092] In the application scenario of the embodiment of the present application, the train delay prediction results can be used to make real-time adjustments to train operations and provide support for train rescheduling at the operational level; the train delay prediction results can also help explain the interaction between various influencing factors (trains, stations, interference time) in the train evolution process, thereby supporting the allocation of redundant time in the tactical-level train timetable planning, so that train operations can be restored under interference conditions.
[0093] The train delay prediction system of the embodiment of the present application can be used for a terminal device or a server, and the terminal device can be any one or more of a mobile phone, a foldable electronic device, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook, a cellular phone, and a vehicle-mounted device. The embodiment of the present application does not impose any special restrictions on the specific type of the terminal device, and it can have a wired or wireless communication function. The server can be located locally or in the cloud, and can be a physical device or a virtual device, such as a virtual machine, a container, etc., with a wireless communication function, wherein the wireless communication function can be set in the chip (system) or other parts or components of the server. The wireless communication function can be realized, for example, by mobile communication technologies such as 2G / 3G / 4G / 5G, as well as Wi-Fi, Bluetooth, frequency modulation (FM), digital radio, satellite communication, etc. Communication can also be carried out by wired connection to achieve interaction with other devices.
[0094] Figure 2 A flow chart of a train delay prediction method according to an embodiment of the present application is shown. The method can be used in the above-mentioned train delay prediction system, such as Figure 2 As shown, the method includes:
[0095] Step S201, determining the initial railway network diagram at the current moment.
[0096] Since the railway network diagram is affected by various factors, including trains, stations and interference events. The mutual influence between trains, especially the train interval, is an important factor affecting the evolution of delays, and the train following closely is more susceptible to the delay of the previous train. In addition, stations will also affect the evolution of train delays because stations have different characteristics (for example, different stations have different train schedules and arrival and departure tracks). In addition, interference events such as extreme weather or vehicle failures will also have different effects on the evolution of delays, so these factors need to be considered when analyzing the evolution of train delays. For example, extreme weather may cause train delays in multiple sections, while vehicle failures may only affect one train in one station / section. Therefore, in this application, trains, stations and interference events can be regarded as factors affecting the evolution of delays.
[0097] See also Figure 3 , showing a schematic diagram of the railway network status at the current moment according to an embodiment of the present application. Figure 3 As shown, the railway network may include 7 stations (such as A~F, and O in the figure), distributed on three different lines (A, B, O, O, D, C and E, F, O). 7 trains (such as trains 1~7 in the figure) are heading towards station O on the railway network at time step t (i.e., time t). Train 1 and train 2 are affected by extreme weather, and train 4 has a vehicle failure at time t (such as VehicleFailure in the figure). Both extreme weather and vehicle failure can be regarded as interference events. At this time, if the train is in a certain section (for example, between two stations) at time t, the delay duration of its previous arrival event or departure event can be used as a known delay measurement value, based on which the delay duration of the arrival event or departure event before time t+Δt can be predicted, where the arrival event can be the arrival of the train at the corresponding station, and the departure event can be the departure of the train from the corresponding station.
[0098] See also Figure 4 , showing a schematic diagram of a prediction task for the current railway network status according to an embodiment of the present application. Figure 4 As shown, the blue labels are known values, indicating the nearest train before time t (including Train1~7, corresponding to Figure 3 The yellow label is the unknown value, which indicates the delay time of the departure / arrival event of the train at the station; the label in the red dotted box is the value to be predicted, which indicates the delay time of the most recent departure / arrival event before time t+Δt. For example, train 1 runs between station A and station B at time t, and runs between station B and station 0 at time t+Δt. Therefore, the known delay time corresponding to train 1 can be the delay time of the departure event of train 1 at station A (that is, ), the delay duration to be predicted for train 1 can be the delay duration of the departure event of train 1 at station B (i.e. ).
[0099] This application will Figure 3 and Figure 4 The railway network shown is constructed as the railway network graph G at time t t =(V t ,E t ,A t ), which may include the node at time t side The adjacency matrix corresponding to the edge
[0100] Among them, the nodes in the railway network diagram can include train nodes Station Node Interference event node One or more of the above. Interference events may include extreme weather, vehicle failure, etc. The edges in the railway network graph and the adjacency matrix corresponding to the edges can be used to represent the interaction relationship between nodes.
[0101] Figure 5 FIG. 1 is a schematic diagram of a railway network diagram according to an embodiment of the present application. Figure 5 As shown, blue nodes A~B and O can represent station nodes, yellow nodes 1~7 can represent train nodes, and red nodes 1~2 can represent interference event nodes.
[0102] The blue edge can represent the edge between station nodes (i.e. station-station edge) The direction of the edge is determined by the direction of the train on the track, from the front station node to the rear station node; the black edge can represent the edge between the station node and the train node (i.e., the station-train edge) The direction of the edge is from the front station node to the rear train node; the red edge can represent the edge between the interference event node and the train node (i.e., the interference-train edge). The direction of the edge is from the interference event node to the train node; the yellow edge can represent the edge between the train node and the train node (i.e., the train-train edge). In the initial railway network graph, it can be assumed that the edges between train nodes are all bidirectional edges.
[0103] The adjacency matrix includes The corresponding adjacency matrix The corresponding adjacency matrix The corresponding adjacency matrix and The corresponding adjacency matrix in, and Used to represent nodes and nodes The subscripts m and n are the indexes of the node types, and tr, st, and ds represent the node types of trains, stations, and interference events, respectively. is the i-th node The sender index of is the jth node The receiver index of With the jth The edge between Point to the jth hour, The value of is 1, otherwise, The value of is 0.
[0104] In the railway network diagram of this application, nodes and edges include corresponding eigenvalues. Nodes can be represented as Can be expressed The kth node in .
[0105] The characteristics of the train node can include the delay time of the current train The time interval between the previous train node The minimum running time of a train within a preset time interval The planned running time of the train within the preset time interval The time when the train's most recent event occurred before the current time Any one or more of .
[0106] Among them, since the evolution of train delays can be regarded as a process of autocorrelation and cross-correlation, this means that the delay of a certain train at time t+Δt is affected by both its own delay and the delay of its previous train. Therefore, the delay time of the current train and the time interval between the previous train node can be used as train node features. Among them, the delay time of the current train, that is, the current delay set of the train node, can include the delay time of each train node in the railway network diagram at the current moment; the time interval between the previous train node, that is, the head trip set of the train node, represents the time required for the train to run to the location of the previous train, and can include the time interval between each train node at the current moment and its previous train node. The time interval between the previous train node can be predetermined based on the train operation schedule, etc.
[0107] Since redundant time is reserved in the train operation schedule to ensure that the train operation can be restored in the event of interference, and the redundant time is usually determined by the minimum operation time and the planned operation time, the minimum operation time of the train within the preset time interval and the planned operation time of the train within the preset time interval can be used as train node features. The preset time interval is the above-mentioned Δt.
[0108] The minimum running time of a train within a preset time interval may represent the minimum running time of a train from the nearest station before time t to the nearest station before time t+Δt, and the planned running time of a train within a preset time interval may represent the planned running time of a train from the nearest station before time t to the nearest station before time t+Δt. The minimum running time and the planned running time of a train within a preset time interval may be predetermined based on a train running schedule, etc.
[0109] Since the train cannot be guaranteed to stop at the station at time t and t+Δt, the above minimum running time and planned running time are not completely accurate. Therefore, in this application, the time of the most recent event of the train before the current time is used as the train node feature to reflect the real redundant time. Among them, the most recent event of the train before the current time can be a departure event or an arrival event for the nearest station before the current time.
[0110] When a train is affected by a disturbance event, it may be necessary to reorder the train at the station (i.e., perform train overtaking) to ensure the operation of high-priority trains or reduce the impact of delay propagation. The number of arrival and departure tracks determines how many trains can be considered in the reordering plan. Therefore, the characteristics of the station node can include the number of arrival and departure tracks in the station.
[0111] Since different interference events may lead to different delay evolutions, interference events are used as nodes in this application. Interference events can be recorded in text format, including the cause of the interference event, the impact caused, the place of occurrence, etc. The interference events recorded in text format can be vectorized as the features of the interference event node. Thus, the features of the interference event node can include the vectorized interference events. For example, the text corresponding to the interference event can be segmented into words to ensure that the model can handle interference, and then the word2vec technology can be used to convert the words into vectors in integer format to obtain the vectorized interference events.
[0112] The edge can be represented as Can be expressed The kth edge in Can represent edge Since the features of the edges between train nodes are the parts to be predicted, it is not necessary to assign values to the features of this type of edges in advance. As for the features of the edges between interference event nodes and train nodes, this application only considers whether the interference event nodes have an impact on the train nodes, without considering the extent of the impact. Therefore, it is also possible not to assign values to the features of this type of edges.
[0113] The edge features may include the features of the edge between the station node and the train node, and the features of the edge between the station nodes.
[0114] Since the characteristics of the edge between the station node and the train node can reflect the influence of the station node on the train node, for example, the time required for the train to arrive at the next station from time t can determine the time for the next update of the train delay information, the characteristics of the edge between the station node and the train node can include the planned arrival / departure time of the train at the station from the current time.
[0115] The characteristics of the edges between station nodes can be used to represent the physical structure of the railway network, and can include the shortest running time between stations. The characteristic values of the above two edges can be obtained based on the train timetable, etc.
[0116] Thus, the initial railway network diagram at the current moment can be determined.
[0117] Step S202, inputting the initial railway network graph at the current moment into the railway network delay evolution prediction model, and determining the train delay prediction result after a preset time interval based on the characteristics of the nodes and edges in the initial railway network graph and the initial adjacency matrix corresponding to the edges.
[0118] The train delay prediction result after the preset time interval includes, for example, the delay duration of the most recent event (departure event / arrival event) of each train in the railway network diagram at time t+Δt before time t+Δt.
[0119] According to an embodiment of the present application, by determining the initial railway network graph at the current moment, wherein the nodes in the railway network graph include one or more of train nodes, station nodes, and interference event nodes, the edges in the railway network graph and the adjacency matrix corresponding to the edges are used to represent the interaction relationship between the nodes, and the importance of the interaction between the elements in the railway network in the delay evolution process and the sensitivity of the influencing features can be analyzed. By inputting the initial railway network graph at the current moment into the railway network delay evolution prediction model, based on the characteristics of the nodes in the initial railway network graph, the characteristics of the edges, and the initial adjacency matrix corresponding to the edges, the train delay prediction result after a preset time interval is determined, and train delay prediction guided by the prediction range is realized, while considering multiple trains in the line, which is more holistic and systematic. At the same time, by considering the interaction relationship between multiple elements, the delay prediction accuracy is higher, and the interaction relationship between trains in the delay evolution process can be revealed, which improves the interpretability of the delay evolution, thereby coordinating the interpretability and accuracy of the delay evolution prediction.
[0120] The following first introduces the structure of the railway network delay evolution prediction model (which can be called NRI-GraphSAGE). Figure 6 , showing a schematic diagram of the structure of a railway network delay evolution prediction model according to an embodiment of the present application. Figure 6 As shown, the railway network delay evolution prediction model can include an encoder, a latent space and a decoder.
[0121] Among them, the encoder can be used to determine the updated adjacency matrix based on the railway network graph, that is, to learn the interaction between trains, which may include node embedding updates, node-to-edge, edge-to-node, node-to-edge and edge probability output modules in sequence.
[0122] The latent space can be used to determine a representation that conforms to a preset continuous distribution, and the learned interactions between trains can be sampled from the latent space.
[0123] The decoder is used to determine the train delay prediction result after a preset time interval, and may include node-to-node, Aggregation, node-to-node and Aggregation modules in sequence.
[0124] The above-mentioned railway network delay evolution prediction model is a trained railway network delay evolution prediction model. The following first introduces the process of training the railway network delay evolution prediction model.
[0125] See also Figure 7 , shows a flow chart of a train delay prediction method according to an embodiment of the present application. Figure 7 As shown, the method may include:
[0126] Step S701, inputting historical railway network diagram sample data into the initial railway network delay evolution prediction model to obtain predicted train delay prediction results.
[0127] The sample data of historical railway network diagrams can include railway network diagrams at historical moments. Figure 5 In the output of the initial railway network delay evolution prediction model, it can be assumed that all trains in the railway network are interconnected, that is, the adjacency matrix corresponding to the edge between station nodes is set to all 1s.
[0128] The predicted train delay prediction result can be the train delay prediction result after the preset event interval. The detailed process of obtaining the predicted train delay prediction result based on the railway network delay evolution prediction model can be found in the subsequent Figure 8 Introduction in.
[0129] Step S702, calculating the value of the loss function based on the predicted train delay prediction result.
[0130] The loss function may include a divergence component and a reconstruction component. The divergence component may be determined based on the output of the encoder of the initial railway network delay evolution prediction model, and the reconstruction component may be determined based on the output of the decoder of the initial railway network delay evolution prediction model and the label data corresponding to the historical railway network graph sample data, and the label data may be used to represent the actual train delay prediction result.
[0131] The formula of the loss function can be found in formula (1):
[0132]
[0133] Among them, l can represent the loss function, can represent the reconstruction component, Indicates q φ (z|V tr ) to perform expected calculation. φ (z|V tr ) can be determined based on the output of the encoder, which is the posterior distribution, p θ (z) is the prior distribution, θ is the model parameter; KL[q φ (z|V tr ∥p θ (z))] can represent the divergence component.
[0134] Where log p θ (V trThe calculation method of |z) can be found in formula (2):
[0135]
[0136] in, It can be used to indicate the number of train nodes, j is the quantity identifier, Can represent the jth train node The predicted train delay prediction results, It can represent the corresponding label data, and δ is a preset hyperparameter used to determine the degree of negative log-likelihood penalty error.
[0137] The calculation method of the divergence component can be found in formula (3):
[0138]
[0139] Among them, since the latent variable z is discrete, it may cause sampling to be unable to back propagate. In order to facilitate calculation and sampling, p θ (z) can be a preset continuous distribution, that is, a continuous approximation of a discrete distribution.
[0140] Step S703: training the initial railway network delay evolution prediction model based on the loss function value to obtain a trained railway network delay evolution prediction model.
[0141] Among them, the back propagation algorithm can be used to train the initial railway network delay evolution prediction model, wherein the model parameters can be updated based on the gradient (which can be determined by reparameterization, etc.) of the approximate value (i.e., the value obtained by sampling the preset continuous distribution), so as to obtain the trained railway network delay evolution prediction model.
[0142] The following introduces the reasoning process of train delay prediction based on the railway network delay evolution prediction model.
[0143] See also Figure 8 , shows a flow chart of a train delay prediction method according to an embodiment of the present application. Figure 8 As shown, step S202 may include:
[0144] Step S801, based on the characteristics of the train nodes in the initial railway network graph, determine the adjacency matrix corresponding to the edges between the updated train nodes and the train nodes.
[0145] The characteristics of the train nodes can be seen above. In the initial railway network graph, it can be first assumed that all trains in the railway network are interconnected, that is, the adjacency matrix corresponding to the edges between the train nodes in the initial railway network graph is set to all 1s, and the adjacency matrix corresponding to the edges between the updated train nodes and train nodes is determined based on the encoder in the railway network delay evolution prediction model.
[0146] In step S801, you can:
[0147] Extracting features of train nodes in the initial railway network graph and determining a first train node embedding corresponding to the train node;
[0148] Based on the first train node embedding, determining a first edge embedding corresponding to the train node and an edge between the train nodes;
[0149] Determining a second train node embedding based on the first edge embedding;
[0150] Determining a second edge embedding based on the second train node embedding;
[0151] Based on the second edge embedding, the adjacency matrix corresponding to the edge between the updated train nodes and the train nodes is determined.
[0152] The first train node embedding may be a feature representation obtained by updating the features of the train node using a fully connected neural network. The node embedding updates module in the encoder may be used to determine the first train node embedding corresponding to the train node. The determination method may refer to formula (4):
[0153]
[0154] in, It can represent the j-th train node in the initial railway network graph, It can represent the embedding of the first train node corresponding to the jth train node, f emb (·) Determined based on a fully connected neural network (FCNN).
[0155] The first edge embedding may be a feature representation obtained by updating the first train node embeddings of two mutually connected train nodes using a fully connected neural network. The first edge embedding may be determined using the first node-to-edge module in the encoder, and the determination method may be referred to in formula (5):
[0156]
[0157] in, It can represent the first edge embedding corresponding to the edge between the i-th train node and the j-th train node, Can be determined based on FCNN.
[0158] The second train node embedding can be a feature representation obtained by updating the first edge embedding using a fully connected neural network. The second train node embedding can be determined using the edge-to-edge module in the above encoder, and the determination method can be seen in formula (6):
[0159]
[0160] in, The second train node embedding of the j-th train node can be represented as, Can be determined based on FCNN.
[0161] The second edge embedding can be a feature representation obtained by updating the second train node embedding of two mutually connected train nodes using a fully connected neural network. The second edge embedding can be determined using the second node-to-edge module in the above encoder, and the determination method can be seen in formula (7):
[0162]
[0163] in, To represent the second edge embedding corresponding to the edge between the i-th train node and the j-th train node, Can be determined based on FCNN.
[0164] The method for determining the adjacency matrix corresponding to the edge between the updated train nodes and the train nodes can be seen in formula (8):
[0165]
[0166] in, The adjacency matrix corresponding to the edge between the updated train nodes and the train nodes can be represented. The input data can be encoded into a potential two-dimensional representation through the above formulas (4) to (8). The adjacency matrix corresponding to the edge between the updated train nodes and the train nodes can represent the distribution of the input data in the latent space. p (·) can be determined based on FCNN.
[0167] Step S802, replacing the adjacency matrix corresponding to the edges between train nodes and train nodes in the initial adjacency matrix in the initial railway network graph with the updated adjacency matrix corresponding to the edges between train nodes and train nodes, to determine the updated railway network graph.
[0168] The method for determining the updated railway network diagram can be seen in formula (9):
[0169]
[0170] in, can represent the updated railway network graph, is the adjacency matrix corresponding to the edges between the train nodes in the initial adjacency matrix.
[0171] Step S803, based on the updated railway network diagram, determining the train delay prediction result after a preset time interval.
[0172] Among them, due to the above formula (8) In accordance with the discrete distribution, we can first use the latent space in the above railway network delay evolution prediction model to approximate the discrete distribution to obtain a representation that conforms to the continuous distribution, so as to facilitate subsequent input processing in the decoder.
[0173] In step S803, you can:
[0174] Based on a preset continuous distribution, the adjacency matrix corresponding to the edge between the updated train nodes and the train nodes is normalized to obtain a representation that conforms to the preset continuous distribution;
[0175] Based on the representation that conforms to the preset continuous distribution and the characteristics of the nodes and the characteristics of the edges in the updated railway network graph, the train delay prediction result after the preset time interval is determined.
[0176] The preset continuous distribution may be a Gumbel distribution. The normalization method for the adjacency matrix corresponding to the edge between the updated train nodes and the train nodes may be referred to formula (10):
[0177]
[0178] Among them, z ij is a factorized continuous distribution used to indicate train nodes and The probability of whether there is an interaction relationship between Does it work on as well as Does it work on ), whose value range is [0,1]. g represents a vector of independent and identically distributed samples drawn from the Gumbel distribution. τ is a preset parameter used to control the smoothness of the samples.
[0179] The representation that conforms to the preset continuous distribution and the features of the nodes and edges in the updated railway network graph can be used as inputs to the decoder of the railway network delay evolution prediction model to determine the train delay prediction results after a preset time interval. The decoder can be expressed as formula (11):
[0180]
[0181] Among them, p θ (V tr |z) represents the probability distribution corresponding to the late prediction result obtained by the decoder, It can be expressed as given a latent variable z (based on z ij Get) and the updated railway network diagram In the case of , the train node at the next time step (i.e., time t+Λt) The probability distribution corresponding to the delayed prediction result.
[0182] In the process of determining the train delay prediction result after a preset time interval based on the representation conforming to the preset continuous distribution and the characteristics of the nodes and the edges in the updated railway network graph, it is possible to:
[0183] Determining a third edge embedding based on the representation that conforms to the preset continuous distribution, the third edge embedding being used to indicate whether there is a connection between train nodes and train nodes;
[0184] Based on the third edge embedding, the features of the nodes in the updated railway network graph and the features of the edges, the train nodes in the updated railway network graph are aggregated with other nodes to determine the features of the updated train nodes;
[0185] Based on the third edge embedding, the characteristics of the nodes in the updated railway network graph and the characteristics of the edges, the station nodes in the updated railway network graph are aggregated to determine the characteristics of the updated station nodes;
[0186] Determine the characteristics of the target train node based on the third edge embedding, the characteristics of the updated train node, the characteristics of the updated station node, the characteristics of the interference event node in the updated railway network graph, and the characteristics of the edge;
[0187] Based on the characteristics of the train nodes in the updated railway network diagram and the characteristics of the target train nodes, the train delay prediction result after a preset time interval is determined.
[0188] The above process can be implemented based on a decoder, wherein the method for determining the embedding of the third edge can be referred to formula (12):
[0189]
[0190] in, The third edge embedding of the edge between the i-th train node and the j-th train node can be represented by z ijk Can represent z ij The value of the kth element in It can be determined based on FCNN that the obtained third edge embedding can be a binarization result, and its value is 0 or 1. 0 indicates that there is no connection between the train nodes, and 1 indicates that there is a connection between the train nodes.
[0191] The first Aggregation module in the above decoder can be used to determine the characteristics of the updated train node. The determination method can be seen in formula (13):
[0192]
[0193] in, It can represent the updated features of the jth train node, which is the result of aggregation. m is the type identifier of the node, m∈(tr,st,ds), is the i-th node The sender index of is the jth train node The recipient index of the . A graph neural network GraphSAGE (Graph Sample and Aggregation) can be represented based on the edge features in the updated railway network graph. The first node-to-node module in the decoder can be used to determine Can represent nodes and train nodes There is a connection relationship between them and the direction of the connection is the node Point to train node
[0194] The first Aggregation module in the above decoder can also be used to determine the characteristics of the updated station node. The determination method can be seen in formula (14):
[0195]
[0196] in, It can represent the updated features of the j-th station node, which is the result of aggregation. is the i-th station node The sender index of is the jth station node The recipient index of the . can represent GraphSAGE, which can be determined based on the edge features in the updated railway network graph. It can be determined using the first node-to-node module in the above decoder Can represent station nodes and station nodes There is a connection relationship between them and the direction of the connection is from the station node Point to station node
[0197] The second Aggregation module in the above decoder can be used to determine the characteristics of the target train node. The determination method can be seen in formula (15):
[0198]
[0199] in, It can represent the characteristics of the target of the j-th train node, which is the result of aggregation. can represent GraphSAGE, which can be determined based on the edge features in the updated railway network graph. It can be determined using the second node-to-node module in the above decoder
[0200] Based on the characteristics of the train nodes in the updated railway network diagram and the characteristics of the target train nodes, the method for determining the train delay prediction result after the preset time interval can be seen in formula (16):
[0201]
[0202] in, The train delay prediction result after the preset time interval conforms to the normal distribution N(μ t+1 ,σ 2 I), where μ t+1 represents the mean of the normal distribution, σ 2 represents the variance of the normal distribution, I is the unit matrix, To express Perform nonlinear transformation or neural network processing.
[0203] Two local railway networks in China, Guangzhou South Network (GZS-Net) and Changsha South Network (CSS-Net), were selected in this application to verify the effect of the railway network delay evolution prediction model. These two local networks play a vital role in the entire Chinese high-speed rail network. They have obvious differences in station distance and traffic volume. Guangzhou South Network is a large-scale complex network, while Changsha South Network is a smaller-scale network. We strategically selected 12 surrounding stations to represent GZS-Net, and selected 8 stations around Changsha South (CSS) station to form CSS-Net.
[0204] This application uses historical observation data from February to July 2018 for verification, including train operation data and interference event data. Only trains heading to GZS station and CSS station are considered. In order to adapt to different scheduling strategies, it is crucial to predict the train delays of the railway network within different prediction intervals (Δt). Therefore, we established a railway network delay evolution prediction model with three sight distances including Δt = 10 / 20 / 30 minutes to meet the requirements of short-term and long-term predictions. To ensure the effectiveness of the prediction model, we only considered the period from 8:00 to 23:00. This is because the number of trains in the network is significantly smaller during the morning and evening hours. In addition, to ensure statistical significance, trains with delays of more than 90 minutes were excluded. In this way, in GZSNet and CSS-Net, the data sets with Δt = 10 / 20 / 30 minutes exceeded 16,000 / 8,000 / 5,300 samples, respectively. Finally, we selected 50% of the data for training, 20% for validation, and the remaining 30% for testing in the historical observation data.
[0205] Based on the above data, we first verified the prediction performance of the railway network delay evolution prediction model for its accuracy. Subsequently, since the determination of these edges is based on the pre-analysis of the delay evolution, we conducted node connectivity analysis through edge ablation experiments (i.e., evaluating the model by removing edges) to verify the rationality and effectiveness of the four types of edges in the railway network delay evolution prediction model. Train node features play a crucial role in the delay evolution process. Therefore, we will conduct experiments to determine the feature sensitivity of train nodes by removing the corresponding train node features.
[0206] In the experimental design, we tuned the relevant hyperparameters. In the encoder module, a continuous FCNN is used to obtain information related to the train-train connection. The key parameter of the FCNN architecture is the number of neurons. emb , and This parameter is configured to 64. It is worth noting that for f, which is responsible for learning the connection relationship between train nodes p, the number of neurons is specified as 2 (i.e. connected or not connected). For the decoder, we use the GraphSAGE method to update the node information in the node-to-node component. We use two GraphSAGE components, and the two GraphSAGE layers (i.e. the node-to-node module in the above decoder) are configured with 64 and 32 neurons respectively. That is, in order to update the nodes on different edges, and The number of neurons in the second layer is set to 64. The corresponding value in is 32. The aggregation technique of node information includes summation.
[0207] This application uses the adaptive optimizer Adam during training, which can dynamically adjust the local learning rate during training to move away from the local optimal state. The initial learning rate is fixed to 0.001, which is the default value of the Adam optimizer. In addition, a technique for dynamically adjusting the learning rate (ReduceLROnPlateau) is used to enhance the robustness of the model. When the performance on the validation dataset does not improve significantly within 20 time intervals, the global learning rate can be dynamically reduced by 10%. The maximum number of epochs is set to 300. However, if the performance of the validation dataset drops by less than 0.01 within 50 epochs, the early stopping technique is activated to stop training and enhance the model's ability to resist overfitting. The size of the data loader used during training is 32.
[0208] Fig. 9 A schematic diagram showing the prediction performance of the railway network delay evolution prediction model according to an embodiment of the present application is shown. 2 ) indicators verify the prediction accuracy of the proposed model, such as Fig. 9 As shown, in different prediction ranges, R 2 The value is always above 0.93. This shows that the railway network delay evolution prediction model captures most of the changes in train delays well. In addition, the violin plot of the residual distribution shows that the residuals are concentrated around zero, which indicates that the predicted values are highly consistent with the actual values. As the prediction range of the two networks decreases, the residual distribution becomes more concentrated, indicating that the ability to predict delays in a closer time range is enhanced. Therefore, we believe that the high prediction accuracy of the railway network delay evolution prediction model lays a solid foundation for the subsequent explanation of delay evolution.
[0209] The model used in the decoder of this application is based on GraphSAGE in the railway network delay evolution prediction model (NRI-GraphSAGE). In order to demonstrate the importance of GraphSAGE, several baselines are designed in this application, and different GNNs are applied in the decoder to replace GraphSAGE, and the advantages of the model of this application are further determined through experiments. In addition, the encoder is used to obtain knowledge of the adjacency matrix corresponding to the edges between trains and train nodes. The following baselines are constructed:
[0210] Decoder (GraphSAGE): This model removes the encoder component of NRI-GraphSAGE. In this way, in the adjacency matrix corresponding to the edges between train nodes, only the first train in the front points to the next train (that is, the interactions between trains are determined by domain knowledge with reference to previous research). Node updates are handled by the GraphSAGE neural network.
[0211] Decoder (GAT): Like the Decoder (GraphSAGE) model above, this model does not use an encoder, and GraphSAGE is replaced by a GAT neural network.
[0212] NRI-GAT: In this model, GraphSAGE in the NRI-GraphSAGE decoder is replaced by the GAT neural network.
[0213] Decoder (GCN): In this model, we do not use the encoder. When updating node information through the edges between station nodes and train nodes and between train nodes and train nodes, GraphSAGE is replaced by GCN, and the other components are the same as the decoder (GraphSAGE).
[0214] NRI-GCN: In this model, when updating node information through the edges between station nodes and train nodes and the edges between train nodes, the GraphSAGE in the NRI-GraphSAGE decoder is replaced by the GCN neural network, and the other parts are the same as NRI-GraphSAGE.
[0215] The purpose of comparing NRI-GAT and decoder (GAT), NRI-GraphSAGE and decoder (GAT), and NRIGCN and decoder (GCN) is to determine whether adding the encoder to learn the edge adjacency matrix between train nodes can help improve the accuracy of late evolution prediction. The purpose of comparing NRI-GraphSAGE, NRI-GAT, and NRI-GCN is to verify whether choosing the GraphSAGE algorithm in the decoder can produce the best prediction performance.
[0216] The above baselines use the same parameters and training techniques as NRI-GraphSAGE. The results are shown in Table 1:
[0217] Table 1
[0218]
[0219] Table 1 shows the superior prediction accuracy of NRI-GraphSAGE compared to various baseline models at different prediction ranges. NRI-GraphSAGE achieves higher accuracy compared to the decoder (GraphSAGE), which is attributed to the inclusion of the encoder, which facilitates the learning of the train-train adjacency matrix. The superior prediction performance of NRI-GAT over the decoder (GAT) and NRI-GCN over the decoder (GCN) further emphasizes the efficacy of the encoder. In addition, the prediction accuracy of NRI-GraphSAGE also exceeds that of NRI-GAT and NRI-GCN, which highlights the advantage of using GraphSAGE in the decoder. In addition, NRI-GraphSAGE shows lower mean absolute error (MAE) and root mean square error (RMSE) at three different prediction ranges, indicating that it is closer to the actual late evolution.
[0220] The NRI-GraphSAGE model contains various nodes connected by different edges. In order to verify the rationality of the edges between different types of nodes in the railway network graph, edge ablation analysis was performed in this application. The learned adjacency matrix in the encoder of NRI-GraphSAGE can analyze the importance of train-train edges in the evolution of delays. Therefore, edge ablation experiments were performed in this application to further study the importance of the other three edge types. We removed the other three edge types from NRI-GraphSAGE respectively and compared the prediction accuracy of these modified models with the complete NRI-GraphSAGE model. Through comparison, this application confirmed the rationality of considering these edges and evaluated the importance of these edges in affecting the evolution of delays.
[0221] By deleting the corresponding edges in NRI-GraphSAGE, the following models can be obtained, namely, interference event-train ablation, station-train ablation, and station-station ablation. For example, in the decoder of NRI-GraphSAGE, the train embedding is not updated according to the edge between the interference event node and the train node, so the interference-train ablation model is obtained. In other words, this model does not consider the interaction between interference events and train nodes during the delay evolution process. The results are shown in Table 2:
[0222] Table 2
[0223]
[0224] Table 2 shows that all baseline models obtained after removing edges have lower prediction accuracy in all prediction horizons compared to NRI-GraphSAGE. This demonstrates the effectiveness of these edges in delay evolution prediction. In addition, the prediction model obtained by removing station-train edges has the lowest accuracy, which highlights that station-train edges have a significant impact on delay evolution compared to the other two types of edges. Station-train edges contain information about the planned running time of the train to the next station, which is crucial for updating train delay information and recovering from delays. In addition, when NRI-GraphSAGE updates train information through station-train edges, station capacity information (number of arrival-departure tracks) is also transmitted to the train. Station capacity affects train overtaking, which explains why station-station edges also affect delay evolution. Different interference events may lead to different delay evolution patterns. Therefore, considering specific interference events in NRIGraphSAGE can provide more accurate information for delay evolution prediction compared to "interference-train elimination", thereby improving prediction accuracy.
[0225] In order to verify the rationality and effectiveness of the train node features, this application conducts experiments to verify whether the inclusion of these features helps to improve the prediction accuracy of NRI-GraphSAGE. This includes comparing the prediction accuracy of NRI-GraphSAGE with models that exclude specific train node features. The decrease in prediction accuracy indicates the importance of the ignored features. Subsequently, the experiment also includes comparing the prediction accuracy of models that remove different features. In these models, features with lower prediction accuracy are considered to be more important.
[0226] By systematically eliminating various features of the train nodes in NRI-GraphSAGE, different models can be generated, namely Delay Ablation, Headway Ablation, Min-Run Ablation, Sch-Run Ablation, and Real-SupAblation. For example, the difference between NRI-GraphSAGE and Delay Ablation is that the train nodes of the latter do not consider the features corresponding to the delay time of the current train in the train node. Similarly, the other models mentioned are the result of deleting the corresponding train node features (node features can be seen above). The prediction performance of the train node feature ablation obtained through experiments is shown in Table 3:
[0227] Table 3
[0228]
[0229] It can be seen from Table 3 that NRI-GraphSAGE outperforms the model that eliminates the corresponding train node features in terms of prediction accuracy, confirming the rationality of the train node features considered in this study. Among the ablated features, the model excluding the current delay time (Delay Ablation) has the lowest prediction accuracy, which highlights the most significant importance of the feature corresponding to the current delay time in the delay evolution compared with other features. Because the current delay is the basis for future delays. In addition, as the prediction range decreases, excluding the current delay time will lead to a greater decline in prediction performance. This is because the impact of the current delay on future delays becomes more obvious as the prediction range approaches (i.e., short-term prediction). For longer prediction ranges, other factors may significantly affect the delay evolution, thereby reducing the importance of the current delay at that time.
[0230] The Real-Sup Ablation model eliminates the feature corresponding to the occurrence time of the most recent event before the current moment of the train used to represent the real redundant time within the prediction range. The purpose of this feature is to solve the problem of inaccurate redundant time caused by only updating the station delay information. The decline in accuracy compared with NRI-GraphSAGE supports the rationality of the feature design. In addition, the prediction accuracy of the Real-Sup Ablation model ranks second lowest, further emphasizing the effectiveness and importance of this feature in capturing the real redundant time. In addition, in Min-Run Ablation and Sch-Run Ablation, removing the features corresponding to the minimum running time and planned running time within the prediction range will cause the model to fail to accurately capture the planned redundant time during the period. The reduction in prediction accuracy observed in Headway Ablation compared with NRI-GraphSAGE can be attributed to the neglect of the interaction between adjacent trains.
[0231] Aiming at the interpretability of the railway network delay evolution prediction model, this application further studies the adjacency matrix corresponding to the edges between train nodes learned in the encoder, and deeply studies the interaction between two (and three) adjacent trains on the same railway and the interaction between trains on different railways. Based on the adjacency matrix corresponding to the edges between the learned train nodes and train nodes, we provide an explanation for the emergence of these train interaction relationships from the perspective of train operation rules and domain knowledge. Some findings on train interactions are summarized as follows:
[0232] Interactions between trains are not common. For example, when the train tracking interval is large, the probability of the leading train affecting the following train is relatively low. However, the possibility of the leading train affecting the following train is high, especially when both trains experience severe delays, or when the train tracking interval is short and the leading train faces severe delays.
[0233] For the delay variation of the following train, when the leading train has a large delay or the train tracking interval is short, if the delay variation is a delay increase, the probability that the leading train affects the following train is significant. However, when the following train is undergoing delay recovery, the delay of the leading train usually does not affect the following train.
[0234] Train interactions extend beyond the scope of two adjacent trains; there are also potential interactions between the second train in front and the train behind (i.e., between the three adjacent trains). In addition, these interactions are mutual, meaning that not only does the front train affect the rear train, but the rear train may also affect the front train.
[0235] In the absence of potential route conflicts, the probability of trains on different railways interacting is relatively low. Nevertheless, the NRI-GraphSAGE model of this application shows a strong ability to capture the mutual influence of potentially conflicting trains on different railway lines.
[0236] Fig.10 FIG. 2 shows a structural diagram of a train delay prediction device according to an embodiment of the present application. Fig.10 As shown, the device comprises:
[0237] The first determination module 101 is used to determine an initial railway network graph at a current moment, wherein the nodes in the railway network graph include one or more of train nodes, station nodes, and interference event nodes, and the edges in the railway network graph and the adjacency matrix corresponding to the edges are used to represent the interaction relationship between the nodes;
[0238] The second determination module 102 is used to input the initial railway network diagram at the current moment into the railway network delay evolution prediction model, and determine the train delay prediction result after a preset time interval based on the characteristics of the nodes, the characteristics of the edges and the initial adjacency matrix corresponding to the edges in the initial railway network diagram.
[0239] In a possible implementation, the second determining module 102 is configured to:
[0240] Based on the characteristics of the train nodes in the initial railway network graph, determining the adjacency matrix corresponding to the edges between the updated train nodes and the train nodes;
[0241] The adjacency matrix corresponding to the edges between train nodes and train nodes in the initial adjacency matrix in the initial railway network graph is replaced with the updated adjacency matrix corresponding to the edges between train nodes and train nodes to determine an updated railway network graph;
[0242] Based on the updated railway network diagram, train delay prediction results after a preset time interval are determined.
[0243] In a possible implementation, based on the characteristics of the train nodes in the initial railway network graph, determining the adjacency matrix corresponding to the edges between the updated train nodes and the train nodes includes:
[0244] Extracting features of train nodes in the initial railway network graph and determining a first train node embedding corresponding to the train node;
[0245] Based on the first train node embedding, determining a first edge embedding corresponding to the train node and an edge between the train nodes;
[0246] Determining a second train node embedding based on the first edge embedding;
[0247] Determining a second edge embedding based on the second train node embedding;
[0248] Based on the second edge embedding, the adjacency matrix corresponding to the edge between the updated train nodes and the train nodes is determined.
[0249] In a possible implementation, determining a train delay prediction result after a preset time interval based on the updated railway network diagram includes:
[0250] Based on a preset continuous distribution, the adjacency matrix corresponding to the edge between the updated train nodes and the train nodes is normalized to obtain a representation that conforms to the preset continuous distribution;
[0251] Based on the representation that conforms to the preset continuous distribution and the characteristics of the nodes and the characteristics of the edges in the updated railway network graph, the train delay prediction result after the preset time interval is determined.
[0252] In a possible implementation, determining a train delay prediction result after a preset time interval based on a representation conforming to a preset continuous distribution and features of nodes and edges in an updated railway network graph includes:
[0253] Determine a third edge embedding based on the representation that conforms to the preset continuous distribution, the third edge embedding being used to indicate whether there is a connection between the train node and the train node;
[0254] Based on the third edge embedding, the features of the nodes in the updated railway network graph and the features of the edges, the train nodes in the updated railway network graph are aggregated with other nodes to determine the features of the updated train nodes;
[0255] Based on the third edge embedding, the characteristics of the nodes in the updated railway network graph and the characteristics of the edges, the station nodes in the updated railway network graph are aggregated to determine the characteristics of the updated station nodes;
[0256] Determine the characteristics of the target train node based on the third edge embedding, the characteristics of the updated train node, the characteristics of the updated station node, the characteristics of the interference event node in the updated railway network graph, and the characteristics of the edge;
[0257] Based on the characteristics of the train nodes in the updated railway network diagram and the characteristics of the target train nodes, the train delay prediction result after a preset time interval is determined.
[0258] In a possible implementation, the characteristics of the train node include any one or more of the delay time of the train at the current moment, the time interval between the train node and the previous train node, the minimum running time of the train within a preset time interval, the planned running time of the train within the preset time interval, and the occurrence time of the most recent event of the train before the current moment;
[0259] Characteristics of station nodes include the number of arrival and departure tracks in the station;
[0260] The characteristics of the interference event node include the vectorized interference event.
[0261] In one possible implementation, the edge characteristics include the characteristics of the edge between the station node and the train node, and the characteristics of the edge between the station node and the station node. The characteristics of the edge between the station node and the train node include the planned arrival / departure time of the train at the station from the current moment, and the characteristics of the edge between the station node and the station node include the shortest running time between stations.
[0262] In one possible implementation, the railway network delay evolution prediction model includes an encoder, a latent space and a decoder. The encoder is used to determine the adjacency matrix corresponding to the edges between the updated train nodes and the train nodes, the latent space is used to determine the representation that conforms to the preset continuous distribution, and the decoder is used to determine the train delay prediction result after a preset time interval.
[0263] In a possible implementation, the railway network delay evolution prediction model is a trained railway network delay evolution prediction model, and the device further includes:
[0264] The third determination module is used to input the historical railway network diagram sample data into the initial railway network delay evolution prediction model to obtain the predicted train delay prediction result;
[0265] A calculation module, used for calculating the value of the loss function based on the predicted train delay prediction result;
[0266] The training module is used to train the initial railway network delay evolution prediction model based on the loss function value to obtain the trained railway network delay evolution prediction model.
[0267] In one possible implementation, the loss function includes a divergence component and a reconstruction component. The divergence component is determined based on the output of the encoder of the initial railway network delay evolution prediction model, and the reconstruction component is determined based on the output of the decoder of the initial railway network delay evolution prediction model and the label data corresponding to the historical railway network diagram sample data. The label data is used to represent the actual train delay prediction results.
[0268] According to an embodiment of the present application, by determining the initial railway network graph at the current moment, wherein the nodes in the railway network graph include one or more of train nodes, station nodes, and interference event nodes, the edges in the railway network graph and the adjacency matrix corresponding to the edges are used to represent the interaction relationship between the nodes, and the importance of the interaction between the elements in the railway network in the delay evolution process and the sensitivity of the influencing features can be analyzed. By inputting the initial railway network graph at the current moment into the railway network delay evolution prediction model, based on the characteristics of the nodes in the initial railway network graph, the characteristics of the edges, and the initial adjacency matrix corresponding to the edges, the train delay prediction result after a preset time interval is determined, and train delay prediction guided by the prediction range is realized, while considering multiple trains in the line, which is more holistic and systematic. At the same time, by considering the interaction relationship between multiple elements, the delay prediction accuracy is higher, and the interaction relationship between trains in the delay evolution process can be revealed, which improves the interpretability of the delay evolution, thereby coordinating the interpretability and accuracy of the delay evolution prediction.
[0269] In some embodiments, the functions or modules included in the device provided by the embodiments of the present disclosure can be used to execute the method described in the above method embodiments. The specific implementation can refer to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.
[0270] The embodiment of the present disclosure also provides a computer-readable storage medium on which computer program instructions are stored, and the computer program instructions implement the above method when executed by a processor. The computer-readable storage medium can be a volatile or non-volatile computer-readable storage medium.
[0271] The disclosed embodiment also proposes a train delay prediction device, comprising: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to implement the above method when executing the instructions stored in the memory.
[0272] The embodiments of the present disclosure also provide a computer program product, including a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes the above method.
[0273] Fig.111 is a block diagram of a device 1900 for train delay prediction according to an exemplary embodiment. For example, the device 1900 may be provided as a server or a terminal device. Fig.11 , the apparatus 1900 includes a processing component 1922, which further includes one or more processors, and a memory resource represented by a memory 1932 for storing instructions, such as an application, that can be executed by the processing component 1922. The application stored in the memory 1932 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute instructions to perform the above method.
[0274] The device 1900 may also include a power supply component 1926 configured to perform power management of the device 1900, a wired or wireless network interface 1950 configured to connect the device 1900 to a network, and an input / output interface 1958 (I / O interface). The device 1900 may operate based on an operating system stored in the memory 1932, such as Windows Server 2000. TM , MacOS X TM , Unix TM ,Linux TM , FreeBSD TM or similar.
[0275] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 1932 including computer program instructions, which can be executed by the processing component 1922 of the device 1900 to perform the above method.
[0276] The present disclosure may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.
[0277] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.
[0278] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.
[0279] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.
[0280] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0281] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0282] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0283] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of special hardware and computer instructions.
[0284] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.
Claims
1. A train delay prediction method, characterized in that: The method comprises: Determine an initial railway network graph at the current moment, wherein the nodes in the railway network graph include one or more of train nodes, station nodes, and interference event nodes, and the edges in the railway network graph and the adjacency matrix corresponding to the edges are used to represent the interaction relationship between the nodes; The initial railway network graph at the current moment is input into the railway network delay evolution prediction model, and based on the characteristics of the nodes and edges in the initial railway network graph and the initial adjacency matrix corresponding to the edges, the train delay prediction result after a preset time interval is determined.
2. The method according to claim 1, characterized in that The method of inputting the initial railway network graph at the current moment into the railway network delay evolution prediction model and determining the train delay prediction result after a preset time interval based on the characteristics of the nodes and the edges in the initial railway network graph and the initial adjacency matrix corresponding to the edges comprises: Based on the characteristics of the train nodes in the initial railway network graph, determining the adjacency matrix corresponding to the edges between the updated train nodes and the train nodes; The adjacency matrix corresponding to the edges between train nodes and train nodes in the initial adjacency matrix in the initial railway network graph is replaced with the updated adjacency matrix corresponding to the edges between train nodes and train nodes to determine an updated railway network graph; Based on the updated railway network diagram, a train delay prediction result after a preset time interval is determined.
3. The method according to claim 2, characterized in that The step of determining the adjacency matrix corresponding to the edge between the updated train nodes and the train nodes based on the features of the train nodes in the initial railway network graph comprises: Extracting features of train nodes in the initial railway network graph and determining a first train node embedding corresponding to the train node; Determining, based on the first train node embedding, a first edge embedding corresponding to a train node and an edge between train nodes; Determining a second train node embedding based on the first edge embedding; Determining a second edge embedding based on the second train node embedding; Based on the second edge embedding, an adjacency matrix corresponding to the edges between the updated train nodes and the train nodes is determined.
4. The method according to claim 3, characterized in that The step of determining the train delay prediction result after a preset time interval based on the updated railway network diagram includes: Normalizing the adjacency matrix corresponding to the edge between the updated train nodes and the train nodes based on a preset continuous distribution to obtain a representation that conforms to the preset continuous distribution; Based on the representation that conforms to the preset continuous distribution and the characteristics of the nodes and the characteristics of the edges in the updated railway network graph, a train delay prediction result after a preset time interval is determined.
5. The method according to claim 4, characterized in that The step of determining a train delay prediction result after a preset time interval based on the representation conforming to the preset continuous distribution and the characteristics of the nodes and the edges in the updated railway network graph comprises: Determining a third edge embedding based on the representation conforming to the preset continuous distribution, the third edge embedding being used to indicate whether there is a connection between train nodes and train nodes; Based on the third edge embedding, the characteristics of the nodes in the updated railway network graph and the characteristics of the edges, aggregating the train node in the updated railway network graph with other nodes to determine the characteristics of the updated train node; Based on the third edge embedding, the characteristics of the nodes in the updated railway network graph and the characteristics of the edges, the station nodes in the updated railway network graph are aggregated to determine the characteristics of the updated station nodes; Determine the characteristics of the target train node based on the third edge embedding, the characteristics of the updated train node, the characteristics of the updated station node, the characteristics of the interference event node in the updated railway network graph, and the characteristics of the edge; Based on the characteristics of the train nodes in the updated railway network diagram and the characteristics of the target train nodes, a train delay prediction result after a preset time interval is determined.
6. The method according to claim 1, characterized in that The characteristics of the train node include any one or more of the delay time of the train at the current moment, the time interval between the train node and the previous train node, the minimum running time of the train within a preset time interval, the planned running time of the train within the preset time interval, and the occurrence time of the most recent event of the train before the current moment; The characteristics of the station node include the number of arrival tracks and departure tracks in the station; The feature of the interference event node includes a vectored interference event.
7. The method according to claim 1, characterized in that The characteristics of the edge include the characteristics of the edge between the station node and the train node, and the characteristics of the edge between the station node and the station node. The characteristics of the edge between the station node and the train node include the planned arrival / departure time of the train at the station from the current time; the characteristics of the edge between the station node and the station node include the shortest running time between stations.
8. The method according to claim 2, characterized in that: The railway network delay evolution prediction model includes an encoder, a latent space and a decoder. The encoder is used to determine the adjacency matrix corresponding to the edges between the updated train nodes and the train nodes, the latent space is used to determine the representation that conforms to the preset continuous distribution, and the decoder is used to determine the train delay prediction result after a preset time interval.
9. The method according to claim 1, characterized in that: The railway network delay evolution prediction model is a trained railway network delay evolution prediction model, and the method further includes: Inputting historical railway network graph sample data into the initial railway network delay evolution prediction model to obtain the predicted train delay prediction results; Calculating a value of a loss function based on the predicted train delay prediction result; The initial railway network delay evolution prediction model is trained based on the loss function value to obtain a trained railway network delay evolution prediction model.
10. The method according to claim 9, characterized in that The loss function includes a divergence component and a reconstruction component. The divergence component is determined based on the output of the encoder of the initial railway network delay evolution prediction model, and the reconstruction component is determined based on the output of the decoder of the initial railway network delay evolution prediction model and the label data corresponding to the historical railway network diagram sample data, and the label data is used to represent the actual train delay prediction results.
11. A train delay prediction device, characterized in that: The device comprises: A first determination module is used to determine an initial railway network graph at a current moment, wherein the nodes in the railway network graph include one or more of train nodes, station nodes, and interference event nodes, and the edges in the railway network graph and the adjacency matrix corresponding to the edges are used to represent the interaction relationship between the nodes; The second determination module is used to input the initial railway network diagram at the current moment into the railway network delay evolution prediction model, and determine the train delay prediction result after a preset time interval based on the characteristics of the nodes and edges in the initial railway network diagram and the initial adjacency matrix corresponding to the edges.
12. A train delay prediction device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to implement the method described in any one of claims 1 to 10 when executing the instructions stored in the memory.
13. A non-volatile computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 10 is implemented.
Citation Information
Patent Citations
Deep Neural Network Modeling Method for Train Delay Forecasting of High Speed Railway
CN109508751A
Data-driven swarm intelligence interaction relationship inference and evolution calculation method
CN112269931A
Road traffic flow prediction method based on graph aggregation mechanism of reconstructed traffic network
CN113129585A
KR20230018569A
