Bot user discovery method and system based on behavioral differences

By extracting high-dimensional vector representations of zombie users using the BERT model and Isolation Forest algorithm, and combining this with graph neural networks to propagate user node information, the problem of low accuracy in zombie user detection methods is solved, achieving more efficient zombie user identification.

CN117313735BActive Publication Date: 2026-11-20PEKING UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210722196.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-17
Publication Date
2026-11-20
Estimated Expiration
2042-06-17

AI Technical Summary

Technical Problem

Existing methods for detecting zombie users fail to effectively utilize the skewness, correlation, and temporal information of zombie user behavior, resulting in low detection accuracy.

Method used

The BERT model is used for high-dimensional vectorization and fine-tuning. The Isolation Forest algorithm is combined to extract the degree of comment skewness. Graph neural network is used to propagate user node information, and zombie users are predicted through semi-supervised learning.

Benefits of technology

It improves the accuracy of zombie user detection, makes full use of the correlation and time sequence information of user behavior, and reduces the burden of manual labeling.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117313735B_ABST
    Figure CN117313735B_ABST
Patent Text Reader

Abstract

The application relates to a zombie user discovery method and system based on behavior difference. The method comprises the following steps: representing comments published by users in a high-dimensional vector form; performing discrete feature extraction on the high-dimensional vector representation to obtain a comment skew degree vector of each user; sorting the high-dimensional vector representation of the comments according to the publishing time, and performing convolution operation on the high-dimensional vector representation of each comment to obtain the high-dimensional vector representation of the comments with time sequence logic and time sequence correlation; performing dot multiplication operation on the high-dimensional vector representation of the comments with time sequence logic and time sequence correlation and the comment skew degree vector to obtain a content vector of a user node; propagating the content vector of the user node by using a graph neural network algorithm to obtain a final vector representation of the user, and then predicting whether each user node is a zombie node in a semi-supervised learning manner. The application fully utilizes the correlation information between zombie users, and can improve the accuracy of zombie user discovery.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of information technology, and in particular relates to a method and system for detecting zombie users based on behavioral differences. Background Technology

[0002] Zombie users pose a significant threat to the user experience and cybersecurity of social networks, and timely detection of them is crucial for purifying the online environment. This technology aims to identify zombie users within massive social networks. It can be applied to e-commerce platforms to reduce inappropriate reviews and malicious rating manipulation, thereby improving the consumer experience; it can also be used on social media platforms to prevent the rampant spread of misinformation and malicious comments caused by paid commenters; and it has numerous other applications.

[0003] While this problem has been studied to some extent, existing methods still face challenges when applied to current social networks. Most existing methods fail to adequately utilize the skewed behavior of zombie users. Since the operators of zombie users are not individuals with specific emotions and preferences, their behavior varies significantly across different time periods. Specifically, while user behavior may be concentrated and uniform at a particular time, it tends to be more dispersed over longer periods. Appropriately quantifying these behavioral characteristics of zombie users can positively impact the accuracy of zombie user detection.

[0004] Secondly, existing methods fail to make reasonable use of the correlation information between zombie users. In social networks, users can form relationships through various user behaviors (adding friends, commenting, liking, following, etc.). These relationships can be characterized by graphs. By building isomorphic graphs of relationships between users through graph modeling, relevant information between users can be transmitted, improving the accuracy of zombie user detection.

[0005] Furthermore, current methods do not adequately consider temporal information. Temporal information is a crucial indicator for detecting inactive users. Indiscriminately aggregating or averaging the vectorized representations of user comments from different time periods ignores temporal information, impacting the accuracy of inactive user detection.

[0006] BERT (Bidirectional Encoder Representation for Transformers) is a pre-trained method for high-dimensional vector representation of natural language. BERT consists of two phases: pre-training and fine-tuning (Jacob Devlin, Ming-Wei Chang, Kenton Lee, Kristina Toutanova. 2018. BERT: Pre-training of DeepBidirectional Transformers for Language Understanding. arXiv:1810.04805). In the pre-training phase, the model is trained on unlabeled data by jointly adjusting the left and right contexts of all layers. In the fine-tuning phase, the model is first initialized with pre-trained parameters, and then all parameters are fine-tuned using labeled data from downstream tasks.

