Method and device for identifying root cause of quality anomaly in industrial production of critical metals

By constructing a causal quality map and calculating parameters such as causal strength and confidence, the root causes of quality anomalies in industrial production are identified. This solves the problems of insufficient characterization of causal relationships and insufficient modeling of propagation time delay in existing technologies, and achieves highly accurate root cause ranking and path interpretation.

CN122865359BActive Publication Date: 2026-11-24BEIJING TSINGHUA FRONTIER INNOVATION INSTITUTE +3
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202611376369.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-09-07
Publication Date
2026-11-24
Estimated Expiration
2046-09-07

AI Technical Summary

Technical Problem

Existing methods for handling industrial quality anomalies lack causal expression capabilities, time propagation modeling capabilities, root cause ranking capabilities, and path interpretability, making it difficult to accurately identify the root causes of quality anomalies in complex industrial processes.

Method used

A causal quality graph is constructed by acquiring industrial production data, generating an upstream event subgraph of anomalous evidence, and calculating the causal strength, confidence, time alignment, and path length penalty of causal edges. The contribution value of candidate root cause nodes is calculated, a root cause ranking list is generated, and propagation and interpretation operations are performed.

Benefits of technology

It enables accurate identification of the root causes of quality anomalies in industrial production, improves the accuracy and path interpretability of causal relationship characterization, propagation delay modeling, and candidate root cause ranking, and enhances the credibility and interpretability of quality anomaly handling.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122865359B_ABST
    Figure CN122865359B_ABST
Patent Text Reader

Abstract

This application discloses a method and apparatus for identifying the root causes of quality anomalies in key metal industrial production, relating to the field of industrial production quality anomaly tracing technology. The method includes: constructing a causal quality map with time delay parameters, causal strength parameters, and confidence parameters; generating node-level anomaly evidence by combining anomaly detection results; and then using a causal anomaly propagation algorithm for time alignment, path contribution calculation, redundant path pruning, and root cause scoring, thereby outputting the root cause ranking results and propagation explanation paths for the quality anomalies. This solves the technical problems in existing industrial production quality anomaly tracing methods, such as insufficient causal relationship characterization, insufficient propagation time delay modeling, excessive candidate root causes, low ranking accuracy, and weak path interpretability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of industrial production quality anomaly tracing technology, and in particular to a method and apparatus for identifying the root causes of quality anomalies in key metal industrial production. Background Technology

[0002] In industrial production, product quality abnormalities are usually not caused by a single factor, but rather by the combined effects of multiple factors, including raw material properties, equipment condition, process parameters, environmental variables, and control actions. In actual production, the following situations frequently occur: 1. A certain terminal quality indicator is abnormal, but the directly visible abnormal variable is only an intermediate manifestation and not the real root cause; 2. Abnormal effects typically propagate gradually along the process chain, with a significant time lag; 3. Complex coupling exists between different variables, which can easily lead to multiple candidate causes pointing to the same quality problem simultaneously; 4. Traditional methods often rely on threshold alarms, statistical process control, or manual experience for tracing, making it difficult to achieve high-precision root cause ranking. 5. Existing tracing methods based on general knowledge graphs describe more about "relatedness" or "relationship" than about causal mechanisms such as "the intensity of influence and the duration of influence".

[0003] Currently, existing methods for handling industrial quality anomalies mainly include the following categories: 1. Threshold-based anomaly alerting method; 2. Anomaly detection methods based on statistical process control (SPC); 3. Reverse lookup methods based on relationship graphs or process flow diagrams; 4. Anomaly detection methods based on machine learning.

[0004] However, existing methods for handling industrial quality anomalies have the following shortcomings: (1) Lack of causal expression: Traditional relationship graphs only record the connection between variables, and cannot represent the direction of influence, the intensity of influence, and the propagation time lag.

[0005] (2) Lack of time propagation modeling capability: Anomalies in industrial processes often do not appear simultaneously in upstream and downstream variables at the same time, but propagate step by step with a certain time delay. Existing methods generally lack explicit modeling of this propagation sequence.

[0006] (3) Lack of root cause sorting ability: Conventional reverse tracing usually only yields a few candidate nodes, making it difficult to determine which node is the most likely root cause.

[0007] (4) Redundancy propagation path interference is serious: In complex industrial processes, the same anomaly may be propagated along multiple approximate paths. If redundancy is not suppressed, it is easy to cause duplicate scoring and affect the reliability of the results.

[0008] (5) Insufficient explanatory power: Even if root cause candidates are obtained, it is often impossible to provide a complete explanation of "how the anomaly propagated from upstream to the target quality indicator".

[0009] In summary, existing methods for tracing industrial production quality anomalies suffer from several technical problems, including insufficient characterization of causal relationships, inadequate modeling of propagation delays, an excessive number of candidate root causes, low ranking accuracy, and weak path interpretability, which urgently need to be addressed. Summary of the Invention

[0010] This application provides a method and apparatus for identifying the root causes of quality anomalies in the production of key metals, in order to solve the problems in existing methods for tracing quality anomalies in industrial production, such as insufficient characterization of causal relationships, insufficient modeling of propagation time delays, too many candidate root causes, low ranking accuracy, and weak path interpretability.

[0011] The first aspect of this application provides a method for identifying the root causes of quality anomalies in the production of a key metal industry, comprising the following steps: acquiring industrial production data in the production of a target key metal industry, constructing a causal quality graph corresponding to the industrial production data, generating anomalous evidence corresponding to each node in the causal quality graph, and extracting an upstream event subgraph corresponding to the anomalous evidence; propagating the anomalous evidence of the upstream node corresponding to the upstream event subgraph along the causal edges in the causal quality graph to the target anomalous node, and determining the causal strength, confidence, time alignment degree, and path length penalty of the causal edges during the propagation process, so as to calculate the contribution value of the directed paths from a plurality of preset candidate root cause nodes to the target anomalous node based on the causal strength, the confidence, the time alignment degree, and the path length penalty, and scoring and ranking the plurality of candidate root cause nodes according to the contribution value to generate a corresponding root cause ranking list; performing a preset propagation interpretation operation on the root cause ranking list to generate a corresponding propagation interpretation result, and performing corresponding quality anomaly handling operations on the target key metal industrial production process according to the propagation interpretation result.

[0012] Optionally, in one embodiment of this application, the step of acquiring industrial production data in the industrial production of the target key metal and constructing a causal quality graph corresponding to the industrial production data includes: collecting industrial production data in various data formats in the industrial production of the target key metal, wherein the various data formats include time-series structured data, event stream data, batch record data, and semi-structured process record data, and the industrial production data includes process parameter data, equipment status data, quality inspection data, raw material and batch data, and process context data; performing preset timestamp alignment and data cleaning operations on the industrial production data to obtain cleaned data, and performing normalization operations on the cleaned data to generate corresponding normalized data; performing preset slicing and noise reduction processing on the normalized data to obtain corresponding standard data, determining the corresponding node set and the edge set corresponding to the node set based on the standard data; and constructing a causal quality graph corresponding to the industrial production data based on the node set and the edge set, and in combination with at least one preset graph construction strategy.

