Abnormal account detection method and device

By obtaining and analyzing the order time series of accounts, combined with change point detection and collaborative training models, the problem of real-time and low efficiency in blind sales behavior inspection is solved, and abnormal account detection with high accuracy and interpretability is achieved.

CN118586905APending Publication Date: 2024-09-03BEIJING JINGDONG ZHENSHI INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310201178.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-01
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

The existing technology has poor real-time performance and high labor cost in blind selling behavior inspection. Moreover, the graph-based detection method has difficulty in attribute definition and poor interpretability. The positive sample detection method is limited by the number of positive samples, which affects the detection effect.

Method used

By obtaining the order time series of the account, its distribution type is determined, and the corresponding change point detection method is used to determine the mutation point, and feature values ​​are generated to determine whether the account is an abnormal account. Combined with the collaborative training model, the detection accuracy is improved.

Benefits of technology

It improves the accuracy and efficiency of abnormal account detection, reduces the risk of misdetection, has active identification capabilities and improves the interpretability of detection results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118586905A
    Figure CN118586905A
Patent Text Reader

Abstract

The embodiment of the invention discloses an abnormal account detection method and device. A specific embodiment of the method comprises the steps of obtaining an order placing time sequence corresponding to a to-be-detected account; determining a distribution type obeyed by the ordering time sequence; determining a mutation point in the ordering time sequence by adopting a change point detection method corresponding to the distribution type; generating a first characteristic value used for representing the position of the mutation point in the ordering time sequence; and determining a detection result of the account according to the first feature value, the detection result representing whether the account is an abnormal account. According to the embodiment, the accuracy of abnormal account detection can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the field of computer technology, and in particular to a method and device for detecting abnormal accounts. Background Art

[0003] At present, the means of checking blind sales mainly rely on site staff to report, and then relevant personnel will check the delivery behavior and customer complaints of the reported accounts in combination with the feedback from couriers. However, this method has poor real-time performance, cannot actively identify, and the review cycle is usually long, with high labor costs. Since there are usually only positive samples confirmed as blind sales accounts in blind sales, and the labels of other accounts cannot be known, based on this, the blind sales inspection problem is usually abstracted into a semi-supervised problem, and the following two solutions are usually adopted: one is based on the form of graph, constructing a graph through data mining and mining abnormal accounts based on the connectivity and propagation characteristics of the graph; the other is to use positive samples for account detection based on the supervision problem. Among them, the detection method based on the graph often has problems such as the difficulty in defining the attributes of elements such as edges in the graph and poor interpretability. The method of using positive samples for account detection depends on the number of positive samples, but the number of positive samples is usually small, resulting in a limited number of associated entities, which affects the detection effect. Summary of the invention

[0004] The embodiments of the present disclosure provide a method and device for detecting abnormal accounts.

[0005] In a first aspect, an embodiment of the present disclosure provides a method for detecting abnormal accounts, the method comprising: obtaining an order time series corresponding to an account to be detected; determining the distribution type obeyed by the order time series; using a change point detection method corresponding to the distribution type to determine the mutation point in the order time series; generating a first eigenvalue for representing the position of the mutation point in the order time series; determining a detection result of the account based on the first eigenvalue, wherein the detection result indicates whether the account is an abnormal account.

[0006] In a second aspect, an embodiment of the present disclosure provides an abnormal account detection device, which includes: an order time series acquisition unit, configured to acquire an order time series corresponding to an account to be detected; a distribution type determination unit, configured to determine the distribution type obeyed by the order time series; a mutation point determination unit, configured to determine the mutation point in the order time series using a change point detection method corresponding to the distribution type; a generation unit, configured to generate a first feature value for representing the position of the mutation point in the order time series; and a detection unit, configured to determine a detection result of the account based on the first feature value, wherein the detection result indicates whether the account is an abnormal account.

[0007] In a third aspect, an embodiment of the present disclosure provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs; when the one or more programs are executed by one or more processors, the one or more processors implement the method described in any implementation manner in the first aspect.

[0008] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the method described in any implementation manner in the first aspect.

[0009] The abnormal account detection method and device provided by the embodiments of the present disclosure determine the distribution type of the order time series of the account, adopt different change point detection methods for the order time series with different distribution types, and then perform abnormal account detection based on the detected mutation points. Since different order time series usually have different characteristics, adopting different change point detection methods to perform mutation point detection helps to improve the accuracy of the mutation point detection results, thereby improving the accuracy of abnormal account detection based on the mutation point detection results. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Other features, objects and advantages of the present disclosure will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0011] Figure 1 is an exemplary system architecture diagram in which an embodiment of the present disclosure may be applied;

[0012] Figure 2 is a flow chart of an embodiment of an abnormal account detection method according to the present disclosure;

[0013] Figure 2a is a schematic diagram of a change point according to the present disclosure;

[0014] Figure 3 is a flow chart of another embodiment of the abnormal account detection method according to the present disclosure;

[0015] Figure 3a is a schematic diagram of using training samples to train different classifiers according to the present disclosure;

[0016] Figure 3b is a schematic diagram of sample set changes during the detection model training process according to the present disclosure;

[0017] Figure 3c is a schematic diagram of an application scenario of the abnormal account detection method according to the present disclosure;