[0007] The Isolation Forest algorithm is an anomaly detection algorithm, also known as an outlier detection algorithm. This algorithm uses a binary tree as its basic structure, placing high-dimensional vectorized individuals into the binary tree and partitioning them layer by layer until each leaf node contains only one individual. Individuals with deeper leaf nodes tend to have larger outlier values. This algorithm can be used to obtain an outlier score for each comment, which is an important indicator of its skewness.

[0008] Graph neural networks utilize the topological structure of a graph to propagate the content characteristics of nodes in order to learn high-dimensional representations of nodes. Summary of the Invention

[0009] This invention proposes a method for detecting zombie users based on behavioral differences, in order to improve the accuracy of zombie user detection.

[0010] This invention utilizes BERT to perform high-dimensional vectorization of each user's post. Specifically, it first pre-trains a coarse-grained vectorization representation of the post, then fine-tunes the pre-trained vectors using sentiment-laden comment titles to obtain a fine-grained vectorization representation of the user's post, which is then propagated downstream in a graph neural network algorithm. This invention uses accounts in a social network as nodes and user actions (adding friends, commenting, liking, following, etc.) as edges. After vectorizing the posts published by each node, it performs adjacency propagation on the graph to learn the high-dimensional representation of the nodes.

[0011] The technical solution adopted in this invention is as follows:

[0012] A method for detecting zombie users based on behavioral differences, comprising the following steps:

[0013] Represent user-posted comments using high-dimensional vectorization;

[0014] Discretize the high-dimensional vector representation of all user comments to extract features and obtain the comment skewness vector for each user;

[0015] The high-dimensional vector representations of comments are sorted by publication time. The convolution operator is used to perform convolution operation on the high-dimensional vector representation of each comment to obtain a high-dimensional vector representation of the comments with temporal logic and temporal correlation.

[0016] The high-dimensional vector representation of the comment with temporal logic and temporal correlation is multiplied by the aforementioned comment skewness vector to obtain the content vector of the user node.

[0017] By using a graph neural network algorithm to propagate the content vector of user nodes, the final representation vector of each user is obtained, which will serve as the final basis for semi-supervised learning to determine zombie users.

[0018] Based on the user's final representation vector, a semi-supervised learning method is used to predict whether each user node is a zombie node.

[0019] Furthermore, the step of representing user-posted comments in high-dimensional vector form involves modeling each comment posted by each user using BERT to obtain a high-dimensional vector representation of the comment. The specific implementation is as follows: First, a coarse-grained evaluation vector representation is pre-trained. Then, the pre-trained vector is fine-tuned using comment titles with emotional connotations to obtain a fine-grained vector representation of the user's evaluation. Since comments or posts may also include titles or other significant information indicating emotion, further fine-tuning can be achieved using these. This method performs the above processing on each comment posted by each user, and let X be the high-dimensional vector of the t-th comment posted by the i-th user. i,t .

[0020] Furthermore, the high-dimensional vector representation of all user comments is discretized and its features are extracted by running the Isolation Forest algorithm. Specifically, for each user's comment, running the Isolation Forest algorithm once calculates its skewness coefficient, and running the Isolation Forest algorithm multiple times calculates the average skewness coefficient. This method is used for all comments posted by each user to obtain the user's comment skewness vector.

[0021] Furthermore, the high-dimensional vector representations of the comments are sorted according to the publication time, and a convolution operator is used to perform convolution operations on the high-dimensional vector of each comment. This can fully take into account the mutual influence between comments with similar publication times, thereby further improving the evaluation efficiency. Max pooling is used to process the output of each filter to obtain a high-dimensional vector representation of user comments with temporal logic and temporal correlation.

