Multi-model output confidence evaluation method, device and equipment based on field comparison
By parallel execution and field-level cross-comparison of multiple heterogeneous computing models, the problem of misjudgment due to implicit errors in a single model is solved, and the credibility assessment of multi-model outputs is realized, thereby improving the accuracy of assessment and the reliability of engineering decisions.
Patent Information
- Application Number
- CN202611619790.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-20
- Publication Date
- 2026-11-20
AI Technical Summary
In existing technologies, when a single computational model performs numerical simulation tasks, it may produce implicit errors due to training data bias, model architecture limitations, or other reasons. Furthermore, existing verification methods cannot effectively identify these implicit errors, leading to misjudgments as reliable and affecting the reliability of engineering decisions.
By distributing the same computational task to multiple independent heterogeneous computational models for parallel execution, the returned structured product list is cross-referenced and the differences are measured at the field level. The differences of each field are weighted and aggregated into a unified confidence score to form a hierarchical trust decision.
It enables credibility assessment of multi-model outputs, improves assessment accuracy, avoids or reduces the phenomenon of implicit errors being misjudged as credible, and ensures the reliability of engineering decisions.
Smart Images

Figure CN123138735A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of artificial intelligence technology, and in particular to a method, apparatus and device for evaluating the credibility of multi-model outputs based on field comparison. Background Technology
[0002] With the widespread application of computational models capable of understanding instructions in fields such as industrial simulation, scientific research, and engineering design, intelligent agents are increasingly being used to automatically invoke computational models and perform numerical simulation calculations of target system states, such as power system transient stability analysis, fluid mechanics numerical simulation, and structural mechanics finite element calculations. These tasks are characterized by: inputs being structured sets of parameters; outputs being structured numerical results and associated product files (such as simulation logs, visualization charts, and data tables); and the accuracy and reliability of the calculation results directly impact the safety of subsequent engineering decisions.
[0003] However, when a single computational model performs numerical simulation tasks, it may produce implicit errors due to factors such as biases in training data, limitations in model architecture, insufficient parameter size, and randomness in the inference process. Unlike traditional software systems, the "errors" of computational models are not program crashes or abnormal exits, but rather the production of seemingly reasonable but actually unrealistic numerical results. These errors are highly concealed and difficult to detect, posing a serious threat to scenarios with high reliability requirements (such as power system security analysis and aerospace simulation). To reduce the impact of these implicit errors on engineering decisions, related technologies typically involve calling multiple computational models to perform numerical simulation tasks and then counting the votes for the output results of multiple models by category or averaging the numerical values, using the result with the most votes or the average as the final output. However, this method suffers from the problem of implicit errors being misjudged as reliable. Summary of the Invention
[0004] Therefore, it is necessary to provide a method, apparatus, and device for evaluating the credibility of multi-model outputs based on field comparison, which can reduce or avoid the phenomenon of misjudging implicit errors, in order to address the above-mentioned technical problems.
[0005] Firstly, this application provides a method for evaluating the credibility of multi-model outputs based on field comparison, including:
[0006] A set of common fields is obtained by extracting common fields from the calculation results of multiple models for the same target calculation task from multiple preset calculation models;
[0007] Based on the field type of each common field, the field content of each pair of models is compared for the common fields to obtain the degree of difference between the two pairs of models on the common fields;
[0008] Aggregate all the differences to obtain the aggregated result;
[0009] The credibility assessment result of the calculation results of the multiple models is determined based on the aggregation result.
[0010] In one embodiment, the step of comparing the field content of each pair of models for the common field based on the field type of each common field to obtain the difference degree of the pair of models on the common field includes at least one of the following: when the field type is a numeric field, the difference degree is determined based on the task accuracy requirement level of the target calculation task and the field value corresponding to the pair of models; when the field type is an enumeration field, the difference degree is determined based on the consistency between the field enumeration values corresponding to the pair of models; when the field type is a text field, the difference degree is determined based on the semantic similarity between the field texts corresponding to the pair of models; when the field type is a file path field, the difference degree is determined based on the feature hash value of the file pointed to by the file path of the pair of models and the proportion of difference in file content.
[0011] In one embodiment, determining the degree of difference based on the task accuracy requirement level of the target calculation task and the field values corresponding to the pairwise models includes: for each common field, determining the median of all field values of the common field; determining the target value range of the common field based on the task accuracy requirement level and the physical quantity type of the common field; and determining the degree of difference based on the median, the target value range, and the field values corresponding to the pairwise models.
[0012] In one embodiment, the step of aggregating all the differences to obtain an aggregation result includes: determining the average difference corresponding to each common field based on all the differences corresponding to each common field; and weighting and aggregating the average differences corresponding to all the common fields to obtain the aggregation result.
[0013] In one embodiment, the step of weighted aggregation of the average differences corresponding to all the common fields to obtain the aggregation result includes: for each common field, determining the aggregation weight of the common field based on at least one of the field type and field precision requirement level of the common field, and the relationship between the common field and the associated field chain in the model calculation result; and weighted aggregation of the average differences corresponding to all the common fields according to the aggregation weight to obtain the aggregation result.
[0014] In one embodiment, determining the aggregation weight of the common field based on at least one of the field type and field precision requirement level of the common field, and the relationship between the common field and the associated field chain in the model calculation result, includes: determining a field type weight factor based on the field type; determining a precision weight factor based on the field precision requirement level; determining an association binding factor based on the relationship between the common field and the associated field chain in the model calculation result; and determining the aggregation weight of the common field based on the product of the field type weight factor, the precision weight factor, and the association binding factor.
[0015] In one embodiment, determining the credibility assessment result of the multiple model calculation results based on the aggregation result includes: determining an overall confidence score based on the aggregation result; and determining the credibility assessment result based on the overall confidence score.
[0016] In one embodiment, determining the credibility assessment result based on the overall confidence score includes: if the overall confidence score is greater than or equal to a first threshold, determining the credibility assessment result as credible, and determining and outputting a target calculation result based on the model calculation result; if the overall confidence score is less than the first threshold but greater than or equal to a second threshold, determining the credibility assessment result as low confidence, and determining and outputting a target calculation result and an alarm flag based on the model calculation result; wherein the first threshold is greater than the second threshold; if the overall confidence score is less than the second threshold, determining the credibility assessment result as unreliable, and outputting a difference analysis report, the difference analysis report including the target calculation task, the model calculation result, and the difference degree.
[0017] Secondly, this application also provides a multi-model output credibility evaluation device based on field comparison, including:
[0018] The extraction module is used to extract common fields from the calculation results of multiple models for the same target calculation task from multiple preset calculation models, and obtain a set of common fields;
[0019] The comparison module is used to compare the field content of each pair of models for the common field based on the field type of each common field, and to obtain the degree of difference between the two pairs of models on the common field.
[0020] The aggregation module is used to aggregate all the differences to obtain the aggregation result.
[0021] The determination module is used to determine the credibility evaluation result of the calculation results of the multiple models based on the aggregation result.
[0022] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the multi-model output credibility assessment method based on field comparison provided in the first aspect of this application.
[0023] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the multi-model output credibility assessment method based on field comparison provided in the first aspect of this application.
[0024] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the multi-model output credibility assessment method based on field comparison provided in the first aspect of this application.
[0025] The aforementioned method, apparatus, computer device, computer-readable storage medium, and computer program product for multi-model output credibility assessment based on field comparison extract common fields from the calculation results of multiple models for the same target calculation task from multiple preset calculation models, obtaining a set of common fields; based on the field type of each common field, the content of each pair of models for the common field is compared to obtain the degree of difference between the two models on the common field; all differences are aggregated to obtain an aggregation result; and the credibility assessment result of the calculation results of multiple models is determined based on the aggregation result. It can be seen that the embodiments of this application extract common fields from the calculation results of multiple models, determine the degree of difference between the two models on the common field based on the field type of the common field, and on this basis, obtain a credibility assessment result by aggregating all differences. That is, multi-model output credibility assessment is performed based on the degree of consensus of multiple calculation models on the same common field. By adopting a differentiated comparison strategy for different field types, field-level one-by-one comparison and difference quantification are achieved. Compared to model ensemble methods that assume majority consensus (voting or averaging) as the basis for reliability, this approach not only enables reliability assessment of multiple model outputs but also improves comparison accuracy and identifies common biases among models. This helps avoid or reduce the misjudgment of implicit errors as reliable, thereby enhancing assessment accuracy. Attached Figure Description
[0026] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0027] Figure 1This is a diagram illustrating the application environment of a multi-model output credibility assessment method based on field comparison in one embodiment.
[0028] Figure 2 This is a flowchart illustrating a multi-model output credibility assessment method based on field comparison in one embodiment.
[0029] Figure 3 This is a flowchart illustrating the field-level cross-comparison process in one embodiment;
[0030] Figure 4 This is a flowchart illustrating step 203 in one embodiment;
[0031] Figure 5 This is a flowchart illustrating step 402 in one embodiment;
[0032] Figure 6 This is a flowchart illustrating a multi-model output credibility assessment method based on field comparison in another embodiment.
[0033] Figure 7 This is a structural block diagram of a multi-model output credibility assessment device based on field comparison in one embodiment.
[0034] Figure 8 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0035] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0036] It should be noted that the terms "first," "second," etc., used in this application may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from the second element. The terms "comprising" and "having," and any variations thereof, used in this application, are intended to cover non-exclusive inclusion. The term "multiple" used in this application refers to two or more. The term "and / or" used in this application refers to one of the embodiments, or any combination of multiple embodiments.
[0037] In related technologies, to avoid the impact of hidden errors generated by a single computational model on engineering decisions, the following solutions are mainly adopted:
[0038] Option 1: Model integration method.
[0039] This method trains multiple homogeneous or weakly heterogeneous models to predict the same input, and generates the final output using majority voting or weighted averaging. However, this approach has limitations. Model ensembles are inherently designed for statistical learning tasks such as classification or regression, and their outputs are discrete class labels or single regression values, lacking complex structured product lists (containing multiple dimensions such as numerical fields, enumerated fields, text fields, and file paths). When directly applying model ensembles to industrial numerical simulation tasks, it's impossible to implement differentiated verification strategies for different field types or verify the consistency between the "calculation results" and the "product file paths." A serious consequence of this limitation is that even if multiple models achieve consistent numerical results, this consistency may stem from systematic biases in the shared training data rather than reflecting true physical laws, leading to hidden erroneous outputs being misjudged as reliable.
[0040] Option 2: Result verification method based on Retrieval-Augmented Generation (RAG).
[0041] This method compares the semantic similarity of the output of the computational model with relevant text fragments retrieved from an external knowledge base to determine whether the information in the output content is supported by the knowledge base. If the similarity is higher than a threshold, the verification is considered successful. The drawback of this method is that RAG verification targets the text relevance judgment of "whether the output content is consistent with known knowledge," rather than verifying "whether multiple independent computational models produce consistent numerical calculation results for the same input." In industrial simulation scenarios, the knowledge base may only contain reference values for nominal operating conditions or typical scenarios, while actual simulations often involve non-standard operating conditions, extreme boundary conditions, and other situations not covered by the knowledge base, causing RAG verification to fail. Furthermore, RAG verification cannot provide fine-grained field-level difference quantification; it can only provide an overall "relevant / irrelevant" judgment, unable to pinpoint which specific numerical field has deviated. A serious consequence of this deficiency is that in non-standard operating conditions with insufficient knowledge base coverage, even if the calculation results have serious deviations, RAG verification cannot provide effective warnings, creating a safety risk of "unknown errors passing verification."
[0042] Option 3: Single-judgment model verification method (large language model as judge).
[0043] This method uses an independent computational model (usually a larger-scale or specially trained model) to evaluate the output of another computational model. The decision to adopt the evaluated model's results is based on the evaluation model's output. However, this method has limitations: the evaluation model itself suffers from bias and illusion, known as "judge bias." Its judgments are based on its own training data and reasoning abilities, rather than on objective cross-comparison results. When the evaluation model and the evaluated model share similar training data sources or architectural design ideas, they may both produce consistent erroneous judgments on the same type of problem, causing biased outputs to be judged as correct. Furthermore, the evaluation model can only provide an overall quality assessment and cannot offer quantifiable difference reports for each field, preventing downstream systems from implementing refined reliability assessments. A serious consequence of this limitation is that in safety-critical scenarios (such as N-1 fault scanning in power systems), judge bias can allow erroneous simulation conclusions to enter the decision-making process, leading to incorrect safety assessments and operational recommendations.
[0044] It is evident that in related technologies, implicit biases exist when a single computational model performs numerical simulation tasks. Furthermore, existing verification methods rely on homogeneous model integration or a single evaluation model, failing to eliminate systematic biases through the execution and cross-comparison of multiple independent heterogeneous computational models. Therefore, a method is needed that can simultaneously distribute the same computational task to at least two heterogeneous computational models for parallel execution, thereby obtaining model computation results from multiple independent sources for cross-validation.
[0045] In related technologies, model ensemble methods can only provide overall voting or mean outputs, and cannot perform field-level difference quantification analysis on the complex structured product lists returned by numerical simulation calculation tasks. Therefore, a method for hierarchical comparison based on field type (numerical, enumerated, text) is needed, employing differentiated comparison strategies and tolerance interval settings for different field types to achieve cross-validation at the accuracy level.
[0046] In related technologies, evaluation models can only provide a holistic binary quality judgment, lacking a weighted aggregation mechanism based on multi-field differences and a hierarchical trust decision-making system. Therefore, a method is needed to weighted aggregate the differences of each field into a unified confidence score, and to implement hierarchical trust decisions based on multi-level thresholds, forming a complete trust closed loop between reliable output, warning output, and rejection output.
[0047] To address the aforementioned issues, this application proposes a multi-model output credibility assessment method based on field comparison. This method distributes the same numerical simulation task in parallel to multiple independent heterogeneous computing models, performs field-level cross-comparison and difference quantification on the returned structured product list, and weights and aggregates the differences of each field into a unified confidence score to achieve hierarchical trust decision-making, forming a complete closed loop of distribution, comparison, aggregation, and decision-making.
[0048] The multi-model output credibility evaluation method based on field comparison provided in this application can be applied to, for example... Figure 1 In the application environment shown, terminal 102 communicates with server 104 via a network. A data storage system can store the data that server 104 needs to process. The data storage system can be integrated onto server 104, or it can be located in the cloud or on other network servers. Terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, and tablets. Server 104 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services.
[0049] In one exemplary embodiment, such as Figure 2 As shown, a method for evaluating the credibility of multi-model outputs based on field comparison is provided, and this method is applied to... Figure 1 Taking the server in the example, the explanation includes the following steps 201 to 204. Wherein:
[0050] Step 201: Extract common fields from the calculation results of multiple models for the same target calculation task from multiple preset calculation models to obtain a set of common fields.
[0051] Among them, a pre-defined computational model refers to a computational model that has the ability to understand instructions, receive structured computational task descriptions, perform computations based on input data, and return structured output results. Multiple pre-defined computational models differ in at least one of the following: the source of their training institution, the scale of their parameters, and their model architecture.
[0052] For example, firstly, for the same structured target computation task, its task description and input data are obtained. The task description and input data are then simultaneously distributed to at least two heterogeneous computation models. Each computation model independently executes the target computation task and returns model computation results containing a structured product list. The structured product list refers to the data set with predefined field patterns returned by the computation model after executing the computation task. Each field has a clear type label (numerical, enumerated, text, file path, etc.) and semantic meaning. The field pattern is predefined by the product list template in the computation task definition. Fields are the basic data units in the structured product list; each field contains a field name and field content, used to describe a specific physical quantity or attribute information in the computation result.
[0053] Then, the calculation results of multiple models returned by each model are obtained, and the structured product list is processed by field alignment and normalization: the field names returned by each model are uniformly mapped to the standardized field name space, the field values with the same semantics but different formats are normalized into a unified numerical representation and dimension, and the common fields in each product list are extracted to obtain a common field set for subsequent comparison.
[0054] Step 202: Based on the field type of each common field, compare the field content of each pair of models for the common fields to obtain the degree of difference between the pairs of models on the common fields.
[0055] The field types include at least one of the following: numeric fields, enumerated fields, text fields, and file path fields.
[0056] When the field type is numeric, the field content is numeric;
[0057] When the field type is an enumeration field, the field content is an enumeration value;
[0058] When the field type is text, the field content is text information;
[0059] When the field type is file path, the field content is the file path.
[0060] For example, each common field in the set of common fields is traversed. The field type is determined based on the common field's type label (numeric, enumerated, text, or file path). A corresponding comparison strategy is selected based on the field type; different field types have different comparison strategies. The content of each pair of models for that common field is cross-compared according to the comparison strategy to obtain the difference degree between the two models on the common field. The difference degree represents the degree of consensus between the two models on the same field. Thus, the difference degree between any two models on each common field is obtained. All difference degrees are written into a field-level difference degree matrix, and a field-by-field comparison report is output.
[0061] Optionally, the degree of difference can be a normalized difference index, with a value range of [0,1], where 0 represents complete consistency and 1 represents the difference reaching the maximum tolerance limit.
[0062] Step 203: Aggregate all the differences to obtain the aggregation result.
[0063] For example, the arithmetic mean of the differences corresponding to all common fields is taken to obtain the average difference, and this average difference is used as the aggregation result.
[0064] Step 204: Determine the credibility assessment results of the calculation results of multiple models based on the aggregation results.
[0065] For example, an overall confidence score is determined based on the aggregation results, and a confidence assessment result for multiple model calculation results is determined based on the overall confidence score. The confidence assessment result can characterize the consistency among multiple models. The confidence assessment result can include credible and uncredible. After obtaining the confidence assessment result, the output of multiple model calculation results can be determined or prohibited based on the confidence assessment result. That is, if the model calculation results are credible, the model calculation results are output, ensuring the reliability of the final output result and avoiding the absence of hidden errors in the final output result; if the model calculation results are uncredible, the model calculation results are rejected, and a comparison report is output simultaneously.
[0066] Credibility assessment results are used to guide engineering decisions, so that the basis for decision-making is upgraded from a single model output or majority vote result to a credible conclusion that has been cross-validated by multiple models. This ensures that only model calculation results that pass the field-level consistency test can enter the engineering decision-making process, avoiding inaccurate safety assessments and operational recommendations caused by adopting unreliable model calculation results (such as results with hidden errors), thereby ensuring the reliability of engineering decisions.
[0067] In the aforementioned multi-model output credibility assessment method based on field comparison, common fields are extracted from the calculation results of multiple models for the same target calculation task by multiple preset calculation models to obtain a set of common fields; based on the field type of each common field, the field content of each pair of models for the common field is compared to obtain the degree of difference between the two models on the common field; all differences are aggregated to obtain an aggregation result; and the credibility assessment result of the calculation results of multiple models is determined based on the aggregation result. It can be seen that the embodiments of this application extract common fields from the calculation results of multiple models and determine the degree of difference between the two models on the common field based on the field type of the common field. On this basis, the credibility assessment result is obtained by aggregating all differences, that is, multi-model output credibility assessment is performed based on the degree of consensus of multiple calculation models on the same common field. The use of differentiated comparison strategies for different field types achieves field-level comparison and quantification of differences. Compared to model ensemble methods that assume majority consensus (voting or averaging) as the basis for reliability, this approach not only enables reliability assessment of multiple model outputs but also improves comparison accuracy and identifies common biases among models. This helps avoid or reduce the misjudgment of implicit errors as reliable, thereby enhancing assessment accuracy.
[0068] The following example illustrates the parallel distribution of heterogeneous computing models for the same computing task.
[0069] In one possible implementation, before step 201, the method further includes: inputting the target computation task into multiple preset computation models for computation to obtain multiple model computation results; wherein, at least one of the training mechanism source, parameter scale, and model architecture of the multiple preset computation models is different.
[0070] For example, when a structured target computation task (containing fields such as computation task type identifier, input parameter set, accuracy requirement level, and output list template) is received from the task initiator, the task description is first standardized and encoded to generate a unified task description format decoupled from the specific computation model. Then, at least two heterogeneous preset computation models are selected from a pre-registered pool of computation models, where heterogeneity satisfies at least one of the following dimensions: different training institutions, model parameter size differences exceeding a preset proportion threshold, or different model infrastructure. After selecting the computation models, an equivalent transformation is performed on the unified standardized task description format, converting it into a specific format adapted to the interface constraints of each preset computation model.
[0071] Equivalent transformation refers to the operation of converting a unified standardized task description into an interface format adapted to a specific computing model. This operation does not change the computational semantics of the input parameters, the task logic semantics, or the semantics of the product list requirements. It only changes the data organization, field naming, and format encoding. In other words, the semantics of the input parameters, the computational logic semantics, and the semantics of the product list requirements of the computing task must not be changed during the equivalent transformation process.
[0072] Optionally, the transformations include, but are not limited to: mapping field names in the unified structured task description to field names expected by the preset computing model, adjusting the hierarchical relationship of the nested structure to match the data organization method of the target interface, and converting the abstract identifier of the precision requirement level into precision configuration parameters that can be recognized by the preset computing model.
[0073] Optionally, to further improve the reliability of distribution, a transformation fingerprint (a unique identifier obtained by calculating the feature summary of the equivalently transformed task description, used to trace whether unexpected semantic deviations were introduced during the distribution process due to the transformation operation) is generated for the equivalently transformed task description. The feature summary of the task description received by each computing model is recorded so as to trace whether deviations were introduced during the distribution process due to the transformation in the subsequent cross-validation stage.
[0074] Optionally, the distribution adopts a parallel asynchronous mechanism. Each preset computing model executes independently after receiving the task. After each task is completed, it returns the model computing result containing a list of structured products to the aggregation module. The computing model that times out is handled through a timeout mechanism.
[0075] By independently executing the same target computational task using multiple pre-defined computational models that differ in at least one of the following aspects—training institution origin, parameter size, or model architecture—each model exhibits fundamental differences in training data distribution, modeling assumptions, computational logic, and error patterns. This heterogeneity avoids the systematic biases that can arise from homogeneous or weakly heterogeneous models sharing similar training data, parameter sizes, or model architectures. Therefore, cross-referencing the computational results from these heterogeneous models across shared fields prevents consistent but erroneous results from being mistakenly judged as reliable due to inherent biases in a single model or shared biases across multiple models, thus improving the accuracy of reliability assessment results.
[0076] Specific example one: Parallel distribution of power system transient stability simulation tasks.
[0077] In this example, the task initiator submits a power system transient stability simulation task. Input parameters include grid topology data, fault type identifiers, fault clearing times, and generator parameter sets. After standardizing the task description, three heterogeneous computational models are selected from the registered computational model pool: Model α, trained by organization X with approximately 70 billion parameters, is based on a dense architecture; Model β, trained by organization Y with approximately 13 billion parameters, is based on a sparse architecture; and Model γ, trained by organization Z with approximately 200 billion parameters, is based on a hybrid architecture.
[0078] During the equivalent transformation, the "fault clearing time" field in the unified standardized task description is mapped to "A1" expected by model α, "clearing time (ms)" expected by model β, and "A2" expected by model γ, respectively. The accuracy requirement "high precision" in the unified standardized task description is converted to "B1" for model α, "precision level = B2" for model β, and "B3" for model γ, respectively. The three models receive the transformed task descriptions in parallel and execute them separately, each returning a structured product list containing fields such as transient stability determination result (enumerated value: stable / unstable), critical clearing time (numerical value, in milliseconds), and rotor angle deviation curve file path (text file path).
[0079] Specific example two, taking the parallel distribution of structural mechanics finite element calculation tasks as an example:
[0080] In this example, the target computational task is structural mechanics finite element analysis. The input parameters include a structured description of the 3D geometric model, material property parameters (elastic modulus, Poisson's ratio, and density, etc.), a set of load conditions, and a set of constraint conditions. Two heterogeneous instances are selected from the computational model pool: model δ is trained by mechanism P with a parameter scale of 50 billion; model ε is trained by mechanism Q with a parameter scale of 80 billion, using a different infrastructure than model δ.
[0081] During the equivalent transformation, it was found that the interface of model δ required load conditions to be represented by Cartesian coordinate vectors, while the interface of model ε required them to be represented by polar coordinate vectors. Therefore, according to the built-in coordinate transformation rules, the unified Cartesian coordinate load vectors were equivalently transformed into polar coordinate representations before being sent to model ε, ensuring that the computational semantics remained unchanged. Furthermore, the system performed a mapping from accuracy level to specific convergence criteria for the stress calculation accuracy parameters. The structured output lists returned by both models both include fields such as maximum stress value, maximum displacement value, and stress distribution contour map file path.
[0082] Therefore, this embodiment distributes the same target computing task to at least two independent heterogeneous computing models for computing, and uses the computing results of multiple independent models as the basis for field-level cross-validation, which can avoid misjudgment caused by systematic biases shared by a single model or homogeneous models.
[0083] The following example illustrates a specific method for performing precise field-level cross-comparison of calculation results from multiple models.
[0084] In an exemplary embodiment, step 202 includes at least one of the following: when the field type is a numeric field, determining the degree of difference based on the task accuracy requirement level of the target calculation task and the field values corresponding to each pair of models; when the field type is an enumeration field, determining the degree of difference based on the consistency between the field enumeration values corresponding to each pair of models; when the field type is a text field, determining the degree of difference based on the semantic similarity between the field texts corresponding to each pair of models; when the field type is a file path field, determining the degree of difference based on the feature hash value of the file pointed to by the field file path corresponding to each pair of models and the proportion of differences in file content.
[0085] Among them, the task accuracy requirement level refers to the graded identifier declared in the target calculation task and used to constrain the task accuracy standard.
[0086] For example, such as Figure 3 As shown, after performing field alignment and normalization and extracting common fields, the field type is identified based on the type label of the common fields. Then, a field-level comparison strategy is selected based on the field type. The field content of each pair of models is compared for the common fields according to the field-level comparison strategy to obtain the difference between the two models on the common fields. This difference is written into the field-level difference matrix, and a field-by-field cross-comparison report is output.
[0087] For shared numerical fields, the target value range associated with the shared field is first read, and the percentage difference between the field values of each pair of models for that shared field is calculated. If the percentage difference exceeds the target value range, the degree of difference between the pair of models on that shared field is determined based on the percentage difference and the target value range, and the shared field is marked as "inconsistent". The target value range refers to the acceptable deviation range of a numerical field that is tied to the accuracy requirement level of the target calculation task and can be dynamically adjusted according to the task configuration. Different accuracy requirement levels correspond to different sets of value range parameters.
[0088] For enumerated common fields, if any pair of models have the same enumerated value for that field, the difference between the two models is 0; otherwise, the difference is 1. In one possible implementation, for enumerated common fields, a complete match check is performed: if all computational models have the same enumerated value for that field, the difference is 0; if at least one enumerated value differs from the others, the difference is 1.
[0089] For text-based common fields, determine the semantic similarity between the text information of any two model output fields. If the semantic similarity is lower than a preset threshold (e.g., 0.85), it is determined to be inconsistent, and the difference between 1 and the semantic similarity is determined as the difference of 1; if the semantic similarity is not lower than the preset threshold, it is determined to be consistent, and 0 is determined as the difference.
[0090] For common fields of file path type, first determine whether the feature hash values pointed to by the file paths output by the two models are the same. If they are the same, it means that they are consistent and 0 is determined as the degree of difference. If they are different, it means that there is a difference in the file content. Then, further determine the proportion of the difference in the file content and determine the degree of difference based on the proportion observed in the file content.
[0091] Therefore, this embodiment uses an appropriate comparison method to perform field-by-field cross-comparison of common fields according to field type, which can accurately calculate the degree of difference corresponding to each common field, ensuring the accuracy and reliability of the degree of difference.
[0092] In one example, the degree of difference is determined based on the task accuracy requirement level of the target calculation task and the field values corresponding to each pair of models. This includes: determining the median of all field values for each common field; determining the target value range of the common field based on the task accuracy requirement level and the physical quantity type of the common field; and determining the degree of difference based on the median, the target value range, and the field values corresponding to each pair of models.
[0093] For example, for each common field, the median of all corresponding field values is first calculated. Then, based on the task accuracy requirement level and the physical quantity type of the common field, its target value range is determined. For instance, when the task requires high accuracy, if the physical quantity type is a frequency field, the target value range is ±0.01Hz; if the physical quantity type is a voltage field, the target value range is ±0.5%. When the task requires standard accuracy, the above target value ranges are widened to 0.1Hz and ±3%, respectively. Then, the absolute value of the difference between the field values of any two calculation models in this field is calculated, and the ratio of the absolute value of the difference to the median is determined as the percentage difference (i.e., the percentage difference equals the absolute value of the difference divided by the median). If the percentage difference exceeds the target value range, the common field is marked as "inconsistent," and the degree of difference is recorded. The formula for calculating the degree of difference is: Degree of difference = min(Percentage of difference / Upper limit of target value range, 0), that is, the degree of difference is normalized to the [0,1] interval, where 0 represents complete consistency and 1 represents reaching or exceeding the maximum tolerance limit.
[0094] Specific Example 1: Taking the field-level cross-comparison of power system transient stability simulation results as an example: This example follows Specific Example 1 in the above-mentioned parallel distribution embodiment of heterogeneous computing models. The three heterogeneous computing models α, β, and γ respectively return the product lists of transient stability simulation. After field alignment, the following common fields are extracted: transient stability determination (enumerated type), critical clearing time (numerical type, unit: milliseconds), rotor angle deviation curve file path (file path type), and minimum frequency point (numerical type, unit: Hz).
[0095] The task specifies a precision requirement level of "high precision." Based on this, the dynamic target value range configuration is queried: frequency fields tolerate ±0.01Hz, and time fields tolerate ±1.0%. A comparison is then performed on each field.
[0096] Transient stability determination: All three models returned the enumerated value "unstable", which is a perfect match and the difference is 0;
[0097] Critical purge times: α returned 85.3 ms, β returned 87.1 ms, γ returned 84.8 ms. Median = 85.3 ms, percentage difference between α and β. Exceeding the ±1.0% tolerance range, the variability is 1.0; the percentage difference between α and γ is... Within a tolerance range of ±1.0%, the degree of difference ; percentage difference between β and γ If the difference exceeds the ±1.0% tolerance range, the difference is 1.0.
[0098] The lowest frequencies are: α returns to 9.85Hz, β returns to 9.87Hz, and γ returns to 9.84Hz. Taking β and γ as examples, the differences are... The tolerance range is ±0.01Hz. If the percentage difference exceeds the tolerance range, the difference degree is 1.
[0099] Rotor angle deviation curve file path: The feature hash values of the three files returned by the three models are different, indicating that there are differences in the generated curves. The difference is calculated as 0.65 based on the proportion of differences in file content.
[0100] The final difference matrix was generated, which identified significant inconsistencies in the "lowest frequency point" field and partial inconsistencies in the "rotor angle deviation curve".
[0101] Example 2: Taking the field-level cross-comparison of structural mechanics finite element calculation results as an example:
[0102] This example follows Example 2 from the above parallel distribution embodiment of heterogeneous computing models. The two heterogeneous computing models δ and ε return the structured product list of finite element analysis, and after field alignment, the common fields are extracted: maximum stress value (numerical type, unit MPa), stress distribution cloud map file path (file path type), and model convergence status (enumerated type: converged / not converged).
[0103] The task accuracy requirement is "standard accuracy," and based on this, the target value range is set as follows: stress-related fields tolerate ±3%. Comparison results:
[0104] Model convergence status: Both δ and ε return "converged", with a difference of 0;
[0105] Maximum stress values: δ returned 245.7 MPa, ε returned 251.2 MPa. Median 248.45, percentage difference. Within the ±3% tolerance range, ;
[0106] Stress distribution cloud map files: The feature hashes of the two files are different, but pixel-level difference analysis reveals that their cloud map distribution patterns are highly consistent, with only slight differences in color level rendering, and a difference degree of 0.22.
[0107] Therefore, this example determines the degree of difference based on the target calculation task's accuracy requirement level, the physical quantity type of the common fields, the median of the field values, and the corresponding field values of each pair of models, which can improve the accuracy of the degree of difference for numerical fields.
[0108] Next, step 203 is executed, which involves aggregating all the differences to obtain the aggregation result.
[0109] In one exemplary embodiment, such as Figure 4 As shown, step 203 includes steps 401 and 402. Wherein:
[0110] Step 401: Determine the average difference for each common field based on all the differences for each common field.
[0111] For example, when obtaining the field-level dissimilarity matrix, each element d in the matrix ij,k This represents the difference between the i-th preset calculation model and the j-th preset calculation model on the k-th common field. That is, each common field corresponds to multiple differences. For each common field, all its corresponding differences are obtained from this matrix, and the average of all differences is calculated to obtain the average difference for that field.
[0112] Step 402: Weighted aggregation of the average differences corresponding to all common fields to obtain the aggregation result.
[0113] For example, after obtaining the average dissimilarity of each common field, the average dissimilarity is weighted and aggregated according to the aggregation weight of each common field, i.e., a weighted sum is calculated to obtain the aggregation result. Optionally, the aggregation weight can be determined according to the field type and / or the level of task accuracy requirements.
[0114] Therefore, this embodiment uses weighted aggregation of the average differences of all fields to obtain the aggregation result, so that the aggregation result retains the degree of difference of each field and ensures the reliability of the aggregation result.
[0115] In one example, such as Figure 5 As shown, step 402 includes steps 501 and 502. Wherein:
[0116] Step 501: For each common field, determine the aggregation weight of the common field based on at least one of the following: the field type and precision requirement level of the common field, and the relationship between the common field and the associated field chain in the model calculation result.
[0117] Here, "field precision requirement level" refers to the precision level of common fields, which can be carried over in the task and can include critical precision fields (i.e., high-precision fields) and non-critical precision fields (i.e., low-precision fields). "Associated field chain" refers to a chain of fields (including all fields, both common and non-common fields) that have causal relationships in the calculation results of multiple models. For example, if there is a semantic causal relationship between the value of one field (such as a file path) and the value of another field (such as a summary of the calculation result), then both fields are considered associated fields.
[0118] Different field types correspond to different aggregation weights, different precision requirement levels for fields correspond to different aggregation weights, and different relationships between common fields and related field chains correspond to different aggregation weights. The weights of numeric fields, enumerated fields, text fields, and file path fields decrease in that order; critical precision fields have higher weights than non-critical precision level fields; and common fields that are related fields have higher weights than common fields that are not related fields.
[0119] For example, for each common field, the importance of the common field is comprehensively evaluated based on the field type, precision requirement level, and / or the relationship between the common field and the associated field chain (whether it belongs to the associated field chain, i.e., whether it belongs to the associated field). Based on this, the aggregation weight of the common field is determined, and after normalization, the sum of the aggregation weights of all common fields is ensured to be 1.
[0120] Step 502: According to the aggregation weight, the average difference corresponding to all common fields is weighted and aggregated to obtain the aggregation result.
[0121] For example, all average differences are summed according to their respective aggregation weights to obtain the aggregation result.
[0122] Therefore, this embodiment determines the aggregation weight of common fields based on at least one of the following: field type, field precision requirement level, and relationship between common fields and related field chains. This enables different fields to have importance that matches their own, further improving the accuracy of the aggregation results.
[0123] In one example, step 501 includes: determining a field type weight factor based on the field type; determining a precision weight factor based on the field precision requirement level; determining an association binding factor based on the relationship between the common field and the associated field chain in the model calculation result; and determining the aggregation weight of the common field based on the product of the field type weight factor, the precision weight factor, and the association binding factor.
[0124] For example, the aggregation weight of each common field is determined by the product of the following three factors:
[0125] The first factor is the field type weight factor. Numeric fields Enumerated fields Text field File path field Numerical fields are given the highest weight to facilitate adaptation to numerical simulation results.
[0126] The second factor is the accuracy weighting factor. For common fields marked as "critical precision field" or "high precision" in the target calculation task definition, For general fields, .
[0127] The third factor is the association binding factor. Identify output-related field pairs in the output list, that is, a semantic causal relationship exists between the value of one field (such as a file path) and the value of another field (such as a summary of calculation results). For common fields belonging to the related field chain (i.e., related fields), For non-related fields, .
[0128] Finally, aggregate weights After normalization, ensure that the sum of all weights is 1. Then, weight the average variance of each common field across all model pairs. Aggregate to obtain the aggregation result. , It refers to the average difference of the k-th common field.
[0129] Therefore, this example determines the aggregate weight of common fields based on the product of field type weight factor, precision weight factor, and association binding factor. This enables different common fields to bear differentiated influence in credibility assessment that matches their type, precision (engineering importance), and information relevance. As a result, the assessment results will not be overly affected by the accidental deviation of non-critical fields, nor will the risk be underestimated by ignoring the differences in critical fields.
[0130] Next, step 204 is executed, which is to determine the credibility evaluation results of the calculation results of multiple models based on the aggregation results (which are holistic and comprehensive).
[0131] In an exemplary embodiment, step 204 includes: determining an overall confidence score based on the aggregation results; and determining a credibility assessment result based on the overall confidence score.
[0132] The overall confidence score characterizes the overall credibility of the calculation results of all models from multiple pre-defined calculation models for the same objective, comprehensively reflecting the degree of consistency (consensus) among the models across all common fields. A higher confidence score indicates greater consistency in the field content across models, resulting in higher credibility of the calculation results; a lower confidence score indicates greater inconsistency and significant discrepancies in the field content across models, resulting in lower credibility of the calculation results.
[0133] In one example, the credibility assessment result is determined based on the overall confidence score, including: if the overall confidence score is greater than or equal to a first threshold, the credibility assessment result is determined to be credible, and the target calculation result is determined and output based on the model calculation result; if the overall confidence score is less than the first threshold but greater than or equal to a second threshold, the credibility assessment result is determined to be low confidence (i.e., between credible and untrustworthy), and the target calculation result and alarm flag are determined and output based on the model calculation result; wherein, the first threshold is greater than the second threshold; if the overall confidence score is less than the second threshold, the credibility assessment result is determined to be untrustworthy, and a difference analysis report is output, which includes the target calculation task, the model calculation result, and the degree of difference.
[0134] For example, the overall confidence score is calculated using the following formula:
[0135]
[0136] The range of values for S is 1 indicates completely reliable, 0 indicates completely unreliable. The closer to 1, the more reliable the calculation result; the closer to 0, the less reliable the calculation result.
[0137] The overall confidence score is compared with a preset first threshold. Second threshold A comparison was conducted, in which, .
[0138] like If the implicit errors in the calculation results (especially the consistency errors caused by common bias) have been effectively verified by the cross-comparison mechanism, then the calculation results of multiple models are deemed credible. Based on the calculation results of all models, the target calculation result is determined: for numerical fields, the median of multiple field values is selected; for enumerated fields, the majority consistent enumerated value is selected. The target calculation result is output for the generation of Zhishi Engineering decision-making, and a complete cross-comparison report is also output.
[0139] like If the risk of hidden errors cannot be completely eliminated, then the calculation results of multiple models are judged to have low confidence. At this time, the target calculation result can still be determined based on the calculation results of all models: for numerical fields, select the median of multiple field values; for enumerated fields, take the majority of consistent enumerated values and output the target calculation result, but mark the target calculation result with a "low confidence" warning mark, and output a complete cross-comparison report, listing the specific differences of each field in the comparison report for downstream systems or users to judge for themselves, so as to avoid misjudgment. That is, at this time, it indicates that there are some differences between the models, but they are not completely unusable. Therefore, the output result is accompanied by a warning mark and a difference report, and the final judgment is given to the downstream system or engineer for verification. After the verification is passed, it is used to guide the generation of engineering decisions.
[0140] like If multiple model calculation results are deemed unreliable, the model calculation results will be rejected to prevent unreliable calculation results from being output to users or downstream systems for use in engineering decision-making. At the same time, a detailed difference analysis report will be generated, which includes the target calculation task, model calculation results, and difference matrix. The manual review process will be triggered, and the difference analysis report will be sent to the manual review queue.
[0141] Specific example one: Taking the hierarchical trust decision in power system transient stability simulation as an example:
[0142] This example follows the previous example of field-level cross-comparison of power system transient stability simulation results. The average difference of common fields is determined based on the field-level difference matrix: transient stability determination difference = 0, critical clearing time difference = 0.81, minimum frequency point difference = 1, rotor angle deviation curve difference = 0.65.
[0143] Calculate the weights of each field:
[0144] Transient stability determination: Enumerated type: Field type weight factor 0.8, for non-critical precision fields: precision weighting factor 1.0, non-related field: related binding factor The initial aggregation weight is 0.80, with a value of 1.0.
[0145] Critical Clearance Time: Numeric: Field Type Weight Factor The value is 1.0, and the key precision field is the precision weighting factor. 1.5, non-related fields: related binding factor The initial aggregation weight is 1.50, with a value of 1.0.
[0146] Lowest frequency point: Numeric type: Field type weight factor The value is 1.0, and the key precision field is the precision weighting factor. 1.5, non-related fields: related binding factor The initial aggregation weight is 1.50, with a value of 1.0.
[0147] Rotor angle deviation curve: File path type: Field type weight factor 0.6, for non-critical precision fields: precision weighting factor The value is 1.0, and it has an output correlation with the "critical clearance time" and the "lowest frequency point" (the curve is a visualization of these values), therefore The value is 1.3, and the original aggregation weight is 0.78;
[0148] The normalized aggregation weights are [0.17, 0.33, 0.33, 0.17].
[0149] Confidence level:
[0150] .
[0151] set up . If the result is deemed unreliable, the transient stability determination result will be rejected, a detailed difference report (including annotations of significantly inconsistent lowest frequency points) will be generated, and a manual review process will be triggered.
[0152] Specific example two, taking the hierarchical trust decision in structural mechanics finite element calculation as an example:
[0153] This example follows the previous example of field-level cross-comparison of structural mechanics finite element calculation results. Based on the field-level difference matrix, the average difference of common fields is determined: convergence state difference = 0, maximum stress difference = 0.74, maximum displacement difference = 0.16, and contour file difference = 0.22.
[0154] Weight calculation:
[0155] Convergence state: Enumerated type: Field type weight factor 0.8, for non-critical precision fields: precision weighting factor 1.0, non-related field: related binding factor The initial aggregation weight is 0.80, with a value of 1.0.
[0156] Maximum stress: Numerical: Field type weight factor The value is 1.0, and the key precision field is the precision weighting factor. The value is 1.5; therefore, it is related to the output of the cloud map file. The value is 1.3, and the original aggregation weight is 1.95;
[0157] Maximum displacement: Numeric type: Field type weight factor The value is 1.0, and the key precision field is the precision weighting factor. The value is 1.5, which is related to the output of the cloud map file. The value is 1.3, and the original aggregation weight is 1.95;
[0158] Cloud map file: File path type: Field type weight factor 0.6, for non-critical precision fields: precision weighting factor The value is 1.0, and there is an output correlation with stress / displacement. The value is 1.3, and the original weight is 0.78;
[0159] The normalized aggregate weights are [0.15, 0.36, 0.36, 0.14] (rounded approximation).
[0160] Confidence level:
[0161] .
[0162] set up . exist and If the value is between 0 and 1, it is judged as low confidence and the target calculation results are output (the median of maximum stress is 248.45 MPa and the median of maximum displacement is 12.38 mm). However, a warning mark of "low confidence" is marked in the output and "the difference in the maximum stress field is 0.74, which is close to the upper limit of the tolerance range" is noted in the comparison report.
[0163] Therefore, this example uses a hierarchical trust decision mechanism to transform the field-level difference matrix into an actionable trust decision, ensuring that only credible results that have undergone cross-validation can directly enter the engineering decision-making process. This eliminates the risk of hidden errors going undetected, informs the uncertainty when the confidence level is low, and rejects the output and transfers it to human intervention when it is untrustworthy. Regardless of whether the hidden error actually exists, the probability of it being misjudged as credible is reduced.
[0164] The following detailed example illustrates the multi-model output credibility evaluation method based on field comparison proposed in this application. Figure 6 As shown, the method includes the following steps:
[0165] Step 601: Input the target calculation task into multiple preset calculation models for calculation and obtain multiple model calculation results;
[0166] Among them, at least one of the following is different: the source of the training institution, the parameter scale, and the model architecture of multiple preset computing models;
[0167] Step 602: Extract common fields from the calculation results of multiple models to obtain a set of common fields;
[0168] Step 603: Based on the field type of each common field, compare the field content of each pair of models for the common fields to obtain the degree of difference between the pair of models on the common fields.
[0169] In the case of a numeric field, the degree of difference is determined based on the accuracy requirement level of the target calculation task and the corresponding field values of the pairs of models.
[0170] When the field type is an enumeration field, the degree of difference is determined based on the consistency between the corresponding field enumeration values of each pair of models;
[0171] When the field type is text, the degree of difference is determined based on the semantic similarity between the corresponding text fields in each pair of models;
[0172] When the field type is file path, the degree of difference is determined based on the feature hash value of the file pointed to by the file path of each pair of models and the proportion of differences in file content;
[0173] Step 604: Determine the average difference for each common field based on all the differences for each common field.
[0174] Step 605: Determine the field type weight factor based on the field type;
[0175] Step 606: Determine the accuracy weighting factor based on the task accuracy requirement level;
[0176] Step 607: Determine the association binding factor based on the relationship between the common fields and the associated field chain in the model calculation results;
[0177] Step 608: Determine the aggregation weight of the common fields based on the product of the field type weight factor, the precision weight factor, and the association binding factor;
[0178] Step 609: According to the aggregation weight, the average difference corresponding to all common fields is weighted and aggregated to obtain the aggregation result;
[0179] Step 610: Determine the overall confidence score based on the aggregation results: S = 1 - aggregation results;
[0180] Step 611: Compare the overall confidence score with the first threshold and the second threshold;
[0181] Step 612: If the overall confidence score is greater than or equal to the first threshold, determine the credibility of multiple model calculation results, and determine and output the target calculation result based on the model calculation results;
[0182] Step 613: If the overall confidence score is less than the first threshold and greater than or equal to the second threshold, determine multiple model calculation results as low confidence, and determine and output the target calculation result and alarm flag based on the model calculation results;
[0183] Step 614: If the overall confidence score is less than the second threshold, determine that multiple model calculation results are unreliable, reject the output of calculation results, and output a difference analysis report. The difference analysis report includes the target calculation task, model calculation results, and difference degree.
[0184] In summary, the multi-model output credibility evaluation method based on field comparison in this application has the following advantages:
[0185] Reduce the implicit error pass rate in numerical simulation: By cross-comparing at least two independent heterogeneous computational models, the implicit error pass rate of a single model caused by bias in the same training data is reduced from the baseline level of the single model to the joint probability level of independent errors of multiple models.
[0186] It possesses field-level precision in identifying discrepancies: Unlike existing technologies that only provide overall quality, this method, through field-by-field comparison and discrepancy quantification, can precisely pinpoint which specific field in the structured product list has an inconsistency and differentiate the severity of the inconsistency, enabling downstream systems to implement targeted handling measures. In complex product list scenarios, this field-by-field precise location capability can avoid overall misjudgment caused by differences in individual non-critical fields.
[0187] Eliminating the risk of bias in the evaluation model: This method does not use any single computational model as an adjudicator. All comparisons and judgments are performed based on objective difference measurement algorithms: numerical comparisons use pure mathematical operations, enumeration comparisons use string equality checks, and text comparisons use semantic similarity algorithms. The decision-making process is fully traceable and auditable, and there is no cycle of bias where one model evaluates another.
[0188] Flexible tolerance for multi-precision levels: The dynamic tolerance range mechanism for numerical fields allows the same cross-comparison framework to adapt to different task requirements, ranging from high precision (e.g., power system frequency deviation ±0.01Hz) to standard precision (e.g., engineering design stress deviation ±3%), without the need to hardcode independent rules for each precision level. Changes in precision level only require updating the tolerance range configuration table to take effect.
[0189] Output a complete credibility audit trail: from the transformed fingerprints in the task distribution stage to the field-level difference matrix, and then to the weighted aggregation confidence score and grading decision, each step of the entire verification process generates recordable intermediate products. When a manual review is triggered, the reviewer receives not just a pass label, but a complete difference analysis report and the original model output, making the review significantly more efficient than blindly reviewing the entire calculation process.
[0190] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps. It is understood that the steps in different embodiments can be freely combined as needed, and all non-contradictory solutions formed by such combinations are within the scope of protection of this application.
[0191] Based on the same inventive concept, this application also provides a field-comparison-based multi-model output credibility assessment device for implementing the above-described field-comparison-based multi-model output credibility assessment method. The solution provided by this device is similar to the implementation described in the above-described method. Therefore, the specific limitations of one or more field-comparison-based multi-model output credibility assessment device embodiments provided below can be found in the limitations of the field-comparison-based multi-model output credibility assessment method described above, and will not be repeated here.
[0192] In one exemplary embodiment, such as Figure 7 As shown, a multi-model output credibility evaluation device based on field comparison is provided, including: an extraction module 701, a comparison module 702, an aggregation module 703, and a determination module 704, wherein:
[0193] Extraction module 701 is used to extract common fields from the calculation results of multiple models for the same target calculation task from multiple preset calculation models, and obtain a set of common fields;
[0194] The comparison module 702 is used to compare the field content of each pair of models for the common field based on the field type of each common field, and to obtain the degree of difference between the pair of models on the common field.
[0195] Aggregation module 703 is used to aggregate all the differences to obtain the aggregation result;
[0196] The determination module 704 is used to determine the credibility evaluation result of the calculation results of the multiple models based on the aggregation result.
[0197] In one embodiment, the comparison module 702 is specifically used for at least one of the following: when the field type is a numeric field, determining the degree of difference based on the task accuracy requirement level of the target calculation task and the field values corresponding to each pair of models; when the field type is an enumeration field, determining the degree of difference based on the consistency between the field enumeration values corresponding to each pair of models; when the field type is a text field, determining the degree of difference based on the semantic similarity between the field texts corresponding to each pair of models; when the field type is a file path field, determining the degree of difference based on the feature hash value of the file pointed to by the file path corresponding to each pair of models and the proportion of differences in file content.
[0198] In one embodiment, when the comparison module 702 determines the degree of difference based on the task accuracy requirement level of the target calculation task and the field values corresponding to the pairwise models, it is specifically used to: determine the median of all field values of the common field for each common field; determine the target value range of the common field based on the task accuracy requirement level and the physical quantity type of the common field; and determine the degree of difference based on the median, the target value range, and the field values corresponding to the pairwise models.
[0199] In one embodiment, the aggregation module 703 includes: a determining unit, configured to determine the average difference degree corresponding to the common field based on all the difference degrees corresponding to each common field; and an aggregation unit, configured to perform weighted aggregation of the average difference degrees corresponding to all the common fields to obtain the aggregation result.
[0200] In one embodiment, the aggregation unit is specifically used for: determining a subunit, for each of the common fields, determining the aggregation weight of the common field based on at least one of the field type and field precision requirement level of the common field, and the relationship between the common field and the associated field chain in the model calculation result; and the aggregation subunit, for weighted aggregation of the average difference degree corresponding to all the common fields according to the aggregation weight, to obtain the aggregation result.
[0201] In one embodiment, determining the sub-unit specifically involves: determining a field type weight factor based on the field type; determining a precision weight factor based on the field precision requirement level; determining an association binding factor based on the relationship between the common field and the associated field chain in the model calculation result; and determining the aggregate weight of the common field based on the product of the field type weight factor, the precision weight factor, and the association binding factor.
[0202] In one embodiment, the determining module 704 is specifically used to: determine an overall confidence score based on the aggregation result; and determine the credibility assessment result based on the overall confidence score.
[0203] In one embodiment, when determining the credibility assessment result based on the overall confidence score, the determining module 704 is specifically configured to: determine the credibility assessment result as credible if the overall confidence score is greater than or equal to a first threshold, and determine and output the target calculation result based on the model calculation result; determine the credibility assessment result as low confidence if the overall confidence score is less than the first threshold but greater than or equal to a second threshold, and determine and output the target calculation result and alarm flag based on the model calculation result; wherein the first threshold is greater than the second threshold; and determine the credibility assessment result as unreliable if the overall confidence score is less than the second threshold, and output a difference analysis report, the difference analysis report including the target calculation task, the model calculation result, and the difference degree.
[0204] Each module in the aforementioned multi-model output credibility assessment device based on field comparison can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the corresponding operations of each module.
[0205] In one exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 8As shown, the computer device includes a processor, memory, input / output interfaces (I / O), and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operating system and computer programs in the non-volatile storage media to run. The database stores multi-model output credibility assessment data based on field comparison. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communicating with external terminals via a network connection. When the computer program is executed by the processor, it implements a multi-model output credibility assessment method based on field comparison.
[0206] Those skilled in the art will understand that Figure 8 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0207] In one exemplary embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement a multi-model output credibility assessment method based on field comparison.
[0208] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements a multi-model output credibility assessment method based on field comparison.
[0209] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements a multi-model output credibility assessment method based on field comparison.
[0210] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.
[0211] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0212] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method for evaluating the credibility of multi-model outputs based on field comparison, characterized in that, The method includes: A set of common fields is obtained by extracting common fields from the calculation results of multiple models for the same target calculation task from multiple preset calculation models; Based on the field type of each common field, the field content of each pair of models is compared for the common fields to obtain the degree of difference between the two pairs of models on the common fields; Aggregate all the differences to obtain the aggregated result; The credibility assessment result of the calculation results of the multiple models is determined based on the aggregation result.
2. The method according to claim 1, characterized in that, The step of comparing the field content of each pair of models for the common field based on the field type of each common field to obtain the degree of difference between the pair of models on the common field includes at least one of the following: When the field type is a numeric field, the degree of difference is determined based on the task accuracy requirement level of the target calculation task and the field values corresponding to each pair of models; When the field type is an enumeration field, the degree of difference is determined based on the consistency between the field enumeration values corresponding to each pair of models; When the field type is a text field, the difference is determined based on the semantic similarity between the text of the corresponding fields in the pairwise models; When the field type is a file path field, the degree of difference is determined based on the feature hash value of the file pointed to by the file path corresponding to each pair of models and the proportion of differences in file content.
3. The method according to claim 2, characterized in that, The step of determining the degree of difference based on the task accuracy requirement level of the target calculation task and the field values corresponding to each pair of models includes: For each of the common fields, determine the median of all field values for that common field; Based on the required accuracy level of the task and the physical quantity type of the common field, determine the target value range of the common field; The degree of difference is determined based on the median, the target value range, and the field values corresponding to each pair of models.
4. The method according to claim 1, characterized in that, The aggregation of all the aforementioned differences to obtain the aggregation result includes: Based on all the differences corresponding to each of the common fields, determine the average difference corresponding to the common field; The average difference corresponding to all the common fields is weighted and aggregated to obtain the aggregation result.
5. The method according to claim 4, characterized in that, The step of weighted aggregation of the average differences corresponding to all the common fields to obtain the aggregation result includes: For each of the common fields, the aggregation weight of the common field is determined based on at least one of the following: the field type and field precision requirement level of the common field, and the relationship between the common field and the associated field chain in the model calculation result. According to the aggregation weight, the average difference corresponding to all the common fields is weighted and aggregated to obtain the aggregation result.
6. The method according to claim 5, characterized in that, The step of determining the aggregation weight of the common field based on at least one of the following: the field type and precision requirement level of the common field, and the relationship between the common field and the associated field chain in the model calculation result, includes: Determine the field type weight factor based on the field type; Determine the precision weighting factor based on the precision requirement level of the field; The association binding factor is determined based on the relationship between the common fields and the associated field chain in the model calculation results; The aggregate weight of the common field is determined by multiplying the field type weight factor, the precision weight factor, and the association binding factor.
7. The method according to any one of claims 1 to 6, characterized in that, The step of determining the credibility assessment result of the multiple model calculation results based on the aggregation result includes: The overall confidence score is determined based on the aggregation results; The credibility assessment result is determined based on the overall confidence score.
8. The method according to claim 7, characterized in that, Determining the credibility assessment result based on the overall confidence score includes: If the overall confidence score is greater than or equal to the first threshold, the confidence assessment result is determined to be reliable, and the target calculation result is determined and output based on the model calculation result. If the overall confidence score is less than the first threshold and greater than or equal to the second threshold, the confidence assessment result is determined to be low confidence, and the target calculation result and alarm flag are determined and output according to the model calculation result; wherein, the first threshold is greater than the second threshold; If the overall confidence score is less than the second threshold, the credibility assessment result is determined to be unreliable, and a difference analysis report is output. The difference analysis report includes the target calculation task, the model calculation results, and the difference degree.
9. A multi-model output credibility evaluation device based on field comparison, characterized in that, The device includes: The extraction module is used to extract common fields from the calculation results of multiple models for the same target calculation task from multiple preset calculation models, and obtain a set of common fields; The comparison module is used to compare the field content of each pair of models for the common field based on the field type of each common field, and to obtain the degree of difference between the two pairs of models on the common field. The aggregation module is used to aggregate all the differences to obtain the aggregation result. The determination module is used to determine the credibility evaluation result of the calculation results of the multiple models based on the aggregation result.
10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 8.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 8.
12. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 8.
