Method and device for detecting suspicious accounts on social networks
By obtaining and updating account characteristic abnormal values, combined with manual review and the diffusion mechanism of account abnormal values, the problem of suspicious account detection in social networks is solved, the detection accuracy and stability are improved, and the poor model detection effect in the existing technology is overcome. problem.
Patent Information
- Application Number
- CN202210411321.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-19
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2042-04-19
AI Technical Summary
Existing technologies are difficult to effectively detect and manage suspicious accounts in social networks, especially due to the secretive behavior of malicious accounts and the rapid changes in public opinion events, which makes model detection results that rely solely on historical data training ineffective.
By obtaining the characteristics of the account to be detected, calculating the abnormal values of the characteristics, and dynamically updating the weights according to the changes in manually determined abnormal values, constructing a recommendation list of suspicious accounts, combining manual review and the diffusion mechanism of account outliers, conducting multiple rounds of detection and review, in order to Improve detection accuracy.
It effectively avoids over-reliance on training models based on historical data, improves the detection ability of secretly disguised accounts, and enhances the stability and accuracy of online public opinion governance.
Smart Images

Figure CN114861177B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network public opinion management, and in particular to a method and device for detecting suspicious accounts on a social network. Background Art
[0002] At present, there are suspicious accounts mixed in with a large number of normal users on social networks. These accounts either act alone or work together to frequently spread false or harmful information and create public opinion incidents, which seriously affect the normal order of cyberspace and pose serious challenges to the governance of online public opinion. It is urgent to build effective methods to detect and manage these suspicious accounts.
[0003] To this end, major social platforms have set up special teams to manage and handle online accounts. However, malicious accounts often act secretly and blend in with a large number of normal users, making detection like finding a needle in a haystack. At the same time, the public opinion events that these accounts are responsible for hyping change at any time, making effective account handling difficult.
[0004] To solve the above problems, several teams have explored various machine learning technologies, using historical behavior data or content data to train artificial intelligence models and build automatic account detection methods. However, malicious accounts often actively adjust and disguise their own behaviors to avoid model detection. This makes various model methods that rely solely on historical data training ineffective. Summary of the invention
[0005] In order to overcome the shortcomings of existing methods for detecting secret suspicious accounts, the present invention provides a detection method for detecting suspicious accounts on social networks.
[0006] To achieve the above object, the present invention adopts the following technical solution:
[0007] A method for detecting suspicious accounts on a social network, the method comprising:
[0008] For the set of accounts to be detected, obtain the characteristics of each account i to be detected;
[0009] Calculate the feature outlier value of each feature j Where t is the number of detections, Indicates that the jth feature of the account i to be tested is normal;
[0010] Dynamically update the outlier weights based on the changes in the corresponding feature outliers of manually determined suspicious accounts
[0011] Based on the feature outliers With outlier weight Calculate the account outlier value of the account i to be detected And sort by the size of the account outliers to build a recommended list B of suspicious accounts detected for the tth time t ;
[0012] Determine the suspicious account recommendation list B t Are the suspicious accounts in stable?
[0013] When stable, the suspicious account is recommended to list B. t Submissions are manually reviewed;
[0014] When it is unstable, return to the calculation of the feature abnormal value of each feature j Recommended list B to identify suspicious accounts (t+1) Whether the suspicious accounts in the system are stable.
[0015] Furthermore, the outlier weight is dynamically updated according to the change of the corresponding characteristic outlier value of the manually determined suspicious account. include:
[0016] Administrator review of suspicious account recommendation list B (t) , get the suspicious account list V (t) , as a suspicious account detection result;
[0017] Based on the non-zero feature anomaly values of suspicious accounts determined by manual review between the t-1th and tth detections , calculate the outlier variance of feature j
[0018] Get the outlier weight of feature j of the manually determined suspicious account during the t-1th detection Variance with outliers And combined with the outlier variance Calculate the outlier weight of feature j at the tth detection
[0019] Calculate the suspicious account list V (t) The mean of the feature outliers of feature j in ;
[0020] For the feature item with the smallest mean of feature outlier values, the corresponding outlier weight Multiply by a decay coefficient less than 1 to update the outlier weight of the feature
[0021] Furthermore, the method further comprises:
[0022] The administrator reviews the detection results and uses the suspicious accounts that have passed the review as seeds;
[0023] Diffusion of the seed account outliers according to the node degree to update other account outliers;
[0024] A new suspicious account recommendation list is constructed based on the account abnormal values of the other accounts and submitted to the administrator for review to obtain further suspicious account detection results.
[0025] Furthermore, the features of the account i to be detected include: account name, account activity, account behavior coordination, account post similarity, account post content keywords, account post content topics, account post links, account post multimedia content, account full network content popularity, account full network behavior coordination, account network address, account historical handling information, account community, account friends and account post reply ratio.
[0026] Further, the characteristic abnormal value of the account activity is calculated include:
[0027] Count the account activity in each set time period within the historical cycle, the account activity includes: online time, number of posts and number of replies;
[0028] Statistics on account activity in the most recent set period;
[0029] Compare the account activity in the most recent set period with the account activity in each set period in the historical period to obtain the characteristic abnormal value of the account activity
[0030] Furthermore, the feature outliers of the account post similarity are calculated include:
[0031] Obtain a pre-trained language model;
[0032] Based on the pre-trained language model, content vectors of posts and sensitive posts of the account i to be detected are obtained respectively;
[0033] Match the content vectors of the posts of the account to be detected i and the sensitive posts to obtain the characteristic outlier value of the similarity of the account posts
[0034] Furthermore, the feature outliers of the account post links are calculated include:
[0035] Build an exception link library;
[0036] Obtain the link address of the account i to be detected;
[0037] Match the link address with the abnormal link library to obtain the characteristic abnormal value of the account post link
[0038] Furthermore, the characteristic anomaly value of the account's network-wide behavioral coordination is calculated include:
[0039] Building an active abnormal account database, wherein the active abnormal account database includes a number of active abnormal accounts;
[0040] Based on the account i to be detected and the account with abnormal activities, a behavior matrix is constructed;
[0041] Perform a synergy analysis on the behavior matrix to obtain the characteristic abnormal value of the behavior synergy of the account in the entire network
[0042] Furthermore, the characteristic outliers of the account community are calculated include:
[0043] Obtain the community to which the account i to be detected belongs;
[0044] The average of the abnormal values of the accounts of the community members is used as the characteristic abnormal value of the account community When the account i to be detected is in multiple communities, the average of the account abnormal values of each community is accumulated and multiplied by a second attenuation coefficient to obtain the characteristic abnormal value of the account community.
[0045] A storage medium stores a computer program, wherein the computer program is configured to execute any of the above methods when running.
[0046] An electronic device comprises a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute any of the above methods.
[0047] Compared with the prior art, the present invention utilizes human participation to avoid the existing method's over-reliance on models trained based on historical data, which is conducive to discovering hidden and disguised problematic accounts. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 Flow chart of the detection method of the present invention. DETAILED DESCRIPTION
[0049] In order to make the above features and advantages of the present invention more obvious and easy to understand, the technical solution of the present invention is further described below through specific embodiments.
[0050] The technical solution of the present invention is:
[0051] 1. Set an account abnormal value for each account. The abnormal value of 0 is specified to indicate that the account is normal, and the larger the abnormal value, the higher the suspicion. Among them, the method for calculating the account abnormal value is: 1. According to the specific situation of the platform, set the extractable account feature set, such as behavioral features such as account login, posting and replying, content features such as account post topic tags, multimedia features such as audio and video, and social relationship features such as account friend groups, and calculate the abnormal value of each feature. It is also specified that the abnormal value of 0 indicates that the feature is normal, and the larger the abnormal value, the higher the suspicion; 2. Calculate the account abnormal value, and the account abnormal value is the weighted sum of the abnormal values of each feature of the account. Among them, the default value of each feature weight is set to 1, and it will be adjusted and updated in a human-computer interaction manner during the subsequent operation. Specifically, the recommended update value is given by the system, and the administrator reviews and updates it.
[0052] Second, the outlier values of each account are calculated periodically and sorted according to the size of the outlier values. The set of accounts with high outlier values is used as the recommended suspicious account set and provided to the system administrator for manual review. The suspicious accounts are identified for subsequent processing. At the same time, the system calculates the appropriate weight update value for each feature based on the review results, and submits it to the administrator for manual review again. The administrator then adjusts the weight of the outlier values of each feature.
[0053] Third, based on the manual review results, the system sets suspicious accounts as seed sets and makes account suspicious inferences on other accounts on the network of accounts. The highly suspicious account set is submitted for manual review to determine suspicious accounts. After that, the administrator decides whether to start a new round of account suspicious inference. If started, the system adds the new review results to the seed set and makes a new round of inferences.
[0054] like Figure 1 As shown in the flowchart, (1) the system is initialized, account feature data, various resource libraries and corresponding feature outlier calculation modules are prepared; (2) the outliers of each account are periodically calculated, multiple rounds of statistics are performed, and a list of suspicious account recommendations is constructed, which is then submitted to the administrator for review. This section includes three parts: (2.1) the outliers of each feature of the account are calculated; (2.2) the outliers of each account are calculated, and the account outlier value is the weighted sum of the outliers of each feature of the account; (2.3) the account outlier values are sorted, and accounts with high outlier values are counted to construct a list of suspicious account recommendations; (3) the list of suspicious accounts is submitted for administrator review, and the updated feature weight values are submitted for administrator review; (4) based on the manual review results, the translatability of other accounts is inferred; (5) a new list of suspicious accounts is submitted for administrator review.
[0055] (1) System initialization,
[0056] Prepare account feature data, various resource libraries (such as keyword library, key tag library, abnormal link library, image feature vector library, media vector library, abnormal network address library, etc.) and corresponding feature anomaly value calculation modules.
[0057] (2) Periodically calculate the abnormal values of each account, perform multiple rounds of statistics, and build a recommended list of suspicious accounts to be submitted to the administrator for review. This part includes three parts:
[0058] (2.1) Calculate the outlier values of each feature of the account,
[0059] 1. The account name is abnormal.
[0060] An abnormal value of 0 indicates that the feature is normal. The larger the abnormal value, the more suspicious it is. According to the special pattern string, we judge whether it is abnormal or not, and construct an abnormal pattern library accordingly, such as a full-digit string, a string starting with a digit, or other special string patterns.
[0061] 2. Abnormal account activity.
[0062] An abnormal value of 0 indicates that the feature is normal. The larger the abnormal value, the more suspicious it is. The length of a recent time window is recorded. The length can be set manually. For example, the online time per hour in the past month, the number of posts and replies, the value of the past hour, and the value of the past month are counted and compared. If the number of times suddenly increases, it is an abnormality.
[0063] 3. Abnormal account behavior coordination.
[0064] An outlier value of 0 indicates that the feature is normal. The larger the outlier value, the more suspicious it is. The consistency of the activity of the statistical account and the friend account is high. If the consistency is high, it is an anomaly.
[0065] 4. The similarity of account posts is abnormal.
[0066] An outlier value of 0 indicates that the feature is normal. The larger the outlier value, the more suspicious it is. The post content vector is generated using the pre-trained language model, and the similarity is matched with the sensitive post content vector to determine the anomaly.
[0067] 5. The keywords in the account post are abnormal.
[0068] Dictionary matching, an outlier value of 0 indicates that the feature is normal, and the larger the outlier value, the more suspicious it is.
[0069] 6. The content and topics of the account posts are abnormal.
[0070] Perform topic analysis on the post text content, the same as 4, post content vector sensitivity analysis, an outlier value of 0 indicates that the feature is normal, and the larger the outlier value, the higher the suspicion.
[0071] 7. The account post link is abnormal.
[0072] Link analysis, build an abnormal link library, match, as an abnormality,
[0073] 8. The multimedia content of the account post is abnormal.
[0074] Media analysis uses image, audio, video and other analysis models to perform sensitivity analysis. An outlier value of 0 indicates that the feature is normal. The larger the outlier value, the more suspicious it is.
[0075] 9. The account's content popularity across the entire network is abnormal.
[0076] Sequence analysis: content vector matching analysis of posts and hot posts on the entire network. Matches are considered abnormal.
[0077] 10. The account's overall network-wide behavior coordination is abnormal.
[0078] Matrix analysis: Sampling, constructing and maintaining an active abnormal account database, using the current account and active abnormal account to construct a behavior matrix for coordination analysis. An abnormal value of 0 indicates normal features, and the larger the abnormal value, the more suspicious it is.
[0079] 11. The account network address is abnormal.
[0080] Build an abnormal network address library and match it to an abnormal one.
[0081] 12. Account historical disposal information,
[0082] Maintain a historical information database for account status judgment, taking the historical abnormality score value multiplied by a decay coefficient greater than 0 and less than 1.
[0083] 13. Account community abnormality,
[0084] Community analysis, periodically update the account community analysis results, according to the average of the abnormal values of the community member accounts, set as, community abnormal value, the account is in multiple communities, this item is the cumulative value, multiplied by a decay coefficient greater than 0 and less than 1,
[0085] 14. Account friends are abnormal.
[0086] Same as 13, according to the average of abnormal values of friend accounts, set this value and multiply it by a decay coefficient greater than 0 and less than 1.
[0087] 15. The account's post-reply ratio is abnormal.
[0088] Calculate the ratio of the account's post-reply ratio in the past hour to the historical average of the account number. Obvious fluctuations are considered abnormal.
[0089] (2.2) Calculate the abnormal value of each account,
[0090] The account abnormal value is the weighted sum of the abnormal values of each feature of the account. The default value of each feature weight is set to 1. During the subsequent operation, it is adjusted and updated by human-computer interaction. The system gives the recommended update value.
[0091] The process of calculating the update value includes:
[0092] (1) Calculate the variance change of each feature's non-zero outlier value from the last weight update to the current time point, and multiply the original weight value by the ratio of the new variance to the old variance as the updated value;
[0093] (2) Count all suspicious accounts approved during this round of manual review, calculate the mean of the feature anomaly values of these accounts, find the feature item with the smallest feature anomaly mean, and update the weight value corresponding to the feature by a decay coefficient greater than 0 and less than 1.
[0094] (2.3) Sorting outlier values of accounts, counting accounts with high outlier values, and building a recommended list of suspicious accounts;
[0095] Use the heap sort algorithm to sort the accounts by outliers. Each time, count the 1-5% of accounts with high outliers. Perform multiple rounds of calculations (2.1) to calculate the outliers of each feature of the account, and (2.2) to calculate the outliers of each account. Count the accounts that are stably in the top 1% of the outliers, and build a list of suspicious accounts for subsequent administrator review.
[0096] (3) Administrators review suspicious accounts and feature weights
[0097] Submit a list of suspicious accounts and feature weights for review by the administrator;
[0098] (4) Infer the translatability of other accounts based on manual review results
[0099] Use suspicious abnormal accounts as seeds to find other abnormal accounts, and spread the suspicious degree on the account network. Specifically, the suspicious account abnormal value is spread according to the node degree, and other accounts are added. When other suspicious accounts are encountered, they are skipped and the abnormal values of other accounts are recalculated. (Here, only the current feature weight is used to calculate the account abnormal value, and the feature weight is not updated), and the abnormal value is re-sorted. For accounts with abnormal values that are 1% higher, a new suspicious account recommendation list is constructed for administrator review;
[0100] (5) Submit a new list of suspicious accounts for review by the administrator
[0101] Submit the suspicious account for manual review, and the administrator decides whether to start a new round of account suspiciousness inference. If started, the system will add the new review results to the seed set and do a new round of inference.
[0102] The above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit the same. A person skilled in the art may modify or replace the technical solutions of the present invention with equivalents. The protection scope of the present invention shall be subject to the claims.
Claims
1. A method for detecting suspicious accounts on a social network, the method comprising: For the set of accounts to be detected, obtain the characteristics of each account i to be detected; Calculate the feature outlier value of each feature j Where t is the number of detections, Indicates that the jth feature of the account i to be tested is normal; Dynamically update the outlier weights based on the changes in the corresponding feature outliers of manually determined suspicious accounts Based on the feature outliers With outlier weight Calculate the account outlier value of the account i to be detected And sort by the size of the account outliers to build a recommended list B of suspicious accounts detected for the tth time t ; Determine the suspicious account recommendation list B t Are the suspicious accounts in stable? When stable, the suspicious account is recommended to list B. t Submissions are manually reviewed; When it is unstable, return to the calculation of the feature abnormal value of each feature j Recommended list B to identify suspicious accounts (t+1) Whether the suspicious accounts in the system are stable.
2. The method according to claim 1, characterized in that The outlier weight is dynamically updated according to the changes in the corresponding characteristic outlier values of the manually determined suspicious accounts. include: Administrator review of suspicious account recommendation list B (t) , get the suspicious account list V (t) , as a suspicious account detection result; Based on the non-zero feature anomaly values of suspicious accounts determined by manual review between the t-1th and tth detections , calculate the outlier variance of feature j Get the outlier weight of feature j of the manually determined suspicious account during the t-1th detection and outlier variance F j (t-1) , and combined with the outlier variance Calculate the outlier weight of feature j at the tth detection Calculate the suspicious account list V (t) The mean of the feature outliers of feature j in ; For the feature item with the smallest mean of feature outlier values, the corresponding outlier weight Multiply by a decay coefficient less than 1 to update the outlier weight of the feature 3. The method according to claim 1, characterized in that The method further comprises: The administrator reviews the detection results and uses the suspicious accounts that have passed the review as seeds; Diffusion of the seed account outliers according to the node degree to update other account outliers; A new suspicious account recommendation list is constructed based on the account abnormal values of the other accounts and submitted to the administrator for review to obtain further suspicious account detection results.
4. The method according to claim 1, characterized in that The features of the account i to be detected include: one or more of: account name, account activity, account behavior coordination, account post similarity, account post content keywords, account post content topics, account post links, account post multimedia content, account full network content popularity, account full network behavior coordination, account network address, account historical handling information, account community, account friends and account post reply ratio.
5. The method according to claim 4, characterized in that Calculate the characteristic anomaly value of the account activity include: Count the account activity in each set time period within the historical cycle, the account activity includes: online time, number of posts and number of replies; Statistics on account activity in the most recent set period; Compare the account activity in the most recent set period with the account activity in each set period in the historical period to obtain the characteristic abnormal value of the account activity 6. The method according to claim 4, characterized in that Calculate the feature outliers of account post similarity include: Obtain a pre-trained language model; Based on the pre-trained language model, content vectors of posts and sensitive posts of the account i to be detected are obtained respectively; Match the content vectors of the posts of the account to be detected i and the sensitive posts to obtain the characteristic outlier value of the similarity of the account posts 7. The method according to claim 4, characterized in that Calculate the feature outliers of account post links include: Build an exception link library; Obtain the link address of the account i to be detected; Match the link address with the abnormal link library to obtain the characteristic abnormal value of the account post link 8. The method according to claim 4, characterized in that Calculate the characteristic anomaly value of the account's full network-wide behavioral coordination include: Building an active abnormal account database, wherein the active abnormal account database includes a number of active abnormal accounts; Based on the account i to be detected and the account with abnormal activities, a behavior matrix is constructed; Perform a synergy analysis on the behavior matrix to obtain the characteristic abnormal value of the behavior synergy of the account in the entire network 9. The method according to claim 4, characterized in that Calculate the characteristic outliers of the account community include: Obtain the community to which the account i to be detected belongs; The average of the abnormal values of the accounts of the community members is used as the characteristic abnormal value of the account community When the account i to be detected is in multiple communities, the average of the account abnormal values of each community is accumulated and multiplied by a second attenuation coefficient to obtain the characteristic abnormal value of the account community.
10. An electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to perform the method according to any one of claims 1 to 9.
