A SAR image recognition model evaluation method based on multi-interpretation consistency

By using resolution-adaptive frequency domain structure alignment and dual-index fusion evaluation, the instability problem of heatmap consistency evaluation in SAR image recognition models is solved, and a more accurate consistency evaluation of interpretation results is achieved.

CN123160934APending Publication Date: 2026-11-24ZHEJIANG SCI-TECH UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611123438.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-28
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing technologies in synthetic aperture radar image recognition models lack adaptive alignment and scale correction for heatmaps output by different interpretation methods, leading to unstable consistency evaluation results and difficulty in eliminating structural offset errors.

Method used

A resolution-adaptive frequency domain structure alignment mechanism and a dual-index fusion consistency evaluation strategy for multi-interpretation heatmaps are adopted. By extracting spatial frequency distribution features and constructing a difference index at theoretical resolution levels, frequency domain structure alignment and low-pass filtering are performed to generate a secondary compensated aligned heatmap.

Benefits of technology

It improves the accuracy of comparability assessment under conditions of structural scale inconsistency between different interpretation methods and achieves stable quantification of spatial structural consistency of SAR image model interpretation results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123160934A_ABST
    Figure CN123160934A_ABST
Patent Text Reader

Abstract

This invention discloses a SAR image recognition model evaluation method based on multi-interpretation consistency, belonging to the field of image recognition technology. It is used to solve the problem of difficulty in effectively eliminating structural offset errors caused by different interpretation granularities under the mixed influence of high-frequency details and low-frequency structures. By extracting spatial frequency distribution features from the SAR image heatmaps output by each interpretation method, and constructing a spatial structure difference index in combination with the theoretical resolution level of each interpretation method, this index drives a resolution adaptive alignment mechanism to perform frequency domain structure alignment on the normalized heatmap. Low-pass filtering is used to suppress high-frequency difference components, and the structural similarity index and normalized cross-correlation coefficient are introduced to calculate the change in similarity before and after alignment. A second-compensated aligned heatmap after frequency domain second compensation is obtained, and a comprehensive consistency score is output, which improves the comparability evaluation accuracy under the condition of inconsistent structural scales between different interpretation methods.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of image recognition technology, and more specifically, to a method for evaluating SAR image recognition models based on multi-interpretation consistency. Background Technology

[0002] In the application of synthetic aperture radar image recognition models, model interpretation methods are widely used to visualize the discrimination criteria of deep learning. Different interpretation methods typically output the response distribution of key regions in the form of heatmaps to characterize the model's attention to the target structure. However, different interpretation methods have significant differences in their generation mechanisms, and their corresponding spatial response granularity and structural expressive capabilities are not consistent. This leads to differences in structural details and frequency distribution shifts in different heatmaps of the same input sample at different spatial scales.

[0003] The existing technology has the following shortcomings:

[0004] Currently, existing technologies mainly rely on pixel-level similarity calculations at a uniform scale to evaluate the consistency of heatmaps output by different interpretation methods. However, they lack adaptive alignment and scale correction mechanisms for the frequency domain structural features of heatmaps. This makes it difficult to effectively eliminate structural offset errors caused by different interpretation granularities under the mixed influence of high-frequency details and low-frequency structures. Consequently, the consistency evaluation results are highly sensitive to differences in interpretation methods and lack stability. Therefore, a SAR image recognition model evaluation method based on multi-interpretation consistency is proposed.

[0005] The information disclosed in the background section is only intended to enhance the understanding of the background of this disclosure, and therefore may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention

[0006] To overcome the aforementioned deficiencies of the prior art, embodiments of the present invention provide a SAR image recognition model evaluation method based on multi-interpretation consistency. This method addresses the problems mentioned in the background art by employing a resolution-adaptive frequency domain structure alignment mechanism and a dual-index fusion consistency evaluation strategy based on multi-interpretation heatmaps.

[0007] To achieve the above objectives, the present invention provides the following technical solution: a SAR image recognition model evaluation method based on multi-interpretation consistency, comprising the following steps:

[0008] Step S1: Collect the original spatial frequency distribution characteristics of the heatmaps output by each interpretation method, read the theoretical resolution level of each interpretation method, combine the original spatial frequency distribution characteristics and the theoretical resolution level to generate a spatial structure difference index and determine whether to enter the resolution adaptive alignment state.

[0009] Step S2: After entering the resolution adaptive alignment state, retrieve the normalized heatmap, perform frequency domain structure alignment on the normalized heatmap according to the spatial structure difference index, generate a structure alignment heatmap, and calculate the pixel distribution similarity of each pair of structure alignment heatmaps to obtain the alignment similarity.

[0010] Step S3: Detect the baseline values ​​of the original unaligned pairwise similarity, evaluate the sufficiency of alignment by combining the similarity after alignment, and calculate the alignment effectiveness evaluation value. Perform frequency domain secondary compensation on the structural alignment heatmap based on the alignment effectiveness evaluation value to generate a secondary compensated alignment heatmap.