[0018] Figure 4is a structural diagram of an embodiment of an abnormal account detection device according to the present disclosure;

[0019] Figure 5 It is a schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present disclosure. DETAILED DESCRIPTION

[0020] The present disclosure is further described in detail below in conjunction with the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the relevant invention are shown in the accompanying drawings.

[0021] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0022] Figure 1 An exemplary architecture 100 is shown to which an abnormal account detection method or abnormal account detection apparatus according to an embodiment of the present disclosure may be applied.

[0023] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0024] The terminal devices 101, 102, 103 interact with the server 105 through the network 104 to receive or send messages, etc. Various client applications may be installed on the terminal devices 101, 102, 103. For example, browser applications, search applications, shopping applications, instant messaging tools, social platform software, etc.

[0025] Terminal devices 101, 102, 103 can be hardware or software. When terminal devices 101, 102, 103 are hardware, they can be various electronic devices, including but not limited to smart phones, tablet computers, e-book readers, laptop portable computers and desktop computers, etc. When terminal devices 101, 102, 103 are software, they can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules (for example, multiple software or software modules for providing distributed services), or it can be implemented as a single software or software module. No specific limitation is made here.

[0026] The server 105 may be a server that provides various services, such as a server that provides backend support for client applications installed on the terminal devices 101, 102, and 103. The server may obtain the order time series corresponding to the account to be detected, and determine the mutation point of the account to be detected using the corresponding change point detection method according to the distribution obeyed by the order time series, and then generate the detection result of the account to be detected based on the determined mutation point, so as to know whether the account to be detected is an abnormal account.

[0027] It should be noted that the order time series corresponding to the above-mentioned account to be detected can also be directly stored locally on the server 105. The server 105 can directly extract the order time series corresponding to the account to be detected stored locally and process it. At this time, the terminal devices 101, 102, 103 and the network 104 may not exist.

[0028] It should be noted that the abnormal account detection method provided in the embodiments of the present disclosure is generally executed by the server 105 , and accordingly, the abnormal account detection device is generally disposed in the server 105 .

[0029] It should also be pointed out that detection applications may also be installed in the terminal devices 101, 102, and 103, and the terminal devices 101, 102, and 103 may also perform abnormal account detection based on the order time sequence corresponding to the account to be detected based on the detection application. At this time, the abnormal account detection method may be executed by the terminal devices 101, 102, and 103, and accordingly, the abnormal account detection method may also be set in the terminal devices 101, 102, and 103. At this time, the exemplary system architecture 100 may not have the server 105 and the network 104.

[0030] It should be noted that the server 105 can be hardware or software. When the server is hardware, it can be implemented as a distributed server cluster consisting of multiple servers, or it can be implemented as a single server. When the server 105 is software, it can be implemented as multiple software or software modules (for example, multiple software or software modules for providing distributed services), or it can be implemented as a single software or software module. No specific limitation is made here.

[0031] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0032] Continue to refer Figure 2 , which shows a process 200 of an embodiment of an abnormal account detection method according to the present disclosure. The abnormal account detection method comprises the following steps:

[0033] Step 201: Obtain the order time series corresponding to the account to be detected.

[0034] In this embodiment, an account number (also referred to as an account number) is a user identification method. For example, in an e-commerce platform, each user can register his or her own account number and use various services provided by the e-commerce platform through the account number. Correspondingly, the e-commerce platform can distinguish each registered user by the account number. The account number to be detected can be any account number. For example, the account number to be detected can be an account number pre-specified by relevant personnel (such as an account number with recent transactions, etc.).

[0035] The order time series can be composed of several order times arranged in chronological order. Among them, the order time can refer to the transaction time of the order. The order time series corresponding to an account can be composed of the transaction time of each order of the account, which can be flexibly set according to actual application requirements. For example, the order time series corresponding to the account can be formed by the order time corresponding to all orders of the account. For another example, the order time series corresponding to the account can be formed by the order time corresponding to all orders of the account in the past month.

