A multi-modal cross-social platform bot attack identification method
By extracting and analyzing multi-modal data in social media, performing subject word detection and emotion classification, and combining it with neural networks to identify suspected spoof attacks, the problem of insufficient accuracy of existing technology in processing multi-modal information has been solved, and a more complete solution has been achieved. Efficient spoof attack identification.
Patent Information
- Application Number
- CN202410336185.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-22
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-03-22
AI Technical Summary
Existing technologies have limited effectiveness in processing complex multi-modal information in social media and are difficult to adapt to the diverse content of different social platforms. Moreover, emotion classification technology often ignores the importance of multi-modal data, resulting in inaccurate identification of phishing attacks.
A multi-modal cross-social platform trolling attack identification method is adopted to extract text, picture and video data from cross-platform data, perform subject word detection and emotion classification, calculate emotional values and class average emotion values, and combine with neural networks for trustworthy Attack suspect identification.
It improves the accuracy and reliability of Trojan Attack identification and can effectively determine whether a video is suspected of Trojan Attack. It combines in-depth analysis of text, pictures and video content.
Smart Images

Figure CN118094021B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of social network analysis, and in particular relates to a multi-modal cross-social platform espionage attack identification method. Background Art
[0002] With the popularity of social media and the increasing complexity of the network environment, the diverse forms of user interaction have led to the serious problem of online trolling (the act of disguising users and spreading false information or harmful content), which has a negative impact on the network environment and society. Traditional trolling attack identification methods are mainly based on unimodal analysis of text, such as keyword filtering or rule-based methods, but these methods have limited effectiveness in processing complex multimodal information (such as images, videos and their association with text), and are difficult to adapt to the diverse content of different social platforms. Sentiment classification technology is crucial in the field of natural language processing and is used to identify and classify sentiment tendencies and emotional states in network information. Although pre-trained models have achieved remarkable results in sentiment classification and text understanding in recent years, these models often focus on a single modality and ignore the importance of multimodal data in social media. Summary of the invention
[0003] In order to solve the above technical problems, the present invention provides a multi-modal cross-social platform bot attack identification method, comprising:
[0004] S1: extracting multimodal data from cross-social platform data, wherein the multimodal data includes: text modal data, image modal data, and video modal data;
[0005] S2: Perform keyword detection on video modality data;
[0006] S3: Convert text modality data and image modality data into tensor form and perform sentiment classification;
[0007] S4: After sentiment classification, the sentiment value of each category is calculated;
[0008] S5: assign sentiment values to the subject words and classify the assigned subject words;
[0009] S6: For each topic class, calculate the class average sentiment value of all topic words;
[0010] S7: Identify suspected hostages based on the sentiment value of the subject word and the average sentiment value of the subject category to which it belongs, and obtain an identification result.
[0011] Beneficial effects of the present invention:
[0012] The present invention can effectively determine whether a video is suspected of a shilling attack. By utilizing cross-platform multimodal data, it not only relies on text analysis, but also combines in-depth analysis of image and video content, thereby improving the accuracy and reliability of shilling attack identification. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 This is a flow chart of a method for identifying a multi-modal cross-social platform attack according to the present invention;
[0014] Figure 2 It is a schematic diagram of the framework of a multi-modal cross-social platform attack identification method of the present invention. DETAILED DESCRIPTION
[0015] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only 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.
[0016] A multi-modal cross-social platform bot attack identification method, such as Figure 1 and Figure 2 As shown, including:
[0017] S1: extracting multimodal data from cross-social platform data, wherein the multimodal data includes: text modal data, image modal data, and video modal data;
[0018] S2: Perform keyword detection on video modality data;
[0019] S3: Convert text modality data and image modality data into tensor form and perform sentiment classification;
[0020] S4: After sentiment classification, the sentiment value of each category is calculated;
[0021] S5: assign sentiment values to the subject words and classify the assigned subject words;
[0022] S6: For each topic class, calculate the class average sentiment value of all topic words;
[0023] S7: Identify suspected hostages based on the sentiment value of the subject word and the average sentiment value of the subject category to which it belongs, and obtain an identification result.
[0024] In this embodiment, the subject words in each video modality data are not necessarily the same, and the number of subject words is not the same. Different videos may have the same subject words. The subject words in each video modality data are recorded as: in, represents the kth topic word in the i-th video.
[0025] In this embodiment, the text modality data and the image modality data are converted into tensor form and sentiment classification is performed, including:
[0026] The text modality data is converted into tensors through the BERT model; the image modality data is converted into tensors through the CLIP model;
[0027] After being converted into tensors, each comment data is classified into n emotion classes, which are recorded as: e1, e2, …, e n , where e n represents the nth emotion category;
[0028] The comment data includes text modality data and picture modality data;
[0029] Count the number of comments in each emotional category in each video modality data, denoted as in, Represents the number of comments of the nth emotion category in the i-th video.
[0030] Specifically, we can classify the sentiment of each comment into six categories: happy, angry, surprised, satisfied, disgusted, and excited, which are recorded as: e1, e2, ..., e6;
[0031] The tensorized information is classified through deep learning, and the text and image information of each comment is classified into N emotion categories. The classification can be based on the categorical emotion states (CES) method or the dimensional emotion space (DES) method.
[0032] In this embodiment, the sentiment value of each category is calculated, including:
[0033]
[0034] in, represents the sentiment value of the kth sentiment class of the ith video, represents the number of comments of the kth sentiment class of the i-th video, represents the number of comments of the jth sentiment class of the ith video, and n represents the total number of sentiment classes of the ith video.
[0035] In this embodiment, the assigned keywords are classified into the following categories:
[0036] Input all topic words into the pre-trained Word2Vec model for feature vector extraction to obtain the feature vector wv of each topic word i ;
[0037] For each keyword feature vector wv i , calculate its cosine similarity cs with other topic words ij ;
[0038] According to the cosine similarity cs ij Classify the keywords and calculate the cosine similarity cs ij >0.8 are classified into the same subject category; the number of subject terms in different subject categories is not the same, and a subject term can be in different subject categories, but the cosine similarity of any two subject terms in the same subject category is greater than 0.8.
[0039] In this embodiment, calculating the cosine similarity between subject words includes:
[0040]
[0041] Among them, cs ij represents the cosine similarity between topic word i and topic word j, wv i The feature vector representing the topic word i, wv j Represents the feature vector of topic word j.
[0042] In this embodiment, for each topic class, the class average sentiment value of all topic words is calculated, including:
[0043]
[0044] in, represents the average sentiment value of the kth sentiment class of the ith topic class, represents the sentiment value of the jth topic word in the kth sentiment class of the ith topic class, and m represents the total number of topic words in the ith topic class.
[0045] In this embodiment, identification of suspected shill attack is performed based on the sentiment value of the subject word and the average sentiment value of the subject category to which it belongs, including:
[0046] The sentiment value of the topic word and the average sentiment value of the topic category to which it belongs are simultaneously input into the neural network model. The sentiment value of the topic word and the average sentiment value of the topic category to which it belongs are concatenated into a long vector through the fully connected layer of the neural network. The concatenated long vector is passed through a softmax function to finally output two binary classification probability values representing "yes" and "no". If "yes", it means that this topic word is suspected of being a solicited attack, and "no" indicates that this topic word is not suspected of being a solicited attack.
[0047] An n-dimensional vector can obtain n probability values through the softmax function, and the sum of these n probability values is 1. In the present invention, n=2.
[0048] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A multi-modal cross-social platform attack identification method. It is characterized in that include: S1: extracting multimodal data from cross-social platform data, wherein the multimodal data includes: comment data and video modal data; the comment data includes text modal data and picture modal data; S2: Perform keyword detection on video modality data; S3: Convert the review data into tensor form and perform sentiment classification; S4: After sentiment classification, the sentiment value of each category is calculated; Calculate the sentiment value for each category, including: in, represents the sentiment value of the kth sentiment class of the ith video, represents the number of comments of the kth sentiment class of the i-th video, represents the number of comments of the jth sentiment class of the ith video, and n represents the total number of sentiment classes of the ith video; S5: assign sentiment values to the subject words and classify the assigned subject words; S6: For each topic class, calculate the class average sentiment value of all topic words; For each topic class, calculate the class average sentiment value of all topic words, including: in, represents the average sentiment value of the kth sentiment class of the ith topic class, represents the sentiment value of the jth topic word in the kth sentiment class of the ith topic class, and m represents the total number of topic words in the ith topic class; S7: Identify suspected hostage attack based on the sentiment value of the subject word and the average sentiment value of the subject category to which it belongs, and obtain an identification result; Identify suspected shill attacks based on the sentiment value of the subject word and the average sentiment value of the subject category to which it belongs, including: The sentiment value of the topic word and the average sentiment value of the topic category to which it belongs are simultaneously input into the neural network model. The sentiment value of the topic word and the average sentiment value of the topic category to which it belongs are concatenated into a long vector through the fully connected layer of the neural network. The concatenated long vector is passed through a softmax function to finally output two binary classification probability values representing "yes" and "no". If the value is "yes", it means that the topic word is suspected of being a solicited attack, and if the value is "no", it means that the topic word is not suspected of being a solicited attack.
2. According to the multi-modal cross-social platform bot attack identification method of claim 1, It is characterized in that The key words in each video modality data are recorded as: in, represents the kth topic word in the i-th video.
3. According to the multi-modal cross-social platform bot attack identification method of claim 1, It is characterized in that Convert text modality data and image modality data into tensor form and perform sentiment classification, including: The text modality data is converted into tensors through the BERT model; the image modality data is converted into tensors through the CLIP model; After being converted into tensors, each comment data is classified into n emotion classes, which are recorded as: e 1 ,e 2 ,…,e n , where e n represents the nth emotion category; The comment data includes text modality data and picture modality data; Count the number of comments in each emotional category in each video modality data, denoted as in, Represents the number of comments of the nth emotion category in the i-th video.
4. According to the multimodal cross-social platform shilling attack identification method of claim 1, It is characterized in that Classify the assigned keywords, including: Input all topic words into the pre-trained Word2Vec model for feature vector extraction to obtain the feature vector wv of each topic word i ; For each keyword feature vector wv i , calculate its cosine similarity cs with other topic words ij ; According to the cosine similarity cs ij Classify the keywords and calculate the cosine similarity cs ij The two subject words with a value >0.8 are classified into the same subject category.
5. According to the multi-modal cross-social platform bot attack identification method of claim 4, It is characterized in that Calculate the cosine similarity between topic words, including: Among them, cs ij represents the cosine similarity between topic word i and topic word j, wv i The feature vector representing the topic word i, wv j Represents the feature vector of topic word j.