[0013] Optionally, in one embodiment of this application, generating anomalous evidence corresponding to each node in the causal quality graph and extracting the upstream event subgraph corresponding to the anomalous evidence includes: calculating the anomalous score of any node in the causal quality graph at the current time based on a preset anomalous detection model, and converting the anomalous score into a corresponding anomalous probability using a preset scaling factor and an anomalous threshold, so as to determine the corresponding anomalous evidence based on the anomalous probability; determining the corresponding target anomalous node and the target anomalous occurrence time based on the anomalous probability, and backtracking upstream by a preset number of hops based on the target anomalous node and the target anomalous occurrence time to extract the upstream event subgraph.

[0014] Optionally, in one embodiment of this application, the step of propagating the anomalous evidence of the upstream node corresponding to the upstream event subgraph along the causal edges in the causal quality graph to the target anomalous node, and determining the causal strength, confidence, time alignment degree, and path length penalty of the causal edges during the propagation process, to calculate the contribution value of the directed paths from a plurality of preset candidate root cause nodes to the target anomalous node based on the causal strength, the confidence, the time alignment degree, and the path length penalty, and to score and rank the plurality of candidate root cause nodes according to the contribution value to generate a corresponding root cause ranking list, includes: constructing the time alignment corresponding to the causal quality graph based on a preset time deviation penalty coefficient, the propagation time difference corresponding to the current upstream event, and the ideal time delay. A propagation kernel function is used to calculate the time alignment degree based on the time alignment propagation kernel function; a directed path from each candidate root cause node to the target anomaly node is determined, and the contribution value of each directed path is calculated based on the causal strength, the confidence level, the time alignment degree, and the path length penalty; a set of candidate paths from each candidate root cause node to the target anomaly node is determined, and a candidate root cause score corresponding to different candidate paths is calculated based on the candidate path set and the contribution value; and a preset counterfactual correction and sorting operation is performed on the different candidate paths based on the candidate root cause score to generate the root cause ranking list, wherein the root cause ranking list includes the final candidate root cause node and the final root cause score corresponding to the final candidate root cause node.

[0015] Optionally, in one embodiment of this application, the step of performing a preset propagation interpretation operation on the root cause ranking list to generate a corresponding propagation interpretation result includes: determining at least one target root cause node in the root cause ranking list whose final root cause score is greater than a preset root cause score threshold, and generating a propagation interpretation path from the at least one target root cause node to the target abnormal node that meets a preset contribution requirement; generating a corresponding local causal propagation subgraph based on the propagation interpretation path, determining a target treatment suggestion corresponding to the target key metal industrial production process according to the propagation interpretation path and the local causal propagation subgraph, and obtaining the propagation interpretation result based on the propagation interpretation path, the local causal propagation subgraph, and the target treatment suggestion.

[0016] Optionally, in one embodiment of this application, the mathematical expression for the contribution value of each directed path is:

[0017] in, This indicates abnormal evidence of the source root node at the corresponding point in time. Indicates the causal strength of a causal edge; Indicates the confidence level of the causal edge; This indicates the degree of time alignment; Indicates the path length; This represents the path length penalty term; , , These are the weighting coefficients; Indicates the initial node; Indicates the first k The propagation time difference corresponding to the next upstream event; Indicates the first k One node; Indicates the time when the target anomaly occurred; Indicates a directed path; Indicates a directed path consisting of the first... k The propagation from node 1 to node 2 k Typical propagation delay time for a causal edge with +1 nodes.

[0018] A second aspect of this application provides a device for identifying the root causes of quality anomalies in the production of a key metal industry, comprising: a graph construction module, configured to acquire industrial production data in the production of a target key metal, construct a causal quality graph corresponding to the industrial production data, generate anomalous evidence corresponding to each node in the causal quality graph, and extract an upstream event subgraph corresponding to the anomalous evidence; a root cause identification module, configured to propagate the anomalous evidence of the upstream node corresponding to the upstream event subgraph along the causal edges in the causal quality graph to the target anomalous node, and determine the causal strength, confidence, time alignment degree, and path length penalty of the causal edges during the propagation process, so as to calculate the contribution value of the directed paths from a plurality of preset candidate root cause nodes to the target anomalous node based on the causal strength, the confidence, the time alignment degree, and the path length penalty, and score and rank the plurality of candidate root cause nodes according to the contribution value to generate a corresponding root cause ranking list; and an interpretation module, configured to perform a preset propagation interpretation operation on the root cause ranking list to generate a corresponding propagation interpretation result, and perform corresponding quality anomaly handling operations on the target key metal industrial production process according to the propagation interpretation result.

[0019] Optionally, in one embodiment of this application, the graph construction module includes: a data acquisition unit, used to acquire industrial production data in various data formats in the production of the key metal industry, wherein the various data formats include time-series structured data, event stream data, batch record data, and semi-structured process record data, and the industrial production data includes process parameter data, equipment status data, quality inspection data, raw material and batch data, and process context data; a data cleaning unit, used to perform preset timestamp alignment and data cleaning operations on the industrial production data to obtain cleaned data, and to perform normalization operations on the cleaned data to generate corresponding normalized data; a noise reduction unit, used to perform preset slicing and noise reduction processing on the normalized data to obtain corresponding standard data, and to determine the corresponding node set and the edge set corresponding to the node set based on the standard data; and a construction unit, used to construct a causal quality graph corresponding to the industrial production data based on the node set and the edge set, and in combination with at least one preset graph construction strategy.

[0020] Optionally, in one embodiment of this application, the graph construction module further includes: a conversion unit, configured to calculate the anomaly score of any node in the causal quality graph at the current time based on a preset anomaly detection model, and convert the anomaly score into a corresponding anomaly probability using a preset scaling factor and anomaly threshold, so as to determine the corresponding anomaly evidence based on the anomaly probability; and a backtracking unit, configured to determine the corresponding target anomaly node and the target anomaly occurrence time based on the anomaly probability, and backtrack upstream a preset number of hops based on the target anomaly node and the target anomaly occurrence time, so as to extract the upstream event subgraph.

[0021] Optionally, in one embodiment of this application, the root cause identification module includes: a first calculation unit, configured to construct a time-aligned propagation kernel function corresponding to the causal quality map based on a preset time deviation penalty coefficient, the propagation time difference corresponding to the current upstream event, and the ideal time delay, and calculate the time alignment degree according to the time-aligned propagation kernel function; a second calculation unit, configured to determine the directed path from each candidate root cause node to the target anomalous node, and calculate the contribution value of each directed path based on the causal strength, the confidence level, the time alignment degree, and the path length penalty; and a scoring unit, configured to determine the candidate path set from each candidate root cause node to the target anomalous node, calculate the candidate root cause score corresponding to different candidate paths according to the candidate path set and the contribution value, and perform preset counterfactual correction and sorting operations on the different candidate paths according to the candidate root cause score to generate the root cause ranking list, wherein the root cause ranking list includes the final candidate root cause node and the final root cause score corresponding to the final candidate root cause node.

[0022] Optionally, in one embodiment of this application, the explanation module includes: a determining unit, configured to determine at least one target root cause node in the root cause ranking list whose final root cause score is greater than a preset root cause score threshold, and generate a propagation explanation path from the at least one target root cause node to the target abnormal node that meets a preset contribution requirement; and a generating unit, configured to generate a corresponding local causal propagation subgraph based on the propagation explanation path, to determine the target treatment suggestion corresponding to the target key metal industrial production process according to the propagation explanation path and the local causal propagation subgraph, and to obtain the propagation explanation result based on the propagation explanation path, the local causal propagation subgraph, and the target treatment suggestion.

