A neural machine translation differential testing method based on local covariant consistency analysis

By employing a local covariance consistency analysis method, the problem of unclear attribution of abnormalities in differential testing of neural machine translation is solved, enabling accurate comparison and interpretability of multi-model output behavior, adapting to the pluralistic nature of machine translation, and improving the accuracy of testing.

CN123180180APending Publication Date: 2026-11-27HUAIYIN TEACHERS COLLEGE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611452005.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-18
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing neural machine translation differential testing methods rely on a single reference translation or a pre-defined error type, making it difficult to compare how multiple models change their output when faced with changes in the same input, resulting in unclear attribution of anomalies.

Method used

A method based on local covariance consistency analysis is adopted. By configuring multiple neural machine translation models, word aligners, mutation operators and decision parameters, mutation test inputs are generated, local response vectors are calculated, and the consistency of model output changes is judged by direction, magnitude and structural deviation. Search-level statistical calibration is performed to locate anomalies.

Benefits of technology

It enables robust comparison of the output behavior of multiple models without the need for a unique reference translation, improves the accuracy and interpretability of neural machine translation system testing, can adapt to the ambiguity of machine translation, and reduces the impact of a single model on common response center and scale estimation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123180180A_ABST
    Figure CN123180180A_ABST
Patent Text Reader

Abstract

The application provides a neural machine translation differential test method based on local covariant consistency analysis. The method applies the same local input change to multiple models to be tested, synchronously acquires the translated texts and word alignment behavior representations before and after the change; then calculates the local response according to the input change cost and performs conditional robust standardization; meanwhile, performs multi-model response covariant analysis to measure the deviation from the direction, amplitude and component structure, judges whether the output change mode of each model is consistent and locates the candidate deviating model; and then searches for a high deviation input according to the quality and diversity to output test abnormal evidence when the preset condition is met. The application compares the local response relationship of the models to the common input change, rather than whether the single point translated text is the same, so that a unique reference translated text is not required and the preset error type is not relied on.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of neural machine translation system testing and artificial intelligence software quality assurance, specifically involving a differential testing method for neural machine translation based on local covariance consistency analysis. Background Technology

[0002] Neural machine translation models can generate translations that conform to the expression habits of the target language for the same source language input. However, natural language expressions are ambiguously interpretable; different models may produce translations with different vocabulary, word order, and length, yet still semantically reasonable. Therefore, directly comparing the translations of multiple models at a single input point can easily misjudge normal differences in expression as model anomalies. Existing machine translation difference tests and metamorphic tests typically construct test predictions through predefined input transformation relationships, output similarity thresholds, or specific error patterns. These methods can detect some translation problems, but they may still be limited by the quality of the original translation, the coverage of the reference translation, and the predefined error types.

[0003] When the same local input change applies to multiple models performing the same translation task, although the specific translations of each model may differ, their output behavior changes should generally form a certain common response relationship. If a model significantly deviates from other models in terms of the direction, magnitude, or structure of lexical changes, this local input change can serve as test evidence for locating abnormal model behavior. Current technology lacks a complete method that can uniformly construct local input changes, form model-independent output behavior representations from word alignment and decoding statistics, perform robust covariance analysis on the local responses of multiple models, and verify, minimize, and perform search-level statistical calibration on search results. Summary of the Invention

[0004] The purpose of this invention is to provide a differential testing method for neural machine translation based on local covariance consistency analysis, so as to solve the problems of existing methods relying on a single reference translation or preset error type, difficulty in comparing the output change patterns of multiple models when faced with common input changes, and unclear anomaly attribution.

[0005] To achieve the above objectives, the present invention adopts the following technical solution, including:

[0006] Step 1: Configure multiple neural machine translation models to be tested, word aligners, output behavior features, mutation operators, search parameters, and decision parameters;

[0007] Step 2: Based on mutation operators, including character-level mutation operators and token-level mutation operators, generate mutation test inputs, and perform non-empty, non-identical, non-repeating, maximum input change cost, and mutation relationship checks on the mutated inputs to form seed input and mutated input pairs that can be used by all models under test.

[0008] Step 3: Execute the constructed test input in each neural machine translation model under test, obtain the translation and decoding statistics before and after the change, and extract the output behavior representation based on word alignment technology;

[0009] Step 4: Calculate and standardize the local response vectors of each neural machine translation model based on the amount of change in the output behavior representation and the cost of input modification due to local input changes.