[0036] The execution subject of the abnormal account detection method (such as Figure 1 The server 105 shown in the figure can obtain the order time series corresponding to the account to be detected from local, other storage devices or data sources, etc. Taking the e-commerce platform as an example, the order time series corresponding to each account can be obtained from the database of the platform.

[0037] Step 202: Determine the distribution type that the order time series obeys.

[0038] In this embodiment, the distribution type can be used to distinguish the characteristics of the order time series. Specifically, the characteristics and distribution type of the order time series can be flexibly set according to actual application requirements and application scenarios. For example, the characteristics of the order time series can include but are not limited to: mean change, adjacent difference change, smoothness, regularity, etc.

[0039] The distribution type may include various existing distribution types. For example, the distribution type may include but is not limited to: normal distribution, Poisson distribution, binomial distribution, skewed distribution, Kabu distribution, uniform distribution, etc. The distribution type may also be pre-designed by a technician, for example, the technician may pre-classify different distribution types according to the characteristics of different order time series.

[0040] After obtaining the order time series, various methods can be flexibly used to determine the distribution type that the order time series obeys. For example, the characteristics of the order time series can be determined first, and then the distribution type corresponding to the characteristics can be determined as the distribution type that the order time series obeys.

[0041] Step 203: Use a change point detection method corresponding to the distribution type to determine the mutation point in the order placement time series.

[0042] In this embodiment, a change point generally refers to a time point in a sequence or process when a feature changes due to systematic factors rather than accidental factors. Change point detection (CPD) refers to using various methods to determine the location of the change point in the sequence. Figure 2a As an example, a schematic diagram of the change point is shown. Figure 2a In the figure, the black dots can be regarded as some change points.

[0043] Specifically, various change point detection methods can be used to determine the mutation points in the order time series according to needs, such as the cumulative sum of squares method, the iterative cumulative sum of squares method, the Bayesian method, the maximum likelihood method, the local comparison method, the wavelet analysis method, etc.

[0044] The correspondence between the distribution type and the change point detection method can be preset by a technician. Different distribution types can correspond to different change point detection methods.

[0045] It should be noted that the order time series may include any number of mutation points.

[0046] Step 204: Generate a first feature value for representing the position of the mutation point in the order placement time series.

[0047] In this embodiment, after determining the mutation point in the order time series, the position of the mutation point in the order time series can be obtained, and then various methods can be used to generate a first feature value representing the position. For example, the position of the mutation point in the order time series can be directly used as the first feature value.

[0048] For another example, a time period including a mutation point can be used as the first eigenvalue. As an example, an order time series can be composed of the order times corresponding to the orders in the past ten days in sequence. If there is a mutation point between the 2nd day and the 5th day, the array [2, 5] can be used as the first eigenvalue. If there is also a mutation point between the 3rd day and the 8th day, the array [2, 5, 3, 8] can be used as the first eigenvalue.

[0049] Step 205: Determine the detection result of the account according to the first characteristic value.

[0050] In this embodiment, the detection result of the account number may indicate whether the account number is an abnormal account number. An abnormal account number may refer to an account number with abnormal ordering behavior, such as an account number with blind sales behavior.

[0051] After obtaining the first eigenvalue, various methods can be flexibly used to determine the detection result of the corresponding account according to the first eigenvalue. For example, the conditions satisfied by the first eigenvalue corresponding to the abnormal account can be pre-set. At this time, it can be judged whether the first eigenvalue corresponding to the currently determined account to be detected meets the condition. If it meets, it can be determined that the account is an abnormal account. If it does not meet, it can be determined that the account is not an abnormal account. Among them, the conditions satisfied by the first eigenvalue corresponding to the abnormal account can be set according to the characteristics of the abnormal account to be detected in the actual application scenario. For example, for abnormal accounts that may have centralized batch shipments, the conditions can be set to have the characteristics of concentrated mutation points. Specifically, taking the above-mentioned use of an array to represent the first eigenvalue as an example, the number of non-zero elements in the array can be used to represent one aspect of whether the mutation points are concentrated. At this time, the condition can be that the number of non-zero elements is not greater than a preset threshold. If the first eigenvalue meets the condition, it can be determined that the account is an abnormal account. If it does not meet, it can be determined that the account is not an abnormal account.

[0052] After detecting an abnormal account, the account can be further banned or its permissions can be restricted to promptly detect and handle violations.

[0053] Since order time series of different distribution types usually have different characteristics, and different characteristic data series may require different processing methods, we use corresponding matching change point detection methods for order time series of different classification types, which helps improve the accuracy of the determined mutation points, and further helps improve the accuracy of the detection results of abnormal account detection based on the determined mutation points. It should be noted that a data series is a generalized sequence description, and an order time series is a data series.

[0054] In some optional implementations of this embodiment, the account to be detected can be obtained through the following steps:

[0055] Step 1: Obtain an account set, and obtain the feature value of the target feature of each account in the account set.

[0056] In this step, the account set may be composed of several accounts, which may be determined according to the actual application scenario. For example, the account set may be composed of accounts that have placed orders within a preset time period. The account set may be obtained from any data source.

[0057] The target features may be determined based on the features of normal accounts. The features of normal accounts may refer to the features that normal accounts have and are very different from those of abnormal accounts, and may be determined in advance by various methods such as statistics. As an example, the target features may include but are not limited to the shipment volume and the delivery rate.

[0058] The characteristic value of the target characteristic of each account can be obtained by performing statistics on the relevant data of the account, etc. Specifically, the characteristic value of the target characteristic of each account can be obtained from any data source.

[0059] Step 2: Determine whether the account is a normal account based on the feature value of the target feature of each account.

[0060] After obtaining the characteristic value of the target characteristic of each account, various methods can be used to determine whether the account is a normal account based on the characteristic value. For example, the conditions satisfied by the characteristic value of a normal account can be determined in advance by statistical methods, and then after obtaining the characteristic value of the target characteristic of each account, it can be determined whether the account is a normal account by judging whether the characteristic value satisfies the condition. If so, the account can be considered a normal account.

[0061] As an example, when the target features include order quantity and delivery rate, a normal account usually does not have a large number of orders, and the delivery rate is usually high, so the order quantity threshold and the delivery rate threshold can be set in advance. At this time, after obtaining the order quantity and delivery rate of each account, it can be determined whether the order quantity of the account is less than the order quantity threshold, and whether the delivery rate of the account is greater than the delivery rate threshold. If the order quantity of the account is less than the order quantity threshold, and the delivery rate of the account is greater than the delivery rate threshold, then the account can be considered to be a normal account.

[0062] Step 3: Delete the determined normal accounts from the account set to obtain an updated account set, and determine the accounts in the updated account set as accounts to be detected.

[0063] In this step, the determined normal accounts can be deleted from the account set to obtain an updated account set. The accounts in the updated account set can be regarded as accounts that cannot be determined to be normal accounts, so the accounts in the updated account set can be used as accounts to be detected.

[0064] It should be noted that the execution subject of the above step of obtaining the account to be detected and the execution subject of the above abnormal account detection method may be the same as or different from each other.

[0065] Since normal accounts usually have some obvious characteristics, such as basically no unsuccessful delivery, that is, a high successful delivery rate, etc., based on this, you can first set filtering conditions based on these characteristics to filter out normal accounts from the account set, and use accounts that cannot be judged temporarily as accounts to be tested for further testing. This can not only reduce the number of accounts to be tested subsequently and improve detection efficiency, but also reduce the risk of false detection.

[0066] In some optional implementations of this embodiment, the distribution type of the order time series may include normal distribution and non-normal distribution. At this time, after obtaining the order time series of the account to be detected, various methods can be used to determine whether the order time series of the account obeys the normal distribution.

[0067] For example, descriptive statistical methods (such as histograms, stem-and-leaf plots, QQ plots, PP plots, etc.) can be used to determine whether the order time series obeys a normal distribution. For another example, statistical test methods (such as SW test, KS test, AD test, W test, etc.) can be used to determine whether the order time series obeys a normal distribution.

[0068] It should be noted that when judging whether the order time series obeys the normal distribution, the specific judgment criteria can be flexibly set according to the actual application requirements. For example, the order time series does not need to strictly obey the standard normal distribution. As long as the difference is within a certain threshold, the order time series can also be regarded as obeying the normal distribution.

[0069] Correspondingly, if it is judged that the order time series does not conform to the normal distribution, it can be considered that the order time series obeys the non-normal distribution.

[0070] In this case, if it is determined that the order time series follows a normal distribution, the first change point detection method can be used to determine the mutation point in the order time series. If it is determined that the order time series follows a non-normal distribution, the second change point detection method can be used to determine the mutation point in the order time series. Generally, the first change point detection method and the second change point detection method are different.

[0071] Specifically, the first change point detection method and the second change point detection method can be performed by first segmenting the order time series to form a number of subsequences, and then determining the mutation points in the order time series by comparing the feature differences between different subsequences. The first change point detection method and the second change point detection method may have at least one difference in the segmentation method for the order time series and the feature comparison method between different subsequences. In general, different segmentation methods and feature comparison methods can be used for data sequences based on the different features of data sequences that obey normal distribution and those that obey non-normal distribution, which can be specifically set in advance by technical personnel.

[0072] Optionally, the first change point detection method may be implemented based on a radial basis function (RBF) The second change point detection method may be implemented based on a preset norm (such as an L2 norm, etc.).

[0073] Specifically, if it is determined that the order time series obeys a normal distribution, the first change point detection method can use a bottom-up method combined with a radial basis function to split the order time series so that each subsequence after segmentation meets the preset conditions. If it is determined that the order time series obeys a non-normal distribution, the second change point detection method can use a dynamic programming method combined with a preset norm to split the order time series so that each subsequence after segmentation meets the preset conditions. Among them, the preset conditions can be flexibly set by the technician in advance according to the actual application scenario. Among them, bottom-up, radial basis function, dynamic programming and norm are currently widely studied and applied technologies, which will not be repeated here.

[0074] Since different segmentation methods and feature comparisons perform differently on data sequences of different distribution types, using different segmentation methods and / or feature comparison methods for data sequences of different distribution types can make the segmentation results and feature comparison results more accurate, thereby making the mutation point detection results more accurate. For example, for data sequences that obey non-normal distributions, since the mean value changes significantly, using dynamic programming combined with a preset norm to segment the order time series can obtain more accurate segmentation results.

[0075] In some optional implementations of this embodiment, the above abnormal account detection method may further include obtaining a second characteristic value of the account to be detected. The second characteristic value may be used to indicate the completion quality of the order set corresponding to the order time series corresponding to the account. At this time, the detection result of the account may be determined in combination with the first characteristic value and the second characteristic value.

[0076] The completion quality of the order set can be represented in various ways according to the actual application scenario. For example, the completion quality can be represented by at least one of the following features: delivery rate, customer complaint rate, claim event attributes, etc. Claim event attributes can refer to various attributes of the claim event corresponding to the account (such as the number of times, claim information noted by the customer service, etc.).

[0077] The second characteristic value may correspond to the above-mentioned various characteristics, and may be obtained from various data sources. The second characteristic value may be obtained by statistically analyzing the order-related data of the account. It should be noted that the second characteristic value may be multiple and correspond to different second characteristics, respectively, and may be set according to the actual application scenario.

[0078] Generally, the feature corresponding to the first feature is different from the feature corresponding to the second feature. After obtaining the first feature value and the second feature value, various methods can be used to combine the first feature value and the second feature value to determine the detection result of the account. For example, the weighted sum or weighted product of the first feature value and the second feature value can be calculated to obtain the calculation result, and then the detection result of the account can be determined by comparing the relationship between the calculation result and the preset threshold.

[0079] As an example, the first feature can be used to describe the characteristics of concentrated batch shipments. At the same time, three second features can be included, namely, low delivery rate feature, high customer complaint rate feature, and claim event attribute feature. At this time, the weighted sum of the first feature value of the account to be detected corresponding to the first feature and the three feature values ​​corresponding to the three second features can be calculated. If the weighted sum result is greater than the preset threshold, the account can be considered to be an abnormal account.

[0080] Combining a variety of different features to comprehensively detect whether an account is an abnormal account can help improve the accuracy of the detection results and ensure the interpretability of the final detection results.

[0081] Further references Figure 3 , which shows a process 300 of another embodiment of an abnormal account detection method. The process 300 of the abnormal account detection method includes the following steps:

[0082] Step 301: Obtain the order time series corresponding to the account to be detected.

[0083] Step 302: Determine the distribution type that the order time series obeys.

[0084] Step 303: Use a change point detection method corresponding to the distribution type to determine the mutation point in the order time series.

[0085] Step 304: Generate a first characteristic value for indicating the position of the mutation point in the order time series, and determine a detection result obtained based on the first characteristic value as a first detection result.

[0086] Step 305: Use the pre-trained detection model to determine the detection result of the account as the second detection result.

[0087] In this embodiment, a pre-trained detection model may be used to detect the account to be detected, obtain a detection result, and use the obtained detection result as the second detection result.

[0088] Among them, the detection model can be used to detect whether the account is an abnormal account. Specifically, the input of the detection model can be the characteristics of the account to be detected, which can be flexibly set according to the actual application scenario. For example, the input can be the above-mentioned first characteristic and second characteristic of the account to be detected, etc.

[0089] The network structure of the detection model can be preset by the technician. For example, the detection model can be various machine learning models (logistic regression model, decision tree, etc.). The detection model can be trained based on the co-training method. Among them, co-training is a multi-view learning method. Specifically, co-training is based on divergence, assuming that each data can be represented by a different view, and different views can train different classifiers, and then use these classifiers to classify unlabeled samples, and then select the most confident unlabeled samples to continue training the classifier.

[0090] Therefore, for the above detection model, different classifiers can be trained based on different features (corresponding to the above views), and then these classifiers can be used to classify the unlabeled samples. Then, the most confident unlabeled samples are selected to continue training the classifier until the training is completed.

[0091] by Figure 3a As an example, it shows a schematic diagram of using training samples to train different classifiers. Figure 3a In the example, feature "A" can be used to train classifier "1" for detecting abnormal accounts using feature "A", features "B" and "C" can be used to train classifier "2" for detecting abnormal accounts using features "B" and "C", and features "D" and "E" can be used to train classifier "3" for detecting abnormal accounts using features "D" and "E". Then classifiers "1", "2" and "3" can be used to classify samples in the unlabeled sample set (each sample corresponds to an account), and the classification results indicate whether the corresponding account is an abnormal account. Next, the samples corresponding to the abnormal accounts determined by classifier "1" can be used as labeled samples to continue training classifiers "2" and "3", and the samples corresponding to the abnormal accounts determined by classifier "2" can be used as labeled samples to continue training classifiers "1" and "3", and the samples corresponding to the abnormal accounts determined by classifier "3" can be used as labeled samples to continue training classifiers "1" and "2", and this cycle will be repeated until the unlabeled sample set is an empty set. The classifiers "1", "2" and "3" obtained at this time can then be used as detection models for the detection of abnormal accounts.

[0092] The training samples, loss functions and specific training processes of the detection model can be flexibly selected or set by the technicians in combination with the actual application scenarios. For example, the training of the detection model can be completed by combining PU (Positive-unlabeled) Learning and collaborative training.

[0093] Taking PU Learning combined with collaborative training as an example, collaborative training is applied to the second step of PU Learning. Figure 3b, the detection model can be trained through the following steps, where, Figure 3b A schematic diagram showing the changes in the sample set during the detection model training process:

[0094] Step 1: Obtain positive sample sets and unlabeled sample sets.

[0095] In this step, the positive sample set (such as Figure 3b The positive sample set "P" shown in the figure is composed of several positive samples. The sample can include the input of the detection model (such as account features, etc.) and the account detection result (whether it is an abnormal account). The positive sample corresponds to the abnormal account. Figure 3b The unlabeled sample set "U" shown may be composed of several unlabeled samples. The unlabeled samples may correspond to accounts that cannot be judged as abnormal accounts at present. The labels include positive samples and negative samples. Specifically, the positive sample set and the unlabeled sample set may be obtained from any data source.

[0096] Step 2: Filter negative samples from the unlabeled sample set.

[0097] In this step, various existing screening strategies can be used to determine the negative samples in the unlabeled samples (such as Figure 3b Negative samples "RN" are shown). For example, the screening strategies include but are not limited to: Naive Bayes classification, Spy method, Rocchio classification, Spy method, 1-DNF algorithm, etc.

[0098] Among them, the naive Bayes classification method usually marks all samples in the unlabeled sample set as negative samples first, then uses the positive sample set and the labeled unlabeled sample set to train the Bayes classifier, and then uses the trained classifier to classify the samples in the unlabeled sample set to filter out samples whose classification results are negative samples.

[0099] The Spy method usually selects some samples from the positive sample set to form a subset, temporarily marks the samples in the subset and the samples in the unlabeled sample set as negative samples, and then uses the marked subset and the unlabeled sample set as the negative sample set, and combines them with the positive samples to train the classification model, and then uses the trained classification model to classify the samples in the above subset and the unlabeled sample set, and selects the negative samples in the unlabeled sample set according to the classification results of the classification model on the samples in the above subset.

[0100] The 1-DNF method usually obtains the features used first, and then traverses each feature. If the number of times the feature appears in the positive sample set is greater than the number of times it appears in the unlabeled sample set, the feature is marked as a positive feature. For a sample in the unlabeled sample set, if it does not contain any positive features at all, the sample is determined to be a negative sample.

[0101] The Rocchio method usually first determines the feature vectors corresponding to the positive sample set and the unlabeled sample set respectively, and then selects samples from the unlabeled sample set whose corresponding feature vectors have a high similarity with the feature vectors of the unlabeled sample set and a low similarity with the feature vectors of the positive sample set as negative samples.

[0102] It should be noted that the above is only an exemplary execution process of each screening strategy, which can be flexibly set according to the actual application scenario.

[0103] It should be noted that the execution entity used to execute the training of the detection model may be the same as or different from the execution entity of the above-mentioned abnormal account detection method.

[0104] Step 3: A training sample set is composed of a positive sample set and negative samples selected from an unlabeled sample set, and a detection model is trained using the training sample set. The trained detection model is used to detect other samples in the unlabeled sample set except the selected negative samples to obtain the detection results.

[0105] In this step, the test result can indicate whether the account corresponding to the sample is an abnormal account. Correspondingly, the test result can show whether the sample is a positive sample or a negative sample. Figure 3b The new unlabeled sample set “Q” is shown, i.e., Q=U-RN.

[0106] Step 4: Add the samples detected as negative samples in step 3 to the above training sample set, and use the new training sample set to perform a new round of training on the detection model. Repeat this cycle until the preset termination condition is met or there are no other samples in the unlabeled sample set except the screened negative samples. The detection model trained at this time is used as the completed detection model.

[0107] In this step, the training of the detection model in the above steps three and four can adopt the above collaborative training method. During collaborative training, the specific termination strategy can be flexibly set. For example, the classifiers of each round can be fully retained, and a bagging process similar to a random forest can be performed to use the results output by all classifiers as classification results. For another example, the iteration can be terminated when the error of the classification results of the previous and next generations of classifiers increases. For another example, the iteration can be stopped when the false negative rate of the classification result of the classifier is large.

[0108] By integrating the collaborative training method into methods such as PU Learning, features from various angles or combined features can be utilized in each iterative training process, thereby increasing the information used during detection and helping to improve the accuracy of detection results.

[0109] Step 306: Determine whether the account is an abnormal account based on the first detection result and the second detection result.

[0110] In this embodiment, after obtaining the first detection result and the second detection result, the two detection results can be combined to more comprehensively determine whether the account is an abnormal account. Specifically, the technician can use various methods to make the judgment. For example, if the first detection result and the second detection result are consistent, and both indicate that the account to be detected is an abnormal account, then the account can be determined to be an abnormal account. If the first detection result and the second detection result are consistent, and both indicate that the account to be detected is not an abnormal account, then it can be determined that the account is not an abnormal account. If the first detection result and the second detection result are inconsistent, relevant personnel can further determine whether the account is an abnormal account, such as through manual review or in combination with other detection methods.

[0111] For another example, the first detection result and the second detection result may also include a probability for indicating that the account to be detected is an abnormal account. At this time, if the first detection result and the second detection result are inconsistent, the detection result with a larger corresponding probability can be selected as the final detection result of the account to be detected.

[0112] After detecting an abnormal account, we can further obtain abnormal evidence of the abnormal account (such as claims, customer complaint related information, undelivered orders, frequent consignment, collection related information, etc.), and then store these evidences (such as uploading to the cloud, etc.) for subsequent use.

[0113] Continue to see Figure 3c , which shows an exemplary application scenario of the abnormal account detection method according to this embodiment. Figure 3c In the process, the algorithm side (such as the backend server, etc.) can first screen the full list of accounts according to the shipment volume, delivery rate, and arrival ratio, so as to remove obviously abnormal accounts and obviously normal accounts, and use the remaining list as the list to be tested. After that, the distribution type of the order time series of each account in the list to be tested can be analyzed, and the first eigenvalue of the account can be determined according to the distribution type using the corresponding change point detection method, and the first detection result of the account can be determined in combination with the second eigenvalues ​​such as the delivery rate and customer complaint rate of the account. In addition, the second detection result of the account is determined by using the detection model based on collaborative training technology and Bad case technology. Then, the abnormal account can be determined in combination with the first detection result and the second detection result.

[0114] In addition, the risk control platform can receive relevant evidence files of abnormal accounts through the message middleware system (such as JMQ, etc.). On the business side, on the one hand, some confirmed abnormal accounts can be directly determined through business-side audits, and on the other hand, the relevant evidence files of the risk control platform can be reviewed to update the confirmed abnormal accounts. After that, the risk control platform can record them in the table for subsequent use.

[0115] The method provided by the above-mentioned embodiment of the present disclosure comprehensively determines abnormal accounts by combining the detection results obtained by different detection methods, which helps to improve the accuracy of the detection results of abnormal accounts and reduce the probability of false detection.

[0116] In addition, the existing graph-based detection method usually mines abnormal accounts through the connectivity of the graph and the propagation relationship therein, but this method has poor interpretability (that is, it is difficult to explain the necessary and sufficient relationship between the connectivity of the graph and the propagation relationship therein and the abnormal accounts, etc.), and the attribute definition is difficult (such as it is impossible to accurately define the attributes of the edges in the graph, etc.), and the manual review method is inefficient, has poor real-time performance and high labor costs. The method provided by the above-mentioned embodiment of the present disclosure, on the one hand, uses the characteristic values ​​corresponding to various clear features to detect abnormal accounts, and on the other hand, from the perspective of the model, uses the collaborative training method to train the detection model for the detection of abnormal accounts, and then combines the two detection methods to determine the final detection results, which can have good interpretability and active recognition capabilities, thereby improving the efficiency of abnormal account detection. Moreover, training the detection model using the collaborative training method can solve the problems that the existing detection method based on supervised training of positive samples often has, such as fewer positive samples and no negative sample labels.

[0117] Further references Figure 4 As an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of an abnormal account detection device. Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.

[0118] like Figure 4As shown, the abnormal account detection device 400 provided in this embodiment includes an order time series acquisition unit 401, a distribution type determination unit 402, a mutation point determination unit 403, a generation unit 404 and a detection unit 405. Among them, the order time series acquisition unit 401 is configured to obtain the order time series corresponding to the account to be detected; the distribution type determination unit 402 is configured to determine the distribution type obeyed by the order time series; the mutation point determination unit 403 is configured to determine the mutation point in the order time series using the change point detection method corresponding to the distribution type; the generation unit 404 is configured to generate a first feature value for indicating the position of the mutation point in the order time series; the detection unit 405 is configured to determine the detection result of the account according to the first feature value, wherein the detection result indicates whether the account is an abnormal account.

[0119] In this embodiment, in the abnormal account detection device 400, the specific processing of the order time series acquisition unit 401, the distribution type determination unit 402, the mutation point determination unit 403, the generation unit 404 and the detection unit 405 and the technical effects thereof can be referred to respectively. Figure 2 The relevant descriptions of step 201, step 202, step 203, step 204 and step 205 in the corresponding embodiment are not repeated here.

[0120] In some optional implementations of the present embodiment, the above-mentioned distribution types include normal distribution and non-normal distribution; and the above-mentioned mutation point determination unit 403 is further configured to: in response to determining that the order time series obeys a normal distribution, determine the mutation points in the order time series using a first change point detection method, wherein the first change point detection method is implemented based on a radial basis function; in response to determining that the order time series obeys a non-normal distribution, determine the mutation points in the order time series using a second change point detection method, wherein the second change point detection method is implemented based on a preset norm.

[0121] In some optional implementations of this embodiment, the above-mentioned accounts to be detected are obtained through the following steps: obtaining an account set, and obtaining a feature value of a target feature of each account in the account set, wherein the target feature is determined based on a feature of a normal account; determining whether the account is a normal account based on the feature value of the target feature of each account; deleting the determined normal account from the account set to obtain an updated account set, and determining the accounts in the updated account set as the accounts to be detected.

[0122] In some optional implementations of this embodiment, the above-mentioned abnormal account detection device also includes: a feature value acquisition unit (not shown in the figure) is configured to obtain a second feature value of the account, wherein the second feature value represents the completion quality of the order set corresponding to the order time series; and the above-mentioned detection unit 405 is further configured to: determine the detection result of the account based on the first feature value and the second feature value.

[0123] In some optional implementations of this embodiment, the above-mentioned detection unit 405 is further configured to: determine the detection result obtained based on the first characteristic value as the first detection result; determine the detection result of the account as the second detection result using a pre-trained detection model, wherein the detection model is trained based on a collaborative training method; determine whether the account is an abnormal account based on the first detection result and the second detection result.

[0124] The device provided by the above-mentioned embodiment of the present disclosure obtains the order time series corresponding to the account to be detected through the order time series acquisition unit; the distribution type determination unit determines the distribution type obeyed by the order time series; the mutation point determination unit uses the change point detection method corresponding to the distribution type to determine the mutation point in the order time series; the generation unit generates a first characteristic value for representing the position of the mutation point in the order time series; the detection unit determines the detection result of the account according to the first characteristic value, wherein the detection result indicates whether the account is an abnormal account. Since different order time series usually have different characteristics, using different change point detection methods for mutation point detection helps to improve the accuracy of the mutation point detection results, and thus improves the accuracy of abnormal account detection based on the mutation point detection results.

[0125] Reference below Figure 5 , which shows an electronic device (eg, Figure 1 A schematic diagram of the structure of the server 500 in FIG. Figure 5 The server shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0126] like Figure 5 As shown, the electronic device 500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0127] Typically, the following devices may be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 5 The electronic device 500 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 5 Each block shown in the figure may represent one device, or may represent multiple devices as required.

[0128] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 509, or installed from a storage device 508, or installed from a ROM 502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0129] It should be noted that the computer-readable medium described in the embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the embodiments of the present disclosure, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, device or device. In the embodiments of the present disclosure, the computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0130] The computer-readable medium may be included in the electronic device; or it may exist independently without being installed in the electronic device. The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: obtains the order time series corresponding to the account to be detected; determines the distribution type obeyed by the order time series; uses the change point detection method corresponding to the distribution type to determine the mutation point in the order time series; generates a first feature value for indicating the position of the mutation point in the order time series; determines the detection result of the account according to the first feature value, wherein the detection result indicates whether the account is an abnormal account.