[0023] Optionally, in one embodiment of this application, the mathematical expression for the contribution value of each directed path is:

[0024] in, This indicates abnormal evidence of the source root node at the corresponding point in time. Indicates the causal strength of a causal edge; Indicates the confidence level of the causal edge; This indicates the degree of time alignment; Indicates the path length; This represents the path length penalty term; , , These are the weighting coefficients; Indicates the initial node; Indicates the first k The propagation time difference corresponding to the next upstream event; Indicates the first k One node; Indicates the time when the target anomaly occurred; Indicates a directed path; Indicates a directed path consisting of the first... k The propagation from node 1 to node 2 k Typical propagation delay time for a causal edge with +1 nodes.

[0025] A third aspect of this application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method for identifying the root causes of quality anomalies in critical metal industrial production as described in the above embodiments.

[0026] A fourth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method for identifying the root causes of quality anomalies in critical metal industrial production.

[0027] A fifth aspect of this application provides a computer program product, including a computer program that is executed to implement the above-described method for identifying the root causes of quality anomalies in critical metal industrial production.

[0028] Therefore, the embodiments of this application have the following beneficial effects: The embodiments of this application can acquire industrial production data in the industrial production of a target key metal, construct a causal quality graph corresponding to the industrial production data, generate anomalous evidence for each node in the causal quality graph, and extract an upstream event subgraph corresponding to the anomalous evidence. The anomalous evidence of the upstream nodes corresponding to the upstream event subgraph is propagated along the causal edges in the causal quality graph to the target anomalous node, and the causal strength, confidence, time alignment, and path length penalty of the causal edges during the propagation process are determined. Based on the causal strength, confidence, time alignment, and path length penalty, the contribution value of the directed paths from multiple candidate root cause nodes to the target anomalous node is calculated, and the multiple candidate root cause nodes are scored and ranked according to the contribution value to generate a corresponding root cause ranking list. A preset propagation interpretation operation is performed on the root cause ranking list to generate a corresponding propagation interpretation result, and corresponding quality anomaly handling operations are performed on the industrial production process of the target key metal according to the propagation interpretation result. This application constructs a causal quality graph with time delay, causal strength, and confidence parameters, and generates node-level anomaly evidence by combining anomaly detection results. Furthermore, it utilizes a causal anomaly propagation algorithm for time alignment, path contribution calculation, redundant path pruning, and root cause scoring, thereby outputting the root cause ranking results and propagation explanation paths for quality anomalies. This addresses the problems in existing industrial production quality anomaly tracing methods, such as insufficient causal relationship characterization, inadequate propagation time delay modeling, excessive candidate root causes, low ranking accuracy, and weak path interpretability.

[0029] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description

[0030] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein: Figure 1 This is a flowchart of a method for identifying the root causes of quality anomalies in the production of critical metals according to an embodiment of this application; Figure 2A schematic diagram of the logical architecture for root cause scoring and root cause ranking is provided as an embodiment of this application; Figure 3 A schematic diagram of the execution logic of a CAPA (Corrective and Preventive Actions)-based causal anomaly propagation and root cause scoring method provided for an embodiment of this application; Figure 4 This is an example diagram of a device for identifying the root causes of quality anomalies in critical metal industrial production according to an embodiment of this application; Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.

[0031] Among them, 10-a device for identifying the root cause of quality anomalies in key metal industrial production, 100-a map construction module, 200-a root cause identification module, 300-an explanation module, 501-a memory, 502-a processor, and 503-a communication interface. Detailed Implementation

[0032] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.

[0033] The following describes a method and apparatus for identifying the root causes of quality anomalies in the industrial production of critical metals, in accordance with the accompanying drawings. Addressing the problems mentioned in the background section, this application provides a method for identifying the root causes of quality anomalies in the industrial production of critical metals. In this method, industrial production data from the target critical metal production process is acquired, a causal quality graph corresponding to the industrial production data is constructed, and abnormal evidence corresponding to each node in the causal quality graph is generated. An upstream event subgraph corresponding to the abnormal evidence is extracted. The abnormal evidence of the upstream node corresponding to the upstream event subgraph is propagated along the causal edges in the causal quality graph to the target abnormal node. The causal strength, confidence level, time alignment degree, and path length penalty of the causal edges during propagation are determined. Based on the causal strength, confidence level, time alignment degree, and path length penalty, the contribution values ​​of the directed paths from multiple candidate root cause nodes to the target abnormal node are calculated. The multiple candidate root cause nodes are scored and ranked according to the contribution values ​​to generate a corresponding root cause ranking list. A preset propagation interpretation operation is performed on the root cause ranking list to generate a corresponding propagation interpretation result. Based on the propagation interpretation result, corresponding quality anomaly handling operations are performed on the target critical metal industrial production process. This application constructs a causal quality graph with time delay, causal strength, and confidence parameters, and generates node-level anomaly evidence by combining anomaly detection results. Furthermore, it utilizes a causal anomaly propagation algorithm for time alignment, path contribution calculation, redundant path pruning, and root cause scoring, thereby outputting the root cause ranking results and propagation explanation paths for quality anomalies. This addresses the problems in existing industrial production quality anomaly tracing methods, such as insufficient causal relationship characterization, inadequate propagation time delay modeling, excessive candidate root causes, low ranking accuracy, and weak path interpretability.

[0034] Specifically, Figure 1 This is a flowchart illustrating a method for identifying the root causes of quality anomalies in the production of critical metals, provided as an embodiment of this application.

[0035] like Figure 1 As shown, the method for identifying the root causes of quality anomalies in the production of key metals includes the following steps: In step S101, industrial production data in the target key metal industrial production is obtained, a causal quality graph corresponding to the industrial production data is constructed, and abnormal evidence corresponding to each node in the causal quality graph is generated, and the upstream event subgraph corresponding to the abnormal evidence is extracted.

[0036] The embodiments of this application first acquire and preprocess industrial production data to construct a causal quality map based on the preprocessed industrial production data; secondly, the embodiments of this application can generate node anomaly evidence corresponding to the causal quality map, and extract upstream event subgraphs corresponding to the abnormal events based on the node anomaly evidence, thereby providing reliable data guidance and basis for subsequent root cause scoring.

[0037] Optionally, in one embodiment of this application, acquiring industrial production data in the industrial production of the target key metal and constructing a causal quality graph corresponding to the industrial production data includes: collecting industrial production data in various data formats in the industrial production of the target key metal, wherein the various data formats include time-series structured data, event stream data, batch record data, and semi-structured process record data, and the industrial production data includes process parameter data, equipment status data, quality inspection data, raw material and batch data, and process context data; performing preset timestamp alignment and data cleaning operations on the industrial production data to obtain cleaned data, and performing normalization operations on the cleaned data to generate corresponding normalized data; performing preset slicing and noise reduction processing on the normalized data to obtain corresponding standard data, and determining the corresponding node set and the edge set corresponding to the node set based on the standard data; and constructing a causal quality graph corresponding to the industrial production data based on the node set and the edge set, and in combination with at least one preset graph construction strategy.

