A method and system for improving the interpretability of visual language models

By using contextual interference concept modeling, text-image bidirectional decoupling, and counterfactual occlusion verification, the instability and unreliability issues in visual language model interpretation are resolved, thereby improving the credibility and stability of the interpretation results.

CN123160906APending Publication Date: 2026-11-24BEIJING KNOWLEDGE ATLAS TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611384131.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-08
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing visual language model explanation methods suffer from problems such as explaining hallucinations, instability, unverifiability, and lack of causal constraints, leading to unreliable and unstable explanation results.

Method used

By introducing contextual interference concept modeling, text-image bidirectional decoupling, and counterfactual occlusion verification mechanisms, a multi-interpretation consistency verification mechanism is constructed to improve the credibility of the interpretation results.

Benefits of technology

It significantly improves the credibility and stability of the explanation results, reduces the impact of spurious correlation regions, enhances causal consistency and robustness, and supports the verifiability and iterative optimization of the explanation results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123160906A_ABST
    Figure CN123160906A_ABST
Patent Text Reader

Abstract

This invention belongs to the field of artificial intelligence technology and relates to a method and system for improving the credibility of visual language model explanations. It dynamically constructs a set of contextual interference concepts based on the current image content, performs bidirectional decoupling of target text features and image region features, generates a candidate explanation heatmap, and then determines the credibility of the explanation through counterfactual occlusion verification and multi-explanation consistency verification. When the explanation credibility is insufficient, it further corrects and regenerates the explanation heatmap based on the reasons for low credibility until an explanation result that meets the credibility requirements is obtained, or outputs a rejection message. It effectively solves the problems of explanation illusion, explanation instability, explanation unverifiableness, and lack of causal constraints existing in existing explanation methods. Without changing the main structure of the visual language model, it achieves enhanced credibility and automatic correction of the explanation results, significantly improving the reliability and engineering usability of the visual language model's explanation output.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of artificial intelligence technology and relates to a method and system for improving the credibility of visual language model explanations, particularly a method and system for improving the credibility of visual language model explanations based on context-aware bidirectional decoupling and counterfactual consistency verification. Background Technology

[0002] With the widespread application of Visual Language Models (VLMs) in tasks such as image understanding, visual question answering, medical image analysis, autonomous driving perception, and complex scene interpretation, VLMs not only need to perform semantic reasoning on multimodal inputs, but also need to output interpretable results (such as saliency heatmaps, attention distributions, and key region localization) to support the visualization and credibility analysis of their decision-making processes. However, in existing VLM interpretation mechanisms, due to the lack of structural constraints on the interpretation process itself, causal verification mechanisms, and the ability to model confounding factors, the interpretation results often suffer from instability, unverifiability, and semantic shift.

[0003] In recent years, research on the interpretability of visual language models can be mainly summarized into the following technical approaches: 1. Apovarian significance interpretation methods based on gradients or attention.

[0004] This category of methods mainly includes GradCAM, GradCAM++, Attention Rollout, CheferCAM, and DAAM. They generate saliency heatmaps by calculating gradient information or attention weight distribution within the visual language model to characterize the regions the model focuses on in the input image. These methods do not require modification of the model structure and are characterized by their simplicity and low computational cost, making them widely used in visual language model interpretation tasks. However, these methods are essentially posterior attribution analysis; their interpretation results depend on the activation distribution within the visual language model and do not explicitly constrain the interpretation to be consistent with real visual evidence. Therefore, in complex scenarios, they are prone to the interpretation illusion problem of "high response but no semantic basis."

[0005] 2. An interpretation and generation method based on multimodal aligned attention.

[0006] These methods analyze the cross-modal attention matrix between visual and textual features, directly using attention weights as the basis for interpretation to generate text-guided visual region saliency maps. For example, some methods extract cross-attention maps or token-to-patch attention maps as interpretation results based on models such as CLIP, BLIP, or LLaVA. While these methods enhance the interpretability of text guidance to some extent, since the attention mechanism itself is not equivalent to causal contribution, its output is often affected by redundant features, co-occurrence bias, and attention diffusion effects, leading to instability and insufficient interpretability in the interpretation results.

[0007] 3. Explanation and verification methods based on counterfactual intervention.

[0008] In recent years, some studies have introduced occlusion, perturbation, or counterfactual input construction methods to validate the explanation results. For example, by occluding high-response regions and observing changes in model output, it can be determined whether that region truly affects the prediction results. Compared to pure attention methods, these methods have stronger causal analysis capabilities, but they are usually only used as explanation evaluation tools and do not form a closed-loop mechanism with the explanation generation process. Furthermore, they lack systematic integration and constraints on the consistency of multiple explanation sources.

[0009] 4. A robust interpretation method based on multi-interpretation fusion.

[0010] Some studies have attempted to combine multiple interpretation methods (such as GradCAM + AttentionCAM + Integrated Gradients) to weightedly fuse the results in order to improve interpretation stability. These methods improve robustness to some extent by reducing the uncertainty of a single interpretation method. However, these methods typically employ static weights or empirical fusion strategies, lacking the ability to dynamically adjust interpretation contributions based on input semantics and visual context, and also failing to explicitly model and remove interfering factors.

[0011] In summary, the main shortcomings of the existing technology include: (1) the interpretation results are easily affected by semantic interference and pseudo-related factors, resulting in interpretation illusion; (2) there is a lack of structural decoupling mechanism for the coupling relationship between text semantics and visual features; (3) the counterfactual verification does not form a closed-loop optimization structure with the interpretation generation process; (4) the multi-interpretation fusion method lacks dynamic adjustment capability, resulting in insufficient interpretation stability and credibility; and (5) it is impossible to systematically quantify the credibility of the interpretation results and provide feedback correction.

[0012] Based on the above analysis, there is an urgent need for a new method and system to improve the credibility of visual language model explanations. Summary of the Invention

[0013] To address the problems existing in the prior art, this invention proposes a method and system for improving the credibility of visual language model interpretations. It can effectively solve the problems of interpretation illusion, interpretation instability, unverifiable interpretation, and lack of causal constraints in existing interpretation methods. Without changing the main structure of the visual language model, it can enhance the credibility of the interpretation results and automatically correct them, significantly improving the reliability and engineering usability of the visual language model interpretation output.