[0010] Step 5: Based on the directional deviation, magnitude deviation, and structural deviation of each local response vector relative to the response covariance center under the same local input change, determine whether the output change mode of each neural machine translation model is consistent, and determine the candidate deviation model;

[0011] Step 6: Within a fixed budget, search for local input variations that can amplify response inconsistencies, perform stability verification, minimization, and search-level statistical calibration on the search results, and output test anomaly evidence.

[0012] Firstly, step 1 includes the following steps:

[0013] Step 1.1: Initialize the set of models to be tested, the set of seeds to be tested, the set of calibration seeds, the set of mutation operators, and fix the search budget and decision parameters;

[0014] Step 1.2: Configure character editing, punctuation editing, adjacent word swapping, word repetition, and word deletion operators.

[0015] Secondly, step 2 includes the following steps:

[0016] Step 2.1: Apply the mutation operator to the seed input to generate the mutation input, and record the sequence of mutation operators from the root test seed to the current candidate.

[0017] Step 2.2: Perform validity and variation relation constraint checks on the variant inputs, and encapsulate the input pairs that pass the checks into local input variations that can be used by all models under test.

[0018] Thirdly, step 3 includes the following steps:

[0019] Step 3.1: Input the seed input and mutation input into all the models to be tested, and obtain the translation before and after the change and the corresponding decoded representation for each model to be tested;

[0020] Step 3.2: Perform word alignment for each source input and translation pair, and form an output behavior representation based on the target-side symbolic vocabulary hash distribution, target-side log length, source-side alignment coverage, alignment density, alignment crossover rate, and the aforementioned decoding statistics.

[0021] Fourthly, step 4 includes the following steps:

[0022] Step 4.1: Calculate the difference in output behavior representation before and after the model change, and obtain the local response vector that retains the output change direction, magnitude, and structural components;

[0023] Step 4.2: Robustly normalize the local response vectors and combine the normalized local response vectors of all models under test into a multi-model response set under the same input variation.

[0024] The robust standardization includes: calculating the weighted median and weighted median absolute deviation for each response component of all models under the same input variation, and standardizing the response component using the weighted median absolute deviation as the scale.

[0025] Fifthly, step 5 includes the following steps:

[0026] Step 5.1: Calculate the dimensionally weighted median center and the weighted geometric median center that minimizes the sum of weighted Euclidean distances for the multi-model response set, and obtain the response covariance center by linear fusion according to the preset mixing coefficients;

[0027] Step 5.2: Calculate the direction inconsistency, magnitude inconsistency, and component structure inconsistency of each standardized local response vector relative to the response covariance center, and fuse them into a response deviation score;

[0028] Step 5.3: Based on the maximum response deviation score and the attribution interval between it and the second largest response deviation score, the covariance consistency judgment is completed, and the model that meets the threshold is determined as the candidate deviation model.

[0029] Sixthly, step 6 includes the following steps:

[0030] Step 6.1: Construct model behavior representations based on deviation models, mutation types, and dominant components to perform quality and diversity searches with a fixed budget;

[0031] Step 6.2: Perform neighborhood verification on high-scoring local input changes and minimize evidence while maintaining consistency with the deviation model; construct a reference distribution with the maximum deviation score of the same protocol calibration search, calculate the search-level conformal p-value, and output test anomaly evidence that satisfies the conditions of significance, attribution interval, and stability.

[0032] Seventhly, the formal description of the key steps of the test method includes:

[0033] 1. Local response representation

[0034] Let the model to be tested be Mᵢ, the seed input be x, and the mutation input be x′, which together constitute the local input change e. Let Mᵢ represent the output behavior vector of model Mᵢ on input x, with c(e)>0 representing the normalized lexical editing cost between x and x′, and a positive lower bound is set to avoid division by zero. The signed local response of model Mᵢ to this input change is defined as:

[0035] Formula (1)

[0036] Where Rmax is the upper limit of response truncation. This formula normalizes the output change according to the cost of input modification, and does not take the absolute value, thus preserving both the direction and magnitude of change of each behavioral component.

[0037] 2. Response Deviation Scoring