[0022] Furthermore, different comments have different degrees of importance in characterizing user information. At the same time, the comment skewness calculated in step 2) is an important indicator of the importance of comments. Therefore, this invention multiplies the comment skewness vector obtained in step 2) by the high-dimensional feature representation of the comments to obtain the content vector of the user node.

[0023] Furthermore, using a graph neural network, users in the social network are treated as nodes, and various user behaviors (adding friends, commenting, liking, following, etc.) are treated as edges. The content vector of the user node obtained in the adjacency propagation step 4) on the graph is used to obtain the final vector representation of the user node. Finally, a semi-supervised learning method is used to make a final prediction on whether each user node is a zombie node.

[0024] A zombie user detection system based on behavioral differences, employing the above method, includes:

[0025] The high-dimensional vectorization representation module is used to represent user-posted comments in high-dimensional vectorization.

[0026] The comment skewness acquisition module is used to discretize the high-dimensional vector representation of comments and extract features to obtain the comment skewness vector for each user.

[0027] The temporal information representation module is used to sort the high-dimensional vector representation of comments according to the publication time, and perform convolution operation on the high-dimensional vector representation of each comment to obtain a high-dimensional vector representation of the comments with temporal logic and temporal correlation.

[0028] The final vector representation module is used to perform a dot product operation between the high-dimensional vector representation of the comment with temporal logic and temporal correlation and the comment skewness vector to obtain the content vector of the user node; the content vector of the user node is propagated using a graph neural network algorithm to obtain the final vector representation of the user.

[0029] The zombie node prediction module is used to predict whether each user node is a zombie node based on the user's final vector representation using a semi-supervised learning approach.

[0030] Compared with existing methods, the improvements and beneficial effects of the present invention are as follows:

[0031] 1) Fully leverage the connections between inactive users. In social networks, users can form relationships through various user behaviors (adding friends, commenting, liking, following, etc.). By constructing isomorphic graphs of these relationships and using graph neural network algorithms, vectorized representations of users can be transmitted, improving the accuracy of inactive user detection.

[0032] 2) Incorporating temporal information into the criteria for judging zombie users. This invention first sorts user-posted comments by posting time and performs convolution operations on the high-dimensional vector of each comment. This method fully utilizes the similarity of comments posted by the same user within a similar time period. Since comments posted within a similar time period can mutually assist in characterizing each other's feature representations.

[0033] 3) Utilizing the bias in zombie user behavior. The operators of zombie users are not individuals with specific emotions and preferences. Therefore, the user behavior of zombie users will vary greatly at different times. Specifically, at a certain time, user behavior may be dense and uniform, but over a long period of time, the behavior of zombie users will be more dispersed. Attached Figure Description

[0034] Figure 1 This is a flowchart of the steps of the method of the present invention. Wherein, u1, u2, ... u n This represents n users. Detailed Implementation

[0035] To make the objectives and technical solutions of this invention clearer, the embodiments of this invention will be described in detail below.

[0036] This invention proposes a method for detecting zombie users based on graph neural networks and the Isolation Forest algorithm. The method takes as input a list of users, relationships between users (adding friends, commenting, liking, following, etc.), and user-posted comment information. This method outputs a list of zombie users, achieving higher speed and efficiency while reducing the burden of manual tagging.

[0037] The graph neural network model can be abstracted as G =<V,A,F> Let V, A, and F be the node set, adjacency matrix, and node feature matrix, respectively. V = {1, 2, ..., n} represents the node set. A = {0, 1} |V|×|V| If A i,j =1 means that the i-th node and the j-th node are connected, A i,j =0 means that the i-th node and the j-th node are not connected. Let F be the content feature matrix, where the i-th row is F iis the d-dimensional feature vector of the i-th node, where d is an adjustable hyperparameter.

[0038] The zombie user detection method of the present invention includes the following steps:

[0039] 1) Pre-train and fine-tune using the BERT model to obtain a high-dimensional vector representation of user comments.

