Multi-modal false information detection method and system fusing emotion and evidence
Through a multi-modal false information detection method that integrates emotion and evidence, and uses a cross-attention mechanism to fuse the characteristics of the information to be detected and the evidence information, it solves the problem of low false information detection accuracy in the existing technology and achieves higher false information Information detection accuracy.
Patent Information
- Application Number
- CN202410848148.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-09-27
AI Technical Summary
Existing technology has low accuracy when detecting false information whose content is close to real information, making it difficult to effectively distinguish between true and false information.
A multi-modal false information detection method that integrates emotion and evidence is used to extract text emotional features, text semantic features and image features by preprocessing the information to be detected, and generate multi-modal information based on the feature fusion of the cross-attention mechanism and evidence information. Features are finally input into the classifier for detection.
The accuracy of false information detection is improved. By starting from multiple perspectives of text content, emotion and knowledge, more comprehensive and rich multi-modal features are generated, which enhances the ability to judge the authenticity of the information to be detected.
Smart Images

Figure CN118709043A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of false information detection, and in particular to a multimodal false information detection method and system integrating emotion and evidence. Background Art
[0002] In recent years, relying on the development of information technology, the functions of Internet social media have become increasingly perfect. On the one hand, it has built a bridge for us to communicate with people from all over the world, greatly improving the convenience, timeliness, richness and effectiveness of information dissemination, promoting cultural exchanges and information sharing on a global scale, and greatly facilitating our daily lives. But on the other hand, the virtuality, anonymity, randomness and difficulty in supervision of social media are providing a breeding ground for the release and spread of false information. More and more people are being disturbed by false information, which has put forward new demands for cyberspace governance.
[0003] In order to eliminate the adverse effects of the rampant spread of false information, the use of machine learning models, deep learning models and other means to quickly identify false information on social media has become the main way to curb the spread of false information. However, with the continuous development of AIGC (Artificial Intelligence Generated Content), the content production model has undergone tremendous changes, and the boundary between true and false information has become increasingly blurred.
[0004] Therefore, how to detect increasingly fake information and improve the accuracy of identifying fake information has become an urgent problem that needs to be solved. Summary of the invention
[0005] The present invention provides a multimodal false information detection method and system integrating emotion and evidence, so as to solve the defect of low accuracy in the prior art for false information detection whose content form is close to real information, and realize a more accurate false information detection method.
[0006] The present invention provides a multimodal false information detection method integrating emotion and evidence, comprising: After preprocessing the information to be detected, feature extraction is performed to obtain text sentiment features, text semantic features and image features; Based on the cross attention mechanism, feature fusion guided by the information to be detected and the evidence information is realized to obtain multimodal features, wherein the evidence information is obtained according to the retrieval result of the information to be detected; The multimodal features are input into a classifier to obtain a detection result output by the classifier.
[0007] According to a multimodal false information detection method integrating emotion and evidence provided by the present invention, before the step of implementing the feature fusion of the information to be detected and the evidence information guided by the cross attention mechanism to obtain the multimodal features, the method further includes: Evidence information is obtained based on the information to be detected, and features are extracted from the evidence information to obtain semantic features of evidence text, evidence image features, and emotional features of evidence text.
[0008] According to a multimodal false information detection method integrating emotion and evidence provided by the present invention, the step of implementing feature fusion guided by the information to be detected and the evidence information based on the cross attention mechanism to obtain multimodal features includes: Based on the cross-attention mechanism, the text semantic features are guided by the feature fusion of the text semantic features and the evidence text semantic features to obtain the text semantic features of the fused evidence; Based on the cross-attention mechanism, the image features are guided by the feature fusion with the evidence image features to obtain the image features of the fused evidence; Based on a cross attention mechanism, the text semantic features of the fused evidence are guided by the feature fusion of the text semantic features and the image features of the fused evidence to obtain multimodal features of the fused evidence; Based on the cross attention mechanism, the text sentiment feature is guided to fuse the sentiment feature of the text with the sentiment feature of the evidence text to obtain the sentiment feature of the fused evidence; The multimodal features of the fused evidence are concatenated with the sentiment features of the fused evidence to obtain the multimodal features.
[0009] According to a multimodal false information detection method integrating emotion and evidence provided by the present invention, the step of extracting features after preprocessing the information to be detected to obtain text emotion features comprises: Acquire text information in the information to be detected, and preprocess the text information, including but not limited to removing non-text marks other than emoticons in the information to be detected, and converting the emoticons into text descriptions and then splicing them into the text information; The text sentiment feature is extracted from the concatenated text information based on a sentiment recognition model, wherein the sentiment recognition model is pre-trained based on a sentiment classification dataset in the social media field.
[0010] According to a multimodal false information detection method integrating emotion and evidence provided by the present invention, the step of extracting the text emotion feature from the spliced text information based on the emotion recognition model specifically includes: Inputting the spliced text information into the emotion recognition model; The text emotion feature is obtained by performing feature extraction on the spliced text information by removing the fully connected layer of the emotion recognition model.
[0011] According to a multimodal false information detection method that integrates emotion and evidence provided by the present invention, the emoticons include emoticons in an emoticon package provided by a platform to which the information to be detected belongs and emoticons provided by an input method.
[0012] The present invention also provides a multimodal false information detection system integrating emotion and evidence, comprising: An extraction module is used to extract features after preprocessing the information to be detected, and obtain text sentiment features, text semantic features and image features; A fusion module, used for realizing feature fusion guided by the information to be detected and the evidence information based on a cross attention mechanism to obtain multimodal features, wherein the evidence information is obtained according to the retrieval result of the information to be detected; The classification module is used to input the multimodal features into a classifier to obtain a detection result output by the classifier.
[0013] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a multimodal false information detection method integrating emotion and evidence as described in any one of the above-mentioned methods is implemented.
[0014] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a multimodal false information detection method that integrates emotion and evidence as described in any one of the above.
[0015] The present invention also provides a computer program product, including a computer program, which, when executed by a processor, implements the multimodal false information detection method that integrates emotion and evidence as described in any one of the above.
[0016] The multimodal false information detection method and system that integrates emotion and evidence provided by the present invention obtain relevant evidence information by searching various platforms based on the information to be detected, and integrate the characteristics of the information to be detected and the characteristics of the evidence information based on the attention mechanism. From the perspectives of text content, emotion and knowledge, the obtained multimodal features are made more comprehensive and rich, and are introduced into the judgment of the truthfulness of the information to be detected, thereby effectively improving the accuracy of the recognition of the information to be detected. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 This is one of the flow charts of the multimodal false information detection method integrating emotion and evidence provided by the present invention; Figure 2 This is the second flow chart of the multimodal false information detection method integrating emotion and evidence provided by the present invention; Figure 3 It is a schematic diagram of the process of extracting emotional features in the multimodal false information detection method integrating emotion and evidence provided by the present invention; Figure 4 This is one of the structural schematic diagrams of the multimodal false information detection system integrating emotion and evidence provided by the present invention; Figure 5 This is the second structural diagram of the multimodal false information detection system integrating emotion and evidence provided by the present invention; Figure 6 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0019] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0020] Combine the following Figures 1 to 3 The present invention introduces a multimodal false information detection method that integrates emotion and evidence. Figure 1 As shown, including: Step 101, performing feature extraction on the information to be detected after preprocessing, and obtaining text sentiment features, text semantic features and image features; The information to be tested includes various forms of information published on the entire platform.
[0021] The preprocessing of the information to be detected at least includes sorting out the text information and / or image information in the information to be detected.
[0022] Optionally, the information to be detected is content published on a social media platform, including text and images. Preprocessing the information to be detected may include extracting text information from the image, arranging it together with the published text into text information, and treating the image as image information.
[0023] Optionally, the information to be detected is video content published on a video or short video website. Preprocessing of the information to be detected may include extracting the introduction text of the video as text information, extracting the voice content of the video and arranging it into text information; extracting the key frame of the video as image information. Among them, the key frame may be a frame where the video screen changes significantly.
[0024] Feature extraction is performed based on the sorted text information and image information to obtain text semantic features and image features of the information to be detected.
[0025] In one possible implementation, using The model (Robustly Optimized BERTPretraining Approach, a pre-trained language model) extracts features from text information, converts the original text information into a high-dimensional vector representation, and obtains semantic features , where text represents the text information to be detected.
[0026] In a feasible implementation, after the image information is standardized, the VIT model (Vision Transformer, an image pre-training model) is used to extract its features, convert the image information into a high-dimensional vector representation, and use the output of the last layer of the model as the extracted image feature. , where visual represents the image information of the information to be detected.
[0027] Furthermore, the expression information in the information to be detected is sorted, and it is considered that the expression information in the information to be detected can represent the emotional tendency of the publisher together with the text information. In a feasible implementation, the expression information in the information to be detected is sorted into text form and merged into the text information, and the feature extraction of the merged text information is performed to obtain the text emotional feature of the information to be detected.
[0028] Step 102, based on the cross attention mechanism, feature fusion guided by the information to be detected and the evidence information is realized to obtain multimodal features, wherein the evidence information is obtained according to the retrieval result of the information to be detected; Evidence information is retrieved in advance on different platforms based on the information to be detected.
[0029] Optionally, the entire text information of the information to be detected can be used as a keyword for retrieval.
[0030] Optionally, key phrases in the text information of the information to be detected may be extracted, and retrieval may be performed based on the key phrases.
[0031] Optionally, the retrieval platform may be one or more of a social media platform, a search website, a professional website, or a knowledge base.
[0032] From the data retrieved according to the information to be detected, one or more pieces of data are selected as evidence information, and features of the evidence information are extracted to obtain features of the evidence information.
[0033] Based on the cross-attention mechanism, the text semantic features, image features and text sentiment features of the information to be detected are fused with the features of the evidence information to obtain multimodal features. As a result, the multimodal features contain both information representing the semantic, image and sentiment bias in the information to be detected and the corresponding information in the evidence features, so as to regard the evidence information as external knowledge and take into account multiple angles of semantics, sentiment and external knowledge to realize the judgment of the authenticity of the information to be detected.
[0034] Step 103: input the multimodal features into a classifier to obtain a detection result output by the classifier.
[0035] The obtained multimodal feature vector Input the pre-trained classifier and obtain the false information detection result output by the classifier.
[0036] In a feasible implementation, a two-layer fully connected network is used as a classifier, the multimodal features are input into the classification layer, and the softmax function (an activation function for multi-classification problems) is used to obtain the probability distribution of each category. The probability prediction function is as follows: ; In the formula, , is the weight, , Indicates that the predicted label is The probability of the class, the true class label is represented as a one-hot encoded vector Finally, the argmax function (a mathematical function) is used to select the index with the maximum probability as the final result of authenticity identification. : ; like It means that the information to be detected is true information. It means that the information to be detected is false information.
[0037] Among them, the classifier is pre-trained.
[0038] In a feasible implementation, the content posted by users on each platform is collected and processed in the above manner to obtain a sample. .in, Indicates the text information of the i-th published content, Represents the image information of the i-th published content.
[0039] It should be noted that the image information used to train the classifier needs to be uniformly resized and converted, and standardized to ensure that the data distribution between different channels is similar.
[0040] Manually verify the authenticity of each sample and create 0 and 1 labels to form labeled sample data, where 1 represents true information and 0 represents false information. Combine all samples to obtain a model dataset for training the classifier. , where n is the total number of samples.
[0041] The present invention obtains relevant evidence information by searching various platforms based on the information to be detected, and realizes the fusion of the characteristics guided by the information to be detected and the characteristics of the evidence information based on the attention mechanism. From the perspectives of text content, emotion and knowledge, the obtained multimodal features are made more comprehensive and rich, and introduced into the truthfulness judgment of the information to be detected, thereby effectively improving the accuracy of the recognition of the information to be detected.
[0042] In the multimodal false information detection method for integrating emotion and evidence of the present invention, before the step of implementing the feature fusion of the information to be detected and the evidence information guided by the cross attention mechanism to obtain the multimodal features, it also includes: Evidence information is obtained based on the information to be detected, and features are extracted from the evidence information to obtain semantic features of evidence text, evidence image features, and emotional features of evidence text.
[0043] The evidence information is determined based on the retrieval results of the information to be detected.
[0044] Optionally, when the information to be detected includes text information and image information, any one of the text information and image information may be used to retrieve the retrieval result.
[0045] Optionally, when the information to be detected is a video, the title or text introduction in the video may be used to search for search results on a video website or a search website.
[0046] Optionally, when the information to be detected is a video, the key frames in the video can be used as a base image for image search to retrieve the search results on a search website.
[0047] Optionally, when the information to be detected is relevant information in a certain professional field, a search may be performed on a professional website in the relevant field to obtain search results.
[0048] Optionally, the evidence information may include one or more search results.
[0049] In a feasible implementation, a number of pieces of information are searched on a search website based on the information to be detected. Since the information on the search website is usually arranged according to relevance, after excluding advertising information, the top-ranked search result is used as evidence information.
[0050] In another feasible implementation, a number of pieces of information are searched on a search website based on the information to be detected, and the search results of a preset number of items in the relevance ranking are pre-processed by deduplication and other means and then sorted to obtain evidence information.
[0051] In another feasible implementation, a number of pieces of information are obtained by searching the social media platform based on the information to be detected. Since the search results in the social media platform are usually arranged in reverse chronological order, one or more search results can be selected within a preset time period before and after the release time of the information to be detected, and the evidence information can be obtained after integration.
[0052] In another feasible implementation, a number of pieces of information are searched on the social media platform based on the information to be detected, and the comments under the search results are also organized as evidence information.
[0053] On this basis, after preprocessing the evidence information, the semantic features of the evidence text are extracted. , Evidence Image Features and sentiment characteristics of evidence text , which is used to realize the fusion of text semantic features, image features and text sentiment features with the information to be detected to obtain multimodal features.
[0054] The method of preprocessing and extracting features of the evidence information is the same as the method of extracting features of the information to be detected, so it will not be described in detail.
[0055] The present invention retrieves more abundant background knowledge or relevant knowledge of the information to be detected as evidence information from various websites that are updated in real time, and combines it with the emotional information of the information to be detected to detect false information, so as to obtain more accurate detection results.
[0056] In the multimodal false information detection method integrating emotion and evidence of the present invention, the step of implementing the feature fusion of the information to be detected and the evidence information guided by the cross attention mechanism to obtain the multimodal features includes: Based on the cross-attention mechanism, the text semantic features are guided by the feature fusion of the text semantic features and the evidence text semantic features to obtain the text semantic features of the fused evidence; like Figure 2 As shown, in a specific implementation, firstly based on the semantic features of the evidence text generate and vector: ; ; In the formula, is the weight to be learned.
[0057] Secondly, according to the text semantic features of the information to be detected generate vector: ; In the formula, is the weight to be learned.
[0058] Then use the features based on the evidence text And features based on the text to be detected Calculate the similarity and generate the attention weight of the text information to be detected to the evidence text information , get the evidential semantic features of the text attention containing the information to be detected : ; ; Then the semantic features of the information to be detected are compared with the updated semantic features of the evidence. Splice and fuse to obtain the text semantic features of the fused evidence : ; Based on the cross-attention mechanism, the image features are guided by the feature fusion with the evidence image features to obtain the image features of the fused evidence; Based on a cross attention mechanism, the text semantic features of the fused evidence are guided by the feature fusion of the text semantic features and the image features of the fused evidence to obtain multimodal features of the fused evidence; Based on the cross attention mechanism, the sentiment feature of the text is guided and fused with the sentiment feature of the evidence text to obtain the sentiment feature of the fused evidence; Image features for fusing evidence This is achieved by obtaining the attention weight of the image of the information to be detected to the image of the evidence information; integrating the multimodal features of the evidence This is achieved by obtaining the attention weight of the text of the information to be detected on the image; integrating the emotional features of the evidence This is achieved by obtaining the attention weight of the emotional information of the information to be detected to the emotional information of the evidence information. The overall fusion process is as follows: Figure 2 shown.
[0059] Its implementation method and the acquisition of text semantic features of fusion evidence The implementation is the same, so I will not repeat it again.
[0060] The sentiment features of the fusion evidence Multimodal features and fusion of evidence The final multimodal features are obtained by fusion of features through splicing. : ; The present invention extracts features of text semantics, image and text emotion of the information to be detected and the evidence information, and realizes the feature fusion guided by the information to be detected and the evidence information based on the cross-attention mechanism, so as to obtain more comprehensive and rich multimodal features from multiple perspectives of text, emotion and knowledge for judging the authenticity of the information to be detected.
[0061] Specifically, a multimodal feature fusion mechanism with a double-layer cross-attention mechanism is adopted to solve the problem of insufficient multimodal fusion in the field of false information detection. The semantic relationship between information of different modalities is taken into account, and the correlation between various regions between modalities is obtained through the attention mechanism. With text / image / text sentiment information as the core, only the evidence text / evidence image / evidence text sentiment features with the strongest correlation with text / image / text sentiment are retained, and the interactive information of various modalities is fully mined to capture the most useful information and improve the detection accuracy of the model.
[0062] In the multimodal false information detection method integrating emotion and evidence of the present invention, the step of extracting features after preprocessing the information to be detected to obtain text emotion features comprises: Obtain text information from the information to be detected, and preprocess the text information, including but not limited to removing non-text tags other than emoticons from the information to be detected, and converting the emoticons into text descriptions and then splicing them into the text information.
[0063] Optionally, the emoticon includes an emoticon displayed in a picture form, such as an emoji.
[0064] Optionally, the emoticons include emoticons represented by special symbols, such as using “:)” to represent a smiling expression.
[0065] In a specific implementation, the emoticons are converted into text descriptions for splicing, that is, the ":)" emoticon in the original text information is deleted, and "smile" is added to the position of the emoticon in the original text information to obtain the spliced text information.
[0066] Optionally, the preprocessing may also include removing noise, removing null values and performing word segmentation on the text information.
[0067] The text sentiment feature is extracted from the concatenated text information based on a sentiment recognition model, wherein the sentiment recognition model is pre-trained based on a sentiment classification dataset in the social media field.
[0068] The sentiment recognition model is pre-trained using a sentiment classification dataset from the social media field and is used to extract text sentiment features from the concatenated text information.
[0069] In a specific implementation, the emotion recognition model uses the BERT model to represent the text after receiving the text data, and uses the BiLSTM model to further extract its emotion features, and finally outputs the probability set of the received text data belonging to each emotion category through a classifier of a two-layer fully connected layer network. , and use the argmax function to select the emotion category with the highest probability as the final result of emotion recognition , the process can be expressed as: ; ; The gradient descent algorithm is further used for back propagation to minimize the cross entropy loss, update the parameters, and finally obtain the entire emotion recognition model.
[0070] In the multimodal false information detection method integrating emotion and evidence of the present invention, the step of extracting the text emotion feature from the spliced text information based on the emotion recognition model specifically includes: Inputting the spliced text information into the emotion recognition model; like Figure 3 As shown, the text emotion feature is obtained by performing feature extraction on the concatenated text information by removing the fully connected layer of the emotion recognition model.
[0071] Specifically, a pre-trained emotion recognition model is obtained through transfer learning technology, so that it is suitable for the characteristics of social media information; based on this, the fully connected layer of the emotion recognition model is removed, and only the current text representation and feature extraction layer are retained. , the above method is used to extract the sentiment features of the spliced text, and finally the sentiment features of the text are obtained .
[0072] In the multimodal false information detection method integrating emotion and evidence of the present invention, the emoticons include emoticons in an emoticon package provided by a platform to which the information to be detected belongs and emoticons provided by an input method.
[0073] Optionally, the emoticons include at least emoticons in an emoticon package provided by a platform to which the information to be detected belongs. According to the definition of each emoticon in the emoticon package provided by the platform, the emoticons in the information to be detected can be converted into text representation.
[0074] Optionally, the emoticons include at least emoticons provided by each input method, wherein the emoticons provided by the input method include universal emoticons such as emoji, emoticons provided by each input method application, and emoticon package images provided in each input method application.
[0075] The multimodal false information detection system integrating emotion and evidence provided by the present invention is described below. The multimodal false information detection system integrating emotion and evidence described below and the multimodal false information detection method integrating emotion and evidence described above can be referenced to each other.
[0076] like Figure 4 As shown, the multimodal false information detection system integrating emotion and evidence includes an extraction module 401, a fusion module 402 and a classification module 403: Extraction module 401, used for extracting features after preprocessing the information to be detected, and obtaining text sentiment features, text semantic features and image features; The information to be tested includes various forms of information published on the entire platform.
[0077] The preprocessing of the information to be detected at least includes sorting out the text information and / or image information in the information to be detected.
[0078] Optionally, the information to be detected is content published on a social media platform, including text and images. Preprocessing the information to be detected may include extracting text information from the image, arranging it together with the published text into text information, and treating the image as image information.
[0079] Optionally, the information to be detected is video content published on a video or short video website. Preprocessing of the information to be detected may include extracting the introduction text of the video as text information, extracting the voice content of the video and arranging it into text information; extracting the key frame of the video as image information. Among them, the key frame may be a frame where the video screen changes significantly.
[0080] Feature extraction is performed based on the sorted text information and image information to obtain text semantic features and image features of the information to be detected.
[0081] In one possible implementation, using The model (Robustly Optimized BERTPretraining Approach, a pre-trained language model) extracts features from text information, converts the original text information into a high-dimensional vector representation, and obtains semantic features , where text represents the text information to be detected.
[0082] In a feasible implementation, after the image information is standardized, the VIT model (Vision Transformer, an image pre-training model) is used to extract its features, convert the image information into a high-dimensional vector representation, and use the output of the last layer of the model as the extracted image feature. , where visual represents the image information of the information to be detected.
[0083] Furthermore, the expression information in the information to be detected is sorted, and it is considered that the expression information in the information to be detected can represent the emotional tendency of the publisher together with the text information. In a feasible implementation, the expression information in the information to be detected is sorted into text form and merged into the text information, and the feature extraction of the merged text information is performed to obtain the text emotional feature of the information to be detected.
[0084] A fusion module 402 is used to achieve feature fusion guided by the information to be detected and the evidence information based on a cross attention mechanism to obtain multimodal features, wherein the evidence information is obtained according to the retrieval result of the information to be detected; Evidence information is retrieved in advance on different platforms based on the information to be detected.
[0085] Optionally, the entire text information of the information to be detected can be used as a keyword for retrieval.
[0086] Optionally, key phrases in the text information of the information to be detected may be extracted, and retrieval may be performed based on the key phrases.
[0087] Optionally, the retrieval platform may be one or more of a social media platform, a search website, a professional website, or a knowledge base.
[0088] From the data retrieved according to the information to be detected, one or more pieces of data are selected as evidence information, and features of the evidence information are extracted to obtain features of the evidence information.
[0089] Based on the cross-attention mechanism, the text semantic features, image features and text sentiment features of the information to be detected are fused with the features of the evidence information to obtain multimodal features. As a result, the multimodal features contain both information representing the semantic, image and sentiment bias in the information to be detected and the corresponding information in the evidence features, so as to regard the evidence information as external knowledge and take into account multiple angles of semantics, sentiment and external knowledge to realize the judgment of the authenticity of the information to be detected.
[0090] The classification module 403 is used to input the multimodal features into a classifier to obtain a detection result output by the classifier.
[0091] The obtained multimodal feature vector Input the pre-trained classifier and obtain the false information detection result output by the classifier.
[0092] In a feasible implementation, a two-layer fully connected network is used as a classifier, the multimodal features are input into the classification layer, and the softmax function (an activation function for multi-classification problems) is used to obtain the probability distribution of each category. The probability prediction function is as follows: ; In the formula, , is the weight, , Indicates that the predicted label is The probability of the class, the true class label is represented as a one-hot encoded vector Finally, the argmax function (a mathematical function) is used to select the index with the maximum probability as the final result of authenticity identification. : ; like It means that the information to be detected is true information. It means that the information to be detected is false information.
[0093] Among them, the classifier is pre-trained.
[0094] In a feasible implementation, the content posted by users on each platform is collected and processed in the above manner to obtain a sample. .in, Indicates the text information of the i-th published content, Represents the image information of the i-th published content.
[0095] It should be noted that the image information used to train the classifier needs to be uniformly resized and converted, and standardized to ensure that the data distribution between different channels is similar.
[0096] Manually verify the authenticity of each sample and create 0 and 1 labels to form labeled sample data, where 1 represents true information and 0 represents false information. Combine all samples to obtain a model dataset for training the classifier. , where n is the total number of samples.
[0097] In a specific implementation, a false information detection model is constructed and trained to determine whether the information to be detected is true information or false information. Its structure is as follows: Figure 5 shown.
[0098] The present invention obtains relevant evidence information by searching various platforms based on the information to be detected, and realizes the fusion of the characteristics guided by the information to be detected and the characteristics of the evidence information based on the attention mechanism. From the perspectives of text content, emotion and knowledge, the obtained multimodal features are made more comprehensive and rich, and introduced into the truthfulness judgment of the information to be detected, thereby effectively improving the accuracy of the recognition of the information to be detected.
[0099] Figure 6 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 6 As shown, the electronic device may include: a processor 610, a communication interface 620, a memory 630 and a communication bus 640, wherein the processor 610, the communication interface 620 and the memory 630 communicate with each other through the communication bus 640. The processor 610 may call the logic instructions in the memory 630 to execute a multimodal false information detection method that integrates emotion and evidence, the method comprising: extracting features after preprocessing the information to be detected to obtain text emotion features, text semantic features and image features; based on the cross attention mechanism, realizing the feature fusion guided by the information to be detected and the evidence information to obtain multimodal features, wherein the evidence information is obtained according to the retrieval result of the information to be detected; inputting the multimodal features into a classifier to obtain the detection result output by the classifier.
[0100] In addition, the logic instructions in the above-mentioned memory 630 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0101] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the multimodal false information detection method that integrates emotion and evidence provided by the above-mentioned methods. The method includes: performing feature extraction on the information to be detected after preprocessing to obtain text emotion features, text semantic features and image features; based on a cross-attention mechanism, realizing the feature fusion guided by the information to be detected and the evidence information to obtain multimodal features, wherein the evidence information is obtained according to the retrieval results of the information to be detected; inputting the multimodal features into a classifier to obtain the detection results output by the classifier.
[0102] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the multimodal false information detection method that integrates emotion and evidence provided by the above-mentioned methods, the method comprising: performing feature extraction on the information to be detected after preprocessing to obtain text emotion features, text semantic features and image features; realizing feature fusion guided by the information to be detected and the evidence information based on a cross-attention mechanism to obtain multimodal features, wherein the evidence information is obtained based on the retrieval results of the information to be detected; and inputting the multimodal features into a classifier to obtain the detection results output by the classifier.
[0103] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0104] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0105] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A multimodal false information detection method integrating emotion and evidence, characterized in that: include: After preprocessing the information to be detected, feature extraction is performed to obtain text sentiment features, text semantic features and image features; Based on the cross attention mechanism, the feature fusion guided by the information to be detected and the evidence information is realized to obtain a multimodal feature, wherein the evidence information is obtained according to the retrieval result of the information to be detected; The multimodal features are input into a classifier to obtain a detection result output by the classifier.
2. The multimodal false information detection method integrating emotion and evidence according to claim 1 is characterized in that: Before the step of obtaining multimodal features by guiding the information to be detected to fuse its features with the evidence information based on the cross attention mechanism, the method further includes: Evidence information is obtained based on the information to be detected, and features are extracted from the evidence information to obtain semantic features of evidence text, evidence image features, and emotional features of evidence text.
3. The multimodal false information detection method integrating emotion and evidence according to claim 2 is characterized in that: The step of achieving feature fusion guided by the information to be detected and the evidence information based on the cross attention mechanism to obtain multimodal features includes: Based on the cross-attention mechanism, the text semantic features are guided by the feature fusion of the text semantic features and the evidence text semantic features to obtain the text semantic features of the fused evidence; Based on the cross-attention mechanism, the image features are guided by the feature fusion with the evidence image features to obtain the image features of the fused evidence; Based on a cross attention mechanism, the text semantic features of the fused evidence are guided by the feature fusion of the text semantic features and the image features of the fused evidence to obtain multimodal features of the fused evidence; Based on the cross attention mechanism, the sentiment feature of the text is guided and fused with the sentiment feature of the evidence text to obtain the sentiment feature of the fused evidence; The multimodal features of the fused evidence are concatenated with the sentiment features of the fused evidence to obtain the multimodal features.
4. The multimodal false information detection method integrating emotion and evidence according to any one of claims 1 to 3, characterized in that: The step of extracting features after preprocessing the information to be detected to obtain text sentiment features comprises: Acquire text information in the information to be detected, and pre-process the text information, including but not limited to removing non-text marks other than emoticons in the information to be detected, and converting the emoticons into text descriptions and then splicing them into the text information; The text sentiment feature is extracted from the concatenated text information based on a sentiment recognition model, wherein the sentiment recognition model is pre-trained based on a sentiment classification dataset in the social media field.
5. The multimodal false information detection method integrating emotion and evidence according to claim 4 is characterized in that: The step of extracting the text emotion feature from the spliced text information based on the emotion recognition model specifically includes: Inputting the spliced text information into the emotion recognition model; The text emotion feature is obtained by performing feature extraction on the spliced text information by removing the fully connected layer of the emotion recognition model.
6. The multimodal false information detection method integrating emotion and evidence according to claim 4 is characterized in that: The emoticons include emoticons in an emoticon package provided by a platform to which the information to be detected belongs and emoticons provided by an input method.
7. A multimodal false information detection system integrating emotion and evidence, characterized in that: include: An extraction module is used to extract features after preprocessing the information to be detected, and obtain text sentiment features, text semantic features and image features; A fusion module, used for realizing feature fusion guided by the information to be detected and the evidence information based on a cross attention mechanism to obtain multimodal features, wherein the evidence information is obtained according to the retrieval result of the information to be detected; The classification module is used to input the multimodal features into a classifier to obtain a detection result output by the classifier.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, it implements the multimodal false information detection method that integrates emotion and evidence as described in any one of claims 1 to 6.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, it implements the multimodal false information detection method that integrates emotion and evidence as described in any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, it implements the multimodal false information detection method that integrates emotion and evidence as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Multi-modal rumor detection method and system
CN115545039A
Emotion-fused common attention network multi-mode false news detection method
CN117391051A
False news detection method and system based on multi-source and multi-modal data fusion
CN117407581A
Fake news detection method and apparatus, device, and storage medium
WO2023159755A1