[0011] Step S4: Recalculate the pairwise pixel distribution similarity based on the second-order compensation aligned heatmap, and evaluate the corrected overall consistency score.

[0012] In a preferred embodiment, in step S1, a two-dimensional fast Fourier transform is performed on each heat map output by the interpretation method to obtain the corresponding spectral distribution. Then, according to the preset high and low frequency band segmentation positions, the ratio of high frequency band energy to total energy in each heat map is calculated, and the ratio is used as the original spatial frequency distribution feature.

[0013] After obtaining the original spatial frequency distribution characteristics of each heatmap, the theoretical resolution level of each interpretation method is read from the preset interpretation method configuration table. The theoretical resolution level refers to the theoretical resolution level of the output heatmap determined by the principle of each interpretation method itself.

[0014] In a preferred embodiment, in step S1, after obtaining the original spatial frequency distribution characteristics of each heatmap and the theoretical resolution level of the corresponding interpretation method, the spatial structure difference index is generated by combining the original spatial frequency distribution characteristics and the theoretical resolution level and using the joint statistical method of inter-method dispersion.

[0015] The spatial structure difference index is compared with the preset alignment trigger limit;

[0016] When the spatial structure difference index is greater than or equal to the alignment trigger limit, it is determined that the output heatmaps of each interpretation method have significant differences in structural scale, and directly calculating the pairwise similarity at the pixel level will not be able to truly reflect whether the focused areas are consistent, thus triggering the resolution adaptive alignment state.

[0017] When the spatial structure difference index is less than the alignment trigger threshold, it is determined that the structural scale of each heatmap is naturally consistent, and no alignment processing is required. The pairwise similarity calculation is directly performed on each normalized heatmap and the comprehensive consistency score is output.

[0018] In a preferred embodiment, in step S2, after determining that the resolution adaptive alignment state has been entered, the normalized heatmap output by the normalization preprocessing stage is retrieved. The normalized heatmap refers to the heatmap obtained by normalizing the pixel values ​​of each heatmap output by the interpretation method by range scaling, which uniformly constrains them to the range of 0 to 1.

[0019] For each retrieved normalized heatmap, frequency domain structure alignment processing is performed on the normalized heatmap according to the generated spatial structure difference index to obtain each structure-aligned heatmap;

[0020] Frequency domain structure alignment refers to suppressing high-frequency details above the common structural scale in each normalized heatmap by using low-pass filtering in the frequency domain, thereby aligning the spatial frequency distribution of each heatmap to the same structural scale.

[0021] In a preferred embodiment, in step S2, after obtaining each structure alignment heatmap, pairwise pixel distribution similarity calculation is performed on all structure alignment heatmaps, and the alignment similarity is obtained by fusing the structure similarity index and the normalized cross-correlation coefficient.

[0022] In a preferred embodiment, in step S3, the original unaligned pairwise similarity baseline value refers to the pairwise similarity value calculated directly on the normalized heatmap using a dual-index fusion method before entering the resolution adaptive alignment state.

[0023] The original unaligned pairwise similarity baseline values ​​are obtained by simultaneously performing a dual-index fusion calculation of structural similarity index and normalized cross-correlation coefficient on the normalized heatmap when determining whether to enter the alignment state.

[0024] The alignment adequacy of each method pair is evaluated by combining the alignment similarity. The alignment effect is quantified by calculating the relative increase of the alignment similarity to the original unaligned pairwise similarity baseline value, and an alignment effectiveness evaluation metric is generated.

[0025] In a preferred embodiment, in step S3, the alignment validity assessment value is compared with a preset alignment sufficiency threshold:

[0026] When the alignment effectiveness evaluation value is greater than or equal to the alignment sufficiency threshold, the method is deemed to have sufficiently aligned the corresponding structural alignment heatmap, and the corresponding structural alignment heatmap is kept in its original state as a secondary compensation alignment heatmap;

[0027] When the alignment effectiveness evaluation value is less than the alignment sufficiency threshold, the method is deemed insufficient to align the corresponding structure alignment heatmap. The method then performs frequency domain secondary compensation processing on the structure alignment heatmap involved to generate a secondary compensated alignment heatmap.

[0028] In a preferred embodiment, the calculation formula for the frequency domain secondary compensation process in step S3 is as follows:

[0029]

[0030] in, To align the insufficient alignment method, a heatmap of the structure involved is used for alignment. This is a quadratic frequency-domain low-pass filter kernel driven by the alignment effectiveness evaluation factor, and its cutoff frequency decreases further as the alignment effectiveness evaluation factor decreases. This represents a two-dimensional Fast Fourier Transform, used to convert spatial domain heatmaps to the frequency domain. This represents the two-dimensional inverse fast Fourier transform, used to restore the results of frequency domain processing to the spatial domain. For the alignment effectiveness evaluation quantity The driven secondary frequency domain low-pass filter kernel has a cutoff frequency that decreases as the alignment effectiveness evaluation value decreases, and is used to further suppress residual high-frequency difference components. This is a heatmap aligned for secondary compensation.