[0040] In this part, the user comments are first subjected to "word segmentation" processing. The word segmentation task can be regarded as a combination of several binary classification problems. First, perform forced word segmentation processing on the positions of all punctuation marks, then consider word segmentation at non-punctuation positions. For a punctuation-free text containing n Chinese characters, there are n-1 possible word segmentation positions between the Chinese characters. Based on the existing corpus, perform a binary classification judgment on each possible word segmentation position to determine whether word segmentation is required at that position. For example, assume a user comment is "This product is excellent value for money, and generally meets my expectations", after word segmentation, it can be obtained as "|This / product / excellent value for money|Generally / on / meets / my / expectations|". It should be noted that, to facilitate the use of the downstream BERT model, distinction is made between word segmentation via punctuation marks (inter-sentence word segmentation, represented by "|") and word segmentation judged by the binary classifier (intra-sentence word segmentation, represented by " / ").

[0041] After the above "word segmentation" processing, a piece of text comment from the user is converted into a token sequence with special separators. For each token in the sequence, three types of vectors are used for weighted representation, which are respectively "word vector representation", "sentence vector representation" and "position vector representation in the sentence". Specifically, the "word vector representation" maps each vocabulary in the Chinese corpus to a 128-dimensional word vector, and the word vector corresponding to each word can be generated in a random manner, or data from some existing corpora can be referenced. The "sentence vector representation" distinguishes which sentence the token in the sequence belongs to. The "position vector representation in the sentence" distinguishes different positions of the token within the sentence. The introduction of the "word vector representation" takes into account the difference of different vocabularies, and the introduction of the "sentence vector representation" and the "position vector representation in the sentence" takes into account the influence of the specific position of the vocabulary in the comment on the semantics.

[0042] In the vectorization representation of the text token sequence, a method of masking tokens followed by bidirectional prediction (using the semantic information of the left and right contexts of the masked tokens for prediction) is adopted. Specifically, in this model, a portion of the tokens in the token sequence are first randomly masked with a certain probability. The task is to predict the masked tokens, and the misclassification rate of this prediction task is used as the loss function. This allows the model to learn word vector representations, sentence vector representations, and sentence position vector representations during the unsupervised prediction of the masked tokens. The specific prediction method also differs from traditional left-to-right or right-to-left prediction. In this method, the masked tokens possess bidirectional semantic information from both left and right contexts. The masked tokens can be predicted jointly using words from the left (previous text) and right (next text). Therefore, the masked tokens are influenced by the tokens before and after them, thus comprehensively utilizing contextual semantic information. In implementation, a dynamic masking method can be used to improve pre-training efficiency, that is, different masking strategies are used in each round of training to mask different tokens, thereby enhancing the model's global perception.

[0043] In practical applications, reviews are often accompanied by titles containing sentiment information. Properly utilizing this information allows for a more granular description of user comments. After pre-training, the BERT model fine-tunes its parameters for different downstream tasks. Compared to pre-training, fine-tuning has lower computational overhead but significantly improves the model's expressive power, thus fully utilizing existing information for fine-grained sentiment analysis of user reviews.

[0044] This method processes each comment posted by each user as described above, obtaining a high-dimensional vector for each comment posted by each user, which serves as the output of this part of the model. Let X be the high-dimensional vector of the t-th comment posted by the i-th user. i,t The i-th user can be represented in the following way:

[0045]

[0046] Among them, cnt i Let i represent the total number of comments posted by user i. All are d-dimensional vectors, where d is an adjustable hyperparameter.

[0047] 2) Use the Isolation Forest algorithm to obtain the degree of comment skewness.

[0048] Let IF i,t,j Let represent the depth of the leaf node of the t-th comment from the i-th user in the j-th pass of the Isolation Forest algorithm.

[0049] The calculation process for the IF matrix is ​​as follows:

[0050] For each user i, the following process is executed k times, assuming we are currently executing the j-th time:

[0051] a) Initialize a binary tree containing only a root node, with the root node attached to the set of all comments S (the comments have now been transformed into a high-dimensional vector through step 1 above);

[0052] b) Label the current node as cur, and initialize this value to the root node label;

[0053] c) For the current node cur, if the size of its comment set |S| is 1, then execute step d); otherwise execute step e).

[0054] d) Let the current node correspond to the t-th comment of the i-th user, then set IF i,t,j The depth of the current node;

[0055] e) Generate a random integer v in the range [1, d], representing the current partitioning of the v-th dimension;

[0056] f) Generate a random floating-point number x in the range [0,1]. Assign comments in S whose v-th dimension is less than or equal to x to set S1, and assign comments in S whose v-th dimension is greater than x to set S2.

[0057] g) Create two child nodes son1 and son2 for the current node, and recursively execute step c) on son1 and son2 respectively;

[0058] h) Calculate the average of the results of all k runs of the Isolation Forest algorithm for the t-th comment from the i-th user to obtain the comment skewness vector P. i component P i,t :

[0059]

[0060] i) Aggregate the component P of all comments posted by user i i,t We obtain the skewness vector P of user i. i ;

[0061]

[0062] 3) Considering temporal information, convolution is used to enhance the expressive power of user comment embedding vectors.

[0063] Sort the high-dimensional vector of comments by posting time. Let the result of sorting the comments posted by the i-th user in chronological order be: Among them, cnt iThis represents the total number of comments posted by the i-th user. A convolution operator is used to perform a convolution operation on the high-dimensional vector of each comment, thus fully considering the mutual influence between comments posted at similar times. Assuming the length of the convolution sliding window is 2s-1, the representation of the t-th comment will be affected by the values ​​from t-s+1 to t+s-1.

[0064] Max pooling is used to process the output of each filter (convolutional kernel) to obtain a high-dimensional vector representation of user comments with temporal logic and temporal correlation. Let the high-dimensional vector representation of the user comments of the i-th user with temporal logic and temporal correlation, sorted by publication time, be:

[0065] The calculation formula is as follows:

[0066]

[0067] Where K is the convolution kernel. All are d-dimensional vectors. Here, j represents the order of the comments posted by the user (the current calculation is for the j-th comment), s represents the diameter of the convolution kernel (that is, the size of the convolution kernel is 2s-1), and u is the iteration variable used to calculate the convolution.

[0068] 4) Use dot product to refine the representation of the different importance of different comments in describing user information.

[0069] In step 2), the comment skewness calculated by the Isolation forest algorithm is an important indicator of the importance of comments. Therefore, this invention uses the dot product of the comment skewness vector and the high-dimensional feature representation of the comments as the final vector representation of the user node.

[0070] Specifically, let Z be the final vector representation of user i. i Z i For a d-dimensional vector, its calculation method is as follows:

[0071]

[0072] All of these are d-dimensional vectors obtained in step 3).

[0073] 5) Use graph models to model user social networks and use graph neural networks (GNNs) to propagate user node information.

[0074] By treating users in a social network as nodes and their various behaviors (adding friends, commenting, liking, following, etc.) as edges, we can obtain an abstract graph G =<V,A,F> Let V, A, and F be the node set, adjacency matrix, and node feature matrix, respectively. V = {1, 2, ..., n} represents the node set. A = {0, 1} |V|×|V| If A i,j =1 indicates that the i-th node and the j-th node are connected, A i,j =0 means that the i-th node and the j-th node are not connected. Let F be the content feature matrix, where the i-th row is F i It is the feature vector of size d of the i-th node.

[0075] Graph Neural Networks (GNNs) learn high-dimensional representations of nodes by propagating the content characteristics of nodes through the topological structure of graphs. The working principle of a graph neural network is as follows:

[0076] Let H represent the node features in the i-th layer of the neural network. (i) The initial feature representation of a node is denoted as H. (0) .

[0077] First, initialize the feature representation of the node using the vector representation Z from step 4):