[0131] Computer program code for performing the operations of embodiments of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on a user's computer, partially on a user's computer, as a separate software package, partially on a user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0132] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0133] The units involved in the embodiments described in the present disclosure may be implemented by software or by hardware. The units described may also be set in a processor, for example, it may be described as: a processor includes an order time series acquisition unit, a distribution type determination unit, a mutation point determination unit, a generation unit, and a detection unit. The names of these units do not constitute a limitation on the units themselves in some cases. For example, the order time series acquisition unit may also be described as "a unit for acquiring the order time series corresponding to the account to be detected."

[0134] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) to form a technical solution.

Claims

1. A method for detecting abnormal accounts, include: Get the order time series corresponding to the account to be tested; Determine the distribution type obeyed by the order time series; Determine the mutation point in the order placement time series using a change point detection method corresponding to the distribution type; Generate a first feature value for indicating the position of the mutation point in the order placement time series; A detection result of the account is determined according to the first characteristic value, wherein the detection result indicates whether the account is an abnormal account.

2. The method according to claim 1, in, The distribution types include normal distribution and non-normal distribution; and The step of using a change point detection method corresponding to the distribution type to determine a mutation point in the order placement time series includes: In response to determining that the order time series follows a normal distribution, determining a mutation point in the order time series using a first change point detection method, wherein the first change point detection method is implemented based on a radial basis function; In response to determining that the order time series obeys a non-normal distribution, a mutation point in the order time series is determined using a second change point detection method, wherein the second change point detection method is implemented based on a preset norm.

