User identification model training, user identification method and device
By combining the time series characteristics of call behavior and Internet surfing behavior in the user identification model, and using neural networks to perform multiple coding and loss function optimization, the problem of false interception and model convergence difficulties in the identification of fraudulent users in the existing technology is solved, and the identification is improved. accuracy and model performance.
Patent Information
- Application Number
- CN202211182541.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-27
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2042-09-27
AI Technical Summary
In the identification of fraudulent users, the existing technology only relies on the characteristics of call behavior or online behavior, which leads to the mistaken interception of non-fraud users and increases user complaints. Moreover, the online behavior recognition model is difficult to effectively identify cross-Internet fraud behaviors, and the model training is easy. Convergence difficulties occur.
Using the user identification model, the first neural network module is used to encode the time series feature data, combined with the second neural network module for multiple encodings, and the cross-entropy loss function and the focus loss function are used for model training to fully explore the characteristics of call behavior and Internet surfing behavior. Timing characteristics improve the convergence speed and performance of the model.
It improves the performance and accuracy of the user identification model, reduces false interceptions, enhances the ability to identify fraud, and solves the problem of convergence difficulties in model training.
Smart Images

Figure CN115550506B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of artificial intelligence technology, and in particular to a user identification model training, user identification method and device. Background Art
[0002] With the popularization of mobile Internet technology, the phenomenon of using the Internet to engage in illegal activities occurs from time to time. In related technologies, users who have fraudulent behavior are usually identified by simple call behavior recognition models or online behavior recognition models. Summary of the invention
[0003] The present disclosure proposes a user identification model training, user identification method and device.
[0004] According to a first aspect of the present disclosure, a method for training a user identification model is provided, comprising: using a first neural network module in the user identification model to perform a first encoding on time series feature data of a sample user to obtain a first feature representation, wherein the time series feature data of the sample user includes time series feature data of a call behavior and time series feature data of an Internet behavior of the sample user; using a second neural network module in the user identification model to perform a second encoding on the first feature representation, and based on the second feature representation obtained by the second encoding, predicting the category of the sample user; and training the user identification model according to the category prediction result of the sample user and the category label information of the sample user.
[0005] In some embodiments, it also includes: receiving deep packet inspection data and original call data reported by a base station; processing the deep packet inspection data and original call data to obtain time series feature data of sample users.
[0006] In some embodiments, the sample user's call behavior timing characteristic data includes at least one of the number of call records, call duration, and card activation time of the sample user in multiple time periods; and / or, the sample user's Internet behavior timing characteristic data includes at least one of the name of the application accessed, Internet downstream traffic, Internet upstream traffic, application access duration, and application access time of the sample user in multiple time periods.
[0007] In some embodiments, the first neural network module includes at least one feature extraction unit, each feature extraction unit includes a convolutional layer and an attention layer; and / or, the second neural network module is a bidirectional long short-term memory network module.
[0008] In some embodiments, the convolutional layers are the first to third convolutional layers sequentially arranged from the input side to the output side in the residual block of MobileNetv2, and the attention layer is arranged between the second convolutional layer and the third convolutional layer.
[0009] In some embodiments, training the user identification model according to the category prediction results of the sample users and the category label information of the sample users includes: calculating the focus loss function value according to the category prediction results of the sample users and the category label information of the sample users; and iteratively updating the user identification model using the focus loss function value.
[0010] According to a second aspect of the present disclosure, a user identification method is provided, comprising: utilizing a first neural network module in a trained user identification model to perform a first encoding on time series feature data of a user to be tested to obtain a first feature representation, wherein the time series feature data of the user to be tested includes time series feature data of call behavior and time series feature data of Internet behavior of the user to be tested; utilizing a second neural network module in the trained user identification model to perform a second encoding on the first feature representation, and predicting the category of the user to be tested based on the second feature representation obtained by the second encoding.
[0011] In some embodiments, it also includes: when the user to be tested is a user of a specified category, determining the terminal device identification of the user to be tested and the location information of the user to be tested; and / or, performing cluster analysis on the location information of the users to be tested belonging to the specified category to obtain the location information of the user group of the specified category.
[0012] According to a third aspect of the present disclosure, a training device for a user identification model is provided, comprising: an encoding module, configured to use a first neural network module in the user identification model to perform a first encoding on temporal feature data of a sample user to obtain a first feature representation, wherein the temporal feature data of the sample user includes the temporal feature data of a call behavior and the temporal feature data of an Internet behavior of the sample user; a prediction module, configured to use a second neural network module in the user identification model to perform a second encoding on the first feature representation, and predict the category of the sample user based on the second feature representation obtained by the second encoding; a training module, configured to train the user identification model according to the category prediction result of the sample user and the category label information of the sample user.
[0013] According to a fourth aspect of the present disclosure, a user identification method is provided, comprising: an encoding module, configured to use a first neural network module in a trained user identification model to perform a first encoding on time series feature data of a user to be tested to obtain a first feature representation, wherein the time series feature data of the user to be tested includes time series feature data of call behavior and time series feature data of Internet behavior of the user to be tested; a prediction module, configured to use a second neural network module in the trained user identification model to perform a second encoding on the first feature representation, and predict the category of the user to be tested based on the second feature representation obtained by the second encoding.
[0014] According to a fifth aspect of the present disclosure, a device is provided, comprising: a memory; and a processor coupled to the memory, the processor being configured to execute the user recognition model training method or the user recognition method as described above based on instructions stored in the memory.
[0015] According to a sixth aspect of the present disclosure, a computer storable medium is provided, on which computer program instructions are stored, and when the instructions are executed by a processor, the training method of the user recognition model or the user recognition method as described above is implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The accompanying drawings, which constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0017] The present disclosure may be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:
[0018] Figure 1 is a flowchart illustrating a method for training a user recognition model according to some embodiments of the present disclosure;
[0019] Figure 2 is a schematic diagram showing the structure of a user identification model according to some embodiments of the present disclosure;
[0020] Figure 3 is a schematic diagram showing the structure of a first neural network module according to some embodiments of the present disclosure;
[0021] Figure 4 is a flow chart illustrating a user identification method according to some embodiments of the present disclosure;
[0022] Figure 5 is a block diagram illustrating a training apparatus for a user recognition model according to some embodiments of the present disclosure;
[0023] Figure 6 is a block diagram illustrating a user identification device according to some embodiments of the present disclosure;
[0024] Figure 7 is a block diagram showing a training device for a user identification model or a user identification device according to other embodiments of the present disclosure;
[0025] Figure 8 is a block diagram illustrating a computer system for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION
[0026] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless otherwise specifically stated.
[0027] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.
[0028] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.
[0029] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered part of the specification.
[0030] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0031] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0032] In the related art, when identifying fraudulent users based on the telephone behavior recognition model, only the user's call behavior characteristics are used for identification, and the Internet behavior characteristics are missing. Since the characteristics of fraudulent call behavior are similar to the work call behavior of the increasing number of delivery and transportation personnel such as takeout, express delivery, and online car-hailing, as well as telephone sales personnel, relying solely on call behavior characteristics to identify fraudulent users is prone to mistakenly intercepting non-fraudulent users, leading to an increase in user complaints, and increasing the difficulty of investigating real fraudulent numbers.
[0033] In the related art, when fraudulent users are identified based on the online behavior recognition model, only the online behavior characteristics of users are relied on for identification, and the call behavior characteristics are missing. Moreover, the online behavior recognition model in the related art does not fully mine the online behavior characteristics, which makes it difficult to effectively identify cross-Internet fraudulent behaviors. Moreover, convergence difficulties are prone to occur during the model training process.
[0034] In view of this, the present disclosure provides a user identification model training, user identification method and device, which can speed up the model training process, improve the performance of the trained user identification model, and further improve the accuracy and reliability of the user identification results obtained based on the model.
[0035] Figure 1 is a flow chart showing a method for training a user recognition model according to some embodiments of the present disclosure. In some embodiments, the method for training a user recognition model is performed by a training device for a user recognition model. Figure 1 As shown, the training method of the user recognition model of the embodiment of the present disclosure includes:
[0036] Step S110: using the first neural network module in the user recognition model, perform a first encoding on the temporal feature data of the sample user to obtain a first feature representation.
[0037] The time series characteristic data of the sample users include the time series characteristic data of the sample users' call behavior and the time series characteristic data of the online behavior.
[0038] In some embodiments, the sample user's call behavior temporal feature data includes at least one of the number of call records, call duration, and card activation time of the sample user in multiple time periods.
[0039] In some embodiments, the sample user's online behavior temporal feature data includes at least one of the sample user's access application name, online downstream traffic, online upstream traffic, application access duration, and application access time in multiple time periods.
[0040] For example, the time series feature data of sample users includes feature data of sample users over multiple days, wherein the feature data for each day includes the name of the application (APP) accessed by the user on the Internet, downstream Internet traffic, upstream Internet traffic, duration of application access, time of application access, name of Internet access base station in the city or city, Internet access terminal device identification, number of call records, call duration, card activation time, etc.
[0041] In some embodiments, the training method of the user recognition model further includes: constructing time series feature data of sample users.
[0042] For example, the timing characteristic data of the sample user is constructed in the following manner: receiving the deep packet inspection (DPI) data and the original call data reported by the base station; processing the deep packet inspection data and the original call data to obtain the timing characteristic data of the sample user.
[0043] For example, after obtaining the deep packet inspection data and original call data reported by the base station, the deep packet inspection data and the original call data are counted and processed based on a big data processing platform such as Spark to obtain an initial feature summary table sorted by time (such as sorted by hour, or sorted by day, etc.). For the initial text features in the summary table, they are converted into numerical features based on one-hot encoding; for the numerical features in the summary table, they are standardized, and then the time series feature data of the sample users used for the final training model can be obtained.
[0044] In some embodiments, the time series feature data of the sample user is feature data of the sample user over multiple days. In these embodiments, the feature data of the sample user per day can be represented as a feature graph of one channel, and the feature data of the sample user over multiple days can be represented as feature graphs of multiple channels.
[0045] In the embodiments of the present disclosure, not only the timing characteristics of the user's call behavior in multiple time periods are taken into consideration, but also the timing characteristics of the user's Internet behavior in multiple time periods are taken into consideration. By making full use of these timing characteristics to train the user recognition model, the convergence speed of the user recognition model can be accelerated and the performance of the trained user recognition model can be improved.
[0046] Step S120: using the second neural network module in the user recognition model, performing a second encoding on the first feature representation, and predicting the category of the sample user based on the second feature representation obtained by the second encoding.
[0047] In the disclosed embodiment, by using the first neural network module and the second neural network module for multiple encodings, the temporal characteristics of the user's Internet behavior data and call behavior data can be fully exploited, thereby helping to accelerate the convergence speed of the user recognition model and improve the performance of the trained user recognition model.
[0048] Step S130: training the user recognition model according to the category prediction results of the sample users and the category label information of the sample users.
[0049] In some embodiments, step S130 includes: calculating a cross entropy loss function value based on a category prediction result of a sample user and category label information of the sample user; and iteratively updating a user recognition model using the cross entropy loss function value.
[0050] In some embodiments, the cross entropy loss function satisfies:
[0051]
[0052] Among them, L represents the cross entropy loss function, y i Represents the true category label value of the sample user, yi ′ represents the category prediction result of the sample user, i represents the i-th sample user in the sample user dataset, and k represents the sample size in the sample user dataset.
[0053] In some embodiments, step S130 includes: calculating a focus loss function value based on a category prediction result of a sample user and category label information of the sample user; and iteratively updating a user recognition model using the focus loss function value.
[0054] Focal Loss is a loss function that deals with the problem of imbalanced sample classification. It focuses on adding weights to the losses corresponding to samples according to the difficulty of distinguishing samples. Specifically, it adds smaller weights to samples that are easy to distinguish and larger weights to samples that are difficult to distinguish.
[0055] In some embodiments, the focal loss function satisfies:
[0056]
[0057] Among them, L al represents the focal loss function, y i Represents the true category label value of the sample user, y i ' represents the category prediction result of the sample user, i represents the i-th sample user in the sample user data set, k represents the sample size in the sample user data set, and α and γ are the set weight coefficients. In some embodiments, the value of α is 0.25, and the value of γ is 2.
[0058] In the embodiment of the present disclosure, by improving the cross entropy loss function, a loss function introducing weight coefficients α and β is obtained, which can adaptively adjust the rate of weight reduction, thereby balancing the uneven proportion of positive and negative samples themselves, thereby solving the problems of model training difficulties and poor performance of the trained user recognition model caused by the imbalance in the proportion of positive and negative samples (such as fraudulent user samples and non-fraudulent user samples) in the training sample set.
[0059] In the disclosed embodiment, through the above steps, the training process of the user recognition model can be accelerated and the performance of the trained user recognition model can be improved.
[0060] Figure 2 FIG. 4 is a schematic diagram showing the structure of a user identification model according to some embodiments of the present disclosure. Figure 2 As shown, the user identification model 200 includes: a first neural network module 210 and a second neural network module 220.
[0061] After the time series feature data of the sample user is input into the user recognition model, the time series feature data of the sample user is first feature encoded (or feature extracted) based on the first neural network module 210 to obtain a first feature representation of the sample user; then the first feature representation of the sample user is feature encoded based on the second neural network module 220 to obtain a second feature representation of the sample user, and the category of the sample user is predicted based on the second feature representation of the user. In some embodiments, the categories of the sample user include: fraudulent users and non-fraudulent users.
[0062] In some embodiments, the first neural network module 210 includes a convolutional layer and an attention layer.
[0063] In some embodiments, the second neural network module 220 includes a bidirectional long short-term memory (Bi-directional Long Short-Term Memory, referred to as BiLSTM) module.
[0064] In the embodiment of the present disclosure, by adopting a model architecture including a first neural network module of an attention layer and a bidirectional long short-term memory module, it is helpful to mine richer user feature data, thereby improving the performance of the trained user recognition model and the accuracy and reliability of the user recognition results obtained based on the model.
[0065] Figure 3 is a schematic diagram showing the structure of a first neural network module according to some embodiments of the present disclosure. Figure 3 As shown, the first neural network module 210 of the embodiment of the present disclosure includes: a first convolutional layer 211, a second convolutional layer 212, an attention layer 213, and a third convolutional layer 214.
[0066] In some embodiments, the first convolution layer 211, the second convolution layer 212, and the third convolution layer 214 are specifically three convolution layers arranged in sequence from the input side to the output side in the residual block of MobileNetv2. The attention layer 213 is arranged between the second convolution layer 212 and the third convolution layer 214. MobileNetv2 is a lightweight deep neural network model.
[0067] In some embodiments, after the user's time series feature data is processed by the first convolution layer and the second convolution layer, the attention layer 213 processes the multi-channel feature map output by the second convolution layer based on the attention mechanism within each feature map and between the feature maps of multiple channels, and outputs the processed feature map to the third convolution layer. Then, the feature map processed by the third convolution layer is output to the second neural network module.
[0068] In the disclosed embodiment, by introducing an attention layer into the convolutional neural network model MobileNetv2, and performing attention matching and weighted averaging operations on the input user time series feature data through the attention layer, the feature mining capability of the user recognition model can be effectively improved, thereby helping to accelerate the model convergence speed and improve the performance of the user recognition model finally trained.
[0069] Figure 4 is a flow chart showing a user identification method according to some embodiments of the present disclosure. In some embodiments, the user identification method is performed by a user identification device. Figure 4 As shown, the user identification method of the embodiment of the present disclosure includes:
[0070] Step S410: using the first neural network module in the trained user recognition model, perform a first encoding on the time series feature data of the user to be tested to obtain a first feature representation.
[0071] The time series characteristic data of the user to be tested includes the time series characteristic data of the call behavior and the time series characteristic data of the online behavior of the user to be tested.
[0072] In some embodiments, the call behavior time series feature data of the user to be tested includes: at least one of the number of call records, call duration, and card activation time of the user to be tested in multiple time periods.
[0073] In some embodiments, the online behavior time series characteristic data of the user to be tested includes: at least one of the name of the application accessed by the user to be tested in multiple time periods, the downstream traffic, the upstream traffic, the duration of application access, and the time of application access.
[0074] For example, the time series characteristic data of the user to be tested includes: the characteristic data of the user to be tested over multiple days, wherein the characteristic data for each day includes the name of the application (Application, APP) accessed by the user on the Internet, the downstream traffic volume on the Internet, the upstream traffic volume on the Internet, the duration of accessing the application, the time of accessing the application, the name of the Internet base station in the city or city, the identification of the Internet terminal device, the number of call records, the duration of the call, the time of card activation, etc.
[0075] In some embodiments, the user identification method further includes: receiving a user identification request, and acquiring time series feature data of the user to be tested according to the user identification request.
[0076] For example, after receiving a user identification request, the identification information of the user to be tested (such as the user's mobile phone number, etc.) is parsed from the user identification request, and the database is queried according to the identification information of the user to be tested to obtain the time series feature data of the user to be tested from the database.
[0077] For example, after receiving a user identification request, the DPI data and original call data of the user to be tested are obtained; the DPI data and original call data of the user to be tested are processed to obtain the time series feature data of the user to be tested.
[0078] In some embodiments, based on Figure 1 The process shown obtains the trained user recognition model.
[0079] Step S420: using the second neural network module in the trained user recognition model, perform a second encoding on the first feature representation, and predict the category of the user to be tested based on the second feature representation obtained by the second encoding.
[0080] In some embodiments, the user identification method further includes: when the user to be tested is a user of a specified category, determining the terminal device identification of the user to be tested and the location information of the user to be tested. For example, when the user to be tested is a fraudulent user, determining the device identification code of the terminal device of the user to be tested and the online location information of the user to be tested.
[0081] In some embodiments, the user identification method further includes: performing cluster analysis on the location information of the users to be tested belonging to the specified category to obtain the location information of the user group of the specified category. For example, for the users to be tested belonging to the category of fraudulent users, the base station information of the terminals corresponding to these users to be tested connected to the Internet is obtained, and then the base station information of the users to be tested connected to the Internet is clustered based on the K-means clustering algorithm to determine the location information of this category group according to the cluster analysis results.
[0082] In the embodiments of the present disclosure, on the one hand, not only the timing characteristics of the call behavior of the user to be tested in multiple time periods are considered, but also the timing characteristics of the Internet behavior of the user to be tested in multiple time periods are considered; on the other hand, multiple feature encodings are performed using the first neural network module and the second neural network module, which can fully mine the timing characteristics of the user's Internet behavior data and call behavior data, thereby making full use of these timing characteristics to identify the user to be tested, which helps to improve the accuracy and reliability of the user identification results.
[0083] Furthermore, in the embodiments of the present disclosure, by determining the mobile phone numbers, terminal identification codes and Internet access location information of users of a specified category, and determining the device identification codes and location information of user groups of a specified category through cluster analysis, strong data support is provided for further precise prevention and control of abnormal user behaviors such as fraud.
[0084] Figure 5 is a block diagram showing a training apparatus for a user recognition model according to some embodiments of the present disclosure. Figure 5As shown, the training device 500 of the user recognition model of the embodiment of the present disclosure includes: an encoding module 510, a prediction module 520, and a training module 530.
[0085] The encoding module 510 is configured to utilize the first neural network module in the user recognition model to perform a first encoding on the temporal feature data of the sample user to obtain a first feature representation.
[0086] The time series characteristic data of the sample users include the time series characteristic data of the sample users' call behavior and the time series characteristic data of the online behavior.
[0087] The prediction module 520 is configured to perform a second encoding on the first feature representation using the second neural network module in the user recognition model, and predict the category of the sample user based on the second feature representation obtained by the second encoding.
[0088] The training module 530 is configured to train the user recognition model according to the category prediction results of the sample users and the category label information of the sample users.
[0089] In the embodiments of the present disclosure, the above device can speed up the training process of the user recognition model and improve the performance of the trained user recognition model.
[0090] Figure 6 is a block diagram showing a user identification device according to some embodiments of the present disclosure. Figure 6 As shown, the user identification device 600 of the embodiment of the present disclosure includes: an encoding module 610 and a prediction module 620.
[0091] The encoding module 610 is configured to use the first neural network module in the trained user recognition model to perform a first encoding on the time series feature data of the user to be tested to obtain a first feature representation.
[0092] The time series characteristic data of the user to be tested includes the time series characteristic data of the call behavior and the time series characteristic data of the online behavior of the user to be tested.
[0093] The prediction module 620 is configured to use the second neural network module in the trained user recognition model to perform a second encoding on the first feature representation, and predict the category of the user to be tested based on the second feature representation obtained by the second encoding.
[0094] In the embodiments of the present disclosure, on the one hand, not only the timing characteristics of the call behavior of the user to be tested in multiple time periods are considered, but also the timing characteristics of the Internet behavior of the user to be tested in multiple time periods are considered; on the other hand, multiple feature encodings are performed using the first neural network module and the second neural network module, which can fully mine the timing characteristics of the user's Internet behavior data and call behavior data, thereby making full use of these timing characteristics to identify the user to be tested, which helps to improve the accuracy and reliability of the user identification results.
[0095] Figure 7 is a block diagram illustrating a training device for a user identification model or a user identification device according to some other embodiments of the present disclosure.
[0096] like Figure 7 As shown, the training device of the user recognition model or the user recognition device 700 includes a memory 710; and a processor 720 coupled to the memory 710. The memory 710 is used to store instructions for executing the corresponding embodiment of the device access management method. The processor 720 is configured to execute the training method of the user recognition model or the user recognition method in any of some embodiments of the present disclosure based on the instructions stored in the memory 710.
[0097] Figure 8 is a block diagram illustrating a computer system for implementing some embodiments of the present disclosure.
[0098] like Figure 8 As shown, the computer system 800 may be embodied in the form of a general-purpose computing device. The computer system 800 includes a memory 810, a processor 820, and a bus 830 that connects various system components.
[0099] The memory 810 may include, for example, a system memory, a non-volatile storage medium, etc. The system memory may store, for example, an operating system, an application program, a boot loader, and other programs. The system memory may include a volatile storage medium, such as a random access memory (RAM) and / or a cache memory. The non-volatile storage medium may store, for example, instructions for executing a corresponding embodiment of at least one of a training method for a user recognition model or a user recognition method. The non-volatile storage medium includes, but is not limited to, a disk storage, an optical storage, a flash memory, and the like.
[0100] The processor 820 can be implemented by a general processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistors, etc. Discrete hardware components. Accordingly, each module such as the encoding module and the prediction module can be implemented by a central processing unit (CPU) running instructions in a memory to execute corresponding steps, or can be implemented by a dedicated circuit to execute corresponding steps.
[0101] The bus 830 may use any of a variety of bus architectures, including, but not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, and a Peripheral Component Interconnect (PCI) bus.
[0102] The computer system 800 may also include an input / output interface 840, a network interface 850, a storage interface 860, etc. These interfaces 840, 850, 860, the memory 810, and the processor 820 may be connected via a bus 830. The input / output interface 840 may provide a connection interface for input / output devices such as a display, a mouse, and a keyboard. The network interface 850 may provide a connection interface for various networked devices. The storage interface 860 may provide a connection interface for external storage devices such as a floppy disk, a USB flash drive, and an SD card.
[0103] Here, various aspects of the present disclosure are described with reference to flowcharts and / or block diagrams of methods, devices, and computer program products according to embodiments of the present disclosure. It should be understood that each frame of the flowchart and / or block diagram and the combination of frames can be implemented by computer-readable program instructions.
[0104] These computer-readable program instructions may be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable device to produce a machine, so that the processor executes the instructions to produce means for implementing the functions specified in one or more blocks in the flowchart and / or block diagram.
[0105] These computer-readable program instructions may also be stored in a computer-readable memory, which cause the computer to work in a specific manner to produce an article of manufacture, including instructions for implementing the functions specified in one or more blocks in the flowchart and / or block diagram.
[0106] The present disclosure can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects.
[0107] Through the training of the user identification model, the user identification method and the device in the above-mentioned embodiments, the performance of the trained user identification model can be improved, and the accuracy and reliability of the user identification results obtained based on the model can be improved.
[0108] So far, the training of the user identification model, the user identification method and the device according to the present disclosure have been described in detail. In order to avoid obscuring the concept of the present disclosure, some details known in the art are not described. Based on the above description, those skilled in the art can fully understand how to implement the technical solution disclosed here.
Claims
1. A method for training a user identification model, comprising: Using a first neural network module in a user identification model, first encoding is performed on the time series feature data of a sample user to obtain a first feature representation, wherein the time series feature data of the sample user includes the time series feature data of a call behavior and the time series feature data of an online behavior of the sample user, and the first neural network module includes at least one feature extraction unit, and each feature extraction unit includes a convolution layer and an attention layer; Using a second neural network module in a user recognition model, performing a second encoding on the first feature representation, and predicting the category of the sample user based on a second feature representation obtained by the second encoding, the second neural network module being a bidirectional long short-term memory network module; The user recognition model is trained according to the category prediction results of the sample users and the category label information of the sample users.
2. The method for training a user identification model according to claim 1, further comprising: Receive deep packet inspection data and raw call data reported by base stations; The deep packet inspection data and the original call data are processed to obtain the time series feature data of the sample users.
3. The method for training a user identification model according to claim 1, wherein: The call behavior time series feature data of the sample user includes at least one of the number of call records, call duration, and card activation time of the sample user in multiple time periods; and / or The online behavior temporal characteristic data of the sample user includes at least one of the name of the application accessed by the sample user in multiple time periods, the downstream traffic volume of the Internet, the upstream traffic volume of the Internet, the duration of the application access, and the time of the application access.
4. The user identification model training method according to claim 1, wherein: The convolutional layers are the first to third convolutional layers sequentially arranged from the input side to the output side in the residual block of MobileNetv2, and the attention layer is arranged between the second convolutional layer and the third convolutional layer.
5. The user identification model training method according to claim 1, wherein: Training the user recognition model according to the category prediction result of the sample user and the category label information of the sample user includes: Calculating a focal loss function value according to the category prediction result of the sample user and the category label information of the sample user; The user recognition model is iteratively updated using the focus loss function value.
6. A user identification method, comprising: Using the first neural network module in the trained user recognition model, first encoding is performed on the time series feature data of the user to be tested to obtain a first feature representation, wherein the time series feature data of the user to be tested includes the time series feature data of the call behavior and the time series feature data of the online behavior of the user to be tested, and the first neural network module includes at least one feature extraction unit, and each feature extraction unit includes a convolution layer and an attention layer; The first feature representation is second-encoded using a second neural network module in the trained user recognition model, and the category of the user to be tested is predicted based on the second feature representation obtained by the second encoding, where the second neural network module is a bidirectional long short-term memory network module.
7. The user identification method according to claim 6, further comprising: In a case where the user to be tested is a user of a specified category, determining a terminal device identifier of the user to be tested and location information of the user to be tested; and / or, Cluster analysis is performed on the location information of the users to be tested belonging to the specified category to obtain the location information of the user group of the specified category.
8. A training device for a user identification model, comprising: an encoding module configured to use a first neural network module in a user identification model to perform a first encoding on the temporal feature data of a sample user to obtain a first feature representation, wherein the temporal feature data of the sample user includes the temporal feature data of a call behavior and the temporal feature data of an online behavior of the sample user, and the first neural network module includes at least one feature extraction unit, and each feature extraction unit includes a convolution layer and an attention layer; a prediction module configured to perform a second encoding on the first feature representation using a second neural network module in the user recognition model, and predict the category of the sample user based on a second feature representation obtained by the second encoding, wherein the second neural network module is a bidirectional long short-term memory network module; The training module is configured to train the user recognition model according to the category prediction results of the sample users and the category label information of the sample users.
9. A user identification device, comprising: The encoding module is configured to use the first neural network module in the trained user recognition model to perform a first encoding on the time series feature data of the user to be tested to obtain a first feature representation, wherein the time series feature data of the user to be tested includes the time series feature data of the call behavior and the time series feature data of the online behavior of the user to be tested, and the first neural network module includes at least one feature extraction unit, and each feature extraction unit includes a convolution layer and an attention layer; The prediction module is configured to use the second neural network module in the trained user recognition model to perform a second encoding on the first feature representation, and predict the category of the user to be tested based on the second feature representation obtained by the second encoding, and the second neural network module is a bidirectional long short-term memory network module.
10. An apparatus comprising: Memory; as well as A processor coupled to the memory, the processor being configured to execute the user identification model training method according to any one of claims 1 to 5, or the user identification method according to any one of claims 6 to 7 based on instructions stored in the memory.
11. A computer storable medium having computer program instructions stored thereon, which, when executed by a processor, implement the user identification model training method as described in any one of claims 1 to 5, or the user identification method as described in any one of claims 6 to 7.