[0078]

[0079] Then, the feature representations of each neighboring node are propagated and aggregated using the graph's topology.

[0080] Specifically, let matrix D be a degree matrix, which is a diagonal matrix where the value in the i-th row and i-th column is the degree of node i, and all other positions in the matrix are 0. The adjacency matrix A = {0, 1} |V|×|V| If A i,j =1 indicates that the i-th node and the j-th node are connected, A i,j =0 means that the i-th node and the j-th node are not connected. W (i) This represents the parameter matrix of the i-th layer, whose values ​​are obtained through training. σ is the activation function; commonly used activation functions include the sigmoid function, ReLU function, and tanh function.

[0081] The specific calculation method can be obtained through the following formula:

[0082]

[0083] in, I n It represents an nth-order unit vector.

[0084] This study employs a semi-supervised learning approach, utilizing a small dataset. A loss function measures the difference between the labeled and predicted results, and gradient descent is used to learn the parameters W of each layer in the neural network. (i) Then, the trained neural network is used to predict whether each user node is a zombie node.

[0085] Based on the same inventive concept, another embodiment of the present invention provides a zombie user detection system based on behavioral differences using the above-described method, comprising:

[0086] The high-dimensional vectorization representation module is used to represent user-posted comments in a high-dimensional vector format.

[0087] The comment skewness acquisition module is used to discretize the high-dimensional vector representation of comments and extract features to obtain the comment skewness vector for each user.

[0088] The temporal information representation module is used to sort the high-dimensional vector representation of comments according to the publication time, and perform convolution operation on the high-dimensional vector representation of each comment to obtain a high-dimensional vector representation of the comments with temporal logic and temporal correlation.

[0089] The final vector representation module is used to perform a dot product operation between the high-dimensional vector representation of the comment with temporal logic and temporal correlation and the comment skewness vector to obtain the content vector of the user node; the content vector of the user node is propagated using a graph neural network algorithm to obtain the final vector representation of the user.

[0090] The zombie node prediction module is used to predict whether each user node is a zombie node based on the user's final vector representation using a semi-supervised learning approach.

[0091] Based on the same inventive concept, another embodiment of the present invention provides an electronic device (computer, server, smartphone, etc.) including a memory and a processor, wherein the memory stores a computer program configured to be executed by the processor, and the computer program includes instructions for performing the steps of the method of the present invention.

[0092] Based on the same inventive concept, another embodiment of the present invention provides a computer-readable storage medium (such as ROM / RAM, disk, optical disk), which stores a computer program that, when executed by a computer, implements the various steps of the method of the present invention.

[0093] The above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them. Those skilled in the art can modify or make equivalent substitutions to the technical solutions of the present invention without departing from the principles and scope of the present invention. The protection scope of the present invention should be determined by the claims.

Claims