[0031] In a preferred embodiment, in step S4, based on the secondary compensation alignment heatmap, the pairwise pixel distribution similarity is recalculated on the secondary compensation alignment heatmap of each method pair to obtain the refined pairwise similarity.

[0032] The global average of all pairwise similarities after refinement is calculated to obtain the overall consistency score after correction.

[0033] In a preferred embodiment, in step S4, the corrected overall consistency score is used as the basis for the final decision quality assessment of the current test sample, and as the input for subsequent sample-level judgment, category-level refined assessment and model-level overall assessment.

[0034] The technical effects and advantages of this invention are as follows:

[0035] This invention extracts spatial frequency distribution features from SAR image heatmaps output by various interpretation methods and constructs a spatial structure difference index based on the theoretical resolution levels of each interpretation method. This index drives a resolution-adaptive alignment mechanism to perform frequency domain structure alignment and low-pass filtering to suppress high-frequency difference components on the normalized heatmap. Furthermore, it introduces a structural similarity index and a normalized cross-correlation coefficient to calculate the change in similarity before and after alignment, obtaining a second-compensated aligned heatmap after frequency domain compensation and outputting a comprehensive consistency score. This improves the comparability assessment accuracy under conditions of inconsistent structural scales between different interpretation methods and achieves stable quantification of the spatial structure consistency of SAR image model interpretation results. Attached Figure Description

[0036] Figure 1 This is a flowchart illustrating the implementation of a SAR image recognition model evaluation method based on multi-interpretation consistency according to the present invention.

[0037] Figure 2 This is a schematic diagram illustrating the steps of a SAR image recognition model evaluation method based on multi-interpretation consistency according to the present invention. Detailed Implementation

[0038] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0039] This invention extracts spatial frequency distribution features from SAR image heatmaps output by various interpretation methods, constructs a spatial structure difference index by combining the theoretical resolution levels of each interpretation method, and uses this index to drive a resolution adaptive alignment mechanism. It performs frequency domain structure alignment and low-pass filtering to suppress high-frequency difference components on the normalized heatmap, and introduces the structural similarity index and normalized cross-correlation coefficient to calculate the change in similarity before and after alignment. This results in a second-compensated aligned heatmap after frequency domain compensation and outputs a comprehensive consistency score, thereby improving the accuracy of comparability assessment under conditions of inconsistent structural scales between different interpretation methods.

[0040] Example 1

[0041] Please see Figures 1 to 2 A method for evaluating SAR image recognition models based on multi-interpretation consistency is presented, and the specific operation process is as follows:

[0042] Step S1: Collect the original spatial frequency distribution characteristics of the heatmaps output by each interpretation method, read the theoretical resolution level of each interpretation method, combine the original spatial frequency distribution characteristics and the theoretical resolution level to generate a spatial structure difference index and determine whether to enter the resolution adaptive alignment state.

[0043] Step S2: After entering the resolution adaptive alignment state, retrieve the normalized heatmap, perform frequency domain structure alignment on the normalized heatmap according to the spatial structure difference index, generate a structure alignment heatmap, and calculate the pixel distribution similarity of each pair of structure alignment heatmaps to obtain the alignment similarity.

[0044] Step S3: Detect the baseline values ​​of the original unaligned pairwise similarity, evaluate the sufficiency of alignment by combining the similarity after alignment, and calculate the alignment effectiveness evaluation value. Perform frequency domain secondary compensation on the structural alignment heatmap based on the alignment effectiveness evaluation value to generate a secondary compensated alignment heatmap.

[0045] Step S4: Recalculate the pairwise pixel distribution similarity based on the second-order compensation aligned heatmap, and evaluate the corrected overall consistency score.

[0046] The specific implementation is as follows:

[0047] In step S1, at the start of the SAR image target recognition model decision quality assessment, the target recognition model that has been trained performs structural difference prediction processing on the decision interpretation heatmap generated by each interpretability method for the same test sample, and determines whether to enter the resolution adaptive alignment process.

[0048] Structural difference prediction processing refers to extracting the actual spatial frequency distribution characteristics of each heatmap generated from the same test sample and the same prediction category, and comparing its alignment with the theoretically achievable resolution level of each interpretation method, so as to quantitatively reflect the differences in structural roughness between the heatmaps caused by the method principles themselves.

[0049] Specifically, firstly, a two-dimensional fast Fourier transform is performed on each heatmap output by the interpretation method to obtain the corresponding spectral distribution. Then, according to the preset high and low frequency band segmentation positions, the ratio of high frequency band energy to total energy in each heatmap is calculated, and the ratio is used as the original spatial frequency distribution feature.