[0038] It should be noted that the industrial production data processed in the embodiments of this application includes, but is not limited to, the following types: (1) Process parameter data: such as temperature, pressure, flow rate, rotation speed, concentration, liquid level, residence time, etc.; (2) Equipment status data: such as vibration, current, voltage, torque, wear, start / stop status, fault codes, etc.; (3) Quality testing data: such as purity, particle size, impurity content, recovery rate, stability, pass rate, etc.; (4) Raw material and batch data: such as mineral sample properties, raw material source, batch number, and time of arrival at the plant; (5) Process context data: such as work group, work section, work process, operation mode, working condition label, etc.

[0039] Secondly, the industrial production data in this application embodiment can be represented as: time-series structured data, event stream data, batch record data, and semi-structured process record data.

[0040] Furthermore, the embodiments of this application can perform preprocessing operations on industrial production data, such as timestamp alignment, missing value processing, outlier screening (i.e., data cleaning), unit normalization and dimensional unification, segmentation by work section or batch, and noise reduction, thereby ensuring that subsequent causal structure learning and anomaly propagation calculation have a consistent data foundation.

[0041] Therefore, embodiments of this application can construct corresponding graphs based on preprocessed industrial production data. This graph is not a typical relationship graph, but rather a causal-quality graph. The expression is:

[0042] in, A set of nodes; It is a set of directed edges.

[0043] In the embodiments of this application, the node set It should include at least the following types: quality indicator nodes, process parameter nodes, equipment status nodes, raw material attribute nodes, batch nodes, and test item nodes; each node should include at least a node identifier (ID), node type, node attribute, and time index or batch index.

[0044] Causal edge This represents the causal relationship between nodes. Any directed edge... (That is, the causal side) is denoted as:

[0045] The directed edge must contain at least the following properties: 1. Time delay parameters : Indicates a node State changes are transmitted to nodes Typical required delay time; 2. Causal strength : Represents a node For nodes The degree of impact; 3. Confidence level : Indicates the degree of confidence that the causal edge is true; 4. Symbol attributes : Indicates a positive or negative impact; 5. Propagation kernel parameters: used for subsequent time alignment and anomaly propagation calculations.

[0046] As one possible approach, embodiments of this application can determine one or more map construction strategies based on industrial production data and the need for tracing the source of industrial production quality anomalies. For example, the map construction strategies can be combined in the following ways: 1. Generate candidate directed edges based on prior knowledge of the process flow; 2. Causal structure learning based on multivariate time series data; 3. Supplement edge relationships based on expert rules; 4. Supplement edge weights based on historical fault or anomaly records.

[0047] Therefore, after the map is constructed, the embodiments of this application can form a complete causal quality map, which effectively ensures the reliability of subsequent industrial production quality anomaly tracing.

[0048] Optionally, in one embodiment of this application, generating anomalous evidence corresponding to each node in the causal quality graph and extracting the upstream event subgraph corresponding to the anomalous evidence includes: calculating the anomalous score of any node in the causal quality graph at the current time based on a preset anomalous detection model, and converting the anomalous score into the corresponding anomalous probability using a preset scaling factor and an anomalous threshold, so as to determine the corresponding anomalous evidence based on the anomalous probability; determining the corresponding target anomalous node and the target anomalous occurrence time based on the anomalous probability, and backtracking upstream by a preset number of hops based on the target anomalous node and the target anomalous occurrence time to extract the upstream event subgraph.

[0049] Those skilled in the art should understand that, in addition to being an information transmission model, the causal quality graph also needs to locate which nodes are indeed abnormal in a particular abnormal event. Therefore, the implementation of this application generates abnormal evidence for each node.

[0050] Specifically, embodiments of this application can be applied to any node. At any moment The anomaly detection module outputs anomaly scores. , The larger the value, the more likely it is to be a node. At any moment The more abnormal the anomaly. In embodiments of this application, the anomaly score may be output by reconstruction error, prediction bias, statistical deviation, or other anomaly detection models.

[0051] Secondly, to ensure comparability between different nodes, this application converts the anomaly score into anomaly probability, as shown in the following formula:

[0052] in, Represents a node At any moment The probability of an anomaly; Represents the Sigmoid function; Indicates the scaling factor; Represents a node The abnormal threshold; Indicates the node used for computation i The abnormal fraction function at the corresponding time.

[0053] Therefore, embodiments of this application can uniformly convert anomaly scores under different nodes, different units, and different distributions into anomaly scores using anomaly probability expressions. to Probabilistic evidence for intervals is used as a uniform input in subsequent propagation calculations.