1. A method for detecting zombie users based on behavioral differences, characterized in that, Includes the following steps: Represent user-posted comments using high-dimensional vectorization; Discretize the high-dimensional vector representation of comments to extract features, and obtain the comment skewness vector for each user; The high-dimensional vector representations of the comments are sorted by publication time, and a convolution operation is performed on the high-dimensional vector representation of each comment to obtain a high-dimensional vector representation of the comments with temporal logic and temporal correlation. The content vector of the user node is obtained by performing a dot product operation between the high-dimensional vector representation of the comment with temporal logic and temporal correlation and the comment skewness vector; The content vector of the user node is propagated using a graph neural network algorithm to obtain the final vector representation of the user; Based on the user's final vector representation, a semi-supervised learning method is used to predict whether each user node is a zombie node; The discretization feature extraction of the high-dimensional vector representation of all user comments is achieved by running the IsolationForest algorithm, including: for each comment of a user, running the IsolationForest algorithm once to calculate its skewness coefficient, running the IsolationForest algorithm multiple times to calculate the average value of the skewness coefficient, and processing multiple comments published by each user using the IsolationForest algorithm to obtain the user's comment skewness vector; The step of sorting the high-dimensional vector representations of comments by publication time and performing convolution operations on the high-dimensional vector representations of each comment to obtain high-dimensional vector representations of comments with temporal logic and temporal correlation includes: Sort the high-dimensional vector of comments by posting time. Let the result of sorting the comments posted by the i-th user in chronological order be: ,in, This represents the total number of comments posted by the i-th user. Using a convolution operator, a convolution operation is performed on the high-dimensional vector representation of each comment to fully consider the mutual influence between comments that are published close to each other; if the length of the convolution sliding window is 2s-1, then the representation of the t-th comment will be affected by the t-s+1 to t+s-1. The output of each convolutional kernel is processed using max pooling to obtain a high-dimensional vector representation of user comments with temporal logic and temporal correlation. Let the high-dimensional vector representation of the user comments of the i-th user with temporal logic and temporal correlation be sorted according to the order of publication time as follows: The calculation formula is as follows: Where K is the convolution kernel, All are d-dimensional vectors. j This indicates that the current calculation is for the j-th comment. s Indicates the diameter of the convolution kernel. u It is the iterative variable used to calculate the convolution; Let the final vector representation of user i be... , For a d-dimensional vector, its calculation method is as follows: in, Let be the average of the results of multiple runs of the Isolation Forest algorithm for the t-th comment of the i-th user, and be the comment skewness vector. The amount.

2. The method according to claim 1, characterized in that, The process of representing user-posted comments in high-dimensional vector form involves modeling each comment posted by each user using BERT to obtain a high-dimensional vector representation of the comment. Specifically, this includes: first, pre-training a coarse-grained vector representation, and then fine-tuning the pre-trained vector using comment titles with emotional connotations to obtain a fine-grained vector representation of the user's evaluation.

3. The method according to claim 2, characterized in that, The pre-training includes: Perform word segmentation to convert a user's text comment into a token sequence with special delimiters; For each token in the sequence, a weighted representation is used using three types of vectors: word vector representation, sentence vector representation, and sentence position vector representation.

4. The method according to claim 1, characterized in that, The process of propagating the content vector of a user node using a graph neural network algorithm to obtain the user's final vector representation includes: By treating users in a social network as nodes and their various behaviors as edges, we obtain a graph. ,in , , These are the node set, the adjacency matrix, and the node feature matrix, respectively. Let the feature representation of the node in the i-th layer of the graph neural network be: The initial feature representation of a node is denoted as First, use vector representation. Initialize the node's characteristic representation: ; Then, the feature representations of each adjacent node are propagated and aggregated using the graph's topology.

5. A zombie user detection system based on behavioral differences, employing the method described in any one of claims 1 to 4, characterized in that, include: The high-dimensional vectorization representation module is used to represent user-posted comments in high-dimensional vectorization. The comment skewness acquisition module is used to discretize the high-dimensional vector representation of comments and extract features to obtain the comment skewness vector for each user. The temporal information representation module is used to sort the high-dimensional vector representations of comments according to the publication time, and perform convolution operations on the high-dimensional vector representations of each comment to obtain a high-dimensional vector representation of the comments with temporal logic and temporal correlation. The final vector representation module is used to perform a dot product operation between the high-dimensional vector representation of the comment with temporal logic and temporal correlation and the comment skewness vector to obtain the content vector of the user node; the content vector of the user node is propagated using a graph neural network algorithm to obtain the final vector representation of the user. The zombie node prediction module is used to predict whether each user node is a zombie node based on the user's final vector representation using a semi-supervised learning approach.

6. An electronic device, characterized in that, It includes a memory and a processor, the memory storing a computer program configured to be executed by the processor, the computer program including instructions for performing the method of any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which, when executed by a computer, implements the method described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Fraudulent user detection model construction method based on graph attention network

    CN112417099A

  • Comment recommendation method of heterogeneous graph attention neural network based on meta-learning

    CN114385804A