[0050] The two-dimensional fast Fourier transform is a conventional mathematical method for converting pixel-domain signals to the frequency domain, used to map the pixel response distribution of a heatmap to the energy distribution of different spatial frequency components.

[0051] After obtaining the original spatial frequency distribution characteristics of each heatmap, the theoretical resolution level of each interpretation method is retrieved from the preset interpretation method configuration table. The theoretical resolution level refers to the theoretical resolution grade of the output heatmap determined by the principle of each interpretation method itself. Gradient-based methods, which rely on weighted calculation based on the feature map of the last convolutional layer, correspond to a lower grade; attribution-based methods, which rely on pixel-by-pixel integral calculation, correspond to a higher grade; and perturbation-based methods, which rely on superpixel perturbation reconstruction, fall between the above two grades. The theoretical resolution level of each interpretation method is stored in the interpretation method configuration table in the form of normalized integer grades, and is retrieved one by one according to the method number at the start of the evaluation.

[0052] The interpretation method configuration table is a data set established before the evaluation begins to centrally store the theoretical attribute parameters of each interpretable method. It uses the method number as an index to store the theoretical resolution level and typical effective output range of each interpretation method in a structured manner, providing a consistent and traceable source of method level for subsequent structural difference calculations when the evaluation is invoked.

[0053] It should be noted that both the original spatial frequency distribution characteristics and the theoretical resolution level have been normalized and fall into the dimensionless range. Since their dimensions are consistent, they can be directly used in subsequent fusion calculations.

[0054] After obtaining the original spatial frequency distribution characteristics of each heatmap and the theoretical resolution level of the corresponding interpretation method, a spatial structure difference index is generated by combining the original spatial frequency distribution characteristics and the theoretical resolution level using a joint statistical method of inter-method dispersion.

[0055] ;

[0056] in, For the first One interpretation method outputs the original spatial frequency distribution characteristics of the heatmap. For the first The theoretical resolution level normalized value of the interpretation method. This represents the mean of the original spatial frequency distribution characteristics of each method selected for this evaluation. This represents the mean of the normalized values ​​of the theoretical resolution levels for each method used in this evaluation. The total number of explanation methods, This is the spatial structure difference index.

[0057] It should be added that the structural scale difference between methods quantified by the spatial structure difference index covers the full degree of lateral dispersion of each method in both the theoretical resolution level and the actual frequency distribution. Whether the dispersion is due to reasonable differences in the method principle itself or to occasional anomalies in the method output, it will cause the same structural scale pollution to the pixel-level pairwise similarity calculation. Therefore, it is included in the statistical scope of the spatial structure difference index and triggers the subsequent alignment process. Whether the alignment process truly plays a gain role in the consistent identification of the focused area of ​​the current method pair is further judged and recursed by the alignment effectiveness evaluation quantity and frequency domain secondary compensation mechanism in step S3, so as to avoid over-correction of the method pair that originally did not need to be aligned.

[0058] The greater the dispersion of the original spatial frequency distribution characteristics or the greater the dispersion of the theoretical resolution level among the methods selected in this evaluation, the greater the spatial structure difference index. This indicates that the actual structural roughness and theoretical level differ significantly due to the differences in the method principles among the heatmaps. Direct pairwise similarity calculation of the original normalized heatmaps will be subject to artificially inflated interference from differences in structural scale. The smaller both types of dispersion, the smaller the spatial structure difference index, indicating that the set of methods selected in this evaluation is highly clustered in both theoretical level and actual output dimensions. The heatmaps are naturally at similar structural scales, and direct pairwise similarity calculation can reflect the consistency of the true focused area.

[0059] The spatial structure difference index is compared with the preset alignment trigger limit;

[0060] When the spatial structure difference index is greater than or equal to the alignment trigger limit, it is determined that the output heatmaps of each interpretation method have significant differences in structural scale, and directly calculating the pairwise similarity at the pixel level will not be able to truly reflect whether the focused areas are consistent. This triggers the resolution adaptive alignment state and proceeds to step S2.

[0061] When the spatial structure difference index is less than the alignment trigger threshold, it is determined that the structural scale of each heatmap is naturally consistent, and no alignment processing is required. The pairwise similarity calculation is directly performed on each normalized heatmap and the comprehensive consistency score is output.

[0062] It should be noted that the alignment trigger limit is set using a statistical quantification method based on the benchmark sample set. Before the evaluation begins, several SAR target test samples with correct labels and stable decision-making are selected as the benchmark sample set. For each sample in the benchmark sample set, the same set of methods is called to generate a heat map and calculate the corresponding spatial structure difference index according to the above process. The distribution of all index values ​​in the benchmark sample set is statistically analyzed, and the upper quartile of the distribution is taken as the alignment trigger limit.

