Multimodal rumor detection method and device based on external hierarchical text evidence and medium
By retrieving and extracting multi-level image and text evidence from the Internet and combining it with a cross-attention mechanism to enhance feature fusion, the problem of deep semantic mismatch between images and text in multimodal rumor detection is solved, improving the accuracy and interpretability of detection.
Patent Information
- Application Number
- CN202611059129.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-16
- Publication Date
- 2026-11-24
AI Technical Summary
Existing multimodal rumor detection methods struggle to effectively identify elaborately designed rumors with deep semantic mismatches between text and images, and global or local single-level features cannot fully represent the semantic information of text and images, affecting detection accuracy.
By retrieving relevant text and image evidence from the Internet, multi-level features of images and text are extracted, and evidence enhancement and fusion are carried out using a cross-attention mechanism to construct multi-level image and text representations, thereby enhancing the model's understanding of image and text semantics.
It improves the interpretability and accuracy of multimodal rumor detection, enabling a more comprehensive understanding of the deep semantics of images and text, and adapting to complex and ever-changing multimodal rumor detection situations.
Smart Images

Figure CN123157992A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of information technology, and more specifically, to a multimodal rumor detection method, device, and medium based on external hierarchical graphic evidence. Background Technology
[0002] With the widespread use of various social media platforms, the information shared in posts has gradually expanded from a single text format to a rich composite of multiple modalities, including text and images. While this multimodal post format enriches information content and facilitates information dissemination, it has also become a breeding ground for the spread of rumors. The rapid spread of multimodal rumors can easily lead to public cognitive biases, disrupt normal social order, and may also adversely affect national security. Commonly used multimodal rumor detection methods often directly judge rumors based on the content of multimodal posts, mainly in two forms: multimodal feature fusion and multimodal feature comparison. These traditional methods first extract global representations of text and images using text feature extractors and image feature extractors, respectively. Then, they use multimodal feature fusion to look for anomalies in the text and images from the multimodal input or use multimodal feature comparison to look for contradictions between the text and images to judge multimodal rumors.
[0003] However, due to the limited amount of information shared by users on social media, it is difficult to directly identify some carefully crafted rumors with deep semantic mismatches between images and text based on multimodal post anomalies or feature conflicts. Furthermore, considering the complexity and variability of multimodal rumors, it is often necessary to simultaneously understand both the global information and local details of images and text for rumor identification. Existing methods only extract global or local features at a single level from images and text, and then rely on multimodal feature fusion and feature comparison for rumor identification, which affects the accuracy of multimodal rumor identification. Summary of the Invention
[0004] This invention aims to provide a multimodal rumor detection method, device, and medium based on external hierarchical graphic evidence, in order to solve the problems of carefully designed rumors with deep semantic mismatch between graphics and text, and the inability of global or local single-level feature forms to comprehensively represent the semantic information of text and images.
[0005] In a first aspect, the present invention provides a multimodal rumor detection method based on external hierarchical graphic evidence, comprising: Retrieve text evidence from image input of multimodal posts, and retrieve image evidence from text input of multimodal posts; Extract image-level features from image input and image evidence set; extract text-level features from text input and text evidence set. Evidence enhancement is performed on image-level features and text-level features, and then they are concatenated into fused features; The fused features are input into the multimodal rumor detection model to complete the rumor detection of multimodal posts.
[0006] In a preferred embodiment, retrieving the text evidence set from the image input of the multimodal post includes: Using image input from multimodal posts as search clues, a reverse search is performed on the Internet to obtain web resources containing images similar to the image input; Filter web page resources based on image similarity; From the screened web resources, remove web resources whose titles are not in Chinese or English. The text of the retained web page resources is obtained by web crawling, and the obtained text is then denoised and filtered for redundant information to form a text evidence set.
[0007] In a preferred embodiment, retrieving the image evidence set from the text input of the multimodal post includes: Using text input from multimodal posts as retrieval input, image resources that are highly semantically related to the input text are searched in reverse on the Internet to form an image evidence set.
[0008] In a preferred embodiment, the step of extracting image-level features from the image input and the image evidence set includes: A pre-trained convolutional neural network is used to extract global image features from the image input and the image evidence set; A visual model based on the Transformer architecture is used to extract local image features from image input and image evidence set; A pre-trained Faster R-CNN model is used to extract image entity features from the image input and the image evidence set; The image hierarchical features include global image features, local image features, and image entity features.
[0009] In a preferred embodiment, extracting text-level features from the text input and text evidence set includes: The text input and text evidence set are segmented into words. [CLS] and [SEP] tags are added to the beginning and end of the segmented sentences respectively, and then mapped to the corresponding word embedding vectors. The word embedding vectors are input into the pre-trained BERT model to obtain the corresponding hidden vectors. The hidden vectors corresponding to the [CLS] tags output by the BERT model are used as global text features; The text fragments are parsed from the sentence, and the average pooling vector of all the words covered by the text fragments in the last hidden vector of the BERT model is used as the local features of the text. Identify nouns, verbs, adjectives, and adverbs from sentences, and use the hidden vectors of these nouns in the last layer of the BERT model as text entity features. The text hierarchical features include the text global features, text local features, and text entity features.
[0010] In a preferred embodiment, the step of enhancing the evidence of image-level features and text-level features and concatenating them into a fused feature includes: Image evidence enhancement is performed by utilizing the image hierarchy features of the image evidence set to enhance the image hierarchy features of the image input; Text evidence enhancement is performed by leveraging the text-level features of the text evidence set to enhance the text-level features of the text input. The enhanced image-level features and text-level features are combined with the global text features of the text input and the global image features of the image input to form a fused feature.
[0011] In a preferred embodiment, a cross-attention mechanism is used to enhance both image and text evidence.
[0012] In a preferred embodiment, the multimodal rumor detection model is trained using a cross-entropy loss function during the training phase.
[0013] In a second aspect, the present invention provides an electronic device, comprising: At least one processor; and a memory communicatively connected to said at least one processor; The memory stores instructions that can be executed by the at least one processor, and the at least one processor executes the instructions stored in the memory to perform the above-described method.
[0014] Thirdly, the present invention provides a computer-readable storage medium for storing instructions that, when executed, enable the above-described method to be implemented.
[0015] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are: This invention addresses the problem of carefully crafted rumors with deep semantic mismatches between text and images by introducing external textual and image evidence to improve the interpretability of detection. Furthermore, recognizing that single-level features, whether global or local, cannot comprehensively represent the semantic information of text and images, this invention constructs a hierarchical textual and image representation to obtain multi-layered overall semantic information from multimodal posts and evidence. These different levels of semantic information are connected in parallel in a coarse-to-fine manner, allowing for understanding of the content contained in external textual and image evidence from different perspectives. This enhances the model's semantic understanding of text and images, improves its applicability to complex and varied multimodal rumor detection scenarios, and ultimately improves model performance. Attached Figure Description
[0016] Figure 1 The flowchart illustrates a multimodal rumor detection method based on external hierarchical graphic evidence, as provided in this embodiment of the invention.
[0017] Figure 2 This is a schematic diagram illustrating the principle of a multimodal rumor detection method based on external hierarchical graphic evidence provided in an embodiment of the present invention.
[0018] Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0019] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, 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. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.
[0020] Therefore, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the invention without inventive effort are within the scope of protection of the invention.
[0021] This invention provides a multimodal rumor detection method based on external hierarchical graphic evidence, wherein: To address the sophisticated mismatch between text and image in rumors, this invention expands the information content of the verified content and improves the interpretability of the model by reverse searching the Internet and filtering relevant text and image evidence. To address the issue that single-level features, whether global or local, cannot comprehensively represent the semantic information of text and images, this invention constructs a hierarchical image-text representation to fully understand the semantic clues of multimodal image-text evidence and improve model accuracy.
[0022] like Figure 1 As shown in the figure, the multimodal rumor detection method based on external hierarchical graphic evidence provided by this invention includes the following steps: Step 1, Evidence Retrieval: Retrieve textual and image evidence sets from multimodal posts.
[0023] (1) Retrieve text evidence sets from image input of multimodal posts: Input images from multimodal posts As a search clue, a reverse search is performed on the Internet to obtain web page resources containing images similar to the input image; the reverse search tool can be some existing image search engines, such as Google Image Search.
[0024] Web page resources can be filtered based on image similarity. The filtering method can be to sort the web page resources by image similarity and select the top-ranked web page resources, or to select web page resources whose image similarity exceeds a preset similarity threshold.
[0025] From the selected web resources, web resources whose titles are not in Chinese or English are further removed. Specifically, by detecting whether the web titles are in Chinese or English, web resources whose titles are not in Chinese or English are removed; the detection tool can be an existing language recognition tool, such as FastText.
[0026] For the retained web pages, their main text is obtained through web crawling, and then noise reduction and redundant information filtering are performed on the obtained main text to form a textual evidence set. ,in Indicates the first One piece of textual evidence, This indicates the total number of textual evidences.
[0027] (2) Retrieve image evidence sets from the text input of multimodal posts: Text input in multimodal posts As input for retrieval, image resources that are highly semantically related to the input text are searched in reverse on the Internet, thereby forming an image evidence set. ,in Representing the Image evidence, This represents the total amount of image evidence. Reverse lookup tools can utilize existing editable search engines, such as Google's editable search engine.
[0028] The text and image evidence sets obtained above contain external factual information that is highly relevant to the content of multimodal posts. This supplementary evidence can provide effective support for the multimodal rumor detection model, thereby improving its ability to identify carefully constructed multimodal rumors.
[0029] Step 2, Hierarchical Feature Extraction: Extract image hierarchical features from the image input and image evidence set, and extract text hierarchical features from the text input and text evidence set.
[0030] (1) Extract image-level features from the image input and the image evidence set; the image-level features include the global features, local features and entity features of the image.
[0031] (1.1) Global features of the image: A pre-trained convolutional neural network is used to extract global image features from the image input and the image evidence set. Specifically, the pre-trained convolutional neural network is trained on the ImageNet dataset; it uses a ResNet network as its backbone to perform forward propagation on the input image and outputs corresponding global image features to characterize the overall visual content of the image and model its global semantic information.
[0032] In this embodiment of the invention, image input and image evidence set The extracted global features of the image are represented as follows: and ,in The dimension of a vector.
[0033] (1.2) Image region features: To model the local semantic information at different spatial locations in an image, a Transformer-based visual model is used to extract local image features from the image input and image evidence set. In this embodiment, a ViT (Vision Transformer) model pre-trained on a large-scale image dataset is used to divide the input image into several fixed-size image patches, mapping each patch to a corresponding embedding vector. Subsequently, the embedding vectors of the image patches are fed into a Transformer encoder for feature modeling, outputting a set of visual feature representations containing local contextual information. Finally, the visual feature representations corresponding to each image patch are used as local image features to characterize the fine-grained visual semantics of different regions of the image.
[0034] In this embodiment of the invention, image input and image evidence set The extracted local image features are represented as follows: and ,in This represents the number of image patches.
[0035] (1.3) Image entity features: To capture discriminative local entity regions in an image, a pre-trained Faster R-CNN model is used to extract image entity features from the image input and the image evidence set. In this embodiment of the invention, a Faster R-CNN model pre-trained on the Visual Genome dataset is used to detect salient targets in the input image and further extract the corresponding region features as entity-level representations. Specifically, the Faster R-CNN model is used to identify k target regions in the image and extract local feature vectors from each target region as image entity features.
[0036] In this embodiment of the invention, image input and image evidence set The extracted image entity features are represented as follows: and ,in Represents the number of entities in the image.
[0037] (2) Extract text-level features from the text input and text evidence set, wherein the text-level features include the text global features, text local features and text entity features.
[0038] To obtain semantic representations of text, this embodiment of the invention employs a BERT (Bidirectional Encoder Representations from Transformers) model pre-trained on a large-scale corpus to encode text content features. Specifically, the input text is first segmented into words, and [CLS] and [SEP] tags are added to the beginning and end of the segmented sentences, respectively, before being mapped to corresponding word embedding vectors. These word embedding vectors are then input into the pre-trained BERT model, which models the semantic context of the text through a multi-layer bidirectional Transformer structure, thereby obtaining hidden vectors containing rich contextual information.
[0039] (2.1) Global text features: The hidden vector corresponding to the [CLS] tag output by the BERT model is used as the global text feature. This global text feature is the overall semantic representation of the text and is used to characterize the global semantic information of the text.
[0040] In this embodiment of the invention, text input and textual evidence set The extracted global text features are represented as follows: and ,in The dimension of a vector.
[0041] (2.2) Local text features: Text fragments, due to their structural stability and semantic integrity, can effectively capture fine-grained semantic relationships. Therefore, by parsing text fragments from sentences, the average pooling vector of all words covered by the text fragment in the last hidden layer of the BERT model is used as the local text feature. In this embodiment of the invention, the constituent parsing tool Benepar is used to parse text fragments in sentences. Benepar can perform hierarchical parsing of sentences, generate a structured constituent parse tree, accurately identify and divide grammatical components such as noun phrases (NP), verb phrases (VP), and prepositional phrases (PP), thereby capturing the semantic combination relationships within the sentence.
[0042] In this embodiment of the invention, text input and textual evidence set The extracted local text features are represented as follows: and ,in This represents the number of text segments.
[0043] (2.3) Text word features: By identifying nouns, verbs, adjectives, adverbs, and other words from sentences and extracting semantic information, it is possible to accurately identify entities and actions related to queries, thereby significantly improving the ability to understand complex semantic relationships. Therefore, the lexical units of nouns, verbs, adjectives, and adverbs are identified from sentences, and the hidden vectors of these lexical units in the last layer of the BERT model are used as text entity features. In this embodiment of the invention, NLTK (Natural Language Toolkit) is used for word extraction. NLTK is based on a combination of statistical language models and rule engines, and uses a pre-trained part-of-speech tagger to perform lexicalization and part-of-speech tagging on the text, thereby identifying the grammatical categories in the sentence.
[0044] In this embodiment of the invention, text input and textual evidence set The extracted text entity features are represented as follows: and ,in Represents the number of words.
[0045] Step 3, Hierarchical Feature Enhancement and Fusion: Enhance the evidence of image hierarchical features and text hierarchical features and concatenate them into a fused feature.
[0046] To obtain the hierarchical semantic information contained in external textual and image evidence, this invention employs a cross-attention mechanism to construct semantic associations between different levels of features of the post to be detected and the retrieved evidence, thereby fully exploring the external factual knowledge information contained in the evidence. The cross-attention mechanism can efficiently organize and fuse information, using the different levels of semantic information from the retrieved external evidence as an additional supplement to enhance the semantic representation capability of the post to be detected. Given a sequence and The calculation process for cross-attention is as follows:
[0047]
[0048] First, the sequence is transformed through a linear mapping. and sequence By performing linear transformations, we map these sequences onto a unified feature space, resulting in a sequence. , , .in Represents the query sequence, derived from the sequence . and These represent the key sequence and value sequence, respectively, both derived from sequence Y. Then, the query sequence is calculated. and key sequence Similarity score between values, for value sequences We perform a weighted summation to obtain the input sequence. Semantic representation enhanced by sequence Y features.
[0049] Therefore, when using the cross-attention mechanism to enhance image evidence and text evidence: Image evidence enhancement is performed by leveraging the image hierarchy features of the image evidence set to enhance the image hierarchy features of the input image. Specifically, the image input is... global features of the image Local features of the image Image entity features and its corresponding image evidence set global features of the image Local features of the image Image entity features The input sequence for the cross-attention mechanism yields image-level features enhanced by image evidence at different levels. , , ; Text evidence enhancement is performed by leveraging the text-level features of the text evidence set to enhance the text-level features of the text input. Similarly, the text input... global text features Local features of text Text entity features and its corresponding textual evidence set global text features Local features of text Text entity features The input sequence for the cross-attention mechanism yields text-level feature representations of different feature levels enhanced by textual evidence. , , ; The calculation process for the above image evidence enhancement and text evidence enhancement is as follows:
[0050] In obtaining image-level features enhanced by image evidence , , and text-level features enhanced by textual evidence. , , Then, these enhanced hierarchical features of evidence are combined with the global text features of the text input. Global features of the input image The final fusion feature is obtained by splicing, and is represented as: .
[0051] Step 4, Rumor Classification: Input the fused features into the multimodal rumor detection model to complete the rumor detection of multimodal posts. In this embodiment of the invention, the multimodal rumor detection model is implemented based on a multilayer perceptron and the SoftMax function. First, the fused features are input into a multilayer perceptron, represented as:
[0052] Next, the classification is performed using the SoftMax function, and the calculation process is as follows:
[0053] in, This represents the probability that a multimodal post is a rumor. This is the weight matrix. This is the bias vector.
[0054] It should be noted that the multimodal rumor detection model is trained and then deployed. The training data used in the training phase consists of multimodal posts, and the multimodal posts to be identified in the deployment phase are fused together after the aforementioned evidence retrieval, hierarchical feature extraction, and hierarchical feature enhancement before being input into the multimodal rumor detection model. In this embodiment of the invention, the multimodal rumor detection model is trained using a cross-entropy loss function during the training phase. The cross-entropy loss function is expressed as:
[0055] in, Represents the number of samples. Represents the number of categories. Indicates sample In category The actual label on it, To distinguish samples for the model Category The probability. In the scenario of this embodiment of the invention, the category labels include real information and rumors, with a category number of 2.
[0056] Based on the same technical concept, embodiments of the present invention also provide an electronic device that can implement the multimodal rumor detection method based on external hierarchical graphic evidence provided in the above embodiments of the present invention. In one embodiment, the electronic device can be a server, a terminal device, or other electronic devices. Figure 3 As shown, the electronic device may include: At least one processor and a memory connected to the at least one processor. In this embodiment of the invention, the specific connection medium between the processor and the memory is not limited. Figure 3 The example used is the connection between the processor and memory via a bus. The bus... Figure 3 The connections between other components are indicated by thick lines and are for illustrative purposes only, not as limiting information. Buses can be divided into address buses, data buses, control buses, etc., but for ease of representation, [the specific bus type is not shown here]. Figure 3 The processor is represented by a single thick line, but this does not imply that there is only one bus or one type of bus. Alternatively, a processor can also be called a controller; there are no restrictions on the name.
[0057] In this embodiment of the invention, the memory stores instructions that can be executed by at least one processor. By executing the instructions stored in the memory, at least one processor can execute the multimodal rumor detection method based on external hierarchical graphic evidence discussed above.
[0058] The processor is the control center of the device. It can connect to various parts of the control device through various interfaces and lines. By running or executing instructions stored in memory and calling data stored in memory, it can monitor the device's various functions and process data, thereby enabling overall monitoring of the device.
[0059] In an alternative design, the processor may include one or more processing units. The processor may integrate an application processor and a modem processor, wherein the application processor primarily handles the operating system, user interface, and applications, while the modem processor primarily handles wireless communication. It is understood that the modem processor may also not be integrated into the processor. In some embodiments, the processor and memory may be implemented on the same chip; in some embodiments, they may also be implemented separately on separate chips.
[0060] The processor can be a general-purpose processor, such as a CPU, digital signal processor, application-specific integrated circuit, field-programmable gate array or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component, capable of implementing or executing the methods, steps, and logic block diagrams disclosed in the embodiments of this invention. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the multimodal rumor detection method based on external hierarchical graphic evidence disclosed in the embodiments of this invention can be directly manifested as execution by a hardware processor, or execution by a combination of hardware and software modules within the processor.
[0061] Memory, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. Memory can include at least one type of storage medium, such as flash memory, hard disk, multimedia card, card-type memory, random access memory (RAM), static random access memory (SRAM), programmable read-only memory (PROM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), magnetic memory, magnetic disk, optical disk, etc. Memory is any other medium capable of carrying or storing desired program code in the form of instructions or data structures, and accessible by a computer, but is not limited thereto. In embodiments of the present invention, memory can also be a circuit or any other device capable of implementing storage functions, used to store program instructions and / or data.
[0062] By designing and programming the processor, the code corresponding to the multimodal rumor detection method based on external hierarchical graphic evidence described in the foregoing embodiments can be embedded into the chip, enabling the chip to execute the steps of the method described in the foregoing embodiments during runtime. How to design and program the processor is a technique well-known to those skilled in the art and will not be elaborated upon here.
[0063] Based on the same inventive concept, embodiments of the present invention also provide a storage medium storing computer instructions that, when executed on a computer, cause the computer to perform a multimodal rumor detection method based on external hierarchical graphic evidence as described above.
[0064] In some alternative embodiments, the present invention also provides a multimodal rumor detection method based on external hierarchical graphic evidence, which can also be implemented as a program product including program code. When the program product is run on a device, the program code is used to cause the control device to perform the steps in the multimodal rumor detection method based on external hierarchical graphic evidence according to various exemplary embodiments of the present invention as described above.
[0065] It should be noted that although several units or sub-units of the apparatus have been mentioned in the detailed description above, this division is merely exemplary and not mandatory. In fact, according to embodiments of the invention, the features and functions of two or more units described above can be embodied in one unit. Conversely, the features and functions of one unit described above can be further divided and embodied by multiple units. Furthermore, although the operation of the method of the invention is described in a specific order in the drawings, this does not require or imply that these operations must be performed in that specific order, or that all the operations shown must be performed to achieve the desired result. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step, and / or one step may be broken down into multiple steps.
[0066] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0067] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a server, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0068] Program code for performing the operations of this invention can be written using any combination of one or more programming languages, including object-oriented programming languages such as Java and C++, as well as conventional procedural programming languages such as C or similar languages. The program code can be executed entirely on the user's computing device, partially on the user's device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0069] In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).
[0070] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0071] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0072] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A multimodal rumor detection method based on external hierarchical graphic evidence, characterized in that, include: Retrieve text evidence from image input of multimodal posts, and retrieve image evidence from text input of multimodal posts; Extract image-level features from image input and image evidence set; extract text-level features from text input and text evidence set. Evidence enhancement is performed on image-level features and text-level features, and then they are concatenated into fused features; The fused features are input into the multimodal rumor detection model to complete the rumor detection of multimodal posts.
2. The multimodal rumor detection method based on external hierarchical graphic evidence according to claim 1, characterized in that, The process of retrieving a set of textual evidence from image input of multimodal posts includes: Using image input from multimodal posts as search clues, a reverse search is performed on the Internet to obtain web resources containing images similar to the image input; Filter web page resources based on image similarity; From the screened web resources, remove web resources whose titles are not in Chinese or English. The text of the retained web page resources is obtained by web crawling, and the obtained text is then denoised and filtered for redundant information to form a text evidence set.
3. The multimodal rumor detection method based on external hierarchical graphic evidence according to claim 1, characterized in that, The process of retrieving the image evidence set from the text input of the multimodal post includes: Using text input from multimodal posts as retrieval input, image resources that are highly semantically related to the input text are searched in reverse on the Internet to form an image evidence set.
4. The multimodal rumor detection method based on external hierarchical graphic evidence according to claim 1, characterized in that, The extraction of image-level features from the image input and image evidence set includes: A pre-trained convolutional neural network is used to extract global image features from the image input and the image evidence set; A visual model based on the Transformer architecture is used to extract local image features from image input and image evidence set; A pre-trained Faster R-CNN model is used to extract image entity features from the image input and the image evidence set; The image hierarchical features include global image features, local image features, and image entity features.
5. The multimodal rumor detection method based on external hierarchical graphic evidence according to claim 1, characterized in that, The extraction of text-level features from text input and text evidence sets includes: The text input and text evidence set are segmented into words. [CLS] and [SEP] tags are added to the beginning and end of the segmented sentences respectively, and then mapped to the corresponding word embedding vectors. The word embedding vectors are input into the pre-trained BERT model to obtain the corresponding hidden vectors. The hidden vectors corresponding to the [CLS] tags output by the BERT model are used as global text features; The text fragments are parsed from the sentence, and the average pooling vector of all the words covered by the text fragments in the last hidden vector of the BERT model is used as the local features of the text. Identify nouns, verbs, adjectives, and adverbs from sentences, and use the hidden vectors of these nouns in the last layer of the BERT model as text entity features. The text hierarchical features include the text global features, text local features, and text entity features.
6. The multimodal rumor detection method based on external hierarchical graphic evidence according to claim 1, characterized in that, The process of enhancing evidence from image-level and text-level features and concatenating them into a fused feature includes: Image evidence enhancement is performed by utilizing the image hierarchy features of the image evidence set to enhance the image hierarchy features of the image input; Text evidence enhancement is performed by leveraging the text-level features of the text evidence set to enhance the text-level features of the text input. The enhanced image-level features and text-level features are combined with the global text features of the text input and the global image features of the image input to form a fused feature.
7. The multimodal rumor detection method based on external hierarchical graphic evidence according to claim 1, characterized in that, A cross-attention mechanism is used to enhance both image and text evidence.
8. The multimodal rumor detection method based on external hierarchical graphic evidence according to claim 1, characterized in that, The multimodal rumor detection model is trained using the cross-entropy loss function during the training phase.
9. An electronic device, characterized in that, include: At least one processor; and a memory communicatively connected to the at least one processor; The memory stores instructions executable by the at least one processor, which executes the instructions stored in the memory to perform the method as described in any one of claims 1-8.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium is used to store instructions that, when executed, cause the method as described in any one of claims 1-8 to be implemented.