[0014] To achieve the above objectives, the present invention provides the following technical solution: A method for improving the credibility of visual language model interpretation, characterized by comprising the following steps: S1: Obtain the image to be explained and the target text prompt, and extract the image region feature set and target text features based on the image to be explained and the target text prompt; S2: Construct a contextual interference concept set based on the image to be explained and the image region feature set, and combine the textual features of each interference concept in the contextual interference concept set into an interference concept feature matrix; S3: Use the interference concept feature matrix to semantically decouple the target text features to obtain the decoupled target text features, and perform visual decoupling on each image region feature in the image region feature set to obtain the decoupled image region features; S4: Based on the decoupled target text features and the decoupled image region features, generate multiple initial candidate interpretation heatmaps; S5: Perform counterfactual occlusion verification on each initial candidate explanation heatmap and determine the counterfactual credibility score of each initial candidate explanation heatmap based on the results of the counterfactual occlusion verification; S6: Based on the counterfactual credibility score, perform initial weighted fusion on the multiple initial candidate explanation heatmaps to obtain an initial fused heatmap, and calculate the initial explanation credibility score of the initial fused heatmap; S7: Determine whether the initial fusion heatmap is reliable based on the initial interpretation reliability score. If it is reliable, output the initial fusion heatmap as a reliable interpretation heatmap; otherwise, proceed to step S8. S8: Construct explanation feedback correction weights based on low-confidence reasons, regenerate the optimized explanation heatmap based on the explanation feedback correction weights and perform iterative judgment until a credible explanation heatmap is output or the maximum number of iterations is reached.

[0015] Preferably, step S2 specifically includes: S21: Based on the image to be explained and the image region feature set, identify candidate concepts that actually exist in the image to be explained or may affect the explanation result, and obtain a candidate concept set; S22: Text encoding and normalization are performed on each candidate concept in the candidate concept set to obtain the concept features of each candidate concept; S23: Based on the image region feature set, target text features, concept features of candidate concepts, and detection confidence or recognition confidence of candidate concepts, calculate the comprehensive interference score of each candidate concept relative to the target text prompt word; S24: Determine whether each candidate concept should be added to the contextual interference concept set as an interference concept based on the comprehensive interference score of each candidate concept relative to the target text prompt word; S25: Combine the conceptual features of each interference concept in the context interference concept set into an interference concept feature matrix.

[0016] Preferably, step S3 further includes: calculating the net evidence score of each image region feature in the image region feature set for the target concept based on the decoupled target text features, the decoupled image region features, each image region feature in the image region feature set, and each interference concept in the context interference concept set.

[0017] Preferably, step S5 specifically includes: S51: For each initial candidate interpretation heatmap, select a portion of the region according to the heatmap response value from high to low to generate a high response region mask, select a portion of the region according to the heatmap response value from low to high to generate a low response region mask, and determine the corresponding region of the interference concept in the image to be interpreted based on the context interference concept set to generate an interference region mask. S52: Based on the features of the image to be explained and the decoupled target text, determine the response score of the visual language model to the target concept; S53: Based on the response score of the target concept, the image to be explained, the target text prompt, and the high-response region mask, determine the response decrease after occluding the high-response region; S54: Determine the decrease in response after occluding low-response regions based on the response score of the target concept, the image to be explained, the target text prompt, and the low-response region mask using a visual language model. S55: Generate the overlap ratio between the high response region and the interference region based on the high response region mask and the interference region mask; S56: Determine the counterfactual credibility score of the initial candidate interpretation heatmap based on the response decrease after occluding the high response area, the response decrease after occluding the low response area, and the overlap ratio between the high response area and the interference area.

[0018] Preferably, step S6 specifically includes: S61: Perform initial weighted fusion of the multiple initial candidate explanation heatmaps based on the counterfactual credibility scores to obtain an initial fused heatmap; S62: Determine the initial interpretation consistency score among the multiple initial candidate interpretation heatmaps based on the pairwise similarity between each pair of the multiple initial candidate interpretation heatmaps; S63: Determine the initial interpretation credibility score of the initial fusion heatmap based on the initial interpretation consistency score, text semantic decoupling credibility, image region net evidence credibility, average initial counterfactual credibility, and the overall overlap ratio between the initial fusion heatmap and the interference region.

[0019] Preferably, in step S63, the text semantic decoupling credibility is obtained from the decoupled target text features and the interference concepts in the context interference concept set; the image region net evidence credibility is obtained from the net evidence score of each image region feature in the image region feature set against the target concept; and the average initial counterfactual credibility is obtained from the counterfactual credibility score of each candidate explanation heatmap.

[0020] Preferably, step S8 specifically includes: S81: Based on the net evidence score, the similarity of interfering concepts, and the overlap of interfering regions, construct region-level interpretation correction weights for each image region feature in the image region feature set; S82: Map the region-level interpretation correction weights of all image region features back to the image space to obtain a spatial feedback weight map; S83: Determine the fusion weight of each explanation method based on the counterfactual credibility score and interference overlap ratio of each initial candidate explanation heatmap; S84: Based on the spatial feedback weight map, perform regional response correction on each initial candidate interpretation heatmap to obtain each corrected candidate interpretation heatmap; S85: The optimized fusion heatmap is obtained based on the fusion weights of each modified candidate interpretation heatmap and each interpretation method. S86: Perform counterfactual occlusion verification on each modified candidate interpretation heatmap and determine the counterfactual credibility score of the optimized fused heatmap based on the results of the counterfactual occlusion verification; S87: Determine whether the optimized fused heatmap is credible based on the counterfactual credibility score of the optimized fused heatmap. If it is credible, output the optimized fused heatmap as a credible explanation heatmap; otherwise, return to step S81 until a credible explanation heatmap is output or the maximum number of iterations is reached.

[0021] Furthermore, the present invention also provides a system for improving the credibility of visual language model interpretation, characterized in that it includes: A multimodal basic feature extraction module is used to acquire the image to be explained and the target text prompt, and to extract the image region feature set and the target text feature based on the image to be explained and the target text prompt; A context interference concept set construction module is used to construct a context interference concept set based on the image to be explained and the image region feature set, and combine the text features of each interference concept in the context interference concept set into an interference concept feature matrix; The text-image bidirectional decoupling module is used to semantically decouple the target text features using the interference concept feature matrix to obtain the decoupled target text features, and to visually decouple each image region feature in the image region feature set to obtain the decoupled image region features. An initial candidate interpretation heatmap generation module is used to generate multiple initial candidate interpretation heatmaps based on the decoupled target text features and the decoupled image region features. The counterfactual occlusion verification module is used to perform counterfactual occlusion verification on each initial candidate explanation heatmap and determine the counterfactual credibility score of each initial candidate explanation heatmap based on the results of the counterfactual occlusion verification. An initial explanation credibility score calculation module is used to perform initial weighted fusion of the multiple initial candidate explanation heatmaps based on the counterfactual credibility score to obtain an initial fused heatmap, and to calculate the initial explanation credibility score of the initial fused heatmap; The feedback optimization judgment module is used to determine whether the initial fusion heatmap is credible based on the initial interpretation credibility score. If it is credible, the initial fusion heatmap is output as a credible interpretation heatmap; otherwise, feedback optimization is performed. The feedback optimization module is used to construct explanatory feedback correction weights based on low-confidence reasons, regenerate the optimized explanatory heatmap based on the explanatory feedback correction weights, and perform iterative judgment until a credible explanatory heatmap is output or the maximum number of iterations is reached.