[0063] In step S2, after determining that the resolution adaptive alignment state has been entered, the normalized heatmap output by the normalization preprocessing stage is retrieved. The normalized heatmap refers to the heatmap obtained by normalizing the pixel values ​​of each interpretation method output heatmap by range scaling, which uniformly constrains them to the range of 0 to 1. Its function is to eliminate the difference in the output dimensions of each interpretation method, so that the subsequent frequency domain processing and similarity comparison are carried out within the unified pixel value range.

[0064] For each retrieved normalized heatmap, frequency domain structure alignment processing is performed on the normalized heatmap according to the spatial structure difference index generated in step S1. Frequency domain structure alignment processing refers to suppressing high-frequency details above the common structural scale in each normalized heatmap by using frequency domain low-pass filtering, so that the spatial frequency distribution of each heatmap is aligned to the same structural scale.

[0065] The calculation formula for frequency domain structure alignment is:

[0066] ;

[0067] in, For the first The structural alignment heatmap corresponding to the interpretation method in the spatial domain coordinates Pixel response value at that location; For the first A heatmap output by one interpretation method and then normalized; This represents a two-dimensional Fast Fourier Transform, used to convert a spatial domain heatmap to the frequency domain; This represents the two-dimensional inverse fast Fourier transform, used to convert spectral data processed in the frequency domain back to the spatial domain. Represents the pixel coordinates in the spatial domain of the heatmap, where, Indicates the horizontal pixel position. Indicates the vertical pixel position; Represents the frequency domain coordinates, where, Represents the horizontal spatial frequency component. Represents the vertical spatial frequency component; Indicated by the spatial structure difference index The generated frequency-domain low-pass filter kernel is used to adjust the retention ratio of different spatial frequency components, wherein the cutoff frequency of the filter kernel is based on the spatial structure difference index. Adaptive adjustment; This represents the spatial structure difference index corresponding to the current set of interpretation methods, used to characterize the structural scale differences between the heatmaps output by different interpretation methods; The number of participants in the evaluation Number of the interpretation method.

[0068] Frequency domain low-pass filter core The cutoff frequency is determined as follows:

[0069] ;

[0070] in, As the reference cutoff frequency, For the preset attenuation coefficient, The spatial structure difference index generated in step S1. This is the actual cutoff frequency of the frequency domain low-pass filter core.

[0071] The larger the spatial structure difference index, the lower the cutoff frequency of the frequency domain low-pass filter kernel, the more thoroughly the high-frequency details of each heatmap are suppressed, and the spatial structure scale of each heatmap is forced to be aligned to a coarser common level in the frequency domain; the smaller the spatial structure difference index, the closer the cutoff frequency is to the reference cutoff frequency, the more the original structural details of each heatmap are preserved, and the less loss of original information occurs during frequency domain structure alignment processing.

[0072] It should be noted that the reference cutoff frequency and the preset attenuation coefficient can be set by professionals in the field according to the actual situation. For example, the reference cutoff frequency can be set to 0.4 times the normalized heat map sampling frequency, and the preset attenuation coefficient can be set to 0.5. This will not be elaborated further here.

[0073] After obtaining each structural alignment heatmap, pairwise pixel distribution similarity calculations are performed on all structural alignment heatmaps. The similarity after alignment is obtained by fusing the structural similarity index and the normalized cross-correlation coefficient.

[0074] ;

[0075] in, and The first The first method of explanation and the second The structural alignment heatmap for this interpretation method, where SSIM is the structural similarity index and NCC is the normalized cross-correlation coefficient. For the first species and first The similarity after alignment corresponding to each interpretation method.

[0076] The structural similarity index quantifies the overall structural similarity between two heatmaps from three dimensions: brightness, contrast, and structure. The normalized cross-correlation coefficient quantifies the pixel-by-pixel response consistency between the two heatmaps from the perspective of pixel-by-pixel covariance.

[0077] The reason for choosing the fusion of structural similarity index and normalized cross-correlation coefficient is that it can evaluate the similarity of heatmaps from two complementary dimensions: structural features and pixel correlation. Compared with a single index, it can better suppress the deviation of single-class similarity measurement under specific structural morphology, so that the similarity after alignment can more stably reflect the true consistency of the focused area.

[0078] The closer the similarity value is to 1 after alignment, the more consistent the two interpretation methods are in focusing on the same structural scale, and the stronger the stability of the model decision-making basis between the two methods. The closer the similarity value is to 0 after alignment, the more consistent the two interpretation methods are in focusing on different regions even at the same structural scale, and the more significant the discrepancy is between the model decision-making basis between the two methods.

[0079] Through the above frequency domain structure alignment and similarity calculation process, the output heatmaps of each method are uniformly aligned to a common structural scale before similarity evaluation. This effectively removes the artificial structural differences introduced by the difference in resolution level, and provides quantitative input for subsequent alignment effectiveness evaluation and secondary compensation.