3. The method according to claim 2, in, The account to be detected is obtained through the following steps: Acquire an account set, and acquire a feature value of a target feature of each account in the account set, wherein the target feature is determined based on a feature of a normal account; Determine whether the account is a normal account based on the characteristic value of the target characteristic of each account; The determined normal accounts are deleted from the account set to obtain an updated account set, and the accounts in the updated account set are determined as accounts to be detected.

4. The method according to claim 3, in, The method further comprises: Obtaining a second characteristic value of the account, wherein the second characteristic value represents the completion quality of the order set corresponding to the order placement time series; and The determining the detection result of the account according to the first characteristic value includes: The detection result of the account is determined according to the first characteristic value and the second characteristic value.

5. The method according to claim 4, in, The method further comprises: Determine a detection result obtained based on the first characteristic value as a first detection result; Determine the detection result of the account as the second detection result by using a pre-trained detection model, wherein the detection model is trained based on a collaborative training method; According to the first detection result and the second detection result, it is determined whether the account is an abnormal account.

6. A device for detecting abnormal accounts, include: An order time series acquisition unit is configured to acquire an order time series corresponding to the account to be detected; a distribution type determination unit, configured to determine the distribution type to which the order placement time series conforms; a mutation point determination unit, configured to determine the mutation point in the order placement time series by using a change point detection method corresponding to the distribution type; A generating unit, configured to generate a first feature value for indicating a position of the mutation point in the order placement time series; The detection unit is configured to determine a detection result of the account according to the first feature value, wherein the detection result indicates whether the account is an abnormal account.

