Social robot detection algorithm based on deep SC-DAE network
Through a multi-angle detection method based on a deep SC-DAE network, combined with user historical preferences and social regularization, the problem of dynamic behavior pattern changes and insufficient feature robustness in social robot detection is solved, achieving more efficient detection performance and accuracy. sex.
Patent Information
- Application Number
- CN202410637544.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-22
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-05-22
AI Technical Summary
Existing social robot detection methods have poor performance when dealing with dynamically changing behavioral patterns, and lack of large-scale data set construction and feature robustness, resulting in unsatisfactory detection accuracy.
A multi-angle detection method based on the deep SC-DAE network is adopted, the loss function is improved through user historical preference calculation and social regularization, and feature engineering and K-means clustering are combined to improve the classification robustness and detection performance of the model.
It significantly improves the performance of social robot detection, enables more fine-grained analysis of small changes in user behavior, and improves the accuracy and practicality of detection. Especially on large-scale data sets, it outperforms existing methods.
Smart Images

Figure CN118656723A
Abstract
Description
Technical field:
[0001] The present invention relates to the field of social robot identification, and in particular to a social robot detection method based on a deep SC-DAE network. Background technology:
[0002] A social robot is an automated software designed to mimic the behavior of human users on social media. It controls specific accounts on online social networks and has the ability to perform basic activities, such as posting blogs, following friends, and a series of other social behaviors. Although there are some legitimate use cases, social robots are often used for unethical activities such as misleading users, spreading false information, and manipulating others. The development of malicious social robots has had a negative impact on online social networks and people in the real world. To date, many studies have focused on developing heuristic methods to detect social robots by analyzing the non-human activity patterns of robots and the mechanical nature of their behavior. However, the behavior patterns and characteristics of robots can change over time and show differences in different periods of time. It is difficult to capture and detect such adaptive and strategic changes using static models. Therefore, it is still a challenge to find as many features with steady-state robustness as possible to improve the performance of the model. At the same time, most existing studies focus on smaller datasets, so accurately and efficiently constructing large-scale datasets is also a huge challenge for researchers.
[0003] Social robot detectors have continuously proposed detection methods with different angles and different technologies in the confrontation. Researchers have proposed a series of detection schemes by observing the behavior of social robots in online network platforms. Gobriela et al. noticed the difference in the time and frequency of tweets posted by humans and social robots, and found that robots posted tweets more frequently and often posted tweets during human work and sleep time. The posting behavior of human users clearly conforms to the power law, while robot users do not obviously show this feature. Therefore, they trained a classifier based on the posting behavior characteristics to identify social robots in online networks and achieved an accuracy rate of 84.6%. However, the features targeted by the model are too single and have poor transferability. At the same time, Adewole et al. found that the features extracted based on account information also showed strong robustness. They used the unsupervised K-means algorithm to cluster the similarities between advertising robot accounts and obtained relatively satisfactory results in multiple classifiers, demonstrating the effectiveness of this feature. The author's method has expanded the research of unsupervised methods in this field, but the final accuracy rate is not ideal. With the deepening of research, more and more detectors have paid attention to the organization and purposefulness of robots to detect social robots from aspects such as social networks and blog posts. Alhosseini et al. proposed a graph convolutional neural network model GCNN for spam robot detection. The GCNN model can utilize the features of nodes and aggregated neighbor nodes to achieve better detection capabilities while considering the social graph. It achieved an accuracy of 89% and an f1 score of 84% in detecting spam robots. Although social relationships were used, its classification performance was poor. Zhao et al. proposed a semi-supervised graph embedding model based on graph attention network for spam robot detection in social networks. This method constructs a detection model by aggregating neighbor and feature relationships, and learns a complex method to integrate different neighbor relationships between nodes to operate directed social graphs. The accuracy of this model is better than the GCNN model, reaching 91%. This method does make better use of social relationships, but its scalability performance is poor. Summary of the invention:
[0004] In order to overcome the shortcomings and disadvantages of existing methods and expand the research of unsupervised methods in this field, the present invention proposes a social robot detection method based on a deep DAE network. In particular, aimed at the current problems of poor performance and insufficient robustness in this field, the invention adopts multi-angle means to achieve information enhancement in the process of feature processing to solve the problem of poor recognition performance of social robots. Furthermore, the classification robustness of the DAE network is further improved through user historical preferences.
[0005] The social robot detection algorithm based on DAE network is characterized by comprising the following steps:
[0006] Step 1: Obtain the dataset of the Weibo platform and preprocess the dataset;
[0007] Step 2: Use the designed user historical behavior trend calculation method to calculate user preferences based on multi-angle user characteristics;
[0008] Step 3: Use social regularization to improve the loss function of the deep DAE network and train the network to convergence;
[0009] Step 1 specifically includes the following steps:
[0010] Step 1.1: The data used in this study comes from users under a specific topic on the Weibo platform. Use the Scrapy crawler framework to crawl user data and obtain information about users' common friends;
[0011] Step 1.2: Perform necessary preprocessing on the obtained data set, remove users that no longer exist, remove special symbols contained in the article content, and use filling and deletion methods to deal with missing information;
[0012] Step 2 specifically includes the following steps:
[0013] Step 2.1: Perform feature engineering on multi-angle features, use the Chinese model "bert-base-chinese" to represent the features of Weibo posts, and use the cosine similarity algorithm to measure the similarity between Weibo post contents;
[0014] The time interval between each microblog posted by a user is defined as follows θ = [α1, α2, …, α k-1 ], k represents the number of microblogs posted by the user, and the variance of the time interval between posts is expressed as:
[0015]
[0016] At the same time, the information entropy formula (4-5) is used to quantify the regularity of the user release time interval sequence, θ1 = [α1, α2, …, α m ], 1≤m≤k-1where t(α i ) is α i In the sequence t(α i ), n(α i ) represents α i The number of times it appears in the sequence θ is as follows:
[0017]
[0018] For user metadata, one-hot encoding is used. Finally, the obtained feature vectors are clustered using the K-means clustering algorithm.
[0019] Step 2.2: We use the preference algorithm to calculate the user's preference value for robot behavior and normal users. If user A signs in tag X, then p Ax is a non-zero real number, and the sign-in calculation module is designed to calculate σ Ax ,user Preference attributes The check-in frequency is user Preference attributes The preference calculation formula is:
[0020]
[0021] Step 3 specifically includes the following steps:
[0022] Step 3.1: x is the original data, for the states of the hidden and visible layers (β, ε), the bias values k and b for the network layers, and the weight matrix w between the network layers. At the same time, we can calculate the joint probability distribution of (β, ε), where τ = {W, k, b}:
[0023]
[0024] The process of training RBM is essentially to find a set of τ that makes the output of the visible layer as similar as possible to the distribution of the training samples. In the subsequent hidden layer, we introduced the rectified linear unit (ReLU) nonlinear activation function. Calculation in the hidden layer:
[0025] h (i) =ReLU(W (i) ·h (i-1) +b (i) )
[0026] z=ReLU(W (k) ·h (k+1) +b (k) )
[0027] Step 3.2: Use the back propagation (BP) algorithm to fine-tune the parameters of the pre-trained SC-DAE to minimize the overall mean square error between the input layer and the output layer of the SC-DAE. For m training samples, S is the matrix social relationship, where δ is the coefficient of the social regularization term, and the loss function is calculated as:
[0028] h′ (i) =ReLU(W′ (i) )·h′ (i+1) +b′ (i) )
[0029] x′=ReLU(W′ (1) ·h (2) +b(1) )
[0030]
[0031] For online prediction, SC-DAE only needs to perform a simple forward calculation to obtain the user's probability ranking for each category.
[0032] Beneficial results of the present invention: The present invention comprehensively considers the problem that the behavior patterns of social robots will change dynamically in different periods, and proposes an unsupervised method SC-DAE for social robot detection based on a deep DAE network from multiple angles. Taking into account the attributes of user profiles, the attributes of microblog content, the active patterns of posting time behavior, and the social attributes of users, the unsupervised SC-DAE model proposed in this paper is used to detect social robots by studying the differences in different feature performances between normal users and robot users. The actual performance and practicality of the developed framework are demonstrated on a real-time crowdsourcing dataset collected from real-world social media platforms. The results show that by grouping user features into activity patterns, the model can analyze subtle changes in user behavior in a more fine-grained manner, significantly improving robot detection performance. Description of the drawings:
[0033] Figure 1 This is the specific flow chart of this model.
[0034] Figure 2 It is a structural diagram of the feature processing framework.
[0035] Figure 3 It is the deep DAE network training graph. Specific implementation method:
[0036] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings 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.
[0037] Figure 1 It is a specific flow chart of the implementation of the present invention, Figure 2 It is a feature processing framework diagram. Figure 3 is a deep DAE network training graph, such as Figure 1 Figure 2 Figure 3 As shown, the method includes:
[0038] Step 1: Obtain the dataset of the Weibo platform and preprocess the dataset;
[0039] Step 2: Use the designed user historical behavior trend calculation method to calculate user preferences based on multi-angle user characteristics;
[0040] Step 3: Use social regularization to improve the loss function of the deep DAE network and train the network to convergence;
[0041] Step 1 specifically includes the following steps:
[0042] Step 1.1: The data used in this study comes from users under a specific topic on the Weibo platform. Use the Scrapy crawler framework to crawl user data and obtain information about users' common friends;
[0043] Step 1.2: Perform necessary preprocessing on the obtained data set, remove users that no longer exist, remove special symbols contained in the article content, and use filling and deletion methods to deal with missing information;
[0044] Step 2 specifically includes the following steps:
[0045] Step 2.1: Perform feature engineering on multi-angle features and use the Chinese model "bert-base-chinese" to represent the features of Weibo posts. The cosine similarity algorithm measures the similarity between the contents of Weibo posts.
[0046] The time interval between each microblog posted by a user is defined as follows θ = [α1, α2, …, α k-1 ], k represents the number of microblogs posted by the user, and the variance of the time interval between posts is expressed as:
[0047]
[0048] At the same time, the information entropy formula (4-5) is used to quantify the regularity of the user release time interval sequence, θ1 = [α1, α2, …, α m ], 1≤m≤k-1where t(α i ) is α i In the sequence t(α i ), n(α i ) represents α i The number of times it appears in the sequence θ is as follows:
[0049]
[0050] For user metadata, one-hot encoding is used. Finally, the obtained feature vectors are clustered using the K-means clustering algorithm.
[0051] Step 2.2: We use the preference algorithm to calculate the user's preference value for robot behavior and normal users. If user A signs in tag X, then p Axis a non-zero real number, and the sign-in calculation module is designed to calculate σ Ax ,user Preference attributes The check-in frequency is user Preference attributes The preference calculation formula is:
[0052]
[0053] Step 3 specifically includes the following steps:
[0054] Step 3.1: x is the original data, for the states of the hidden and visible layers (β, ε), the bias values k and b for the network layers, and the weight matrix w between the network layers. At the same time, we can calculate the joint probability distribution of (β, ε), where τ = {W, k, b}:
[0055]
[0056] The process of training RBM is essentially to find a set of τ that makes the output of the visible layer as similar as possible to the distribution of the training samples. In the subsequent hidden layer, we introduced the rectified linear unit (ReLU) nonlinear activation function. Calculation in the hidden layer:
[0057] h (i) =ReLU(W (i) ·h (i-1) +b (i) )
[0058] z=ReLU(W (k) ·h (k+1) +b (k) )
[0059] Step 3.2: Use the back propagation (BP) algorithm to fine-tune the parameters of the pre-trained SC-DAE to minimize the overall mean square error between the input layer and the output layer of the SC-DAE. For m training samples, S is the matrix social relationship, where δ is the coefficient of the social regularization term, and the loss function is calculated as:
[0060] h′ (i) =ReLU(W′ (i) ·h′ (i+1) +b′ (i) )
[0061] x′=ReLU(W′(1)h (2) )+b (1) )
[0062]
[0063] For online prediction, SC-DAE only needs to perform a simple forward calculation to obtain the user's probability ranking for each category.
[0064] Table 1 is a comparison of the performance of the method of the present invention and other advanced methods. The results fully demonstrate the superiority of the method of the present invention in the task of social robot recognition based on the Weibo platform.
[0065] Table 1 Performance comparison between the method of the present invention and recent advanced methods
[0066]
[0067] It should be understood that parts not elaborated in detail in this specification belong to the prior art.
[0068] The above description in combination with the accompanying drawings is only a specific implementation method and process of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art should understand that this is only an example, and various changes and substitutions can be made to this implementation method without departing from the essence of the present invention. The scope of the present invention is limited only by the attached claims.
[0069] The embodiments of the present invention described with reference to the accompanying drawings are exemplary and are only used to explain the present invention. They should not be understood as limiting the present invention. The specific scope of the embodiments of the present invention is not limited thereto. On the contrary, all embodiments of the present invention include all changes and modifications that fall within the spirit and connotation of the appended claims.
Claims
1. A social robot recognition algorithm based on a deep SC-DAE network, characterized by: The steps include: Step 1: Obtain the dataset of the Weibo platform and preprocess the dataset; Step 2: Use the designed user historical behavior trend calculation method to calculate user preferences based on multi-angle user characteristics; Step 3: Use social regularization to improve the loss function of the deep DAE network and train the network to convergence; Step 1 specifically includes the following steps: Step 1.1: The data used in this study comes from users under a specific topic on the Weibo platform. Use the Scrapy crawler framework to crawl user data and obtain information about users' common friends; Step 1.2: Perform necessary preprocessing on the obtained data set, remove users that no longer exist, remove special symbols contained in the article content, and use filling and deletion methods to deal with missing information; Step 2 specifically includes the following steps: Step 2.1: Perform feature engineering on multi-angle features, use the Chinese model "bert-base-chinese" to represent the features of Weibo posts, and use the cosine similarity algorithm to measure the similarity between Weibo post contents; The time interval between each microblog posted by a user is defined as follows θ = [α1, α2, …, α k-1 ], k represents the number of microblogs posted by the user, and the variance of the time interval between posts is expressed as: At the same time, the information entropy formula (4-5) is used to quantify the regularity of the user release time interval sequence, θ1 = [α1, α2, …, α m ], 1≤m≤k-1where t(α i ) is α i In the sequence t(α i ), n(α i ) represents α i The number of times it appears in the sequence θ is as follows: For user metadata, one-hot encoding is used. Finally, the obtained feature vectors are clustered using the K-means clustering algorithm; Step 2.2: We use the preference algorithm to calculate the user's preference value for robot behavior and normal users. If user A signs in tag X, then p Ax is a non-zero real number, and the sign-in calculation module is designed to calculate σ Ax ,user Preference attributes The check-in frequency is user Preference attributes The preference calculation formula is: Step 3 specifically includes the following steps: Step 3.1: x is the original data, for the states of the hidden and visible layers (β, ε), the bias values k and b for the network layers, and the weight matrix w between the network layers. At the same time, we can calculate the joint probability distribution of (β, ε), where τ = {W, k, b}: The process of training RBM is essentially to find a set of τ that makes the output of the visible layer as similar as possible to the distribution of the training samples. In the subsequent hidden layer, we introduced the rectified linear unit (ReLU) nonlinear activation function. Calculation in the hidden layer: h (i) =ReLU(W (i) h (i-1) +b (i) ) z=ReLU(W (k) ·h (k+1) +b (k) ) Step 3.2: Use the back propagation (BP) algorithm to fine-tune the parameters of the pre-trained SC-DAE to minimize the overall mean square error between the input layer and the output layer of the SC-DAE. For m training samples, S is the matrix social relationship, where δ is the coefficient of the social regularization term, and the loss function is calculated as: h' (i) =ReLU(W′ (i) h ′(i+1) +b′ (i) ) x′=ReLU(W′ (1) ·h (2) +b (1) ) For online prediction, SC-DAE only needs to perform a simple forward calculation to obtain the user's probability ranking for each category.
Citation Information
Patent Citations
Multi-dimensional semantic representation-based aggressive comment detection method
CN114861082A
Social robot detection algorithm based on user semantics, attributes and neighborhood information
CN115309813A
User call data mining method and system based on page visualization
CN118012928A
Computer system and graphical user interface for determining diamond and ring attributes using a predictive computer model
WO2020076944A1
Highway traffic flow state recognition method based on deep neural network
WO2020220439A1