[0054] Secondly, when a certain target abnormal quality node, i.e., the target abnormal node ( At that moment When an anomaly is detected (i.e., the time when the target anomaly occurs), it is not necessary to use the entire graph for reasoning. Instead, the local upstream graph structure related to the anomaly event is extracted.

[0055] It should be noted that the subgraph extraction principle in this application embodiment is: from In China, with As the endpoint, trace back upstream. Jump, extract the upstream event subgraph As shown in the following formula:

[0056] in, This indicates the maximum number of backtracking jumps.

[0057] Therefore, the embodiments of this application can effectively reduce computational complexity by performing event subgraph extraction operations, and focus on the relevant areas of the current anomaly, avoiding interference from redundant relationships in the whole graph, and providing a local structural basis for subsequent path enumeration and contribution calculation.

[0058] In step S102, the abnormal evidence of the upstream node corresponding to the upstream event subgraph is propagated to the target abnormal node along the causal edges in the causal quality graph. The causal strength, confidence, time alignment, and path length penalty of the causal edges during the propagation process are determined. Based on the causal strength, confidence, time alignment, and path length penalty, the contribution value of the directed paths from multiple candidate root cause nodes to the target abnormal node is calculated. The multiple candidate root cause nodes are scored and ranked according to the contribution value to generate the corresponding root cause ranking list.

[0059] Furthermore, embodiments of this application can propagate abnormal evidence from upstream nodes along causal edges to target abnormal nodes. During the propagation process, the causal strength, confidence, time alignment, and path length penalty of the edges are comprehensively considered. The contribution value of each directed path is then calculated, and candidate root cause nodes are scored and ranked, thereby effectively improving the accuracy and reliability of causal anomaly propagation and root cause scoring.

[0060] Optionally, in one embodiment of this application, the anomalous evidence of the upstream node corresponding to the upstream event subgraph is propagated along the causal edges in the causal quality graph to the target anomalous node. The causal strength, confidence, time alignment, and path length penalty of the causal edges during propagation are determined. Based on the causal strength, confidence, time alignment, and path length penalty, the contribution values ​​of the directed paths from multiple preset candidate root cause nodes to the target anomalous node are calculated. The multiple candidate root cause nodes are then scored and ranked according to their contribution values ​​to generate a corresponding root cause ranking list. This includes constructing a causal quality graph corresponding to the current upstream event based on a preset time deviation penalty coefficient, the propagation time difference, and the ideal time delay. The time-aligned propagation kernel function is used to calculate the time alignment degree. A directed path from each candidate root cause node to the target anomaly node is determined, and the contribution value of each directed path is calculated based on causal strength, confidence, time alignment degree, and path length penalty. A set of candidate paths from each candidate root cause node to the target anomaly node is determined, and candidate root cause scores corresponding to different candidate paths are calculated based on the candidate path set and contribution values. Pre-defined counterfactual correction and sorting operations are performed on different candidate paths based on the candidate root cause scores to generate a root cause ranking list. The root cause ranking list includes the final candidate root cause node and the final root cause score corresponding to the final candidate root cause node.

[0061] It is understandable that industrial anomalies typically propagate with a time lag, therefore for a causal edge... In this application embodiment, a time-aligned propagation kernel function can be defined. :

[0062] in, This represents the actual observed propagation time difference in this event; Representing an edge Ideal time delay; This represents the time deviation penalty coefficient.

[0063] It should be noted that when and The closer they get, The closer to 1; the greater the deviation between the two, The smaller the value, the higher the credibility of the causal edge in this abnormal propagation, if the propagation time of this event is more consistent with the theoretical propagation lag of the edge.

[0064] Optionally, in one embodiment of this application, the mathematical expression for the contribution value of each directed path is:

[0065] in, This indicates abnormal evidence of the source root node at the corresponding point in time. Indicates the causal strength of a causal edge; Indicates the confidence level of the causal edge; Indicates the degree of time alignment; Indicates the path length; This indicates a path length penalty. , , These are the weighting coefficients; Indicates the initial node; Indicates the first k The propagation time difference corresponding to the next upstream event; Indicates the first k One node; Indicates the time when the target anomaly occurred; Indicates a directed path; Indicates a directed path consisting of the first... k The propagation from node 1 to node 2 k Typical propagation delay time for a causal edge with +1 nodes.

[0066] Furthermore, embodiments of this application may establish a path from candidate root cause nodes. To the target abnormal node The directed path is:

[0067] The mathematical expression for the path contribution value of this directed path is:

[0068] in, This indicates abnormal evidence of the source root node at the corresponding point in time. Indicates the causal strength of an edge; Indicates the confidence level of the causal edge; This indicates the degree of time alignment (i.e., the corresponding time alignment propagation kernel is calculated using the time alignment propagation kernel function to determine the degree of time alignment). Indicates the path length; This indicates a path length penalty. , , These are the weighting coefficients; Indicates a directed path consisting of the first... k The propagation from node 1 to node 2 k Typical propagation delay time for a causal edge with +1 nodes.

[0069] As can be seen from the mathematical expression of the path contribution value above, the formula consists of the following four parts: (1) Evidence of source anomaly: If an upstream node is not abnormal at the theoretical propagation starting point, it is unlikely to be the root cause of this anomaly.

[0070] (2) Edge propagation capability: The stronger and more reliable each edge in a directed path is, the more likely the entire path is to be valid.

[0071] (3) Time consistency: Abnormal propagation must not only have a causal relationship, but also match in time.

[0072] (4) Path length penalty: The longer the directed path, the more likely it is to contain accidental correlations or noise propagation, so it needs to be appropriately penalized.

[0073] Then, for any candidate root cause node In this embodiment of the application, it can be set to the target abnormal node. Candidate path set for:

[0074] Based on this set of candidate paths, the root cause score can be defined as:

[0075] From the mathematical expression of root cause scoring, it can be seen that if the node If a target anomalous node is affected by multiple high-contribution paths, it is more likely to be the root cause. If only a few weak paths exist, the score will be low.

[0076] Subsequently, in actual industrial graphs, different paths may highly overlap, and without redundancy handling, the same root cause may be repeatedly scored due to duplicate paths. Therefore, this application embodiment can set a path overlap threshold when calculating the path set, pruning highly overlapping paths and retaining only the main propagation paths with high contribution and low redundancy.

[0077] Therefore, the embodiments of this application effectively avoid duplicate scoring and improve the stability of root cause ranking through redundant path pruning operations, thereby outputting a simpler and more interpretable propagation path.

[0078] Furthermore, to further improve the accuracy of root cause ranking, embodiments of this application can... Candidate root cause nodes undergo counterfactual correction.

[0079] As one possible approach, embodiments of this application set aside candidate root cause nodes. After implementing the "pull back to normal" intervention, the predicted change in the target quality node (q) is: Then the final root cause score The mathematical expression is:

[0080] in, , These are the weighting coefficients.

[0081] Therefore, the embodiments of this application not only consider that a node "looks like a root cause", but also consider "whether the target anomaly will be significantly improved if it is corrected", which helps to improve the interpretability and engineering credibility of root cause ranking.

[0082] Therefore, the embodiments of this application generate a root cause ranking list that includes the final candidate root cause nodes and their corresponding final root cause scores by summarizing the candidate root cause scores and determining whether a counterfactual correction operation needs to be performed based on the actual situation.

[0083] Figure 2 This is a schematic diagram illustrating the root cause scoring structure and root cause ranking logic architecture of this application. Figure 2 As shown, the root cause scoring structure and root cause ranking logic architecture of this application are as follows: The embodiments of this application first calculate the path contribution value of a directed path using source anomalous evidence, edge causality strength, edge confidence, and time alignment, and then calculate the path length penalty based on the path contribution value. Secondly, the embodiments of this application score candidate root causes based on the path length penalty, and then perform optional counterfactual correction on the candidate root causes based on the candidate root cause scores to obtain the final root cause ranking.

[0084] In summary, the causal quality graph constructed in this application's embodiments includes time delay, causal strength, and confidence levels in its edges, rather than simply representing ordinary associations, thus expressing true causal relationships. This application's embodiments explicitly characterize the temporal consistency of anomaly propagation through a propagation kernel function, effectively solving the time-delay propagation problem in industrial processes and making the tracing results more consistent with industrial realities. Secondly, this application's embodiments achieve root cause ranking rather than simple backtracking through path contribution accumulation and root cause scoring mechanisms, thereby identifying the most likely primary cause from multiple candidate nodes. Furthermore, this application's embodiments reduce inflated scores caused by repeated propagation paths through redundant path pruning, suppressing redundant path interference and improving ranking stability.

[0085] In step S103, a preset propagation interpretation operation is performed on the root cause sorting list to generate the corresponding propagation interpretation results, and corresponding quality anomaly handling operations are performed on the target key metal industrial production process according to the propagation interpretation results.

[0086] Subsequently, embodiments of this application can propagate and interpret the root cause ranking list to generate corresponding propagation interpretation results, and based on the propagation interpretation results, perform corresponding quality anomaly handling and optimization operations on the target key metal industrial production process.

[0087] Therefore, the embodiments of this application can be well applied to industrial production scenarios with multi-source heterogeneous data, complex processes, significant variable coupling, and time-delay propagation characteristics of quality problems, so as to perform operations such as quality anomaly localization, root cause ranking, propagation path interpretation, and decision support. Thus, in industrial multivariate scenarios, it can simultaneously achieve technical effects such as causal relationship expression, time-delay propagation modeling, anomaly evidence fusion, root cause scoring and ranking, and propagation path interpretation.

[0088] Optionally, in one embodiment of this application, a preset propagation interpretation operation is performed on the root cause ranking list to generate a corresponding propagation interpretation result, including: determining at least one target root cause node in the root cause ranking list whose final root cause score is greater than a preset root cause score threshold, and generating at least one propagation interpretation path from the target root cause node to the target abnormal node that meets the preset contribution requirements; generating a corresponding local causal propagation subgraph based on the propagation interpretation path, so as to determine the target disposal suggestion corresponding to the target key metal industrial production process according to the propagation interpretation path and the local causal propagation subgraph, and obtaining the propagation interpretation result based on the propagation interpretation path, the local causal propagation subgraph and the target disposal suggestion.

[0089] It should be noted that, for each high-scoring root cause node, this application can output a high-contribution path (i.e., a propagation explanation path that meets preset contribution requirements) to the target anomaly node, and output the most critical local causal propagation subgraph (i.e., the explanation subgraph) of this anomaly event. Furthermore, this application can determine target handling suggestions corresponding to the target critical metal industrial production process based on the propagation explanation path and the local causal propagation subgraph, such as suggestions for adjusting process parameters, equipment inspection, and raw material verification. This application can obtain the propagation explanation result (i.e., the final output result) based on the propagation explanation path, the local causal propagation subgraph, the target handling suggestions, and the root cause ranking list.

[0090] It is understood that the embodiments of this application not only output the root cause node, but also output the propagation path and the explanatory subgraph, which makes it easier for engineers to understand "how the anomaly is propagated to the target indicator", and has strong explanatory power. In addition, the embodiments of this application can be adapted to causal structure learning, anomaly detection and counterfactual correction in different industrial scenarios, and have strong scalability.

[0091] It should be noted that, in the specific implementation process, those skilled in the art can also use different temporal causal discovery algorithms in the causal structure learning process according to the actual situation, and can use statistical models, reconstruction models or predictive models in the anomaly detection process; secondly, in the actual execution process, the map can maintain multiple versions according to working conditions, batches or equipment types, and the counterfactual correction step can be set as optional. The final output results can be interfaced with MES (Manufacturing Execution System), QMS (Quality Management System) or expert system, without specific limitations.

[0092] The following describes the execution process of the CAPA-based causal anomaly propagation and root cause scoring method in this application with reference to the accompanying drawings.

[0093] Figure 3 This is a schematic diagram illustrating the execution logic of the CAPA-based causal anomaly propagation and root cause scoring method of this application. Figure 3 As shown, the execution process of the CAPA-based causal anomaly propagation and root cause scoring method of this application is as follows: S301: An abnormality in the target quality indicator was detected; S302: Locate the abnormal node of the target and the time when the abnormality occurred; S303: Extract the upstream event subgraph; S304: Obtain evidence of node anomalies; S305: Compute the time-aligned propagation kernel; S306: Enumerate candidate propagation paths; S307: Calculate the contribution value of each directed path; S308: Perform redundant path pruning; S309: Summarize candidate root cause scores; S3010: Perform optional counterfactual correction; S3011: Output the root cause sorting results; S3012: Output propagation interpretation path and interpretation subgraph.

[0094] According to the method for identifying the root causes of quality anomalies in the production of key metals proposed in this application, the following steps are taken: First, industrial production data from the target key metal production process is acquired. Then, a causal quality graph corresponding to the industrial production data is constructed, and anomalous evidence is generated for each node in the causal quality graph. An upstream event subgraph corresponding to the anomalous evidence is extracted. The anomalous evidence from the upstream nodes corresponding to the upstream event subgraph is propagated along the causal edges in the causal quality graph to the target anomalous node. The causal strength, confidence level, time alignment degree, and path length penalty of the causal edges during propagation are determined. Based on the causal strength, confidence level, time alignment degree, and path length penalty, the contribution values ​​of the directed paths from multiple candidate root cause nodes to the target anomalous node are calculated. The multiple candidate root cause nodes are scored and ranked according to the contribution values ​​to generate a corresponding root cause ranking list. A preset propagation interpretation operation is performed on the root cause ranking list to generate corresponding propagation interpretation results. Finally, corresponding quality anomaly handling operations are performed on the target key metal production process based on the propagation interpretation results. This application constructs a causal quality graph with time delay parameters, causal strength parameters, and confidence parameters, and generates node-level anomaly evidence by combining anomaly detection results. It also uses a causal anomaly propagation algorithm to perform time alignment, path contribution calculation, redundant path pruning, and root cause scoring, thereby outputting the root cause ranking results and propagation explanation paths of quality anomalies.

[0095] Secondly, with reference to the accompanying drawings, a device for identifying the root causes of quality anomalies in the production of critical metals according to embodiments of this application is described.

[0096] Figure 4 This is a block diagram of a key metal industry production quality anomaly root cause identification device according to an embodiment of this application.

[0097] like Figure 4 As shown, the key metal industrial production quality anomaly root cause identification device 10 includes: a map construction module 100, a root cause identification module 200, and an interpretation module 300.

[0098] The graph construction module 100 is used to acquire industrial production data in the target key metal industrial production, construct the causal quality graph corresponding to the industrial production data, generate abnormal evidence corresponding to each node in the causal quality graph, and extract the upstream event subgraph corresponding to the abnormal evidence.

[0099] The root cause identification module 200 is used to propagate the abnormal evidence of the upstream node corresponding to the upstream event subgraph along the causal edges in the causal quality graph to the target abnormal node, and determine the causal strength, confidence, time alignment degree and path length penalty of the causal edge during the propagation process. Based on the causal strength, confidence, time alignment degree and path length penalty, it calculates the contribution value of the directed path from multiple candidate root cause nodes to the target abnormal node, and scores and sorts the multiple candidate root cause nodes according to the contribution value to generate the corresponding root cause ranking list.

[0100] The interpretation module 300 is used to perform a preset propagation interpretation operation on the root cause sorting list to generate the corresponding propagation interpretation results, and to perform corresponding quality anomaly handling operations on the target key metal industrial production process according to the propagation interpretation results.

[0101] Optionally, in one embodiment of this application, the map construction module 100 includes: an acquisition unit, a data cleaning unit, a noise reduction unit, and a construction unit.

[0102] The acquisition unit is used to collect industrial production data in various forms in the production of key metals. These various data forms include time-series structured data, event stream data, batch record data, and semi-structured process record data. The industrial production data includes process parameter data, equipment status data, quality inspection data, raw material and batch data, and process context data.

[0103] The data cleaning unit is used to perform preset timestamp alignment and data cleaning operations on industrial production data to obtain cleaned data, and to perform normalization operations on the cleaned data to generate corresponding normalized data.

[0104] The noise reduction unit is used to perform preset slicing and noise reduction on the normalized data to obtain the corresponding standard data. Based on the standard data, the corresponding set of nodes and the set of edges corresponding to the set of nodes are determined.

[0105] The construction unit is used to construct a causal quality graph corresponding to industrial production data based on a set of nodes and a set of edges, combined with at least one preset graph construction strategy.

[0106] Optionally, in one embodiment of this application, the map construction module 100 further includes a conversion unit and a backtracking unit.

[0107] The conversion unit is used to calculate the anomaly score of any node in the causal quality graph at the current time based on a preset anomaly detection model, and convert the anomaly score into the corresponding anomaly probability using a preset scaling factor and anomaly threshold, so as to determine the corresponding anomalous evidence based on the anomaly probability.

[0108] The backtracking unit is used to determine the corresponding target abnormal node and the time of occurrence of the target abnormality based on the abnormality probability, and backtrack upstream a preset number of hops based on the target abnormal node and the time of occurrence of the target abnormality to extract the upstream event subgraph.

[0109] Optionally, in one embodiment of this application, the root cause identification module 200 includes: a first calculation unit, a second calculation unit, and a scoring unit.

[0110] The first calculation unit is used to construct a time-aligned propagation kernel function corresponding to the causal quality map based on a preset time deviation penalty coefficient, the propagation time difference corresponding to the current upstream event, and the ideal time delay, and to calculate the degree of time alignment based on the time-aligned propagation kernel function.

[0111] The second computational unit is used to determine the directed path from each candidate root cause node to the target anomaly node, and to calculate the contribution value of each directed path based on causal strength, confidence, time alignment, and path length penalty.

[0112] The scoring unit is used to determine the set of candidate paths from each candidate root cause node to the target anomalous node, calculate the candidate root cause score corresponding to different candidate paths based on the candidate path set and contribution value, and perform preset counterfactual correction and sorting operations on different candidate paths based on the candidate root cause scores to generate a root cause ranking list. The root cause ranking list includes the final candidate root cause node and the final root cause score corresponding to the final candidate root cause node.

[0113] Optionally, in one embodiment of this application, the interpretation module 300 includes a determination unit and a generation unit.

[0114] The determining unit is used to determine at least one target root cause node in the root cause ranking list whose final root cause score is greater than a preset root cause score threshold, and to generate at least one propagation explanation path from the target root cause node to the target anomalous node that meets the preset contribution requirements.

[0115] The generation unit is used to generate a corresponding local causal propagation subgraph based on the propagation interpretation path, so as to determine the target disposal suggestions corresponding to the target key metal industrial production process according to the propagation interpretation path and the local causal propagation subgraph, and obtain the propagation interpretation result based on the propagation interpretation path, the local causal propagation subgraph and the target disposal suggestions.

[0116] Optionally, in one embodiment of this application, the mathematical expression for the contribution value of each directed path is:

[0117] in, This indicates abnormal evidence of the source root node at the corresponding point in time. Indicates the causal strength of a causal edge; Indicates the confidence level of the causal edge; Indicates the degree of time alignment; Indicates the path length; This indicates a path length penalty. , , These are the weighting coefficients; Indicates the initial node; Indicates the first k The propagation time difference corresponding to the next upstream event; Indicates the first k One node; Indicates the time when the target anomaly occurred; Indicates a directed path; Indicates a directed path consisting of the first... k The propagation from node 1 to node 2 k Typical propagation delay time for a causal edge with +1 nodes.

[0118] It should be noted that the explanation of the aforementioned embodiment of the method for identifying the root causes of quality anomalies in the production of key metals also applies to the device for identifying the root causes of quality anomalies in the production of key metals in this embodiment, and will not be repeated here.

[0119] The device for identifying the root cause of quality anomalies in the production of key metals according to the embodiments of this application includes a graph construction module 100, which is used to acquire industrial production data in the production of the target key metal, construct a causal quality graph corresponding to the industrial production data, generate abnormal evidence corresponding to each node in the causal quality graph, and extract the upstream event subgraph corresponding to the abnormal evidence; a root cause identification module 200, which is used to propagate the abnormal evidence of the upstream node corresponding to the upstream event subgraph along the causal edge in the causal quality graph to the target abnormal node, and determine the causal strength, confidence, time alignment degree and path length penalty of the causal edge during the propagation process, so as to calculate the contribution value of the directed path from multiple candidate root cause nodes to the target abnormal node based on the causal strength, confidence, time alignment degree and path length penalty, and score and rank the multiple candidate root cause nodes according to the contribution value to generate a corresponding root cause ranking list; and an interpretation module 300, which is used to perform a preset propagation interpretation operation on the root cause ranking list to generate a corresponding propagation interpretation result, and perform corresponding quality anomaly handling operation on the production process of the target key metal according to the propagation interpretation result. This application constructs a causal quality graph with time delay parameters, causal strength parameters, and confidence parameters, and generates node-level anomaly evidence by combining anomaly detection results. It also uses a causal anomaly propagation algorithm to perform time alignment, path contribution calculation, redundant path pruning, and root cause scoring, thereby outputting the root cause ranking results and propagation explanation paths of quality anomalies.

[0120] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device may include: The memory 501, the processor 502, and the computer program stored on the memory 501 and capable of running on the processor 502.

[0121] When the processor 502 executes the program, it implements the method for identifying the root causes of quality anomalies in the key metal industrial production provided in the above embodiments.

[0122] Furthermore, electronic devices also include: Communication interface 503 is used for communication between memory 501 and processor 502.

[0123] The memory 501 is used to store computer programs that can run on the processor 502.

[0124] Memory 501 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.

[0125] If the memory 501, processor 502, and communication interface 503 are implemented independently, then the communication interface 503, memory 501, and processor 502 can be interconnected via a bus to complete communication between them. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of representation, Figure 5 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0126] Optionally, in a specific implementation, if the memory 501, processor 502, and communication interface 503 are integrated on a single chip, then the memory 501, processor 502, and communication interface 503 can communicate with each other through an internal interface.