[0022] Furthermore, the present invention also provides a device for improving the credibility of visual language model interpretation, characterized in that it comprises: One or more processors; Memory, used to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method described above for improving the credibility of visual language model interpretation. Finally, the present invention also provides a computer-readable storage medium having a computer program stored thereon, characterized in that, when the program is executed by a processor, it implements the steps of the method for improving the credibility of visual language model interpretation as described above.

[0023] Compared with existing visual language model interpretation techniques that rely solely on single attention attribution methods, fixed saliency heatmap generation methods, multi-explanation static fusion methods, or post-occlusion verification, the method and system proposed in this invention for improving the credibility of visual language model interpretations have the following significant advantages in terms of interpretation credibility, causal consistency, and robustness in complex scenarios: (1) Introduce a context interference concept modeling mechanism to suppress the explanation of hallucination problems from the source.

[0024] This invention constructs a set of contextual interference concepts, explicitly models potential interference semantics in images (such as dogs, horses, etc., which are similar to the target "sheep" but are not the target concepts), and uses them as interference concept feature matrices to participate in subsequent decoupling and scoring calculations. This mechanism suppresses the influence of pseudo-related regions on the interpretation results, thereby improving the semantic purity and credibility of the interpretation results.

[0025] (2) A text-image bidirectional decoupling mechanism is proposed to significantly reduce cross-modal semantic coupling bias.

[0026] This invention constructs an interference concept subspace and simultaneously projects and removes text features and image region features, thereby achieving bidirectional decoupling between text semantics and visual features. This shifts the interpretation generation process from a "strongly coupled representation space" to a "net evidence representation space," effectively improving the causal consistency and semantic alignment accuracy of regional interpretations.

[0027] (3) Introduce a counterfactual occlusion verification mechanism to make the explanation results have explicit causal constraints.

[0028] This invention employs a counterfactual occlusion mechanism to conduct intervention experiments on high-response and low-response regions separately, calculating the differences in model output changes. Simultaneously, it introduces a penalty term for overlapping interference regions, thereby verifying the causal consistency of the explanatory heatmap. This mechanism ensures that the explanation results not only depend on the model's internal activation but also satisfy the causal constraint that "occluding high-response regions significantly affects the output, while occluding low-response regions has a smaller impact," thus significantly improving the credibility of the explanation.

[0029] (4) Construct consistency constraints for multiple interpretation methods to improve the stability of interpretation results.

[0030] This invention introduces a consistency scoring mechanism for multiple explanation methods, constrains the similarity of various explanation results such as GradCAM, AttentionCAM, and CheferCAM, and dynamically adjusts the fusion weights in conjunction with counterfactual credibility. This allows the contributions of different explanation methods to be adaptively allocated based on their stability and causal consistency, thereby improving the robustness and stability of the final explanation result.

[0031] (5) Construct a closed loop of credible quantification and feedback correction for explanation to achieve optimizable and iterative explanation results.

[0032] This invention constructs a unified explanation credibility scoring function, jointly modeling semantic consistency, net evidence strength, counterfactual credibility, and multi-explanation consistency, and introduces a feedback correction mechanism. When the explanation credibility falls below a threshold, the explanation heatmap is reweighted and iteratively generated through regional-level correction weights, realizing a closed-loop optimization process of "explanation generation—credibility assessment—feedback correction—re-verification," thereby continuously improving explanation quality.

[0033] (6) Significantly improves the reliability and rejectability of interpretation results in complex scenarios.

[0034] Based on multi-round counterfactual verification and interference consistency analysis, this invention introduces a risk classification and rejection mechanism. When the model cannot form stable causal evidence to support it, it can actively output high-risk and rejection results, thereby avoiding the erroneous acceptance of erroneous interpretations and enhancing the safety and credibility in practical applications.

[0035] In summary, this invention has the following overall technical advantages: it can explicitly model and suppress semantic interference factors in the interpretation process; it achieves bidirectional decoupling between text semantics and visual features, reducing cross-modal bias; it introduces a counterfactual causal verification mechanism to improve the authenticity and verifiability of the interpretation; it supports multi-interpretation fusion and dynamic weight adjustment to improve interpretation stability; it constructs a closed-loop optimization mechanism for interpretation credibility to achieve iterative improvement; and it has the ability to reject erroneous interpretations, improving system security and reliability. Attached Figure Description

[0036] Figure 1 This is a flowchart of the method for improving the credibility of visual language model interpretation according to the present invention.

[0037] Figure 2 This is a schematic diagram of the system for improving the credibility of visual language model interpretation according to the present invention.

[0038] Figure 3 This is a structural block diagram of the device for improving the credibility of visual language model interpretation according to the present invention. Detailed Implementation

[0039] Before detailing any embodiment of the invention, it should be understood that the invention, in its application, is not limited to the details of the construction and arrangement of the components set forth in the following description or illustrated in the following figures. The invention can have other embodiments and can be practiced or carried out in various ways. Furthermore, it should be understood that the wording and terminology used herein are for descriptive purposes and should not be considered limiting. The use of “comprising” or “having” and variations thereof in this invention is intended to cover the items set forth below and their equivalents, as well as any additional items. Unless otherwise specified or limited, the terms “installation,” “connection,” “support,” and “linkage,” and variations thereof are used broadly and cover both direct and indirect installation, connection, support, and linking. Moreover, “connection” and “linkage” are not limited to physical or mechanical connections or links. Furthermore, firstly, in the disclosure of this invention, the terms "longitudinal," "lateral," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, the above terms should not be construed as limiting the invention. Secondly, the term "a" should be understood as "at least one" or "one or more," that is, in one embodiment, the number of an element can be one, while in another embodiment, the number of the element can be multiple. The term "a" should not be construed as a limitation on the quantity.

[0040] To address the problems existing in the prior art, this invention proposes a method and system for improving the credibility of visual language model interpretation based on context-aware bidirectional decoupling and counterfactual consistency verification. In the process of visual language model interpretation, it introduces a context interference concept modeling mechanism, a text-image bidirectional decoupling mechanism, and a credibility evaluation mechanism based on counterfactual verification and multi-interpretation consistency verification, thereby achieving verifiable, correctable, and closed-loop optimization of the interpretation results.

[0041] Specifically, the present invention achieves effective improvement of interpretation credibility in the following ways: (1) When there are a large number of background targets or semantically similar interference factors in the image, the context-aware mechanism can explicitly construct a set of interference concepts and suppress interference information during the interpretation process, thereby reducing the generation of erroneous highlighted areas from the source; (2) When there is an overlap or pseudo-correlation between the semantics of the target text and the features of the image region, the text features and visual features are eliminated by subspace projection through a bidirectional decoupling mechanism, thereby achieving structural separation of real evidence and interference factors; (3) When there is uncertainty or inconsistency in the interpretation results, a counterfactual occlusion verification and multi-interpretation consistency verification mechanism is introduced to evaluate the verifiability of the heat map and trigger the feedback correction process based on the credibility score, thereby achieving iterative optimization and closed-loop convergence of the interpretation results.