[0080] In step S3, after obtaining the similarity after alignment, it is necessary to further determine whether the frequency domain structure alignment process has sufficiently eliminated the interference of resolution structure differences;

[0081] Specifically, the detection of the original unaligned pairwise similarity baseline value refers to the pairwise similarity value calculated directly on the normalized heatmap using a dual-index fusion method before entering the resolution adaptive alignment state. This baseline value is used as a reference to measure the change in the consistency of the focused area before and after the alignment process.

[0082] While determining the alignment state in step S1, the original unaligned pairwise similarity baseline values ​​are obtained by simultaneously performing a dual-index fusion calculation of the structural similarity index and the normalized cross-correlation coefficient on the normalized heatmap. The same formula is used as the similarity after alignment, and only the heatmap is input in two states: before normalization and after alignment.

[0083] The alignment adequacy of each method pair is evaluated by combining the aligned similarity. The alignment effect is quantified by calculating the relative increase in similarity between the aligned pairs and the original unaligned pairwise similarity baseline values, thus generating an alignment effectiveness evaluation metric.

[0084] ;

[0085] in, This represents the similarity score after alignment of the corresponding method pairs. This represents the baseline values ​​of the original unaligned pairwise similarity for the corresponding method pairs. To prevent division by zero of small constants, This is a measure for evaluating alignment effectiveness.

[0086] The greater the increase in similarity after alignment relative to the baseline of the original unaligned pairwise similarity, the greater the evaluation value of alignment effectiveness, indicating that the resolution adaptive alignment contributes more significantly to the consistency recognition of the focused region of the method pair, and the frequency domain structure alignment processing has fully eliminated the interference of resolution structure difference. The smaller the increase in similarity after alignment relative to the baseline value or the smaller the evaluation value of alignment effectiveness, the smaller the evaluation value of alignment effectiveness, indicating that the structural differences of the method pair have not been fully eliminated by the frequency domain structure alignment processing, and there are still structural difference components that can be further suppressed.

[0087] The alignment effectiveness assessment is compared with a preset alignment adequacy threshold:

[0088] When the alignment effectiveness evaluation value is greater than or equal to the alignment sufficiency threshold, the method is deemed to have sufficiently aligned the corresponding structural alignment heatmap, and the corresponding structural alignment heatmap is kept in its original state as a secondary compensation alignment heatmap;

[0089] When the alignment effectiveness evaluation value is less than the alignment sufficiency threshold, the method is deemed insufficient to align the corresponding structure alignment heatmap. The method then performs frequency domain secondary compensation processing on the structure alignment heatmap involved to generate a secondary compensated alignment heatmap.

[0090] The calculation formula for frequency domain secondary compensation processing is as follows:

[0091] ;

[0092] in, To align the insufficient alignment method, a heatmap of the structure involved is used for alignment. This is a quadratic frequency-domain low-pass filter kernel driven by the alignment effectiveness evaluation factor, and its cutoff frequency decreases further as the alignment effectiveness evaluation factor decreases. This represents a two-dimensional Fast Fourier Transform, used to convert spatial domain heatmaps to the frequency domain. This represents the two-dimensional inverse fast Fourier transform, used to restore the results of frequency domain processing to the spatial domain. For the alignment effectiveness evaluation quantity The driven secondary frequency domain low-pass filter kernel has a cutoff frequency that decreases as the alignment effectiveness evaluation value decreases, and is used to further suppress residual high-frequency difference components. This is a heatmap aligned for secondary compensation.

[0093] The lower the alignment effectiveness evaluation value, the greater the compression of the cutoff frequency of the low-pass filter kernel in the secondary frequency domain, and the more thorough secondary suppression of the high-frequency structural difference components remaining in the structural alignment heatmap. For method pairs where the alignment effectiveness evaluation value has reached the alignment sufficiency threshold, the structural alignment heatmap involved is not included in the secondary compensation and is directly used as the secondary compensation alignment heatmap to avoid excessive loss of semantic information from the already sufficiently aligned heatmap.

[0094] It should be noted that the alignment sufficiency threshold is set using a statistical quantification method based on the benchmark sample set. Before the evaluation begins, the frequency domain structure alignment processing and post-alignment similarity calculation of each sample in the benchmark sample set constructed in step S1 are performed separately, and the baseline values ​​of the original unaligned pairwise similarity are obtained simultaneously. The distribution of the alignment effectiveness evaluation values ​​of each method for all benchmark samples is statistically analyzed, and the lower quartile of the distribution is taken as the alignment sufficiency threshold, so that the alignment effectiveness samples in the lower segment of the decision-stable samples are just not misjudged as insufficiently aligned.

[0095] In step S4, based on the secondary compensation alignment heatmap, the pairwise pixel distribution similarity is recalculated on the secondary compensation alignment heatmap of each method pair to obtain the refined pairwise similarity:

[0096] ;

[0097] in, and The first The first method of explanation and the second The second-order compensation alignment heatmap of the interpretation method This represents the pairwise similarity of the corresponding method pairs after refinement.