[0127] Processor 502 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application.

[0128] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the above-described method for identifying the root causes of quality anomalies in critical metal industrial production.

[0129] This application also provides a computer program product, including a computer program, which, when executed, is used to implement the above-described method for identifying the root causes of quality anomalies in critical metal industrial production.

[0130] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0131] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0132] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or N executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.

[0133] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.

[0134] It should be understood that the various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0135] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.

[0136] Furthermore, the functional units in the various embodiments of this application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.

[0137] The storage medium mentioned above can be a read-only memory, a disk, or an optical disk, etc. Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of this application.

Claims

1. A method for identifying the root causes of quality anomalies in the production of key metals, characterized in that, Includes the following steps: Acquire industrial production data in the industrial production of the target key metal, construct a causal quality graph corresponding to the industrial production data, generate abnormal evidence corresponding to each node in the causal quality graph, and extract the upstream event subgraph corresponding to the abnormal evidence. The abnormal evidence of the upstream node corresponding to the upstream event subgraph is propagated to the target abnormal node along the causal edges in the causal quality graph. The causal strength, confidence, time alignment, and path length penalty of the causal edges during the propagation process are determined. Based on the causal strength, the confidence, the time alignment, and the path length penalty, the contribution value of the directed paths from multiple preset candidate root cause nodes to the target abnormal node is calculated. The multiple candidate root cause nodes are scored and ranked according to the contribution value to generate a corresponding root cause ranking list. A preset propagation interpretation operation is performed on the root cause sorting list to generate corresponding propagation interpretation results, and corresponding quality anomaly handling operations are performed on the target key metal industrial production process based on the propagation interpretation results. The expression for the causal quality map is: in, A set of nodes; It is a set of causal edges; The set of nodes It should include at least the following nodes: quality indicator nodes, process parameter nodes, equipment status nodes, raw material attribute nodes, batch nodes, and test item nodes; each node should include at least a node identifier (ID), node type, node attribute, and time index or batch index. Causal edge set In the diagram, causal edges represent the causal relationships between nodes. Any causal edge... Recorded as: Causal edge The attributes must include at least the time delay parameter. : Indicates a node State changes are transmitted to nodes Typical delay time required, causal strength : Represents a node For nodes degree of influence, confidence level : Indicates the degree of confidence and symbolic attribute of the causal edge. : Indicates positive or negative impact; propagation kernel parameter: used for time alignment and anomaly propagation calculations.