[0042] Therefore, this invention achieves performance breakthroughs mainly through the following three aspects: (1) Introduce a context-aware interference concept modeling mechanism.

[0043] In the process of visual language model interpretation, by dynamically identifying candidate interference concepts in the image and constructing a set of contextual interference concepts, potential interference sources in the interpretation process are explicitly modeled, thereby improving the accuracy of interpretation region selection.

[0044] (2) Cross-modal evidence separation mechanism based on bidirectional decoupling.

[0045] To address the coupling problem between textual and visual features, a bidirectional decoupling method is introduced. Under the same interference subspace constraint, both textual and image features are simultaneously projected and eliminated, thereby enhancing the expressive power of real visual evidence and reducing the impact of spurious features on the interpretation results.

[0046] (3) A closed-loop optimization mechanism for the credibility of explanation based on counterfactual consistency verification.

[0047] By constructing counterfactual scenarios through occlusion experiments and combining them with consistency assessments of multiple explanation methods, the credibility of the explanation results is quantitatively scored. When the credibility is insufficient, the feedback correction and heatmap regeneration process are automatically triggered, thus forming a closed-loop mechanism of explanation generation-verification-correction, which significantly improves the reliability and robustness of the explanation results.

[0048] Figure 1 A flowchart illustrating the method for improving the credibility of visual language model interpretation according to the present invention is shown. Figure 1 As shown, the method for improving the credibility of visual language model interpretation according to the present invention includes the following steps: S1: Multimodal basic feature extraction.

[0049] Obtain the image to be explained and the target text prompt, and extract the image region feature set and target text features based on the image to be explained and the target text prompt.

[0050] Specifically, obtain the image to be interpreted. and target text prompts For the image to be explained By performing regional division or tokenization, we can obtain Each image region is analyzed, and its corresponding feature set is extracted.

[0051] in, Represents a set of features for an image region; Indicates the first Image region features of each image region; Indicates the number of features in an image region; The feature dimension representing the features of an image region.

[0052] target text prompt Input text encoder The target text features are obtained by encoding and normalizing the data.

[0053] in, Indicate the features of the target text; Indicates target text prompts; Indicates a text encoder; This represents the L2 norm normalization operation.

[0054] Furthermore, when the image region features and the target text features are not in the same dimension, the existing projection layer or linear mapping layer of the visual language model can be used for dimension alignment, thus... and They reside in the same semantic space.

[0055] For example, in one sample, the input image contains a dog, a horse, and a grassy background, and the target text prompt is "sheep." The input image is divided into multiple image regions, such as the dog's head region, dog's body region, horse's head region, horse's body region, and grassy region, and the image region features of each region are extracted. Simultaneously, "sheep" is encoded as a target text feature. At this point, it doesn't determine whether there is actually a sheep in the input image; it simply completes the extraction of image region features and target text features required for subsequent calculations. S2: Construction of a set of contextual interference concepts.

[0056] Based on the image to be explained and the image region feature set, a contextual interference concept set is constructed, and the textual features of each interference concept in the contextual interference concept set are combined into an interference concept feature matrix, which specifically includes: 1. Based on the image to be explained and the set of image region features, identify candidate concepts that actually exist in the image to be explained or may affect the explanation result, and obtain a set of candidate concepts.

[0057] Specifically, based on the image to be explained and image region feature set The system invokes open-vocabulary object detection models, image description models, region classification models, or utilizes the candidate label generation capabilities of visual language models to identify the image to be explained. Candidate concepts that actually exist or may affect the interpretation results are used to obtain a candidate concept set:

[0058] in, Represents a set of candidate concepts; Indicates the first One candidate concept; This represents the total number of candidate concepts.

[0059] 2. Each candidate concept in the candidate concept set is text-encoded and normalized to obtain the concept features of each candidate concept.

[0060] Specifically, a text encoder is used for each candidate concept in the candidate concept set. Text encoding and normalization are performed to obtain concept features:

[0061] in, Indicates the first Conceptual characteristics of each candidate concept; Indicates a text encoder; This represents the L2 norm normalization operation.

[0062] 3. Based on the image region feature set, target text features, candidate concept features, and the detection confidence or recognition confidence of the candidate concepts, calculate the comprehensive interference score of each candidate concept relative to the target text prompt word.

[0063] Specifically, no. Candidate concepts Relative to the target text prompt word The overall interference score is:

[0064] in, Indicates the first Candidate concepts Relative to the target text prompt word The overall interference score; Cosine similarity is used to characterize the features of the target text. and the Candidate concepts Conceptual characteristics semantic similarity; Indicates visual response intensity; Indicates the first Candidate concepts The detection confidence or recognition confidence comes from the output of the open vocabulary target detection model, image description model, region classification model, etc. , , The weight coefficients representing semantic similarity, visual response intensity, and detection confidence can be preset as needed.

[0065] 4. Based on the comprehensive interference score of each candidate concept relative to the target text prompt word, determine whether each candidate concept should be added to the context interference concept set as an interference concept.

[0066] Specifically, when and At that time, the first Candidate concepts Add contextual interference concept set:

[0067] in, The threshold for filtering interfering concepts can be preset as needed. This represents a set of concepts that interfere with the context.

[0068] 5. Combine the conceptual features of each interfering concept in the contextual interfering concept set into an interfering concept feature matrix.

[0069] Specifically, the set of contextual interference concepts The conceptual features of each interfering concept are combined to form an interfering concept feature matrix:

[0070] in, This represents the feature matrix of interfering concepts, which is the matrix of selected concepts. The characteristics of each interference concept A series of columns arranged sequentially to form a OK, A matrix of real numbers in columns; Indicates the first The conceptual features of the first interfering concept can be analyzed using a text encoder. The interference concepts are text-encoded and normalized to obtain the following: This represents the total number of interfering concepts; Various dimensions representing the conceptual characteristics of interfering concepts.

[0071] For example, in the example above, candidate concept recognition is performed on the input image to obtain a set of candidate concepts:

[0072] Since the target concept is "sheep," the system will determine whether these candidate concepts will interfere with the interpretation of "sheep." For example, "dog" and "horse" actually exist in the image and belong to the animal family, just like "sheep"; "animal" and "hair" are superior or attribute concepts shared with "sheep"; "grass" exists, but it is more of a background concept. After calculating the overall interference score, the main interfering concepts are selected:

[0073] This set indicates that when generating the heatmap for the explanation of "sheep" later, it is necessary to focus on preventing the incorrect highlighting of concepts such as dogs, horses, animals, and hair.

[0074] S3: Text-image bidirectional decoupling.

[0075] The target text features are semantically decoupled using the interference concept feature matrix to obtain decoupled target text features, and each image region feature in the image region feature set is visually decoupled to obtain decoupled image region features.

[0076] Specifically, utilizing the interference concept feature moments For the target text features Semantic decoupling is performed to remove its projection components in the interfering concept subspace, resulting in the decoupled target text features. :

[0077] Simultaneously, utilizing the aforementioned interference concept feature moments For each image region feature in the image region feature set Visual decoupling is performed to remove its projection components in the interfering concept subspace, resulting in decoupled image region features. :

[0078] This yields the decoupled image region feature set. :

[0079] Moreover, based on the decoupled target text features and decoupled image region features Calculate the features of each decoupled image region. Net evidence score for the target concept :

[0080] in, This represents the decoupled target text features; Indicates the decoupled first Image region features; Representation matrix transpose; Represents the regularization coefficient, which can be taken as... , Smaller positive numbers can also be determined based on the validation set; Represents the identity matrix; Indicates the decoupled first Net evidence score of each image region feature for the target concept; Indicates the first The conceptual characteristics of a disturbance concept.

[0081] For example, in the example above, the target concept "sheep" itself contains shared semantics such as "animal, fur, four legs," which also refer to the dog and horse in the input image. Therefore, we first weaken the shared semantics related to "dog, horse, animal, fur" from the target text features of "sheep" to obtain the decoupled target text features. Then, visual decoupling is performed on the image region features, such as the dog body region, horse body region, and grassland region. If a certain dog body region has some similarity to "sheep," but its similarity to "dog" or "hair" is higher, then the net evidence score for that region is higher. It will be reduced. Since there are no real sheep in the input image, no obvious high-net-worth evidence area will appear in the end.

[0082] S4: Initial candidate interpretation heatmap generation.

[0083] Based on the decoupled target text features and decoupled image region features, multiple initial candidate interpretation heatmaps are generated.

[0084] Specifically, the image to be explained Decoupled target text features and the decoupled image region feature set Multiple saliency map interpretation methods (e.g., GradCAM, AttentionCAM, LeGrad, CheferCAM, DAAM, or other existing saliency map interpretation methods) are input to generate multiple initial candidate interpretation heatmaps:

[0085] in, Indicates the first A method for interpreting saliency maps; Indicates the first One initial candidate interpretation heatmap; Indicates the number of interpretation methods for the saliency map, i.e., the number of initial candidate interpretation heatmaps; superscript Indicates the initial round.

[0086] The heatmaps of the multiple initial candidate explanations constitute the initial candidate explanation set. :

[0087] For example, in the example above, GradCAM, AttentionCAM, LeGrad, and CheferCAM are used to generate initial candidate explanation heatmaps for "sheep," respectively. Since there is no sheep in the input image, ideally, the initial candidate explanation heatmaps should not have any obviously highlighted areas. However, in actual generation, GradCAM might incorrectly highlight the dog's body area, AttentionCAM might incorrectly highlight the horse's body area, LeGrad might highlight the background area between the dog and horse, and CheferCAM might highlight the horse's body and mane area. In this case, none of the initial candidate explanation heatmaps are directly used; instead, these initial candidate explanation heatmaps are fed into the subsequent counterfactual occlusion verification step.

[0088] S5: Counterfactual occlusion verification.

[0089] Counterfactual occlusion verification is performed on each initial candidate explanation heatmap, and a counterfactual credibility score for each initial candidate explanation heatmap is determined based on the results of the counterfactual occlusion verification. Specifically, this includes: 1. For each initial candidate interpretation heatmap, select a portion of the region according to the heatmap response value from high to low to generate a high response region mask, select a portion of the region according to the heatmap response value from low to high to generate a low response region mask, and determine the corresponding region of the interference concept in the image to be interpreted based on the context interference concept set to generate an interference region mask.