[0038] For each model, calculate the directional inconsistency degree dᵈ of its standardized response zᵢ relative to the covariance center. 1 The three inconsistencies are: dᵐᵃᵍᵢ (direction inconsistency), dˢᵗʳᵢ (amplitude inconsistency), and dˢᵗʳᵢ (structural inconsistency). Directional inconsistency is calculated using cosine distance, amplitude inconsistency using vector norm ratio, and structural inconsistency using the distance between word groups, length groups, word alignment groups, and the energy distribution of decoded feature groups. These three inconsistencies are fused together as follows:

[0039] Formula (2)

[0040] in, , and These are non-negative weights for directional inconsistency, amplitude inconsistency, and structural inconsistency, used to adjust the relative contributions of the three types of inconsistency to the response deviation score;

[0041] The model with the largest deviation score (Aᵢ) is identified as a candidate deviation model. The difference between the largest and second-largest scores is denoted as the attribution interval Γ, which measures the degree of discrimination of the candidate model relative to the other models. Only when both the deviation score and the attribution interval reach the threshold will the model proceed to the next stage of evidence confirmation.

[0042] Compared with the prior art, the present invention has the following beneficial effects:

[0043] First, this invention compares the output behavior response relationship of multiple models when faced with the same local input change, rather than requiring multiple models to generate the same translation at a single input point. Therefore, it can adapt to the multiple interpretations of machine translation output and does not require a unique reference translation.

[0044] Second, this invention maps the target vocabulary, length, word alignment graph structure, and decoding statistics to a unified output behavior space, and calculates the signed local response according to the input change cost, making input changes of different scales comparable, while preserving the change direction, magnitude, and feature group structure.

[0045] Third, this invention combines the dimensionally weighted median center and the weighted geometric median center, and uses the weighted median absolute deviation for robust scaling, thereby reducing the impact of a single extreme model on the common response center and scaling estimation.

[0046] Fourth, this invention calculates response deviation from three complementary perspectives: direction, amplitude, and component structure, and locates candidate deviation models by using the maximum score, attribution interval, and dominant component, thereby improving the interpretability of anomalous evidence.

[0047] This invention addresses the technical problem of quality assurance in neural machine translation models. It employs techniques such as word alignment, decoding statistics, and local response covariance analysis to obtain reproducible evidence of test anomalies, thereby improving the accuracy and interpretability of neural machine translation system testing. This invention constitutes a technical solution. Attached Figure Description

[0048] Figure 1 This is an overall flowchart of a neural machine translation differential testing method based on local covariance consistency analysis according to the present invention.

[0049] Figure 2 This describes the relationship between the maximum response deviation score and the attribution interval in a multi-model test experiment.

[0050] Figure 3 It represents the deviation model and mutation type distribution of the highest-scoring candidate in the multi-model test experiment. Detailed Implementation

[0051] The present invention will be further described below with reference to the accompanying drawings and embodiments. It should be noted that the described embodiments are only intended to facilitate the understanding of the present invention and do not constitute any limitation thereof.

[0052] This invention aims to propose a differential testing method for neural machine translation systems based on local covariance consistency analysis. The invention provides a comprehensive differential testing framework and conducts experimental verification, demonstrating the feasibility and effectiveness of the method.

[0053] like Figure 1 As shown, this embodiment uses three neural machine translation models M1, M2, and M3, which perform the same source-to-target language translation task, as examples. The models use different network structures or training data, but should maintain a consistent translation direction within the same testing protocol. The model set can also contain more than three models; each model is assigned positive weights, and the same weights are used unless otherwise specified.

[0054] Step 1: Initialize the test component and configure the test parameters.

[0055] Step 1.1: Load the set of models to be tested and the set of seeds to be tested; load the word aligner that can output word sequences and alignment edge sets for the source input and the target translation.

[0056] Step 1.2: Configure character editing, punctuation editing, adjacent word swapping, word repetition, and word deletion operators; configure candidate evaluation budget B, maximum search depth D, random seed, maximum input modification cost, response truncation upper limit, robustness scale lower limit, central mixing coefficient, three-class deviation weights, input cost penalty, stability parameter, minimization parameter, significance level, and attribution interval threshold.

[0057] The maximum input modification cost is set based on the seed length and task sensitivity, typically 10% to 30% of the seed lexicon number; the upper bound for response truncation, Rmax, is taken as the 95th quantile of the absolute value of the standardized response; the lower bound for robustness scaling, c0, is taken as 10. -6 The central mixing coefficient is set to 0.5; the weights for the three types of deviations are all set to 1 by default, or determined by grid search of the validation set; the significance level is set to 0.05; and the attribution interval threshold is set to 0.5.