2. The method for identifying the root causes of quality anomalies in key metal industrial production according to claim 1, characterized in that, The process of acquiring industrial production data in the production of the target key metal and constructing a causal quality map corresponding to the industrial production data includes: The process involves collecting industrial production data in various formats from the production of the key metal industry. These formats include time-series structured data, event stream data, batch record data, and semi-structured process record data. The industrial production data includes process parameter data, equipment status data, quality inspection data, raw material and batch data, and process context data. The industrial production data is aligned with a preset timestamp and cleaned to obtain cleaned data, and the cleaned data is normalized to generate corresponding normalized data. The normalized data is sliced ​​and denoised to obtain the corresponding standard data. Based on the standard data, the corresponding set of nodes and the set of edges corresponding to the set of nodes are determined. Based on the set of nodes and the set of edges, and in conjunction with at least one preset graph construction strategy, a causal quality graph corresponding to the industrial production data is constructed.

3. The method for identifying the root causes of quality anomalies in key metal industrial production according to claim 2, characterized in that, The step of generating anomalous evidence for each node in the causal quality graph and extracting the upstream event subgraph corresponding to the anomalous evidence includes: Based on a preset anomaly detection model, the anomaly score of any node in the causal quality graph at the current time is calculated, and the anomaly score is converted into a corresponding anomaly probability using a preset scaling factor and anomaly threshold, so as to determine the corresponding anomalous evidence based on the anomaly probability. Based on the anomaly probability, the corresponding target anomaly node and the target anomaly occurrence time are determined, and based on the target anomaly node and the target anomaly occurrence time, a preset number of hops are backtracked upstream to extract the upstream event subgraph.

