Time-series causal discovery method, device and equipment based on intervention data and medium
By acquiring system graphs and performing anomaly detection, constructing fractional functions and optimizing parameters, and generating time-series causal graphs, the problem of insufficient accuracy of causal discovery methods in intelligent operation and maintenance is solved, and the accuracy of causal relationships and the ability to detect anomalies are improved.
Patent Information
- Application Number
- CN202311360168.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-19
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2043-10-19
AI Technical Summary
Existing causal discovery methods, in fields such as intelligent operation and maintenance, rely solely on time series observation data, resulting in limited accuracy of causal relationships and neglecting information about the relationships between variables in complex systems under abnormal conditions.
By acquiring a system graph, obtaining historical time-series data and performing anomaly detection, identifying anomalous nodes, constructing a first fractional function using labeled and unlabeled intervention nodes, and combining time-series observation data and time-series intervention data, optimizing parameters using the augmented Lagrangian method, generating a time-series causal graph to characterize the inter-slice and intra-slice causal relationships between node objects.
It improves the accuracy of causal discovery, introduces information on the relationship between variables in complex systems under abnormal conditions, and generates more accurate time-series causal graphs, which are suitable for anomaly detection and cause tracing in intelligent operation and maintenance scenarios.
Smart Images

Figure CN117648983B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and more specifically, to a method, apparatus, device, and medium for discovering temporal causality based on intervention data. Background Technology
[0002] Causal discovery algorithms based on observational data have received considerable attention in recent years. From observational data, a true causal graph can only be identified as a Markov equivalence class under the assumption of fidelity. However, by incorporating additional information from interventional data, the identifiability can be enhanced. Furthermore, in intelligent operation and maintenance scenarios, data generated by the system under abnormal conditions often contains information that cannot be reflected in stable-state data.
[0003] However, existing causal discovery methods typically rely solely on time-series observational data to determine causal relationships. In fields such as intelligent operations and maintenance, applying these methods overlooks the relationships between variables revealed by complex systems under abnormal conditions, thus limiting the accuracy of the causal relationships obtained. Therefore, improving the accuracy of causal discovery in real-world scenarios has become a pressing issue for those skilled in the art. Summary of the Invention
[0004] This application provides a method, apparatus, device, and medium for time-series causal discovery based on intervention data, aiming to solve the problem of how to improve the accuracy of causal discovery in real-world scenarios.
[0005] The first aspect of this application provides a method for discovering time-series causality based on intervention data, the method comprising:
[0006] Obtain the system diagram, which contains multiple node objects;
[0007] Based on the system diagram, historical time series data is obtained, and time series observation data is obtained based on the historical time series data. The time series observation data includes historical time series data of each node object in a stable state within a preset time period.
[0008] Anomaly detection is performed on the historical time series data to identify abnormal nodes in the historical time series data, and time series intervention data is obtained based on the abnormal nodes. The abnormal nodes are the node objects at abnormal time points, and the abnormal nodes are labeled intervention nodes or unlabeled intervention nodes.
[0009] When the abnormal node is the labeled intervention node, a first fractional function is constructed based on the time-series intervention data, the time-series observation data, and the labeled intervention node;
[0010] The time-series observation data and the time-series intervention data are processed based on the first fractional function to obtain the time-series causal graph corresponding to the system graph. The time-series causal graph is used to characterize the inter-slice causal relationships and intra-slice causal relationships among the multiple node objects.
[0011] In one optional implementation, the step of performing anomaly detection on the historical time-series data to determine abnormal nodes in the historical time-series data includes:
[0012] Based on the historical time series data, the distribution range of the historical time series data within the preset time period is generated;
[0013] Based on the distribution range, the distribution data corresponding to the historical time series data within the preset time period is determined, and based on the distribution data, the Nsigma range is determined. The distribution data includes at least the mean, standard deviation, and quantiles.
[0014] Anomaly detection is performed on the distribution range based on the Nsigma algorithm, and node objects that do not belong to the Nsigma range within the preset time period are selected as the abnormal nodes.
[0015] In one optional implementation, obtaining time-series intervention data based on the abnormal node includes:
[0016] Obtain the abnormal time point corresponding to the abnormal node;
[0017] Based on the abnormal time point, multiple time points within a preset time range before and after the abnormal time point are obtained as multiple candidate time points;
[0018] Obtain the historical time series data corresponding to all the node objects at the multiple candidate time points, and use it as the time series intervention data corresponding to the abnormal node.
[0019] In an optional implementation, when the anomalous node is the unlabeled intervention node, the method further includes:
[0020] Based on the time-series intervention data and the time-series observation data, a second fractional function is constructed;
[0021] The time-series observation data and the time-series intervention data are processed based on the second fractional function to obtain the time-series causal graph corresponding to the system graph and the intervention nodes. The intervention nodes are estimates of the abnormal nodes in the system graph that have been actually intervened.
[0022] In one optional implementation, the step of processing the time-series observation data and the time-series intervention data based on the first fractional function to obtain the time-series causal graph corresponding to the system graph includes:
[0023] The time-series observation data and the time-series intervention data are input into the causal discovery algorithm, which includes the first fractional function.
[0024] The first fractional function is processed based on the time-series observation data and the time-series intervention data;
[0025] The first fractional function after processing is maximized and optimized using the augmented Lagrange method to obtain the optimized parameter results.
[0026] Based on the optimized parameter results, multiple inter-piece matrices and intra-piece matrices are obtained;
[0027] The system graph is processed based on the intra-chip matrix and the inter-chip matrix to obtain the time-series causal graph.
[0028] In one optional implementation, processing the system graph based on the intra-chip matrix and the inter-chip matrix to obtain the time-series causal graph includes:
[0029] Based on the intra-chip matrix, the synchronous causal relationship between the multiple node objects at the target time point is determined as the intra-chip causal relationship.
[0030] Based on the inter-slice matrix, the lag causal relationship between different node objects at the previous time point and the target time point is determined as the inter-slice causal relationship, wherein the previous time point is a time point that is delayed backward by multiple lag units before the target time point;
[0031] Based on the intra-slice causal relationships and the inter-slice causal relationships, edges are generated between node objects at different time points in the system graph to obtain the temporal causal graph.
[0032] In one alternative implementation, the first fractional function is characterized by the following formula:
[0033]
[0034] in, Y represents the joint probability fitted by the neural network, and Y represents multiple node objects under different lag relationships in the time-series causal graph. Let be the first fractional function; φ be the parameters of the neural network; M be the trainable matrix; ||M||0 be the number of elements with a value of 1 in the trainable matrix; and λ be the hyperparameter of the regularization term. q represents the node object; q represents the qth time series intervention data when the number of time series intervention data is Q-1 (q>1), and q=1 represents the time series observation data; sup is the upper limit operator.
[0035] A second aspect of this application provides a temporal causal discovery device based on intervention data, the device comprising:
[0036] The system diagram acquisition module is used to acquire a system diagram, which contains multiple node objects.
[0037] The time-series observation data module is used to acquire historical time-series data based on the system diagram, and to acquire time-series observation data based on the historical time-series data. The time-series observation data includes historical time-series data of each node object in a stable state within a preset time period.
[0038] The time-series intervention data module is used to perform anomaly detection on the historical time-series data, identify abnormal nodes in the historical time-series data, and obtain time-series intervention data based on the abnormal nodes. The abnormal nodes are the node objects at abnormal time points, and the abnormal nodes are labeled intervention nodes or unlabeled intervention nodes.
[0039] The first fractional function module is used to construct a first fractional function based on the time-series intervention data, the time-series observation data, and the labeled intervention node when the abnormal node is the labeled intervention node;
[0040] The causal graph generation module is used to process the time-series observation data and the time-series intervention data based on the first fractional function to obtain the time-series causal graph corresponding to the system graph. The time-series causal graph is used to characterize the inter-slice causal relationship and intra-slice causal relationship between the multiple node objects.
[0041] In one optional implementation, the time-series intervention data module includes:
[0042] The distribution submodule is used to generate the distribution range of the historical time series data within the preset time period based on the historical time series data.
[0043] The distribution data submodule is used to determine the distribution data corresponding to the historical time series data within the preset time period based on the distribution range, and to determine the Nsigma range based on the distribution data. The distribution data includes at least the mean, standard deviation, and quantiles.
[0044] The anomaly detection submodule is used to perform anomaly detection on the distribution range based on the Nsigma algorithm, and to filter node objects that do not belong to the Nsigma range within the preset time period as the abnormal nodes.
[0045] In one optional implementation, the time-series intervention data module further includes:
[0046] The abnormal time point submodule is used to obtain the abnormal time point corresponding to the abnormal node;
[0047] The candidate time point submodule is used to obtain multiple time points within a preset time range before and after the abnormal time point as multiple candidate time points, based on the abnormal time point.
[0048] The time-series intervention data submodule is used to obtain historical time-series data corresponding to all the node objects under the multiple candidate time points, as the time-series intervention data corresponding to the abnormal node.
[0049] In one alternative embodiment, the device further includes:
[0050] The second fractional function module is used to construct a second fractional function based on the time-series intervention data and the time-series observation data;
[0051] The second causal graph generation module is used to process the time-series observation data and the time-series intervention data based on the second fractional function to obtain the time-series causal graph and intervention nodes corresponding to the system graph. The intervention nodes are estimates of the abnormal nodes in the system graph that have been actually intervened.
[0052] In one optional implementation, the cause-effect graph generation module includes:
[0053] An input submodule is used to input the time-series observation data and the time-series intervention data into a causal discovery algorithm, wherein the causal discovery algorithm includes the first fractional function;
[0054] The processing submodule is used to process the first fractional function based on the time-series observation data and the time-series intervention data;
[0055] The optimization submodule is used to maximize the processed first fractional function based on the augmented Lagrange method to obtain the optimized parameter results.
[0056] The causal discovery submodule is used to obtain multiple inter-slice matrices and intra-slice matrices based on the optimized parameter results;
[0057] The causal graph generation submodule is used to process the system graph based on the intra-chip matrix and the inter-chip matrix to obtain the time-series causal graph.
[0058] In one optional implementation, the cause-effect graph generation submodule includes:
[0059] The intra-chip causality unit is used to determine the synchronous causal relationship between the multiple node objects at the target time point based on the intra-chip matrix, as the intra-chip causality;
[0060] The inter-segment causality unit is used to determine, based on the inter-segment matrix, the lag causality between different node objects at a previous time point and the target time point, as the inter-segment causality, wherein the previous time point is a time point that is delayed backward by multiple lag units before the target time point;
[0061] The causal graph generation unit is used to generate edges between node objects at different time points in the system graph based on the intra-slice causal relationship and the inter-slice causal relationship, thereby obtaining the temporal causal graph.
[0062] In one optional implementation, the first fractional function module includes:
[0063] The first fractional function submodule is used to construct the first fractional function, which is represented by the following formula:
[0064]
[0065] in, Y represents the joint probability fitted by the neural network, and Y represents multiple node objects under different lag relationships in the time-series causal graph. Let be the first fractional function; φ be the parameters of the neural network; M be the trainable matrix; ||M||0 be the number of elements with a value of 1 in the trainable matrix; and λ be the hyperparameter of the regularization term. q represents the node object; q represents the qth time series intervention data when the number of time series intervention data is Q-1 (q>1), and q=1 represents the time series observation data; sup is the upper limit operator.
[0066] A third aspect of this application provides an electronic device, including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps in any of the intervention data-based temporal causal discovery methods described in the first aspect.
[0067] A fourth aspect of this application provides a computer-readable storage medium having a computer program / instructions stored thereon, which, when executed by a processor, implements the steps in any of the intervention data-based temporal causal discovery methods described in the first aspect.
[0068] A fifth aspect of this application provides a computer program product, including a computer program / instructions that, when executed by a processor, implement the steps in the time-series causal discovery method based on intervention data as described in the first aspect.
[0069] Beneficial effects:
[0070] This application provides a method, apparatus, device, and medium for time-series causal discovery based on intervention data. The method includes: acquiring a system graph containing multiple node objects; acquiring historical time-series data based on the system graph, and acquiring time-series observation data based on the historical time-series data, the time-series observation data including historical time-series data of each node object in a stable state within a preset time period; performing anomaly detection on the historical time-series data to identify anomalous nodes in the historical time-series data, and acquiring time-series intervention data based on the anomalous nodes, the anomalous nodes being the node objects at anomalous time points, the anomalous nodes being labeled intervention nodes or unlabeled intervention nodes; when the anomalous node is a labeled intervention node, constructing a first fractional function based on the time-series intervention data, the time-series observation data, and the labeled intervention node; processing the time-series observation data and the time-series intervention data based on the first fractional function to obtain a time-series causal graph corresponding to the system graph, the time-series causal graph being used to characterize inter-segment causal relationships and intra-segment causal relationships among the multiple node objects. This application introduces the information on the relationships between variables exposed by complex systems under abnormal states by acquiring time-series observation data and time-series intervention data for stable and abnormal states respectively. This effectively improves the accuracy of obtaining the causal relationships between node objects represented by the causal graph based on time-series data of the two states, and solves the limitation of causal discovery models in real-world scenarios. Attached Figure Description
[0071] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments of this application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0072] Figure 1 This is a flowchart of a time-series causal discovery method based on intervention data, proposed in one embodiment of this application;
[0073] Figure 2 This is a schematic diagram of a time-series causal discovery method based on intervention data proposed in an embodiment of this application;
[0074] Figure 3 This is a schematic diagram of a temporal causal discovery device based on intervention data, according to an embodiment of this application.
[0075] Figure 4 This is a schematic diagram of an electronic device according to an embodiment of this application. Detailed Implementation
[0076] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0077] Causal discovery algorithms based on observational data have received considerable attention in recent years. From observational data, a true causal graph can only be identified as a Markov equivalence class under the assumption of fidelity. However, by incorporating additional information from interventional data, the identifiability can be enhanced. Furthermore, in intelligent operation and maintenance scenarios, data generated by the system under abnormal conditions often contains information that cannot be reflected in stable-state data.
[0078] However, existing causal discovery methods typically rely solely on time-series observation data to determine causal relationships. In fields such as intelligent operation and maintenance, these methods are difficult to apply to real-world scenarios. Furthermore, methods that rely solely on observation data may overlook the relationships between variables exposed by complex systems in abnormal states. Consequently, the accuracy of causal relationships obtained through causal discovery is quite limited.
[0079] In view of this, embodiments of this application propose a method for discovering temporal causality based on intervention data. Figure 1 A flowchart illustrating a time-series causal discovery method based on intervention data, as proposed in an embodiment of this application, is shown. Figure 1 As shown, the method includes the following steps:
[0080] S101. Obtain the system diagram.
[0081] Obtain the system diagram, which contains multiple node objects.
[0082] In specific implementation step S101, the target system is first obtained. The target system contains multiple node variables, and the causal relationships between these node variables need to be determined. All node variables in the target system whose causal relationships need to be determined are combined into a system graph, and each node variable in the system graph is treated as a node object to be processed. In the system graph, the temporal causal discovery method based on intervention data proposed in this application embodiment is used to determine the edges between node objects with causal relationships among the multiple node objects, thereby obtaining a causal graph corresponding to the system graph.
[0083] In one optional implementation, when the target system contains a large number of node objects, directly performing causal discovery on all node objects in the target system would significantly reduce the algorithm's running efficiency and the efficiency of the causal graph output. Therefore, after obtaining the system graph, a node number threshold is set. If the number of node objects in the system graph is greater than or equal to the node object threshold, the system graph is divided into multiple system subgraphs. Figure 2 This illustration shows a schematic diagram of a time-series causal discovery method based on intervention data, as proposed in an embodiment of this application. Figure 2 As shown in the left-hand area, the system diagram (such as...) Figure 2 The main variables of the complex system shown are divided into multiple system subgraphs (such as...). Figure 2 The sub shown Figure 1 Kazuko Figure 2 Each of the system subgraphs contains a portion of the node objects of the system graph, and different system subgraphs may contain at least one common node object. Subsequently, each system subgraph is processed based on the subsequent causal discovery method, outputting a temporal causal graph corresponding to each system subgraph. Then, the temporal causal graphs corresponding to each system subgraph are reassembled according to the common node objects to obtain the complete global temporal causal graph corresponding to the system graph. It should be noted that the above-mentioned node number threshold and the number of segmented system subgraphs (or the number of node objects contained in each system subgraph) can be determined according to the actual situation, and this application does not impose specific limitations here.
[0084] S102. Based on the system diagram, obtain historical time series data, and based on the historical time series data, obtain time series observation data.
[0085] Based on the system diagram, historical time-series data is obtained, and time-series observation data is obtained based on the historical time-series data. The time-series observation data includes historical time-series data of each node object in a stable state within a preset time period.
[0086] In specific implementation step S102, after obtaining the input system diagram (or system sub-diagram), all node variables in the input system diagram are acquired, and historical time-series data of each node variable within a preset time period are obtained. Subsequently, based on the historical time-series data, the distribution range of the historical time-series data within the preset time period is generated. For example, the distribution range can be the normal distribution range or an approximately normal distribution range of the time-series observation data within the preset time period. Based on the distribution range, the historical time-series data within the preset time period when the system is in a stable state is used as the time-series observation data corresponding to each node variable. After traversing and obtaining the time-series observation data corresponding to all node variables in the system diagram, it is used as the time-series observation data corresponding to the input system diagram. The time-series observation data is used to characterize the feature information between each node variable when the system is in a stable state. It should be noted that the above-mentioned preset time period can be determined according to the actual situation, and this application does not impose specific limitations here.
[0087] After obtaining the time-series observation data corresponding to the system graph to characterize the stable state, in order to improve the accuracy of the causal graph generated by the causal discovery method, step S103 is executed to obtain the time-series intervention data corresponding to the node objects, thereby introducing the feature information between node variables in the abnormal state of the system into the causal discovery method.
[0088] S103. Perform anomaly detection on the historical time series data, identify abnormal nodes in the historical time series data, and obtain time series intervention data based on the abnormal nodes.
[0089] Anomaly detection is performed on the historical time series data to identify abnormal nodes in the historical time series data, and time series intervention data is obtained based on the abnormal nodes. The abnormal nodes are the node objects at abnormal time points, and the abnormal nodes are labeled intervention nodes or unlabeled intervention nodes.
[0090] In specific implementation step S103, firstly, based on historical time-series data, the abnormal time points when the system is in an abnormal state within a preset time period covered by the historical time-series data are determined. Specifically, firstly, based on the historical time-series data, the distribution range of the historical time-series data within the preset time period is generated. For example, the distribution range can be the normal distribution range or an approximately normal distribution range of the historical time-series data within the preset time period. Subsequently, based on the distribution range of the historical time-series data within the preset time period, the mean, standard deviation, and quantiles of the distribution range, as well as the 10%, 25%, 50%, 75%, and 90% quantiles, are determined. The mean, standard deviation, and quantiles are used as the distribution data corresponding to the distribution range. The distribution data is used to determine the Nsigma range in the Nsigma algorithm (also known as the n-σ algorithm). Specifically, based on the mean, standard deviation, and quantiles of the preset N value in the Nsigma algorithm, the boundary of the stable state interval is determined, and the boundary value of the stable state interval is used as the Nsigma range.
[0091] Anomaly detection is performed on the distribution range based on the Nsigma algorithm. Historical time series data within the Nsigma range in the preset time period are taken as normal time series observation data. Historical time series data that do not belong to the Nsigma range within the preset time period are filtered out, and their corresponding node objects are taken as abnormal nodes, and their corresponding time points are taken as abnormal time points.
[0092] After obtaining the anomalous nodes and anomalous time points, since these anomalous nodes represent only a portion detected by the anomaly detection algorithm, further processing is required to filter out all anomalous nodes from the historical time-series data. Because the anomalous time points corresponding to the anomalous nodes are already considered potentially manipulated, the proposed solution performs further anomalous state detection within the similar time periods of each anomalous time point to obtain the time-series data of the node objects within those similar time periods, thereby expanding the feature information corresponding to the anomalous nodes.
[0093] Specifically, firstly, the abnormal time point corresponding to the abnormal node is obtained. Using the abnormal time point as a baseline, multiple time points within a preset time range before and after the abnormal time point are obtained as multiple candidate time points. Then, the historical time-series data corresponding to all node objects under the multiple candidate time points is obtained. This abnormal time point and its corresponding candidate time points' historical time-series data are used as the time-series intervention data corresponding to the abnormal node. Finally, the Nsigma algorithm is used to detect all abnormal nodes in the time-series intervention data corresponding to the abnormal node.
[0094] by Figure 2 For example, Figure 2 As shown, the time-series observation data ( Figure 2 (The observed data in the graph) Each list represents a node object in the system diagram, and each row represents a point in time within a preset time period. Figure 2 The time-series observation data shown is time-series data with 4 node objects and a preset time period including 6 time points; anomaly detection is performed on the historical time-series data, and if the first node x1 is detected to be in an abnormal state at one of the time points, then the first node x1 is an abnormal node at that time point (i.e., the abnormal time point). Figure 2 The first column of the intervention target on the left represents the historical time series data corresponding to all first nodes x1 under the multiple candidate time points. The historical time series data corresponding to the four node objects under the multiple candidate time points are combined into a time series intervention data (i.e. Figure 2 (The intervention target is shown on the left). Repeating the above process yields the time-series intervention data corresponding to the anomalous nodes, the second node x2 and the fourth node x4. It should be noted that the above example is merely an optional implementation method provided to help those skilled in the art better understand the solution of this application. The specific anomalous nodes corresponding to the time-series intervention data can be determined according to the actual situation, and this application does not impose any limitations here.
[0095] In one optional implementation, after obtaining multiple time-series intervention data corresponding to a preset time period, the preset time period is adjusted, and the above steps S101-S103 are repeated to obtain multiple time-series intervention data corresponding to different preset time periods. The time-series intervention data is then combined into a time-series intervention dataset to replace the time-series intervention data for subsequent processes.
[0096] After obtaining the time-series intervention data, since the time-series intervention data corresponds to abnormal nodes, and the abnormal state caused by the abnormal node may be caused by intervention from other node objects, or it may be caused by other non-intervention reasons. When it is an abnormal state caused by non-intervention reasons, the abnormal nodes in this part of the abnormal state do not meet the definition of intervention nodes in the causal discovery method based on intervention data. Therefore, it is necessary to characterize whether the abnormal node is the abnormal node corresponding to the intervention, so that the abnormal nodes corresponding to the abnormal state caused by other non-intervention reasons cannot be used as intervention nodes for subsequent processing. Specifically, an intervention node is defined as a node object A whose relationship with its parents B and C has changed, i.e., the way B and C influence A has changed. In such cases, node object A is defined as an intervention node. Since an abnormal state arises when the relationship between an abnormal node and other node objects (the abnormal node's parent node) changes, and the abnormal node meets the definition of an intervention node, the abnormal node in the time-series intervention data that meets the definition is labeled as an intervention node. An abnormal node that does not meet the definition is not an intervention node, and in this case, it cannot be determined which node objects in the time-series intervention data are specifically intervention nodes; therefore, no intervention node labeling is applied to the node objects (including abnormal nodes) in the time-series intervention data. This application obtains time-series intervention data containing abnormal nodes and time-series observation data without abnormal nodes by performing anomaly detection on historical time-series data. It then determines the time-series intervention data corresponding to abnormal states and labels the time-series intervention data based on the intervention node definition, identifying time-series intervention data with explicit intervention nodes and intervention data with implicit intervention nodes. This introduces node information of abnormal states caused by intervention into the causal discovery method, thereby improving the accuracy of causal discovery. Next, steps S104 and S105 are executed. Different fractional functions are used to process the time-series intervention data with clear intervention nodes and the intervention data with unclear intervention nodes in different ways, so as to obtain the causal graph corresponding to the system graph based on the time-series observation data under the steady state and the time-series intervention data under the abnormal state.
[0097] S104. If the abnormal node is the labeled intervention node, construct a first fractional function based on the time-series intervention data, the time-series observation data, and the labeled intervention node.
[0098] In specific implementation step S104, the dynamic causal graph model and intervention are first defined, and the conditional density function of the node object is modeled using a neural network. This is further used to form a regularized maximum log-likelihood fractional function, which is then used as the first fractional function. Specifically, the first fractional function is represented by the following formula:
[0099]
[0100] in, Y represents the joint probability fitted by the neural network, and Y represents multiple node objects under different lag relationships in the time-series causal graph. Let be the first fractional function; φ be the parameters of the neural network; M be the trainable matrix; ||M||0 be the number of elements with a value of 1 in the trainable matrix; and λ be the hyperparameter of the regularization term. q represents the node object; q represents the qth time series intervention data when the number of time series intervention data is Q-1 (q>1), and q=1 represents the time series observation data; sup is the upper limit operator.
[0101] In this embodiment of the application, when the abnormal node corresponding to the time-series intervention data is marked as an intervention node, the node object that is the intervention node in the time-series intervention data is known. By introducing the information features represented in the time-series data of the abnormal state of the system through the first fractional function constructed above when performing time-series causal discovery, the accuracy of causal discovery in complex and unstable systems can be improved.
[0102] In an optional implementation, when the anomalous node is the unlabeled intervention node, the anomalous node corresponding to the time-series intervention data is determined to be a non-intervention node through the above process. In this case, the node object in the time-series intervention data that is an intervention node is unknown. Therefore, it is not possible to directly use the first fractional function to establish a condition that the intervention node must be known. Thus, a second fractional function needs to be constructed based on the time-series intervention data and the time-series observation data to relax the dependence on the intervention node. Specifically, the second fractional function is represented by the following formula:
[0103]
[0104] in, For the second fractional function; λ, λ R These are all hyperparameters of the regularization term; Let be the number of edges in the desired temporal causal graph; The number of intervention nodes. Y represents the joint probability fitted by the neural network, Y represents multiple node objects under different lag relationships in the time-series causal graph, and φ represents the parameters of the neural network. It is a trainable matrix; q represents the node object; q represents the qth time series intervention data when the number of time series intervention data is Q-1 (q>1), and q=1 represents the time series observation data; sup is the upper limit operator.
[0105] This embodiment modifies the first fractional function by adding a regularization term to sparsify the learning intervention family (the set of intervention nodes), resulting in the second fractional function. This second fractional function processes time-series observation data and time-series intervention data when intervention nodes are unknown. By constructing the second fractional function, this embodiment relaxes the requirement that intervention nodes must be known for time-series causal discovery methods based on time-series intervention data. In real-world scenarios, since anomalous nodes obtained based on anomaly detection algorithms may not strictly conform to the definition of intervention nodes, even if the anomalous node is not a real intervention node after the above anomaly detection and definition confirmation, providing only time-series intervention data can achieve relatively high accuracy in time-series causal discovery, and can also identify possible real intervention nodes, demonstrating strong application value.
[0106] S105. Based on the first fractional function, process the time-series observation data and the time-series intervention data to obtain the time-series causal graph corresponding to the system graph.
[0107] The time-series observation data and the time-series intervention data are processed based on the first fractional function to obtain the time-series causal graph corresponding to the system graph. The time-series causal graph is used to characterize the inter-slice causal relationships and intra-slice causal relationships among the multiple node objects.
[0108] In specific implementation step S105, the causal discovery algorithm containing the first and second fractional functions is trained and optimized. The first and second fractional functions are maximized under acyclic constraints using the augmented Lagrange method. Specifically, the first fractional function is processed based on the time-series observation data and the time-series intervention data; the processed first fractional function is maximized and optimized using the augmented Lagrange method to obtain optimized parameter results; and multiple inter-piece matrices and intra-piece matrices are obtained based on the optimized parameter results. First, the node object Y is defined as follows:
[0109] Y0=(X 0,1 ,…,X 0,d ),Y k =(X k,1 ,…,X k,d ),Y=(Y0,Y1,…,Y p );
[0110] Y = (X 0,1 ,…,X 0,d ,…,X p,1 ,…,X p,d )=(X1,…,X (p+1)d);
[0111] Where Y0 represents the time-series data of d distinct node objects, Y k This is time-series data for d node objects, lagging by k time units, where Y is the time series data from Y0 to Y... p The overall representation of the horizontal splicing consists of (p+1)d node objects.
[0112] We only focus on all other node objects X1, ..., X d The influence of the temporal data of node objects is considered, so we set Λ[:,d+1:(p+1)d] before training, which represents the meaningless part. It is zero.
[0113] After the above optimization process of the causal discovery algorithm, optimized first and second fractional functions are obtained. The trainable matrices in the optimized first and second fractional functions are optimized into complete prediction weight matrices. Subsequently, the time-series observation data and the time-series intervention data are processed based on the optimized first fractional function to obtain multiple inter-slice matrices. and in-film matrix For each time lag term k = 1, ..., p, the intra-slice matrix reflects the synchronous causal relationship of the d node objects, and the inter-slice matrix reflects the time lag causal relationship of the d node objects.
[0114] Finally, the system graph is processed based on the intra-chip matrix and the inter-chip matrix to obtain the temporal causal graph. Specifically, based on the intra-chip matrix, the contemporaneous causal relationships between the multiple node objects at the target time point are determined as the intra-chip causal relationships, which are the same at each target time point. Multiple previous time points are obtained by delaying forward and backward by multiple lag units from the target time point. Then, based on the inter-chip matrix, the lag causal relationships between different node objects at each previous time point and different node objects at the target time point are determined as the inter-chip causal relationships. Based on the intra-chip causal relationships and the inter-chip causal relationships determined above, edges are generated between node objects at different time points in the system graph to describe the causal relationships between different node objects, thus obtaining the temporal causal graph.
[0115] For example, such as Figure 2As shown, based on the causal discovery algorithm, the processing of time-series observation data and time-series intervention data outputs a first inter-segment matrix A1, a second inter-segment matrix A2, and an intra-segment matrix W. The first inter-segment matrix A1 represents the lagged causal relationship between the four node objects at the previous time point t-1 and the four node objects at the target time point t. This lagged causal relationship is used as the inter-segment causal relationship between the four node objects at the previous time point t-1 and the four node objects at the target time point t, and is described in the system graph, forming an edge between the four node objects at the previous time point t-1 and the four node objects at the target time point t. Since the inter-segment causal relationship between node objects corresponding to two time points with the same lag unit is the same, the edge between t-2 and t-1 is not described repeatedly in the system graph. The second inter-segment matrix A2 represents the relationship between the four node objects at the previous time point t-2 and the four node objects at the target time point t. The lagged causal relationship is defined as the inter-slice causal relationship between the four node objects at the previous time point t-2 and the four node objects at the target time point t, and is described in the system graph, forming edges between the four node objects at the previous time point t-2 and the four node objects at the target time point t. The intra-slice matrix W represents the contemporaneous causal relationship between the four node objects at the target time point t, and is defined as the intra-slice causal relationship between the four node objects at the target time point t, and is described in the system graph, forming edges between the four node objects at the target time point t. Since the intra-slice causal relationship between the node objects corresponding to each time point is the same, the edges of the node objects within t-2 or t-1 are not described repeatedly in the system graph. It should be noted that the above example is only an optional approach given to enable those skilled in the art to better understand the solution of this application. The specific intra-slice causal relationship and inter-slice causal relationship can be determined according to the actual situation, and this application does not impose any restrictions here.
[0116] In an optional implementation, when the anomalous node is the unlabeled intervention node, the time-series observation data and time-series intervention data are processed based on the optimized second fractional function in the causal discovery algorithm. While generating the time-series causal graph corresponding to the system graph, intervention nodes in the node objects can be identified simultaneously. These intervention nodes are estimates of the anomalous nodes in the system graph that have actually been intervened in. Therefore, the method of this application can not only generate a time-series causal graph when the intervention node is unknown, but also learn about possible intervention nodes. Thus, for the causal discovery method when the anomalous node is the unlabeled intervention node, it can also serve as an anomaly detection method based on changes in the relationships between variables, undoubtedly providing more possibilities for its application in real-world scenarios.
[0117] The temporal causal graph obtained in this embodiment is based on modeling the data of abnormal system states as temporal intervention data. It can obtain temporal causal relationships learned from both stable and abnormal state data. This results in a more accurate temporal causal graph for complex systems, which can assist in multiple downstream tasks and practical applications, such as knowledge graph construction, anomaly detection, and root cause localization. For example, when the input system graph is a system graph in an air conditioning room scenario, the node objects within the system graph can be the temperatures of different devices, the parameters of different sensors, etc. Based on the causal discovery method provided in this embodiment, a temporal causal graph representing the causal relationship between the temperatures of different devices and the parameters of different sensors can be generated. This allows for more accurate tracing of the causes of abnormal states of certain specific node objects (such as a certain device or a certain sensor) in the air conditioning room scenario, thereby achieving anomaly detection and cause tracing of abnormal states.
[0118] This application provides a method for temporal causal discovery based on intervention data. The method includes: acquiring a system graph containing multiple node objects; acquiring historical time-series data based on the system graph, and acquiring temporal observation data based on the historical time-series data, wherein the temporal observation data includes historical time-series data of each node object in a stable state within a preset time period; performing anomaly detection on the historical time-series data to identify anomalous nodes in the historical time-series data, and acquiring temporal intervention data based on the anomalous nodes, wherein the anomalous nodes are the node objects at anomalous time points, and the anomalous nodes are labeled intervention nodes or unlabeled intervention nodes; when the anomalous node is a labeled intervention node, constructing a first fractional function based on the temporal intervention data, the temporal observation data, and the labeled intervention node; processing the temporal observation data and the temporal intervention data based on the first fractional function to obtain a temporal causal graph corresponding to the system graph, wherein the temporal causal graph is used to characterize inter-segment causal relationships and intra-segment causal relationships among the multiple node objects. This application introduces the information on the relationships between variables exposed by complex systems under abnormal states by acquiring time-series observation data and time-series intervention data for stable and abnormal states respectively. This effectively improves the accuracy of obtaining the causal relationships between node objects represented by the causal graph based on time-series data of the two states, and solves the limitation of causal discovery models in real-world scenarios.
[0119] Based on the same inventive concept, embodiments of this application disclose a temporal causal discovery device based on intervention data. Figure 3 This illustration shows a schematic diagram of a temporal causal discovery device based on intervention data according to an embodiment of this application. Figure 3 As shown, the device includes:
[0120] The system diagram acquisition module is used to acquire a system diagram, which contains multiple node objects.
[0121] The time-series observation data module is used to acquire historical time-series data based on the system diagram, and to acquire time-series observation data based on the historical time-series data. The time-series observation data includes historical time-series data of each node object in a stable state within a preset time period.
[0122] The time-series intervention data module is used to perform anomaly detection on the historical time-series data, identify abnormal nodes in the historical time-series data, and obtain time-series intervention data based on the abnormal nodes. The abnormal nodes are the node objects at abnormal time points, and the abnormal nodes are labeled intervention nodes or unlabeled intervention nodes.
[0123] The first fractional function module is used to construct a first fractional function based on the time-series intervention data, the time-series observation data, and the labeled intervention node when the abnormal node is the labeled intervention node;
[0124] The causal graph generation module is used to process the time-series observation data and the time-series intervention data based on the first fractional function to obtain the time-series causal graph corresponding to the system graph. The time-series causal graph is used to characterize the inter-slice causal relationship and intra-slice causal relationship between the multiple node objects.
[0125] In one optional implementation, the time-series intervention data module includes:
[0126] The distribution submodule is used to generate the distribution range of the historical time series data within the preset time period based on the historical time series data.
[0127] The distribution data submodule is used to determine the distribution data corresponding to the historical time series data within the preset time period based on the distribution range, and to determine the Nsigma range based on the distribution data. The distribution data includes at least the mean, standard deviation, and quantiles.
[0128] The anomaly detection submodule is used to perform anomaly detection on the distribution range based on the Nsigma algorithm, and to filter node objects that do not belong to the Nsigma range within the preset time period as the abnormal nodes.
[0129] In one optional implementation, the time-series intervention data module further includes:
[0130] The abnormal time point submodule is used to obtain the abnormal time point corresponding to the abnormal node;
[0131] The candidate time point submodule is used to obtain multiple time points within a preset time range before and after the abnormal time point as multiple candidate time points, based on the abnormal time point.
[0132] The time-series intervention data submodule is used to obtain historical time-series data corresponding to all the node objects under the multiple candidate time points, as the time-series intervention data corresponding to the abnormal node.
[0133] In one alternative embodiment, the device further includes:
[0134] The second fractional function module is used to construct a second fractional function based on the time-series intervention data and the time-series observation data;
[0135] The second causal graph generation module is used to process the time-series observation data and the time-series intervention data based on the second fractional function to obtain the time-series causal graph and intervention nodes corresponding to the system graph. The intervention nodes are estimates of the abnormal nodes in the system graph that have been actually intervened.
[0136] In one optional implementation, the cause-effect graph generation module includes:
[0137] An input submodule is used to input the time-series observation data and the time-series intervention data into a causal discovery algorithm, wherein the causal discovery algorithm includes the first fractional function;
[0138] The processing submodule is used to process the first fractional function based on the time-series observation data and the time-series intervention data;
[0139] The optimization submodule is used to maximize the processed first fractional function based on the augmented Lagrange method to obtain the optimized parameter results.
[0140] The causal discovery submodule is used to obtain multiple inter-slice matrices and intra-slice matrices based on the optimized parameter results;
[0141] The causal graph generation submodule is used to process the system graph based on the intra-chip matrix and the inter-chip matrix to obtain the time-series causal graph.
[0142] In one optional implementation, the cause-effect graph generation submodule includes:
[0143] The intra-chip causality unit is used to determine the synchronous causal relationship between the multiple node objects at the target time point based on the intra-chip matrix, as the intra-chip causality;
[0144] The inter-segment causality unit is used to determine, based on the inter-segment matrix, the lag causality between different node objects at a previous time point and the target time point, as the inter-segment causality, wherein the previous time point is a time point that is delayed backward by multiple lag units before the target time point;
[0145] The causal graph generation unit is used to generate edges between node objects at different time points in the system graph based on the intra-slice causal relationship and the inter-slice causal relationship, thereby obtaining the temporal causal graph.
[0146] In one optional implementation, the first fractional function module includes:
[0147] The first fractional function submodule is used to construct the first fractional function, which is represented by the following formula:
[0148]
[0149] in, Y represents the joint probability fitted by the neural network, and Y represents multiple node objects under different lag relationships in the time-series causal graph. Let be the first fractional function; φ be the parameters of the neural network; M be the trainable matrix; ||M||0 be the number of elements with a value of 1 in the trainable matrix; and λ be the hyperparameter of the regularization term. q represents the node object; q represents the qth time series intervention data when the number of time series intervention data is Q-1 (q>1), and q=1 represents the time series observation data; sup is the upper limit operator.
[0150] Based on the same inventive concept, this application discloses an electronic device. Figure 4 A schematic diagram of an electronic device according to an embodiment of this application is shown, such as... Figure 4 As shown, the electronic device 100 includes a memory 110 and a processor 120. The memory 110 and the processor 120 are connected via a bus. The memory 110 stores at least one instruction, at least one program, code set, or instruction set. The at least one instruction, the at least one program, the code set, or the instruction set can be loaded and run on the processor 120 to implement the steps in the time-series causal discovery method based on intervention data disclosed in the embodiments of this application.
[0151] Based on the same inventive concept, embodiments of this application disclose a computer-readable storage medium storing at least one instruction, at least one program, code set, or instruction set thereon. The at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the steps in the time-series causal discovery method based on intervention data disclosed in embodiments of this application.
[0152] Based on the same inventive concept, embodiments of this application disclose a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps in the time-series causal discovery method based on intervention data disclosed in embodiments of this application.
[0153] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.
[0154] This application describes embodiments with reference to flowchart illustrations and / or block diagrams of methods, apparatuses, electronic devices, and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0155] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0156] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal equipment, causing a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0157] Although preferred embodiments of the present application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present application.
[0158] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.
[0159] The above provides a detailed description of the time-series causal discovery method, apparatus, device, and medium based on intervention data provided in this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A time-series causal discovery method based on intervention data, characterized in that, The method includes: Obtain a system diagram in an air conditioning room scenario. The system diagram in the air conditioning room scenario contains multiple node objects, which are the temperatures of different devices and the parameters of different sensors. Based on the system diagram of the air conditioning room scenario, historical time-series data is obtained, and time-series observation data is obtained based on the historical time-series data. The time-series observation data includes historical time-series data of each node object in a stable state within a preset time period. Anomaly detection is performed on the historical time series data to identify abnormal nodes in the historical time series data, and time series intervention data is obtained based on the abnormal nodes. The abnormal nodes are the node objects at abnormal time points, and the abnormal nodes are labeled intervention nodes or unlabeled intervention nodes. When the abnormal node is the labeled intervention node, a first fractional function is constructed based on the time-series intervention data, the time-series observation data, and the labeled intervention node; Based on the first fractional function, the time-series observation data and the time-series intervention data are processed to obtain the time-series causal graph corresponding to the system graph in the air-conditioning room scenario. The time-series causal graph corresponding to the system graph in the air-conditioning room scenario is used to characterize the inter-slice causal relationship and intra-slice causal relationship between the multiple node objects. When the abnormal node is the unlabeled intervention node, the method further includes: Based on the time-series intervention data and the time-series observation data, a second fractional function is constructed; The time-series observation data and the time-series intervention data are processed based on the second fractional function to obtain the time-series causal graph and intervention nodes corresponding to the system graph in the air conditioning room scenario. The intervention nodes are estimates of the abnormal nodes that are actually intervened in the system graph in the air conditioning room scenario. The time-series cause-effect graph corresponding to the system diagram in the air conditioning room scenario is specifically used to characterize the causal relationship between the temperature of different devices and the parameters of different sensors, so as to trace the cause of abnormal state of a certain device or sensor in the air conditioning room scenario.
2. The time-series causal discovery method based on intervention data according to claim 1, characterized in that, The step of performing anomaly detection on the historical time-series data to determine abnormal nodes in the historical time-series data includes: Based on the historical time series data, the distribution range of the historical time series data within the preset time period is generated; Based on the distribution range, the distribution data corresponding to the historical time series data within the preset time period is determined, and based on the distribution data, the Nsigma range is determined. The distribution data includes at least the mean, standard deviation, and quantiles. Anomaly detection is performed on the distribution range based on the Nsigma algorithm, and node objects that do not belong to the Nsigma range within the preset time period are selected as the abnormal nodes.
3. The time-series causal discovery method based on intervention data according to claim 1, characterized in that, The acquisition of time-series intervention data based on the abnormal nodes includes: Obtain the abnormal time point corresponding to the abnormal node; Based on the abnormal time point, multiple time points within a preset time range before and after the abnormal time point are obtained as multiple candidate time points; Obtain the historical time series data corresponding to all the node objects at the multiple candidate time points, and use it as the time series intervention data corresponding to the abnormal node.
4. The time-series causal discovery method based on intervention data according to claim 1, characterized in that, The process of processing the time-series observation data and the time-series intervention data based on the first fractional function to obtain the time-series causal graph corresponding to the system graph in the air conditioning room scenario includes: The time-series observation data and the time-series intervention data are input into the causal discovery algorithm, which includes the first fractional function. The first fractional function is processed based on the time-series observation data and the time-series intervention data; The first fractional function after processing is maximized and optimized using the augmented Lagrange method to obtain the optimized parameter results. Based on the optimized parameter results, multiple inter-piece matrices and intra-piece matrices are obtained; The system diagram in the air conditioning room scenario is processed based on the intra-chip matrix and the inter-chip matrix to obtain the time-series causal graph.
5. The time-series causal discovery method based on intervention data according to claim 4, characterized in that, The process of processing the system graph in the air conditioning room scenario based on the intra-chip matrix and the inter-chip matrix to obtain the time-series cause-effect graph includes: Based on the intra-chip matrix, the synchronous causal relationship between the multiple node objects at the target time point is determined as the intra-chip causal relationship. Based on the inter-slice matrix, the lag causal relationship between different node objects at the previous time point and the target time point is determined as the inter-slice causal relationship, wherein the previous time point is a time point that is delayed backward by multiple lag units before the target time point; Based on the intra-slice causal relationships and the inter-slice causal relationships, edges between node objects at different time points in the system graph of the air conditioning room scenario are generated to obtain the temporal causal graph.
6. The time-series causal discovery method based on intervention data according to claim 1, characterized in that, The first fractional function is represented by the following formula: ; in, The joint probability fitted by the neural network. Y These are multiple node objects under different lag relationships in the time-series causal graph; The first fractional function; These are the parameters of the neural network; M For trainable matrices, The number of elements that are 1 in the trainable matrix. is a hyperparameter for the regularization term; The node object is represented by q; q is the qth time series intervention data when the number of time series intervention data is Q-1, where q>1 and q=1 represents the time series observation data. sup The upper limit operator.
7. A temporal causal discovery device based on intervention data, characterized in that, The device includes: The system diagram acquisition module is used to acquire the system diagram in the air conditioning room scenario. The system diagram in the air conditioning room scenario contains multiple node objects, which are the temperatures of different devices and the parameters of different sensors. The time-series observation data module is used to obtain historical time-series data based on the system diagram in the air conditioning room scenario, and to obtain time-series observation data based on the historical time-series data. The time-series observation data includes historical time-series data of each node object in a stable state within a preset time period. The time-series intervention data module is used to perform anomaly detection on the historical time-series data, identify abnormal nodes in the historical time-series data, and obtain time-series intervention data based on the abnormal nodes. The abnormal nodes are the node objects at abnormal time points, and the abnormal nodes are labeled intervention nodes or unlabeled intervention nodes. The first fractional function module is used to construct a first fractional function based on the time-series intervention data, the time-series observation data, and the labeled intervention node when the abnormal node is the labeled intervention node; The causal graph generation module is used to process the time-series observation data and the time-series intervention data based on the first fractional function to obtain a time-series causal graph corresponding to the system graph in the air conditioning room scenario. The time-series causal graph corresponding to the system graph in the air conditioning room scenario is used to characterize the inter-chip causal relationship and intra-chip causal relationship between the multiple node objects. Specifically, the time-series causal graph corresponding to the system graph in the air conditioning room scenario is used to characterize the causal relationship between the temperature of different devices and the parameters of different sensors, so as to trace the cause of the abnormal state of a certain device or sensor in the air conditioning room scenario. The first fractional function module is further configured to: construct a second fractional function based on the time-series intervention data and the time-series observation data when the abnormal node is the unlabeled intervention node; process the time-series observation data and the time-series intervention data based on the second fractional function to obtain the time-series causal graph and intervention node corresponding to the system graph in the air conditioning room scenario, wherein the intervention node is an estimate of the abnormal node that has been actually intervened in the system graph in the air conditioning room scenario.
8. An electronic device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps in the time-series causal discovery method based on intervention data as described in any one of claims 1-6.
9. A computer-readable storage medium having a computer program / instructions stored thereon, characterized in that, When the computer program / instruction is executed by the processor, it implements the steps in the time-series causal discovery method based on intervention data as described in any one of claims 1-6.
Citation Information
Patent Citations
System and method for recognizing correlations among data elements and evolution pattern
CN105653541A
Construction method of data system anomaly analysis model
CN114970994A