[0090] Specifically, for each initial candidate interpretation heatmap Select the top values ​​from highest to lowest according to the heat map response values. (in, The value can be preset as needed to generate a high-response region mask for the region. After selecting according to the heat map response values ​​from low to high Generate a low-response region mask for the specified area. .in, Indicates the first A mask for the high-response region of an initial candidate interpretation heatmap; Indicates the first Masks for low-response regions of an initial candidate interpretation heatmap.

[0091] Meanwhile, based on the aforementioned interference concept feature matrix Determine the corresponding region of the interference concept in the image to be interpreted, and generate an interference region mask. When the detection model provides a bounding box, The target boxes corresponding to the interference concept are merged; when the detection model provides a segmentation mask... The segmentation mask is obtained by merging the corresponding segmentation mask based on the concept of interference; when only image region features are available. It is obtained by merging several image regions with the highest similarity to the features of the interference concept.

[0092] 2. Based on the features of the image to be explained and the decoupled target text, determine the response score of the visual language model to the target concept.

[0093] Specifically, the response score of the visual language model to the target concept is defined as:

[0094] in, This represents the response score of the visual language model to the target concept; An image encoder representing a visual language model.

[0095] 3. Based on the visual language model's response score to the target concept, the image to be explained, the target text prompt, and the high-response region mask, determine the response decrease after occluding the high-response region.

[0096] Specifically, the decrease in response after blocking the high-response region is:

[0097] in, Indicates the first The initial candidate interpretation of the heatmap is the decrease in target response after occluding high-response areas.

[0098] 4. Based on the visual language model's response score to the target concept, the image to be explained, the target text prompt, and the low-response region mask, determine the response decrease after occluding the low-response region.

[0099] Specifically, the decrease in response after blocking the low-response region is:

[0100] in, Indicates the first The initial candidate interpretation of the heatmap is the decrease in target response after occluding low-response regions.

[0101] 5. Generate the overlap ratio between the high-response region and the interference region based on the high-response region mask and the interference region mask.

[0102] Specifically, the overlap ratio between the high-response region and the interference region is as follows:

[0103] in, Indicates the first The initial candidate interpretations of the heatmap show the overlap ratio between high-response regions and interference regions; This represents a minimal constant to prevent the denominator from being zero.

[0104] 6. Determine the counterfactual credibility score of the initial candidate interpretation heatmap based on the response decrease after blocking the high response area, the response decrease after blocking the low response area, and the overlap ratio between the high response area and the interference area.

[0105] Specifically, no. The counterfactual credibility scores of the initial candidate explanation heatmaps are:

[0106] in, Indicates the first Counterfactual credibility scores of the initial candidate interpretation heatmaps; This represents the Sigmoid function; , , This represents the weighting coefficient, which can be preset as needed.

[0107] For example, in the example above, an initial candidate explanation heatmap highlights the dog's body area as the explanation region for "sheep." After occluding this highlighted dog area, the visual language model's response to "sheep" decreases, seemingly indicating that this area is important. However, since this area corresponds to the distractor concept "dog," this decrease in response does not prove the presence of a sheep in the input image, but rather suggests that the visual language model may be mistaking a dog for a sheep. Therefore, this initial candidate explanation heatmap has a high overlap ratio of distractors and low counterfactual credibility.

[0108] S6: Calculation of initial explanation credibility score.

[0109] Based on the counterfactual credibility score, the multiple initial candidate explanation heatmaps are initially weighted and fused to obtain an initial fused heatmap, and the initial explanation credibility score of the initial fused heatmap is calculated, specifically including: 1. Perform initial weighted fusion of the multiple initial candidate explanation heatmaps based on the counterfactual credibility scores to obtain an initial fused heatmap.

[0110] Specifically, the initial fusion heatmap is as follows:

[0111] in, This represents the initial fusion heatmap; This represents a minimal constant to prevent the denominator from being zero.

[0112] 2. Determine the initial interpretation consistency score among the multiple initial candidate interpretation heatmaps based on the pairwise similarity between each pair of the initial candidate interpretation heatmaps.

[0113] Specifically, the initial interpretation consistency score among the multiple initial candidate interpretation heatmaps is:

[0114] in, Indicates the initial interpretation consistency score; Heatmaps representing two initial candidate explanations The similarity between them.

[0115] 3. The initial interpretation credibility score of the initial fusion heatmap is determined based on the initial interpretation consistency score, text semantic decoupling credibility, image region net evidence credibility, average initial counterfactual credibility, and the overall overlap ratio between the initial fusion heatmap and the interference region.

[0116] Specifically, the initial interpretation confidence score of the initial fused heatmap is:

[0117] In this invention,

[0118]

[0119]

[0120]

[0121] in, This represents the initial interpretation confidence score of the initial fusion heatmap; Indicates the credibility of text semantic decoupling; Indicates the net credibility of evidence in the image region; Indicates the average initial counterfactual credibility; Indicates the initial multi-interpretation consistency score; This indicates the overall overlap ratio between the initial fused heatmap and the interference area; The set of indices representing the image region features corresponding to the high-response regions of the initial fused heatmap; The high-response region of the initial fusion heatmap can be selected from the initial fusion heatmap according to the heatmap response values ​​from high to low. (in, The value can be preset as needed to obtain the area; Indicates the weighting coefficient; This represents a minimal constant to prevent the denominator from being zero.

[0122] S7: Feedback optimization judgment.

[0123] Based on the initial interpretation confidence score, determine whether the initial fusion heatmap is reliable. If it is reliable, output the initial fusion heatmap as a reliable interpretation heatmap; otherwise, proceed to step S8.

[0124] Specifically, when At that time, the initial fusion heatmap As a reliable interpretation of the heatmap output; when Then, proceed to step S8 to execute the credibility feedback optimization mechanism. Among these steps... The threshold for a credible interpretation can be preset as needed.

[0125] For example, in the above example, the initial explanation credibility score is calculated based on multiple initial candidate explanation heatmaps for "sheep". Since the initial candidate explanation heatmaps highlight the dog, horse, or background areas respectively, the consistency between the explanation methods is low; at the same time, the initial candidate explanation heatmaps overlap significantly with interfering areas such as dogs and horses, resulting in low counterfactual credibility. The assumption is that: ,because This indicates that the current explanation is unreliable and cannot be output directly. Therefore, proceed to step S8 to analyze the reasons for the low reliability and initiate feedback optimization.

[0126] S8: Feedback optimization.

[0127] An explanation feedback correction weight is constructed based on the low-confidence cause. An optimized explanation heatmap is regenerated based on the explanation feedback correction weight, and iterative judgment is performed until a credible explanation heatmap is output or the maximum number of iterations is reached. Specifically, this includes: 1. Based on the net evidence score, similarity of interfering concepts, and overlap of interfering regions, construct region-level interpretation correction weights for each image region.

[0128] When the judgment At that time, based on the net evidence score, the similarity of interfering concepts, and the overlap of interfering regions, a region-level interpretation correction weight is constructed for each image region:

[0129] in, Indicates the first In the first iteration Regional-level interpretation correction weights for each image region; Indicates the first Net evidence score for each image region; Indicates the first The maximum similarity between an image region and a distracting concept; Indicates the first Whether each image region is located in the overlapping area of ​​the high-response region and the interference region of the initial fused heatmap; Indicates the net evidence enhancement coefficient; Indicates the interference suppression coefficient; Indicates the interference overlap penalty coefficient; Indicates the current iteration round.

[0130] In this invention, Furthermore, if the first If an image region is located in the overlapping area of ​​the high-response region and the interference region of the initial fused heatmap, then... ,otherwise .

[0131] 2. Map the region-level interpretation correction weights of all image region features back to the image space to obtain a spatial feedback weight map.

[0132] Specifically,

[0133] in, Indicates the first Spatial feedback weight graph in round iteration; This represents a spatial mapping function (remapping operation) used to backfill and allocate one-dimensional region-level interpretation correction weights back to the original two-dimensional spatial coordinate positions corresponding to the image regions.

[0134] 3. Determine the fusion weight of each explanation method based on the counterfactual credibility score and interference overlap ratio of each initial candidate explanation heatmap.

[0135] Specifically, the fusion weights of the interpretation method are:

[0136] in, Indicates the first In the first iteration The first explanation method (corresponding to the first) The fusion weights of the initial candidate interpretation heatmaps; Indicates the first Wheel of Life The first explanation method (corresponding to the first) Counterfactual credibility score of the initial candidate explanation heatmap; Indicates the first Wheel of Life The initial candidate interpretations of the heatmap show the overlap ratio between high-response regions and interference regions; It is the index used for summation; This represents a minimal constant to prevent the denominator from being zero.

[0137] 4. Based on the spatial feedback weight map, perform regional response correction on each initial candidate interpretation heatmap to obtain each corrected candidate interpretation heatmap.

[0138] Specifically, based on the spatial feedback weight graph , for the Heatmap of candidate explanations in round iteration Perform regional response correction:

[0139] in, Indicates the first The first round of regional response correction One candidate interpretation of the heatmap; Indicates the first The first round of regional response correction One candidate interpretation of the heatmap; This indicates element-wise multiplication; This indicates a normalization operation.

[0140] 5. Based on the modified candidate interpretation heatmaps and the fusion weights of each interpretation method, the optimized fusion heatmap is obtained.

[0141] Specifically, the weights are fused using the aforementioned interpretation method. , generate the first Fusion heatmap after round of iterative optimization :

[0142] 6. Perform counterfactual occlusion verification on the modified candidate explanation heatmap and determine the counterfactual credibility score of the optimized fused heatmap based on the results of the counterfactual occlusion verification.

[0143] Specifically, for Perform the counterfactual occlusion verification in step S5, and calculate based on the method in step S6. Counterfactual credibility score .

[0144] 7. Determine whether the optimized fused heatmap is credible based on the counterfactual credibility score of the optimized fused heatmap. If it is credible, output the optimized fused heatmap as a credible explanation heatmap; otherwise, return to step S81 until a credible explanation heatmap is output or the maximum number of iterations is reached.

[0145] Specifically, if Then stop iterating and output the first iteration. The result of the round of interpretation, that is, will As a reliable explanation of the heatmap output; if If the maximum number of iterations is reached, return to step S81 and continue iterative optimization. Or it meets the credibility threshold.

[0146] Therefore, when there is a certain number of iterations satisfy: Then, the fusion heatmap of that round will be used as the final reliable interpretation heatmap and output: .in, This represents the heatmap for the final credible explanation. This represents the final explanation credibility score; This indicates the iteration round that satisfies the credibility requirement.

[0147] When the maximum number of iterations is reached There are still: If the output is rejected, the main interference concepts, the overlapping interference areas, and the high-risk level will be given:

[0148] in, This indicates the level of risk associated with hallucinations; Indicates the threshold for a credible interpretation; This indicates the threshold for determining high risk, and .

[0149] This invention can be widely applied to artificial intelligence applications with high requirements for interpretability, including but not limited to visual language model interpretability analysis systems, medical image-assisted diagnostic systems, autonomous driving perception and decision-making systems, industrial defect detection systems, remote sensing image interpretation systems, intelligent security monitoring systems, and multimodal question answering and retrieval systems. In these applications, this invention effectively solves problems such as interpretive illusion, interpretive instability, unverifiable interpretations, and lack of causal constraints in existing interpretation methods. Without altering the core structure of the visual language model, it enhances the credibility of interpretation results and automatically corrects them, significantly improving the reliability and engineering usability of the model's interpretation output. Furthermore, this invention possesses excellent modularity and can be integrated as a general-purpose interpretability assessment and optimization plugin into various large-scale visual language model systems, exhibiting strong engineering adaptability and broad industrial application value.

[0150] Figure 2 A schematic diagram of the system for improving the credibility of visual language model interpretation according to the present invention is shown. Figure 2 As shown, the system for improving the credibility of visual language model interpretation according to the present invention includes: 1. Multimodal basic feature extraction module.

[0151] The multimodal basic feature extraction module is used to acquire the image to be explained and the target text prompt, and to extract the image region feature set and the target text feature based on the image to be explained and the target text prompt.

[0152] 2. Contextual interference concept set construction module.

[0153] The context interference concept set construction module is used to construct a context interference concept set based on the image to be explained and the image region feature set, and combine the text features of each interference concept in the context interference concept set into an interference concept feature matrix.

[0154] 3. Text-image bidirectional decoupling module.

[0155] The text-image bidirectional decoupling module is used to perform semantic decoupling on the target text features using the interference concept feature matrix to obtain the decoupled target text features, and to perform visual decoupling on each image region feature in the image region feature set to obtain the decoupled image region features.

[0156] 4. Initial candidate interpretation heatmap generation module.

[0157] The initial candidate interpretation heatmap generation module is used to generate multiple initial candidate interpretation heatmaps based on the decoupled target text features and the decoupled image region features.

[0158] 5. Counterfactual occlusion verification module.

[0159] The counterfactual occlusion verification module is used to perform counterfactual occlusion verification on each initial candidate explanation heatmap and determine the counterfactual credibility score of each initial candidate explanation heatmap based on the results of the counterfactual occlusion verification.

[0160] 6. Initial explanation credibility score calculation module.

[0161] The initial explanation credibility score calculation module is used to perform initial weighted fusion of the multiple initial candidate explanation heatmaps based on the counterfactual credibility score to obtain an initial fused heatmap, and to calculate the initial explanation credibility score of the initial fused heatmap.

[0162] 7. Feedback optimization judgment module.

[0163] The feedback optimization judgment module is used to determine whether the initial fusion heatmap is credible based on the initial interpretation credibility score. If it is credible, the initial fusion heatmap is output as a credible interpretation heatmap; otherwise, feedback optimization is performed.

[0164] 8. Feedback Optimization Module.

[0165] The feedback optimization module is used to construct explanatory feedback correction weights based on low-confidence causes, regenerate the optimized explanatory heatmap based on the explanatory feedback correction weights, and perform iterative judgment until a credible explanatory heatmap is output or the maximum number of iterations is reached.

[0166] Furthermore, this invention also provides a device for improving the credibility of visual language model interpretations. For example... Figure 3 As shown, the device for improving the credibility of visual language model interpretation according to the present invention includes: a memory 11 for storing one or more programs; one or more processors 12; when the one or more programs are executed by the one or more processors 12, the one or more processors 12 implement the method for improving the credibility of visual language model interpretation according to the present invention. Finally, the present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method for improving the credibility of visual language model interpretation in the present invention.

[0167] The computer-readable storage medium includes both permanent and non-permanent, removable and non-removable media, and information storage can be achieved by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device. As defined in this invention, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0168] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed in this invention can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0169] The steps of the methods or algorithms described in conjunction with the embodiments disclosed in this invention can be implemented in hardware, software modules executed by a processor, or a combination of both. The software modules can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disks, removable disks, CD-ROMs, or any other form of storage medium known in the art.

