A de-noised image fraud detection method and device based on multi-stage data enhancement
By constructing a credit card user social network graph and a multi-stage data enhancement strategy, and using graph neural networks to optimize user grouping and embedding representation, it solves the problem of noise and camouflage samples being difficult to distinguish caused by relying on label information in the existing technology, and improves graph fraud. Detection accuracy and robustness.
Patent Information
- Application Number
- CN202411009731.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-07-26
AI Technical Summary
Existing graph fraud detection methods rely heavily on label information, making it difficult to distinguish between noise and camouflaged samples. Fraudsters can hide in normal samples, resulting in low detection efficiency.
A denoising graph fraud detection method based on multi-stage data enhancement is adopted. By constructing a social network graph of credit card users, the graph neural network is used for user grouping and embedding representation enhancement. It combines self-supervised learning and multi-stage denoising mechanism to optimize the graph neural network. Training and user embedding representations to reduce the impact of noise.
It improves the accuracy of graph fraud detection, generates robust user embedding representations, enhances the ability to identify fraudulent behaviors, and reduces the occurrence of fraudulent credit card transactions.
Smart Images

Figure CN118537119B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of fraud detection, and in particular relates to a denoised image fraud detection method and device based on multi-stage data enhancement. Background Art
[0002] In the Internet era of information explosion, a large number of users are active on Internet platforms and applications, which often contain rich and diverse relationships. Especially now, Internet companies often offer rewards such as monetary rewards, discount coupons, and membership cards to encourage old users to invite new users to promote products. Therefore, the invitation relationship forms a natural connection between the inviter and the invitee. However, due to the generous rewards for successful invitations, there are often fraudulent users who invite fake users who never carry out any meaningful activities after the invitation procedure is completed. These inviters and invitees pursue excess profits and may even cash in ill-gotten gains, which is inherently harmful to the platform's ecosystem. Effectively discovering fraudulent users is of great value to many online Internet companies in promoting good products and improving user experience.
[0003] Existing graph fraud detection methods are effective in identifying fraudster disguises, but rely heavily on label information. This poses two major challenges in the real world. First, labels often contain noise that is mistakenly considered accurate. Second, fraudsters strategically adopt strategies similar to normal samples, making disguised and noisy samples produce higher loss values. Therefore, fraudsters can deliberately hide in normal samples and accidentally mix in noisy samples.
[0004] Patent document CN118096162A discloses a risk-embedded multi-relationship graph fraud detection method, including S1: multi-relationship graph construction; S2: risk center embedding module unit software, modifying and embedding node features through neighbor risk values and node degrees; S3: multi-relationship embedding and aggregation calculation through core calculation module unit software; S4: establishing a clustering graph convolutional network; S5: establishing a gated update layer; S6: the data obtained in steps S1-S5 is used for fraud detection software based on a multi-relationship graph neural network algorithm to detect fraudulent behavior in credit card transactions.
[0005] Patent document CN116579848A discloses a dynamic graph fraud detection method based on Transformer causal chain, including constructing a dynamic graph; using user attributes as input of a graph convolutional neural network to generate a structural latent vector of the user; generating a causal chain of the user through a Heat Kernel; generating a temporal structure vector of the user through the generated structural latent vector and the causal chain; using the causal chain as the temporal input of the Transformer and the structural dependent variable as the feature input to obtain the temporal structure representation of the user; combining the time representations of all user nodes in pairs, obtaining an interaction score through MLP, and judging whether there is fraud between the transactions of two users based on their interaction scores. Summary of the invention
[0006] The purpose of the present invention is to provide a denoised image fraud detection method and device based on multi-stage data enhancement, which can improve the performance of the fraud detection model and reduce the occurrence of credit card fraud transactions.
[0007] In order to achieve the first objective of the present invention, the following technical solution is provided: a denoised image fraud detection method based on multi-stage data enhancement, comprising the following steps:
[0008] S11, constructing a social network graph of credit card users, wherein user information is used as nodes and interaction information between users is used as edges, wherein the user information includes user attribute information and identity tags;
[0009] S12, using a pre-built graph neural network to predict each node in the credit card user social network graph, and dividing the users into user groups based on the divergence in the prediction results, wherein the user groups include clean users, disguised users, and noise users;
[0010] S13, a data augmentation strategy based on contrastive learning, which enhances the embedding representation of users in each user group in a self-supervised manner;
[0011] S14, screening users through the inherent memory effect of the graph neural network, and using a multi-stage denoising mechanism to perform corresponding data enhancement to guide the graph neural network Lupin training and update the distribution of user groups;
[0012] S15, repeat the above S12 to S14 until the user embedding representation of Lupin is obtained;
[0013] S16. Utilize the iteratively obtained user embedding representation to calculate the real user portrait for fraud detection.
[0014] The present invention strengthens the data by utilizing self-screening strategy, data enhancement strategy and multi-stage denoising mechanism to optimize the parameters of graph neural network and continuously update the group distribution of users, thereby obtaining Robin's user embedding representation and further improving the accuracy of graph fraud detection.
[0015] Specifically, the interaction information includes borrowing and repayment during the user's credit card transaction process.
[0016] Specifically, the expression of the credit card user social network graph is: ; among them, among them V Represents the user node set, E Represents the interactive information between users, including loan information and loan repayment information. Represents the user's attribute information. Represents the user's identity tag.
[0017] Specifically, the graph neural network includes a general graph fraud detection model framework and a contrastive learning layer.
[0018] Specifically, the specific steps in S12 are as follows:
[0019] S21, using a pre-built graph neural network to make probability predictions for each node in the credit card user social network graph;
[0020] S22, calculating the divergence of the node probability prediction and the identity label of the corresponding user in the credit card user social network graph, and preliminarily dividing the users into clean users and noise users based on the calculation result and a preset threshold;
[0021] S23. Based on the clean users and the noisy users, a clean user subset is constructed. and the noise user subset ,in The divergence is represented, and the two subsets are screened using a preset threshold, and users with divergence less than the threshold are classified as disguised users to obtain the final user group.
[0022] Specifically, in S13, the specific process is as follows:
[0023] S31, for each node in the credit card user social network graph, generating a corresponding learnable initialization user embedding representation;
[0024] S32. The initialized user embedding representation and the user group are combined in a self-supervised manner to construct a user embedding representation for amplifying the differences between different types of users.
[0025] Specifically, in S32, a contrast loss function is used to amplify the differences between different types of users, and its expression is as follows: ;in, and Respectively represent different nodes in the user node set, is a temperature coefficient.
[0026] Specifically, in S14, the specific process is as follows:
[0027] S41. In the early stage of graph neural network training, data enhancement is performed on clean user data samples to enhance the memory of the graph neural network for clean user data.
[0028] S42. In the middle stage of graph neural network training, data enhancement is performed on the data samples of the disguised user so that the graph neural network learns to distinguish the disguised user data from other data;
[0029] S43. In the later stage of graph neural network training, data augmentation is performed on the data samples of noisy users to enhance the memory of the graph neural network for noisy user data and improve the model's resistance to noise.
[0030] Specifically, in S16, the specific process is as follows:
[0031] S61, inputting the user embedding representation obtained in S15 into a downstream graph fraud detection model to obtain a corresponding user embedding vector;
[0032] S62: Input the obtained user embedding vector into a pre-built multi-layer perceptron to obtain a corresponding prediction result, wherein the prediction result includes a probability prediction of each user group classification.
[0033] In order to achieve the second objective of the present invention, the following technical solution is provided: a denoised image fraud detection device is implemented by the denoised image fraud detection method based on multi-stage data enhancement as described above, comprising:
[0034] An acquisition module, used to acquire a social network graph of credit card users;
[0035] The automatic screening module outputs user groups including clean users, disguised users and noise users based on the input credit card user social network graph;
[0036] A data enhancement module, used to perform data enhancement on the user embedding representation of each user in the user group;
[0037] The multi-stage denoising module guides the training of the graph neural network Robin through a multi-stage denoising mechanism and iteratively updates the distribution in the user group to generate a stable user embedding representation;
[0038] The fraud detection module generates a corresponding embedding representation vector based on the user embedding representation output by the multi-stage denoising module, and calculates a probability prediction of a group classification for each user based on the embedding representation vector to achieve fraud detection.
[0039] Compared with the prior art, the present invention has the following beneficial effects:
[0040] The inherent memory effect of graph neural networks is used to screen users for data augmentation, and the robust training of graph neural networks is guided in a self-supervised manner. The group distribution of users is repeatedly iterated to generate robust user embedding representation, thereby realizing a denoising graph fraud detection system. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 A flowchart of the denoised image fraud detection method based on multi-stage data enhancement provided in this embodiment;
[0042] Figure 2 The flowchart of S12 provided in this embodiment;
[0043] Figure 3 The flowchart of S13 provided in this embodiment;
[0044] Figure 4 The flowchart of S14 provided in this embodiment;
[0045] Figure 5 The flowchart of S16 provided in this embodiment;
[0046] Figure 6 A block diagram of the denoised image fraud detection device provided in this embodiment. DETAILED DESCRIPTION
[0047] Here, exemplary embodiments are described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application.
[0048] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit the present application. The singular forms "a", "the" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed films.
[0049] It should be understood that although the terms first, second, third, etc. may be used in the present application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0050] The embodiment of the present application solves the problem that the image fraud detection method in the prior art is heavily dependent on label information in identifying the fraudster's disguise by providing a denoising image fraud detection method based on multi-stage data enhancement.
[0051] An important research direction in graph fraud detection is credit card fraud detection, where credit card fraud refers to the unauthorized use of funds in a transaction, usually through a credit or debit card.
[0052] Therefore, this embodiment will connect users with each other through the borrowing and loan repayment information between users to generate edges, and use the user's attribute information and identity tags as node information, thereby building a user social network.
[0053] like Figure 1 As shown, a denoising graph fraud detection method based on multi-stage data enhancement is provided in this embodiment, so as to solve the detection of credit card fraud. The specific steps are as follows: S11: obtaining a user social network graph, in which user information is used as a node, and the borrowing and repayment interaction information between users is used as an edge, and the user information includes the user's attribute information and identity label;
[0054] The specific process in this example is to input a credit card user social network graph, which is denoted as in Represents a set of user nodes, each node represents a user; Represents the borrowing and repayment interaction information between credit card users. and users There have been interactions ,otherwise ; Represents the user's attribute information, including account information and transaction information, and the user node set The nodes in correspondence; Represents the user's identity tag. If the user For fraudsters , otherwise it is a normal user .
[0055] The credit card user social network graph described in this embodiment comes from an actual credit card scenario, and the labels are all annotated by financial expert rules. Therefore, there is noise in the labels and the correctness cannot be guaranteed.
[0056] S12, using a pre-built graph neural network to predict each node in the credit card user social network graph, and dividing the users into user groups based on the divergence in the prediction results, wherein the user groups include clean users, disguised users, and noise users;
[0057] like Figure 2 As shown, in this example, the specific process of S12 is as follows:
[0058] S21. Initialize a graph neural network and use the graph neural network to generate probability predictions for each node.
[0059] Specifically, the graph neural network consists of a set of parameters: and The model consists of represents the contrastive learning layer, represents a general graph fraud detection model. For each user , the graph neural network will output a probability prediction .
[0060] S22. According to the inconsistency between the predicted probability and the user label, the Jensen-Shannon divergence of each user is calculated, and the samples are initially divided into a clean sample set and a noise sample set according to the set threshold. Specifically, in order to create clean samples and noise samples, the Jensen-Shannon divergence of each user is first calculated. Tags and probability prediction By choosing the widely used Jensen-Shannon divergence, we get The inconsistency divergence ,in, ; represents the Kullback-Leibler divergence. Then, a threshold is set , the samples are initially divided into clean sample sets and noise sample set .
[0061] S23. Based on the clean users and the noisy users, a clean user subset is constructed. and the noise user subset , which may indicate a potential fraudster. Then re-pass the threshold Respectively and After screening, we finally get the disguised sample set .
[0062] Finally, based on the above user self-screening strategy, clean, disguised and noisy samples are gradually screened, all samples are classified, and data guidance is provided for subsequent data enhancement strategies.
[0063] S13, a data augmentation strategy based on contrastive learning, which enhances the embedding representation of users in each user group in a self-supervised manner;
[0064] like Figure 3 As shown, the specific process of S13 in this embodiment is as follows:
[0065] S31: Initialize the learnable user embedding vector; specifically, let Indicates user The attribute information of becomes a learnable vector ,in Represents the dimension of the vector.
[0066] S32, the initialized user embedding representation and the user group are self-supervised to construct a user embedding representation for amplifying the differences between different types of users; specifically, according to the user learnable Dimensional vector , we can design a representation-level data enhancement and ,in are noise vectors, all of which belong to and ,here .
[0067] By The radius is numerically converted to The points on the hypersphere of can be rotated by a small angle to the original node embedding, each rotation corresponds to a deviation, and finally an enhanced representation is obtained (i.e. and ).
[0068] Since the rotation is small enough, the enhanced representation retains most of the information of the original representation while also retaining some variance. Note that the added random noise is different for each node representation.
[0069] Afterwards, the widely used contrast loss function is used to amplify the differences between users. ;in, and Respectively represent different nodes in the user node set, is a temperature coefficient.
[0070] S14, screening users through the inherent memory effect of the graph neural network, and using a multi-stage denoising mechanism to perform corresponding data enhancement to guide the graph neural network Lupin training and update the distribution of user groups; Figure 4 As shown, the specific process of S14 in this embodiment is as follows:
[0071] S41. In the early stage of graph neural network training, data enhancement is performed on clean user data samples to enhance the memory of the graph neural network for clean user data.
[0072] S42. In the middle stage of graph neural network training, data enhancement is performed on the data samples of the disguised user so that the graph neural network learns to distinguish the disguised user data from other data;
[0073] S43. In the later stage of graph neural network training, data augmentation is performed on the data samples of noisy users to enhance the memory of the graph neural network for noisy user data and improve resistance to noise.
[0074] S15, repeat the above S12 to S14 until the user embedding representation of Lupin is obtained;
[0075] S16. Utilize the iteratively obtained user embedding representation to calculate the real user portrait for fraud detection.
[0076] like Figure 5 As shown, the specific process of S16 in this example:
[0077] S61: The robust user embedding representation obtained in S15 is input into the downstream graph fraud detection model Training is performed in , where a robust loss function is designed Guide model training and use this downstream graph fraud detection model Generate a corresponding user embedding vector; S62, input the obtained user embedding vector into a pre-built multi-layer perceptron to obtain a corresponding prediction result, wherein the prediction result includes a probability prediction of each user group classification.
[0078] This embodiment also provides a denoised image fraud detection device, which is implemented by the denoised image fraud detection method based on multi-stage data enhancement provided by the above embodiment. The framework is as follows: Figure 6 As shown, including:
[0079] The acquisition module 21 is used to acquire the social network graph of credit card users.
[0080] The self-screening module 22 designs a user self-screening strategy based on the credit card user social network graph, generates probability predictions for each node using a graph neural network, calculates the divergence of each user based on the inconsistency between the predicted probability and the user label, and preliminarily divides the samples into clean samples, disguised samples, and noise samples based on a set threshold.
[0081] The data enhancement module 23 adopts a data enhancement strategy based on contrastive learning according to the obtained user groups, enhances the user's embedded representation in a self-supervised manner, amplifies the differences between users, refines user-related attribute information, and corrects vague or even misleading information.
[0082] The multi-stage denoising module 24 designs a multi-stage denoising mechanism according to the data enhancement strategy, screens users to apply data enhancement through the inherent memory effect of the graph neural network, guides the robust training of the graph neural network, and repeatedly iterates the group distribution of users to generate a robust user embedding representation;
[0083] The fraud detection module 25 calculates a probability prediction of a group classification for each user based on the user embedding vector to implement fraud detection.
[0084] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0085] For the device embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The device embodiment described above is only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present application scheme. A person of ordinary skill in the art can understand and implement it without paying any creative work.
[0086] In summary, the method provided by the present invention includes a user self-screening strategy, a data enhancement strategy, and a multi-stage denoising mechanism to simultaneously remove the interactive information and noise labels of user identities that are irrelevant to the task in the user's social network. On the one hand, the user self-screening strategy automatically captures the real group distribution of users, and divides users into clean users, disguised users, and noise users by using the divergence output by the graph neural network in the training phase; on the other hand, the data enhancement strategy and the multi-stage denoising mechanism screen users and apply data enhancement through the inherent memory effect of the graph neural network, guide the robust training of the graph neural network in a self-supervised manner, and repeatedly iterate the group distribution of users to generate a robust user embedding representation, thereby realizing a denoised graph fraud detection system.
[0087] In addition, the terms "upper", "lower", "inner", "outer", "front", "rear" are used for descriptive purposes only and should not be understood as indicating or implying relative importance. Unless otherwise specifically stated, the relative steps, numerical expressions and values of the components and steps described in these embodiments do not limit the scope of the present invention.
[0088] Of course, the above description is only a specific embodiment of the present invention and is not intended to limit the scope of implementation of the present invention. All equivalent changes or modifications made according to the structure, characteristics and principles described in the patent application scope of the present invention should be included in the patent application scope of the present invention.
[0089] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A denoising image fraud detection method based on multi-stage data enhancement, characterized in that: The following steps are involved: S11, constructing a social network graph of credit card users, wherein user information is used as nodes and interaction information between users is used as edges, wherein the user information includes user attribute information and identity tags; S12. Predict each node in the credit card user social network graph using a pre-built graph neural network, the graph neural network including a general graph fraud detection model framework and a contrastive learning layer, and divide the users into user groups based on the divergence in the prediction results, the user groups including clean users, disguised users and noise users, the specific steps are as follows: S21, using a pre-built graph neural network to make probability predictions for each node in the credit card user social network graph; S22, calculating the divergence of the node probability prediction and the identity label of the corresponding user in the credit card user social network graph, and preliminarily dividing the users into clean users and noise users based on the calculation result and a preset threshold; S23. Based on the clean users and the noisy users, a clean user subset is constructed. and the noise user subset ,in The divergence is expressed, and the two subsets are screened using a preset threshold, and users with divergence less than the threshold are classified as disguised users to obtain the final user group; S13. Data enhancement strategy based on contrastive learning enhances the embedding representation of users in each user group in a self-supervised manner. The specific process is as follows: S31, for each node in the credit card user social network graph, generating a corresponding learnable initialization user embedding representation; S32, combining the initialized user embedding representation and the user group through a self-supervisory method to construct a user embedding representation for amplifying the differences between different types of users; S14. Screen users through the inherent memory effect of the graph neural network, and use a multi-stage denoising mechanism to perform corresponding data enhancement to guide the robust training of the graph neural network and update the distribution of user groups. The specific process is as follows: S41. In the early stage of graph neural network training, data enhancement is performed on clean user data samples to enhance the memory of the graph neural network for clean user data. S42. In the middle stage of graph neural network training, data enhancement is performed on the data samples of the disguised user so that the graph neural network learns to distinguish the disguised user data from other data; S43. In the later stage of graph neural network training, data enhancement is performed on the data samples of the noisy users to enhance the memory of the graph neural network for the noisy user data; S15, repeat the above S12 to S14 until a robust user embedding representation is obtained; S16. Using the iteratively obtained user embedding representation, calculate the real user portrait for fraud detection. The specific process is as follows: S61, inputting the user embedding representation obtained in S15 into a downstream graph fraud detection model to obtain a corresponding user embedding vector; S62: Input the obtained user embedding vector into a pre-built multi-layer perceptron to obtain a corresponding prediction result, wherein the prediction result includes a probability prediction of each user group classification.
2. The method for de-noising image fraud detection based on multi-stage data enhancement according to claim 1, characterized in that: The interactive information includes borrowing and repayment during the user's credit card transaction process.
3. The method for de-noising image fraud detection based on multi-stage data enhancement according to claim 1, characterized in that: The expression of the credit card user social network graph is: ; among them, among them V Represents the user node set, E Represents the interaction information between users. Represents the user's attribute information. Represents the user's identity tag.
4. The method for de-noising image fraud detection based on multi-stage data enhancement according to claim 1, characterized in that: In S32, the contrast loss function is used to amplify the differences between different types of users. Its expression is as follows: ;in, and Respectively represent different nodes in the user node set, is a temperature coefficient.
5. A denoised image fraud detection device, characterized in that: The method is implemented by the denoising image fraud detection method based on multi-stage data enhancement as claimed in any one of claims 1 to 4, comprising: An acquisition module, used to acquire a social network graph of a credit card user corresponding to a credit card; The automatic screening module outputs user groups including clean users, disguised users and noise users based on the input credit card user social network graph; A data enhancement module, used to perform data enhancement on the user embedding representation of each user in the user group; The multi-stage denoising module guides the robust training of the graph neural network through a multi-stage denoising mechanism and iteratively updates the distribution in the user group to generate a stable user embedding representation; The fraud detection module generates a corresponding embedding representation vector based on the user embedding representation output by the multi-stage denoising module, and calculates a probability prediction of a group classification for each user based on the embedding representation vector to achieve fraud detection.
Citation Information
Patent Citations
Dynamic graph fraud detection method based on Transform causal chain
CN116579848A
Risk-embedded multi-relational graph fraud detection method
CN118096162A
Graph neural network training method and device
CN112541575A
Training method of Bayesian graph neural network model with anti-noise capability
CN115860109A
Fraud detection and credit evaluation method based on comparative learning and decoupling graph nerves
CN116862667A