[0098] The larger the pairwise similarity value after refinement, the more consistent the focal areas of the two interpretation methods remain after the resolution structural differences are completely eliminated, indicating that the model's decision-making basis under this method is highly stable. The smaller the pairwise similarity value after refinement, the more consistent the two interpretation methods are, indicating that even after the resolution structural differences are eliminated, the two interpretation methods still point to different sources of basis for the model's decision-making, reflecting that the model's decision-making stability on this sample is insufficient.

[0099] The global average of all pairwise similarities after refinement is calculated to obtain the overall consistency score after correction.

[0100] ;

[0101] in, The total number of explanation methods, This is the revised overall consistency score.

[0102] The closer the corrected overall consistency score is to 1, the more consistent the model's decision on the current test sample is with each interpretation method after removing the interference of resolution structural differences, indicating that the model's decision-making basis is stable and reliable. The closer the corrected overall consistency score is to 0, the more different the interpretation methods are to the significantly different focal regions after removing the interference of resolution structural differences, indicating that the model's decision-making has inherent instability problems such as relying on spurious features, being at the decision boundary, or being sensitive to perturbations.

[0103] The revised overall consistency score is used as the final basis for evaluating the decision quality of the current test sample, and as input for subsequent sample-level judgment, category-level refined evaluation and model-level overall evaluation, thus completing an objective quantitative evaluation of the model's decision quality.

[0104] By recalculating pairwise similarities and performing global averaging after the above refinement, the effect of stripping away resolution structural differences is finally aggregated into a comprehensive quantitative score. This effectively solves the problem of artificially low consistency caused by differences in method resolution levels in the existing evaluation process, and makes the consistency score truly reflect whether the focus areas of each interpretation method are consistent, rather than whether the structural fineness is consistent.

[0105] Finally, it should be noted that in this paper, relational terms such as first and second are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations.

[0106] Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0107] In this document, the singular forms “a,” “an,” and “the” may also include the plural forms unless the context clearly indicates otherwise. It should also be understood that the terms “comprising / including” or “having” specify the presence of the stated features, wholes, steps, operations, components, parts, or combinations thereof, but do not preclude the possibility of the presence or addition of one or more other features, wholes, steps, operations, components, parts, or combinations thereof. Furthermore, the term “and / or” as used in this specification includes any and all combinations of the associated listed items.

[0108] The various embodiments in this specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. The various embodiments can be combined as needed, and the same or similar parts can be referred to each other.

[0109] The above description of the disclosed embodiments will enable those skilled in the art to make or use various modifications to these embodiments. It will be readily apparent to those skilled in the art that the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for evaluating SAR image recognition models based on multi-interpretation consistency, characterized in that: Includes the following steps: Step S1: Collect the original spatial frequency distribution characteristics of the heatmaps output by each interpretation method, read the theoretical resolution level of each interpretation method, combine the original spatial frequency distribution characteristics and the theoretical resolution level to generate a spatial structure difference index and determine whether to enter the resolution adaptive alignment state. Step S2: After entering the resolution adaptive alignment state, retrieve the normalized heatmap, perform frequency domain structure alignment on the normalized heatmap according to the spatial structure difference index, generate a structure alignment heatmap, and calculate the pixel distribution similarity of each pair of structure alignment heatmaps to obtain the alignment similarity. Step S3: Detect the baseline values ​​of the original unaligned pairwise similarity, evaluate the sufficiency of alignment by combining the similarity after alignment, and calculate the alignment effectiveness evaluation value. Perform frequency domain secondary compensation on the structural alignment heatmap based on the alignment effectiveness evaluation value to generate a secondary compensated alignment heatmap. Step S4: Recalculate the pairwise pixel distribution similarity based on the second-order compensation aligned heatmap, and evaluate the corrected overall consistency score.

2. The SAR image recognition model evaluation method based on multi-interpretation consistency according to claim 1, characterized in that: In step S1, a two-dimensional fast Fourier transform is performed on each heat map output by the interpretation method to obtain the corresponding spectral distribution. Then, according to the preset high and low frequency band segmentation positions, the ratio of high frequency band energy to total energy in each heat map is calculated, and the ratio is used as the original spatial frequency distribution feature. After obtaining the original spatial frequency distribution characteristics of each heatmap, the theoretical resolution level of each interpretation method is read from the preset interpretation method configuration table. The theoretical resolution level refers to the theoretical resolution level of the output heatmap determined by the principle of each interpretation method itself.