7. The device according to claim 6, in, The distribution types include normal distribution and non-normal distribution; and The mutation point determination unit is further configured to: in response to determining that the order time series follows a normal distribution, determine the mutation point in the order time series using a first change point detection method, wherein the first change point detection method is implemented based on a radial basis function; In response to determining that the order time series obeys a non-normal distribution, a mutation point in the order time series is determined using a second change point detection method, wherein the second change point detection method is implemented based on a preset norm.

8. The device according to claim 7, in, The account to be detected is obtained through the following steps: Acquire an account set, and acquire a feature value of a target feature of each account in the account set, wherein the target feature is determined based on a feature of a normal account; Determine whether the account is a normal account based on the characteristic value of the target characteristic of each account; The determined normal accounts are deleted from the account set to obtain an updated account set, and the accounts in the updated account set are determined as accounts to be detected.

9. The device according to claim 8, in, The device also includes: a feature value acquisition unit configured to acquire a second feature value of the account, wherein the second feature value represents the completion quality of the order set corresponding to the order placement time series; and The detection unit is further configured to determine a detection result of the account according to the first characteristic value and the second characteristic value.

10. The device according to claim 9, in, The detection unit is further configured to: Determine a detection result obtained based on the first characteristic value as a first detection result; Determine the detection result of the account as the second detection result by using a pre-trained detection model, wherein the detection model is trained based on a collaborative training method; According to the first detection result and the second detection result, it is determined whether the account is an abnormal account.

11. An electronic device, include: one or more processors; a storage device having one or more programs stored thereon; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 5.

12. A computer readable medium having a computer program stored thereon, in, When the program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.