[0058] Step 2: Generate and check local input changes.

[0059] Step 2.1: Select an input from the root test seed or the current seed input x in the search front, and apply the mutation operator to obtain x′. Character editing performs single-character replacement, insertion, or deletion within a lexicon containing letters; punctuation editing performs punctuation replacement, insertion, or deletion; adjacent lexicon swapping swaps only a pair of adjacent lexicons; lexicon duplication inserts a copy of the current lexicon; lexicon deletion removes a lexicon from an input with a sufficient number of lexicons.

[0060] Step 2.2: Check in sequence whether x′ is empty, whether it is the same as x, whether it has been evaluated in this search, whether the input modification cost exceeds the upper limit, and whether x and x′ satisfy the mutation relationship of the current operator. Only the seed input and mutation input pairs that pass all checks are treated as a unified local input change and provided to M1, M2 and M3 as is.

[0061] Step 3: Perform multi-model translation and extract the output behavior representation.

[0062] Step 3.1: Translate x and x′ for each model to be tested to obtain the untranslated translation y. i The transformed translation is yi′. During the beam search or other autoregressive decoding process, the probabilities of selected terms, the probability of terminated terms, and the average probability of selected terms are recorded along the final selected path, thus forming the decoded representation. The same input only needs to be evaluated once in a single search, and cached results can be read subsequently.