[0170] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit the scope of protection of the present invention. Those skilled in the art can modify or make equivalent substitutions to the technical solutions of the present invention based on the concept of the present invention, without departing from the essence and scope of the technical solutions of the present invention.

Claims

1. A method for improving the interpretability of a visual language model, the method comprising: Includes the following steps: S1: Obtain the image to be explained and the target text prompt, and extract the image region feature set and target text features based on the image to be explained and the target text prompt; S2: Construct a contextual interference concept set based on the image to be explained and the image region feature set, and combine the textual features of each interference concept in the contextual interference concept set into an interference concept feature matrix; S3: Use the interference concept feature matrix to semantically decouple the target text features to obtain the decoupled target text features, and perform visual decoupling on each image region feature in the image region feature set to obtain the decoupled image region features; S4: Based on the decoupled target text features and the decoupled image region features, generate multiple initial candidate interpretation heatmaps; S5: Perform counterfactual occlusion verification on each initial candidate explanation heatmap and determine the counterfactual credibility score of each initial candidate explanation heatmap based on the results of the counterfactual occlusion verification; S6: Based on the counterfactual credibility score, perform initial weighted fusion on the multiple initial candidate explanation heatmaps to obtain an initial fused heatmap, and calculate the initial explanation credibility score of the initial fused heatmap; S7: Determine whether the initial fusion heatmap is reliable based on the initial interpretation reliability score. If it is reliable, output the initial fusion heatmap as a reliable interpretation heatmap; otherwise, proceed to step S8. S8: Construct explanation feedback correction weights based on low-confidence reasons, regenerate the optimized explanation heatmap based on the explanation feedback correction weights and perform iterative judgment until a credible explanation heatmap is output or the maximum number of iterations is reached.