4. The method for identifying the root causes of quality anomalies in key metal industrial production according to claim 3, characterized in that, The process involves propagating the anomalous evidence of the upstream node corresponding to the upstream event subgraph along the causal edges in the causal quality graph to the target anomalous node, and determining the causal strength, confidence, time alignment, and path length penalty of the causal edges during propagation. Based on the causal strength, confidence, time alignment, and path length penalty, the contribution value of the directed paths from multiple preset candidate root cause nodes to the target anomalous node is calculated. The multiple candidate root cause nodes are then scored and ranked according to the contribution values ​​to generate a corresponding root cause ranking list, including: Based on the preset time deviation penalty coefficient, the propagation time difference corresponding to the current upstream event, and the ideal time delay, a time-aligned propagation kernel function corresponding to the causal quality map is constructed, and the time alignment degree is calculated according to the time-aligned propagation kernel function. Determine the directed path from each candidate root cause node to the target anomaly node, and calculate the contribution value of each directed path based on the causal strength, the confidence level, the time alignment degree, and the path length penalty. A set of candidate paths from each candidate root cause node to the target anomalous node is determined, and a candidate root cause score corresponding to different candidate paths is calculated based on the candidate path set and the contribution value. A preset counterfactual correction and sorting operation is performed on the different candidate paths based on the candidate root cause score to generate the root cause ranking list. The root cause ranking list includes the final candidate root cause node and the final root cause score corresponding to the final candidate root cause node.

5. The method for identifying the root causes of quality anomalies in key metal industrial production according to claim 4, characterized in that, The step of performing a preset propagation interpretation operation on the root cause ranking list to generate the corresponding propagation interpretation result includes: Identify at least one target root cause node in the root cause ranking list whose final root cause score is greater than a preset root cause score threshold, and generate a propagation explanation path from the at least one target root cause node to the target anomalous node that meets the preset contribution requirements. Based on the propagation explanation path, a corresponding local causal propagation subgraph is generated to determine the target disposal recommendations corresponding to the target key metal industrial production process according to the propagation explanation path and the local causal propagation subgraph, and the propagation explanation result is obtained based on the propagation explanation path, the local causal propagation subgraph and the target disposal recommendations.

6. The method for identifying the root causes of quality anomalies in critical metal industrial production according to claim 4, characterized in that, The mathematical expression for the contribution value of each directed path is: in, This indicates abnormal evidence of the source root node at the corresponding point in time. Indicates the causal strength of a causal edge; Indicates the confidence level of the causal edge; This indicates the degree of time alignment; Indicates the path length; This represents the path length penalty term; , , These are the weighting coefficients; Indicates the initial node; Indicates the first k The propagation time difference corresponding to the next upstream event; Indicates the first k One node; Indicates the time when the target anomaly occurred; Indicates a directed path; Indicates a directed path consisting of the first... k The propagation from node 1 to node 2 k Typical propagation delay time for a causal edge with +1 nodes.

7. A device for identifying the root causes of quality anomalies in the production of key metals, characterized in that, include: The graph construction module is used to acquire industrial production data in the industrial production of target key metals, construct a causal quality graph corresponding to the industrial production data, generate abnormal evidence corresponding to each node in the causal quality graph, and extract the upstream event subgraph corresponding to the abnormal evidence. The root cause identification module is used to propagate the abnormal evidence of the upstream node corresponding to the upstream event subgraph along the causal edges in the causal quality graph to the target abnormal node, and determine the causal strength, confidence, time alignment degree and path length penalty of the causal edge during the propagation process. Based on the causal strength, the confidence, the time alignment degree and the path length penalty, the module calculates the contribution value of the directed path from a plurality of preset candidate root cause nodes to the target abnormal node, and scores and sorts the plurality of candidate root cause nodes according to the contribution value to generate a corresponding root cause ranking list. The explanation module is used to perform a preset propagation explanation operation on the root cause sorting list to generate a corresponding propagation explanation result, and to perform corresponding quality anomaly handling operations on the target key metal industrial production process according to the propagation explanation result. The expression for the causal quality map is: in, A set of nodes; It is a set of causal edges; The set of nodes It should include at least the following nodes: quality indicator nodes, process parameter nodes, equipment status nodes, raw material attribute nodes, batch nodes, and test item nodes; each node should include at least a node identifier (ID), node type, node attribute, and time index or batch index. Causal edge set In the diagram, causal edges represent the causal relationships between nodes. Any causal edge... Recorded as: Causal edge The attributes must include at least the time delay parameter. : Indicates a node State changes are transmitted to nodes Typical delay time required, causal strength : Represents a node For nodes degree of influence, confidence level : Indicates the degree of confidence and symbolic attribute of the causal edge. : Indicates positive or negative impact; propagation kernel parameter: used for time alignment and anomaly propagation calculations.

8. An electronic device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, the processor executing the program to implement the method for identifying the root causes of quality anomalies in critical metal industrial production as described in any one of claims 1-6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, The program is executed by a processor to implement the method for identifying the root causes of quality anomalies in critical metal industrial production as described in any one of claims 1-6.

10. A computer program product, comprising a computer program, characterized in that, The computer program is executed to implement the method for identifying the root causes of quality anomalies in critical metal industrial production as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Graph convolution network root cause identification method based on causal semantic relation transmission

    CN112507720A

  • Base station fault root cause positioning method and system based on knowledge graph

    CN122027463A