[0063] Step 3.2, respectively for (x, y)i ) and (x′, y i Perform word segmentation and word alignment on the source and target sides, filter out alignment edges that exceed the index limit and remove duplicate edges; extract output behavior vectors of the same dimension for each translation, alignment result and decoding representation to ensure that all models under test use the same feature name, feature order and feature group division.

[0064] Step 4: Calculate and standardize the local response vector.

[0065] Step 4.1: Calculate the signed difference between the output behavior vector after each model change and the output behavior vector before the change, and restrict each component to a fixed range to obtain the local response vector.

[0066] Step 4.2: Calculate the weighted median and weighted median absolute deviation for each response component of all models under the same input variation; perform scale standardization on the response components to obtain the standardized local response vector and the multi-model response set.

[0067] Step 5: Perform local covariance consistency analysis and candidate deviation model attribution.

[0068] Step 5.1: Calculate the dimensionally weighted median center and the weighted geometric median center, and use linear fusion to obtain the response covariance center. The dimensionally weighted center is robust to anomalies in individual response components, while the geometric center is used to preserve the overall vector geometric relationship.

[0069] Step 5.2: Calculate the inconsistency of direction and magnitude of change; calculate the structural inconsistency according to the distribution of vocabulary, length, word alignment and decoding feature groups; then calculate the response deviation score for each model.

[0070] Step 5.3: Sort the response deviation scores, determine the model corresponding to the largest score as the current candidate deviation model, calculate the attribution interval between it and the second largest score, and determine the dominant component by the largest component-wise absolute deviation of the standardized response relative center.

[0071] Step 6: Perform quality and diversity searches and confirm evidence of anomalous activity.

[0072] Step 6.1: Construct archive keys using candidate deviation models, mutation types, and dominant components, retaining only the evidence with the highest quality value in each archive unit. Repeat steps 2 through 5 within the constraints of candidate evaluation budget and maximum generation attempts; when a high-quality candidate is added to the archive and the preset maximum search depth has not been reached, its mutation input is added as a new current seed to the search frontier.

[0073] pseudocode:

[0074] Input: Candidate deviation model, variant type, dominant component, fixed budget B, maximum depth D;

[0075] Initialize the archive set A=∅, and set the search frontier F={seed};

[0076] while the number of evaluations <B and depth <D:

[0077] Select seed x from F, and apply a mutation operator to generate x';

[0078] Execute Steps 2 to 5 to obtain the response deviation score Aᵢ, attribution interval Γ, and dominant component;

[0079] Construct the archive key key=(deviation model, mutation type, dominant component);

[0080] If key is not in A, or the current quality value is higher than the quality value of A(key), update A(key);

[0081] If the quality threshold is reached and the maximum depth is not reached, add x' to F;

[0082] Output high-scoring candidates in archive A.

[0083] In Step 6.2, select high-scoring candidates in the archive to perform neighborhood stability re-verification; perform budget-constrained minimization of token difference blocks for stability evidence; run the same search protocol for each calibration seed and save the maximum search score, and calculate the search-level conformal p-value of the seed under test. When the significance, attribution interval and other preset conditions are simultaneously satisfied, output test anomaly evidence. The p-value is calculated as follows:

[0084] Formula (3)

[0085] Wherein, represents the number of calibration results that are not less than the score S* under test. The smaller the p-value, the rarer the maximum deviation score of the seed under test is in the calibration distribution; when it is not greater than the preset significance level, the result is determined as an anomaly candidate with statistical significance.

[0086] The output test anomaly evidence may include a root test seed, current seed input, mutation input before and after minimization, mutation operator sequence, input modification cost, candidate deviation model, translations before and after change, original and standardized local response vectors, dimension-wise weighted median center, weighted geometric median center, response covariation center, three types of inconsistency degrees, response deviation score, dominant component, attribution interval, stability degree, and anomaly marker, for testers to reproduce and further confirm.

[0087] To verify the effectiveness of a neural machine translation differential testing method based on local covariance consistency analysis, the method was tested on the open-source machine translation systems H-NLP, mBART50, and M2M100. The system parameters are shown in Table 1. The experiment included five types of mutation operators: character editing, punctuation editing, adjacent token swapping, token repetition, and token deletion. The candidate evaluation budget for each seed was set to 30, the maximum search depth to 2, the response deviation score threshold to 3.0, and the minimum attribution interval to 0.5.

[0088] Table 1 shows the system parameters.

[0089] Machine translation system Adopting an architecture Translation Language Vocabulary Maximum generation length H-NLP Marian Chinese-English 65001 512 MBART50 mBART Multilingual 250054 200 M2M100 M2M100 Multilingual 128112 200

[0090] Table 2 presents the overall statistics of the test experiment. All 100 seeds underwent 3000 candidate scoring iterations according to a unified protocol, demonstrating that the mutation, multi-model translation, word alignment, and response scoring processes can run continuously and completely. The average input modification cost for the highest-scoring candidate was only 0.0578, with a median of 0.0500, while the maximum deviation score still covered a range from 1.9592 to 5.7338. This indicates that the method can amplify differences in model responses of varying intensities without relying on significant rewrites, validating the effectiveness of local candidate search.

[0091] Table 2 shows the overall statistics of the test experiments.

[0092] Statistical items Statistical results Number of test seeds / Number of complete tests 100 / 100 Number of models to be tested 3 Candidate evaluation budget for each seed 30 Actual number of candidate evaluations completed 3000 Search for the mean / median of the maximum deviation score. 3.2907 / 3.2311 Search for the maximum deviation score range 1.9592~5.7338 Mean / Median of Attribution Interval 2.3905 / 2.3860 Input change cost mean / median 0.0578 / 0.0500

[0093] like Figure 2 As shown, the maximum deviation score of 60 seeds was no less than 3.0, and the attribution interval of 99 seeds was no less than 0.5. Among them, 59 seeds met both initial screening criteria, indicating that most high-deviation candidates can be attributed to specific models with significant score advantages. The Pearson correlation coefficient between deviation score and attribution interval was 0.745, while the correlation coefficient with input modification cost was only 0.197. The former indicates that the more obvious the difference, the clearer the attribution is usually, while the latter indicates that high scores are not mainly caused by larger modifications, thus supporting the difference detection and model attribution capabilities of this method.

[0094] like Figure 3As shown, the number of top-scoring candidates attributed to MBART50, H-NLP, and M2M100 were 35, 34, and 31, respectively, indicating that the results were not fixed on a single model. This demonstrates that the same scoring mechanism can identify the relative deviations occurring in each of the three models. All five types of mutation operators generated top-scoring candidates, with adjacent token swapping, character editing, token repetition, punctuation editing, and token deletion corresponding to 26, 22, 22, 21, and 9, respectively. Statistically, by mutation type, the average maximum deviation scores corresponding to character editing and adjacent token swapping were 3.6317 and 3.5558, respectively. This indicates that quality and diversity archives can retain different mutation paths, rather than simply repeating a single operation. Statistically, by dominant feature group, the decoding group, vocabulary group, length group, and word alignment group corresponded to 60, 17, 14, and 9 top-scoring candidates, respectively. All four types of features actually participated in the deviation interpretation, indicating that the system can identify the dominant behavioral components in addition to providing scores.

Claims

1. A differential testing method for neural machine translation based on local covariance consistency analysis, characterized in that, Includes the following steps: Step 1: Configure multiple neural machine translation models to be tested, word aligners, output behavior features, mutation operators, search parameters, and decision parameters to perform the same source language to target language translation task; Step 2: Generate mutation test inputs based on mutation operators (character level, token level), and perform non-empty, non-identical, non-repeating, maximum input change cost, and mutation relationship checks on the mutation inputs to form seed input and mutation input pairs that can be used by all models under test. Step 3: Execute the constructed test input in each neural machine translation model under test, obtain the translation and decoding statistics before and after the change, and extract the output behavior representation based on word alignment technology; Step 4: Calculate and standardize the local response vectors of each neural machine translation model based on the change in output behavior and the input modification cost of local input changes; and perform robust standardization on the local response vectors to obtain standardized local response vectors; the robust standardization includes: calculating the weighted median and weighted median absolute deviation for each response component of all models under the same input change, and performing scaling standardization accordingly; Step 5: Based on the inconsistency of direction, magnitude, and component structure of each local response vector relative to the covariance center of the response under the same local input change, fuse them into a response deviation score; determine the candidate deviation model based on the attribution interval between the largest response deviation score and the second largest response deviation score. Step 6: Within a fixed budget, search for local input variations that amplify response inconsistencies, perform stability verification, minimization, and search-level statistical calibration on the search results, and output test anomaly evidence. The search-level statistical calibration includes: constructing a reference distribution using the maximum deviation score of the search calibrated with the same protocol, and calculating search-level conformal... p value.

2. The method according to claim 1, characterized in that, The specific implementation of step 1 includes the following steps: Step 1.1: Initialize the set of models to be tested, the set of seeds to be tested, the set of calibration seeds, the set of mutation operators, the search parameters, and the decision parameters; the search parameters include a fixed search budget, and the decision parameters include a response deviation score threshold and an attribution interval threshold. Step 1.2: Configure character editing, punctuation editing, adjacent word swapping, word repetition, and word deletion operators.

3. The method according to claim 1, characterized in that, The specific implementation of step 2 includes the following steps: Step 2.1: Apply mutation operators (character-level, token-level) to the seed input to mutate it, and record the sequence of mutation operators from the root test seed to the current candidate. Step 2.2: Perform validity and variation relation constraint checks on the variant inputs, and encapsulate the input pairs that pass the checks into local input variations that can be used by all models under test.

4. The method according to claim 1, characterized in that, The specific implementation of step 3 includes the following steps: Step 3.1: Input the seed input and mutation input into all the models to be tested, and obtain the translation before and after the change and the corresponding decoded representation for each model to be tested; Step 3.2: Perform word alignment for each source input and translation pair, and form an output behavior representation based on the target-side symbolic vocabulary hash distribution, target-side log length, source-side alignment coverage, alignment density, alignment crossover rate, and the aforementioned decoding statistics.

5. A method according to claim 1, characterized in that, The specific implementation of step 4 includes the following steps: Step 4.1: Calculate the difference in output behavior representation before and after the model change, and obtain the local response vector that retains the output change direction, magnitude, and structural components; Step 4.2: Robustly normalize the local response vectors and combine the normalized local response vectors of all models under test into a multi-model response set under the same input variation.

6. The method according to claim 1, characterized in that, The specific implementation of step 5 includes the following steps: Step 5.1: Calculate the dimensionally weighted median center and the weighted geometric median center that minimizes the sum of weighted Euclidean distances for the multi-model response set, and obtain the response covariance center by linear fusion according to the preset mixing coefficients; Step 5.2: Calculate the direction inconsistency, magnitude inconsistency, and component structure inconsistency of each standardized local response vector relative to the response covariance center, and fuse them into a response deviation score; Step 5.3: Based on the maximum response deviation score and the attribution interval between it and the second largest response deviation score, the covariance consistency judgment is completed, and the model that meets the threshold is determined as the candidate deviation model.

7. The method according to claim 1, characterized in that, The specific implementation of step 6 includes the following steps: Step 6.1: Construct model behavior representations based on deviation models, mutation types, and dominant components to perform quality and diversity searches with a fixed budget; Step 6.2: Perform neighborhood verification on high-resolution local input changes and minimize evidence when deviating from the model consistency determination; construct a reference distribution using the maximum deviation score of the same protocol calibration search, and calculate the search-level conformal. p The output value represents test anomalous evidence that satisfies the criteria of significance, attribution interval, and stability.