2. The method of claim 1, wherein, Step S2 specifically includes: S21: Based on the image to be explained and the image region feature set, identify candidate concepts that actually exist in the image to be explained or may affect the explanation result, and obtain a candidate concept set; S22: Text encoding and normalization are performed on each candidate concept in the candidate concept set to obtain the concept features of each candidate concept; S23: Based on the image region feature set, target text features, concept features of candidate concepts, and detection confidence or recognition confidence of candidate concepts, calculate the comprehensive interference score of each candidate concept relative to the target text prompt word; S24: Determine whether each candidate concept should be added to the contextual interference concept set as an interference concept based on the comprehensive interference score of each candidate concept relative to the target text prompt word; S25: Combine the conceptual features of each interference concept in the context interference concept set into an interference concept feature matrix.

3. The method of claim 1, wherein, Step S3 further includes: calculating the net evidence score of each image region feature in the image region feature set against the target concept based on the decoupled target text features, the decoupled image region features, each image region feature in the image region feature set, and each interference concept in the context interference concept set.

4. The method of claim 1, wherein, Step S5 specifically includes: S51: For each initial candidate interpretation heatmap, select a portion of the region according to the heatmap response value from high to low to generate a high response region mask, select a portion of the region according to the heatmap response value from low to high to generate a low response region mask, and determine the corresponding region of the interference concept in the image to be interpreted based on the context interference concept set to generate an interference region mask. S52: Based on the features of the image to be explained and the decoupled target text, determine the response score of the visual language model to the target concept; S53: Based on the response score of the target concept, the image to be explained, the target text prompt, and the high-response region mask, determine the response decrease after occluding the high-response region; S54: Determine the decrease in response after occluding low-response regions based on the response score of the target concept, the image to be explained, the target text prompt, and the low-response region mask using a visual language model. S55: Generate the overlap ratio between the high response region and the interference region based on the high response region mask and the interference region mask; S56: Determine the counterfactual credibility score of the initial candidate interpretation heatmap based on the response decrease after occluding the high response area, the response decrease after occluding the low response area, and the overlap ratio between the high response area and the interference area.

5. The method of claim 1, wherein, Step S6 specifically includes: S61: Perform initial weighted fusion of the multiple initial candidate explanation heatmaps based on the counterfactual credibility scores to obtain an initial fused heatmap; S62: Determine the initial interpretation consistency score among the multiple initial candidate interpretation heatmaps based on the pairwise similarity between each pair of the multiple initial candidate interpretation heatmaps; S63: Determine the initial interpretation credibility score of the initial fusion heatmap based on the initial interpretation consistency score, text semantic decoupling credibility, image region net evidence credibility, average initial counterfactual credibility, and the overall overlap ratio between the initial fusion heatmap and the interference region.

6. The method for improving interpretability of visual language model according to claim 5, wherein, In step S63, the text semantic decoupling credibility is obtained from the decoupled target text features and the interference concepts in the context interference concept set; the image region net evidence credibility is obtained from the net evidence score of each image region feature in the image region feature set to the target concept; and the average initial counterfactual credibility is obtained from the counterfactual credibility score of each candidate explanation heatmap.

7. The method of claim 1, wherein, Step S8 specifically includes: S81: Based on the net evidence score, the similarity of interfering concepts, and the overlap of interfering regions, construct region-level interpretation correction weights for each image region feature in the image region feature set; S82: Map the region-level interpretation correction weights of all image region features back to the image space to obtain a spatial feedback weight map; S83: Determine the fusion weight of each explanation method based on the counterfactual credibility score and interference overlap ratio of each initial candidate explanation heatmap; S84: Based on the spatial feedback weight map, perform regional response correction on each initial candidate interpretation heatmap to obtain each corrected candidate interpretation heatmap; S85: The optimized fusion heatmap is obtained based on the fusion weights of each modified candidate interpretation heatmap and each interpretation method. S86: Perform counterfactual occlusion verification on each modified candidate interpretation heatmap and determine the counterfactual credibility score of the optimized fused heatmap based on the results of the counterfactual occlusion verification; S87: Determine whether the optimized fused heatmap is credible based on the counterfactual credibility score of the optimized fused heatmap. If it is credible, output the optimized fused heatmap as a credible explanation heatmap; otherwise, return to step S81 until a credible explanation heatmap is output or the maximum number of iterations is reached.

8. A system for improving interpretability of a visual language model, the system comprising: include: A multimodal basic feature extraction module is used to acquire the image to be explained and the target text prompt, and to extract the image region feature set and the target text feature based on the image to be explained and the target text prompt; A context interference concept set construction module is used to construct a context interference concept set based on the image to be explained and the image region feature set, and combine the text features of each interference concept in the context interference concept set into an interference concept feature matrix; The text-image bidirectional decoupling module is used to semantically decouple the target text features using the interference concept feature matrix to obtain the decoupled target text features, and to visually decouple each image region feature in the image region feature set to obtain the decoupled image region features. An initial candidate interpretation heatmap generation module is used to generate multiple initial candidate interpretation heatmaps based on the decoupled target text features and the decoupled image region features. The counterfactual occlusion verification module is used to perform counterfactual occlusion verification on each initial candidate explanation heatmap and determine the counterfactual credibility score of each initial candidate explanation heatmap based on the results of the counterfactual occlusion verification. An initial explanation credibility score calculation module is used to perform initial weighted fusion of the multiple initial candidate explanation heatmaps based on the counterfactual credibility score to obtain an initial fused heatmap, and to calculate the initial explanation credibility score of the initial fused heatmap; The feedback optimization judgment module is used to determine whether the initial fusion heatmap is credible based on the initial interpretation credibility score. If it is credible, the initial fusion heatmap is output as a credible interpretation heatmap; otherwise, feedback optimization is performed. The feedback optimization module is used to construct explanatory feedback correction weights based on low-confidence reasons, regenerate the optimized explanatory heatmap based on the explanatory feedback correction weights, and perform iterative judgment until a credible explanatory heatmap is output or the maximum number of iterations is reached.

9. A device for improving the credibility of visual language model interpretation, characterized in that, include: One or more processors; Memory, used to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method for improving the credibility of visual language model interpretation as described in any one of claims 1-7.

10. A computer-readable storage medium having stored thereon a computer program, characterized in that, When the program is executed by the processor, it implements the steps of the method for improving the credibility of visual language model interpretation as described in any one of claims 1-7.