3. The SAR image recognition model evaluation method based on multi-interpretation consistency according to claim 2, characterized in that: In step S1, after obtaining the original spatial frequency distribution characteristics of each heatmap and the theoretical resolution level of the corresponding interpretation method, the spatial structure difference index is generated by combining the original spatial frequency distribution characteristics and the theoretical resolution level and using the joint statistical method of inter-method dispersion. The spatial structure difference index is compared with the preset alignment trigger limit; When the spatial structure difference index is greater than or equal to the alignment trigger limit, it is determined that the output heatmaps of each interpretation method have significant differences in structural scale, and directly calculating the pairwise similarity at the pixel level will not be able to truly reflect whether the focused areas are consistent, thus triggering the resolution adaptive alignment state. When the spatial structure difference index is less than the alignment trigger threshold, it is determined that the structural scale of each heatmap is naturally consistent, and no alignment processing is required. The pairwise similarity calculation is directly performed on each normalized heatmap and the comprehensive consistency score is output.

4. The SAR image recognition model evaluation method based on multi-interpretation consistency according to claim 3, characterized in that: In step S2, after determining that the resolution adaptive alignment state has been entered, the normalized heatmap output by the normalization preprocessing stage is retrieved. The normalized heatmap refers to the heatmap obtained by normalizing the pixel values ​​of each heatmap output by the interpretation method according to the interval scaling, which uniformly constrains them to the interval between 0 and 1. For each retrieved normalized heatmap, frequency domain structure alignment processing is performed on the normalized heatmap according to the generated spatial structure difference index to obtain each structure-aligned heatmap; Frequency domain structure alignment refers to suppressing high-frequency details above the common structural scale in each normalized heatmap by using low-pass filtering in the frequency domain, thereby aligning the spatial frequency distribution of each heatmap to the same structural scale.

5. The SAR image recognition model evaluation method based on multi-interpretation consistency according to claim 4, characterized in that: In step S2, after obtaining each structure alignment heatmap, pairwise pixel distribution similarity calculation is performed on all structure alignment heatmaps. The similarity after alignment is obtained by fusing the structure similarity index and the normalized cross-correlation coefficient.

6. The SAR image recognition model evaluation method based on multi-interpretation consistency according to claim 1, characterized in that: In step S3, the original unaligned pairwise similarity baseline value refers to the pairwise similarity value calculated directly on the normalized heatmap using the dual-index fusion method before entering the resolution adaptive alignment state; The original unaligned pairwise similarity baseline values ​​are obtained by simultaneously performing a dual-index fusion calculation of structural similarity index and normalized cross-correlation coefficient on the normalized heatmap when determining whether to enter the alignment state. The alignment adequacy of each method pair is evaluated by combining the alignment similarity. The alignment effect is quantified by calculating the relative increase of the alignment similarity to the original unaligned pairwise similarity baseline value, and an alignment effectiveness evaluation metric is generated.

7. The SAR image recognition model evaluation method based on multi-interpretation consistency according to claim 6, characterized in that: In step S3, the alignment validity assessment value is compared with a preset alignment sufficiency threshold: When the alignment effectiveness evaluation value is greater than or equal to the alignment sufficiency threshold, the method is deemed to have sufficiently aligned the corresponding structural alignment heatmap, and the corresponding structural alignment heatmap is kept in its original state as a secondary compensation alignment heatmap; When the alignment effectiveness evaluation value is less than the alignment sufficiency threshold, the method is deemed insufficient to align the corresponding structure alignment heatmap. The method then performs frequency domain secondary compensation processing on the structure alignment heatmap involved to generate a secondary compensated alignment heatmap.

8. The SAR image recognition model evaluation method based on multi-interpretation consistency according to claim 7, characterized in that: In step S3, the calculation formula for the frequency domain secondary compensation process is as follows: ; in, To align the insufficient alignment method, a heatmap of the structure involved is used for alignment. This is a quadratic frequency-domain low-pass filter kernel driven by the alignment effectiveness evaluation factor, and its cutoff frequency decreases further as the alignment effectiveness evaluation factor decreases. This represents a two-dimensional Fast Fourier Transform, used to convert spatial domain heatmaps to the frequency domain. This represents the two-dimensional inverse fast Fourier transform, used to restore the results of frequency domain processing to the spatial domain. For the alignment effectiveness evaluation quantity The driven secondary frequency domain low-pass filter kernel has a cutoff frequency that decreases as the alignment effectiveness evaluation value decreases, and is used to further suppress residual high-frequency difference components. This is a heatmap aligned for secondary compensation.

9. The SAR image recognition model evaluation method based on multi-interpretation consistency according to claim 1, characterized in that: In step S4, based on the secondary compensation alignment heatmap, the pairwise pixel distribution similarity is recalculated on the secondary compensation alignment heatmap of each method pair to obtain the refined pairwise similarity. The global average of all pairwise similarities after refinement is calculated to obtain the overall consistency score after correction.

10. The SAR image recognition model evaluation method based on multi-interpretation consistency according to claim 9, characterized in that: In step S4, the corrected overall consistency score is used as the basis for the final decision quality assessment of the current test sample, and as the input for subsequent sample-level judgment, category-level refined assessment and model-level overall assessment.