Financial fraud user identification method and device, storage medium and electronic equipment

By converting user data into a graph structure and constructing a directional differential view, and extracting differential features, the problem of differential loss of information aggregation and insufficient context information mining in financial fraud user identification is solved, and the recognition accuracy and anomaly discrimination capabilities are improved.

CN118673435AActive Publication Date: 2024-09-20WUHAN UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410815289.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-09-20
Estimated Expiration
2044-06-24

AI Technical Summary

Technical Problem

The existing technology has problems in identifying financial fraud users, such as the loss of differences during the information aggregation process and insufficient mining of subgraph context information, resulting in poor identification results.

Method used

By converting user data into a graph structure, extracting the target subgraph and its adjacency matrix, constructing a directional differential view, extracting differential features, and using a multi-level attention mechanism for enhancement, finally calculate the norm of the differential matrix to obtain the recognition result.

Benefits of technology

It improves the accuracy of financial fraud user identification, avoids the gradual fusion and smoothing of differential information in the feature extraction process, and enhances the ability to identify abnormalities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118673435A
    Figure CN118673435A
Patent Text Reader

Abstract

The invention discloses a financial fraud user identification method and device, a storage medium and electronic equipment. The method comprises the following steps: acquiring user data, and converting the user data into a graph structure; performing data extraction on the graph structure to obtain a target sub-graph and an adjacent matrix of the target sub-graph; obtaining a cohesion adjacency matrix and an external expansion adjacency matrix based on the adjacency matrix, respectively encoding the cohesion adjacency matrix and the external expansion adjacency matrix to obtain a first feature and a second feature, and subtracting the first feature from the second feature to obtain a difference feature; strengthening the difference features to obtain a strengthened difference matrix; and calculating norms of the difference matrix, and integrating the norms to obtain an identification result of the user data. According to the method, the occurrence of gradual fusion and smoothness of difference information in a feature extraction process can be avoided in a mode of constructing the directional difference view, and the accuracy of financial fraud user identification can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of fraud identification, and in particular to a method, device, storage medium and electronic device for identifying financial fraud users. Background Art

[0002] With the development of Internet technology, the scale of the online financial industry has expanded rapidly. While it has attracted a large number of users to experience it with more convenient and fast services, it has also brought some hidden dangers, among which financial fraud is an aspect that cannot be ignored.

[0003] Due to the virtual nature of the Internet, online financial fraud is more covert and difficult to detect, and it is also more difficult to hold illegal users accountable. However, currently some companies mostly rely on experts to formulate review and verification rules for screening, and their adaptability and accuracy are not satisfactory. Therefore, the use of artificial intelligence technology to achieve risk assessment of financial fraud has become a hot issue.

[0004] At present, the methods of identifying financial fraud users through artificial intelligence technology generally have problems such as loss of differences in information aggregation and insufficient mining of sub-graph context information, resulting in poor results. Summary of the invention

[0005] The embodiments of the present application provide a method, device, storage medium and electronic device for identifying financial fraud users, which can improve the accuracy of identifying financial fraud users.

[0006] The present application embodiment provides a method for identifying a financial fraud user, including:

[0007] Acquire user data, and convert the user data into a graph structure;

[0008] Extracting data from the graph structure to obtain a target subgraph and an adjacency matrix of the target subgraph;

[0009] Based on the adjacency matrix, an inner cohesion adjacency matrix and an outer expansion adjacency matrix are obtained, the inner cohesion adjacency matrix and the outer expansion adjacency matrix are respectively encoded to obtain a first feature and a second feature, and the first feature is subtracted from the second feature to obtain a differential feature;

[0010] Strengthening the differential features to obtain a strengthened differential matrix;

[0011] The norm of the difference matrix is ​​calculated, and the norm is integrated to obtain the recognition result of the user data.

[0012] Furthermore, in the above-mentioned financial fraud user identification method, the graph structure includes a plurality of nodes, the plurality of nodes are connected by edges, and the plurality of nodes include a target node and its neighbor nodes;

[0013] The step of extracting data from the graph structure to obtain a target subgraph and an adjacency matrix of the target subgraph includes:

[0014] Randomly select the target node and K first-order neighbor nodes to form the target subgraph;

[0015] Wherein, the target subgraph is G={V, E, X, A};

[0016] Among them, V represents the set of nodes contained in the target subgraph, E represents the set of edges contained in the target subgraph, X represents the set of attributes of each node in the target subgraph, and A is the adjacency matrix of the target subgraph.

[0017] Furthermore, in the above-mentioned financial fraud user identification method, the step of obtaining the inner cohesive adjacency matrix and the outer extended adjacency matrix based on the adjacency matrix includes:

[0018] Constructing a first mask matrix and a second mask matrix;

[0019] Obtaining a cohesive adjacency matrix based on the first mask matrix and the adjacency matrix;

[0020] An extended adjacency matrix is ​​obtained based on the second mask matrix and the adjacency matrix.

[0021] Furthermore, in the above-mentioned financial fraud user identification method, the first mask matrix is:

[0022]

[0023] The second mask matrix is:

[0024]

[0025] The obtaining a cohesive adjacency matrix based on the first mask matrix and the adjacency matrix includes:

[0026] Performing a Hadamard product of the first mask matrix and the adjacency matrix to obtain a cohesive adjacency matrix;

[0027] The step of obtaining an extended adjacency matrix based on the second mask matrix and the adjacency matrix includes:

[0028] Performing a Hadamard product on the second mask matrix and the adjacency matrix to obtain an extended adjacency matrix.

[0029] Furthermore, in the above-mentioned financial fraud user identification method, the step of strengthening the differential features to obtain a strengthened differential matrix includes:

[0030] Inputting the differential features into the node-level attention convolution kernel to obtain a node-level attention score;

[0031] Inputting the differential feature into the feature-level attention convolution kernel to obtain a feature-level attention score;

[0032] Multiplying the node-level attention score by the feature-level attention score to obtain an attention matrix;

[0033] Perform a Hadamard product of the differential feature and the attention matrix to obtain a differential matrix.

[0034] Furthermore, in the above-mentioned financial fraud user identification method, the step of calculating the norm of the difference matrix and integrating the norm to obtain the identification result of the user data includes:

[0035] Calculating the L2-norm of each row vector in the difference matrix;

[0036] The L2-norm is input into the linear layer of the neural network to obtain the recognition result of the user data.

[0037] The present application also provides a financial fraud user identification device, including:

[0038] An acquisition and conversion module, used to acquire user data and convert the user data into a graph structure;

[0039] A subgraph construction module is used to extract data from the graph structure to obtain a target subgraph and an adjacency matrix of the target subgraph;

[0040] A directional difference view module, used for obtaining an inner cohesive adjacency matrix and an outer extended adjacency matrix based on the adjacency matrix, respectively encoding the inner cohesive adjacency matrix and the outer extended adjacency matrix to obtain a first feature and a second feature, and subtracting the first feature from the second feature to obtain a difference feature;

[0041] A multi-level attention module, used for strengthening the differential features to obtain a strengthened differential matrix;

[0042] The abnormality identification module is used to calculate the norm of the difference matrix and integrate the norm to obtain the recognition result of the user data.

[0043] Furthermore, in the above-mentioned financial fraud user identification device, the directional differential view module includes an inward encoder and an outward encoder, the inward encoder is used to encode the inward adjacency matrix to obtain a first feature, and the outward encoder is used to encode the outward adjacency matrix to obtain a second feature;

[0044] The cohesive encoder and the outward encoder both include a plurality of convolution modules, an activation function unit and a batch normalization unit.

[0045] An embodiment of the present application also provides a computer-readable storage medium, in which a plurality of instructions are stored, and the instructions are suitable for being loaded by a processor to execute any of the above-mentioned financial fraud user identification methods.

[0046] An embodiment of the present application also provides an electronic device, including a processor and a memory, wherein the processor is electrically connected to the memory, the memory is used to store instructions and data, and the processor is used for the steps in any of the above-mentioned financial fraud user identification methods.

[0047] The present application provides a method, device, storage medium and electronic device for identifying financial fraud users. The present application converts user data into a graph structure, extracts a target subgraph from the graph structure, and extracts differential features by constructing a directed differential view of the adjacency matrix of the target subgraph. The method of constructing a directed differential view can avoid the gradual fusion and smoothing of differential information during the feature extraction process. Finally, based on the differential features, it is predicted whether the user is an abnormal user. This method can improve the accuracy of identifying financial fraud users. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] The technical solution and other beneficial effects of the present application will be made apparent by describing in detail the specific implementation methods of the present application in conjunction with the accompanying drawings.

[0049] Figure 1 A flowchart of a method for identifying financial fraud users provided in an embodiment of the present application.

[0050] Figure 2 Another flow chart of the financial fraud user identification method provided in an embodiment of the present application.

[0051] Figure 3 A schematic diagram of the structure of a graph encoder provided in an embodiment of the present application.

[0052] Figure 4 A schematic diagram of the structure of a financial fraud user identification device provided in an embodiment of the present application.

[0053] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0054] Figure 6 Another schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0055] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0056] The embodiments of the present application provide a method, device, storage medium and electronic device for identifying a financial fraud user. The embodiments of the present application provide a financial fraud user identification device, which can be integrated in an electronic device, which can be a terminal, a server and other devices, wherein the terminal can include a tablet computer, a laptop computer, a personal computer (PC, Personal Computer), a micro processing box, or other devices.

[0057] See also Figure 1 and Figure 2 , Figure 1 A flowchart of a method for identifying a financial fraud user provided in an embodiment of the present application is provided. Figure 2 Another flowchart of the method for identifying a financial fraud user provided in an embodiment of the present application is provided, which is applied to an electronic device. The method for identifying a financial fraud user includes the following steps:

[0058] S1, obtain user data and convert the user data into a graph structure.

[0059] The graph structure includes a plurality of nodes, the plurality of nodes are connected by edges, and the plurality of nodes include a target node and its neighbor nodes.

[0060] In one embodiment, the user data may be a transaction network diagram of the user, where each node is a different anonymous account, and the attribute vector of each node may include information such as registration date, log record activity, and interaction frequency, and each edge represents a transaction record that has occurred between account nodes.

[0061] S2, extract data from the graph structure to obtain the target subgraph and the adjacency matrix of the target subgraph.

[0062] In one embodiment, a target node and K first-order neighbor nodes are randomly selected to form a target subgraph.

[0063] Specifically, for each target node, it is necessary to construct a target subgraph consisting of it and its neighbor nodes as the basis for distinguishing the target node. A fixed number of first-order neighbor nodes are randomly selected to form a target subgraph together with a target node. If the number of first-order neighbor nodes is less than K, the only first-order neighbor nodes can be repeatedly copied until K are reached.

[0064] Among them, the target subgraph is G = {V, E, X, A};

[0065] Among them, V represents the set of nodes contained in the target subgraph, E represents the set of edges contained in the target subgraph, X represents the set of attributes of each node in the target subgraph, X is actually an attribute matrix, each row of which is the attribute vector of a node, A is the adjacency matrix of the target subgraph, and each bit in the adjacency matrix records whether there is an edge connection between two nodes. For example, if the i-th row and j-th column in the adjacency matrix is ​​1, it means that there is an edge between node i and node j, otherwise there is no edge.

[0066] S3, based on the adjacency matrix, an inner cohesive adjacency matrix and an outer extended adjacency matrix are obtained, the inner cohesive adjacency matrix and the outer extended adjacency matrix are respectively encoded to obtain a first feature and a second feature, and the first feature is subtracted from the second feature to obtain a differential feature.

[0067] Specifically, in order to accurately grasp the difference between the central node and the neighboring nodes in the target subgraph, the adjacency matrix A of the original target subgraph is split into two different views for observation. For this purpose, two mask matrices M need to be constructed: in and M out .

[0068] In one embodiment, obtaining the inner cohesive adjacency matrix and the outer extended adjacency matrix based on the adjacency matrix in step S3 may include the following steps:

[0069] S31, constructing a first mask matrix and a second mask matrix.

[0070] The first mask matrix may be:

[0071]

[0072] The second mask matrix can be:

[0073]

[0074] S32: Obtain a cohesive adjacency matrix based on the first mask matrix and the adjacency matrix.

[0075] Specifically, the first mask matrix is ​​Hadamard-producted with the adjacency matrix to obtain the cohesive adjacency matrix, which can be expressed as follows:

[0076] A in =(A+I)⊙M in

[0077] Among them, A in is the cohesive adjacency matrix, I is the identity matrix, and ⊙ is the Hadamard product.

[0078] S33: Obtain an extended adjacency matrix based on the second mask matrix and the adjacency matrix.

[0079] Specifically, the second mask matrix is ​​Hadamard-producted with the adjacency matrix to obtain an extended adjacency matrix, which can be expressed as follows:

[0080] A out =(A+I)⊙M out

[0081] Among them, A out is the extended adjacency matrix.

[0082] Furthermore, a pair of graph encoders, namely the cohesive graph encoder and the extended graph encoder, are used to encode the cohesive adjacency matrix A in And the extended adjacency matrix A out Feature extraction is performed to obtain the first feature and the second feature respectively.

[0083] In one embodiment, if Figure 3 As shown, Figure 3 This is a schematic diagram of the structure of a graph encoder. Each graph encoder is composed of several graph convolution modules, activation functions, and batch normalization (BN) layers connected in sequence to avoid the gradient vanishing after the graph convolution operation. The graph convolution module is composed of a Dropout layer, which is a random deactivation layer, and a spatial domain graph convolution layer, in order to prevent the problem of suboptimal results caused by overfitting in training to a certain extent.

[0084] The basic calculation process of a single graph convolution module can be expressed as:

[0085] H l+1 =σ(AH l W)

[0086] Among them, H represents the hidden layer attributes obtained by the l-th graph convolution module, and A is the cohesive adjacency matrix A in the two graph encoders. in And the extended adjacency matrix A out , σ represents the activation function, which can be the ReLU function, and W is the neural network weight parameter to be learned.

[0087] Finally, the differential features can be obtained by subtracting the features encoded by the two graph encoders (the first feature and the second feature):

[0088] H diff =H in -H out

[0089] Among them, H in is the first feature output by the cohesion graph encoder, H outis the second feature output by the external image encoder, H diff is a differential feature.

[0090] S4, enhance the differential features to obtain an enhanced differential matrix.

[0091] In one embodiment, step S4 comprises the following steps:

[0092] S41, the differential feature is input into the node-level attention convolution kernel to obtain the node-level attention score, which can be expressed by the following formula:

[0093] S node =H diff ·W node

[0094] Among them, W node In the node-level attention convolution kernel, S node is the node-level attention score.

[0095] S42, the differential feature is input into the feature-level attention convolution kernel to obtain the feature-level attention score, which can be expressed by the following formula:

[0096] S feat =W feat ·H diff

[0097] Among them, W feat is the feature-level attention convolution kernel, S feat is the feature-level attention score.

[0098] S43, the node-level attention score is multiplied by the feature-level attention score to obtain the attention matrix, which can be expressed as follows:

[0099] S mat =S node ×S feat

[0100] Among them, S mat is the attention matrix.

[0101] S44, the difference feature is Hadamard product with the attention matrix to obtain the enhanced difference matrix, which can be expressed by the following formula:

[0102] H en =H diff ⊙S mat

[0103] Among them, H en is the enhanced difference matrix.

[0104] S5, calculating the norm of the difference matrix, and integrating the norm to obtain the recognition result of the user data.

[0105] In one embodiment, step S5 may include the following steps:

[0106] S51, calculate the L2-norm of each row vector in the difference matrix.

[0107] Specifically, for the enhanced differential feature H en Each row vector in H is calculated by its L2-norm. en Taking the i-th row vector in as an example, its L2-norm is:

[0108]

[0109] Among them, d represents the dimension of the row vector.

[0110] S52, inputting the L2-norm into the linear layer of the neural network to obtain the recognition result of the user data (ie, determining whether the user is a normal user or an abnormal user).

[0111] Specifically, it can be expressed by the following formula:

[0112] P=σ(H norm ·W L +b L )

[0113] Among them, W L and b L They are the learnable weights and biases in the linear layer of the neural network, and σ is an activation function, which can be a Sigmoid activation function.

[0114] This application constructs a directional differential view to avoid the gradual fusion and smoothing of differential information during the feature extraction process, and then further optimizes the differential features through a multi-level attention mechanism that combines feature-level attention and node-level attention. Finally, with highly recognizable high-quality features, a more acute anomaly discrimination capability is obtained, thereby improving the accuracy of identifying financial fraud users.

[0115] In a specific embodiment, steps S2-S5 in the method can be applied in a user identification model, which includes a sub-graph construction module, a directional difference view module, a multi-level attention module and an abnormality discrimination module.

[0116] Specifically, the acquisition and conversion module is used to acquire user data and convert the user data into a graph structure; the subgraph construction module is used to extract data from the graph structure to obtain the target subgraph and the adjacency matrix of the target subgraph; the directed differential view module is used to obtain the cohesive adjacency matrix and the extended adjacency matrix based on the adjacency matrix, encode the cohesive adjacency matrix and the extended adjacency matrix respectively to obtain the first feature and the second feature, and subtract the first feature from the second feature to obtain the differential feature; the multi-level attention module is used to enhance the differential feature to obtain the enhanced differential matrix; the abnormal discrimination module is used to calculate the norm of the differential matrix, and integrate the norm to obtain the recognition result of the user data.

[0117] The above process is the user identification model application process. The following introduces the user identification model training process through an example.

[0118] S61, obtain a data set, abstract the data in the data set into nodes and edges to form a graph structure, and perform label standardization and division into training set and test set.

[0119] Specifically, there are three data sets:

[0120] T-finance dataset: This dataset reflects a real transaction network diagram, in which each node is a different anonymous account. The attribute vector of each node has 10 dimensions, including information such as registration date, log record activity, and interaction frequency. Each edge represents a transaction record between account nodes, and the labels are judged by experts. If the account has fraud, money laundering, and online gambling, it will be marked as an abnormal node, otherwise it will be a normal node.

[0121] Elliptic dataset: This dataset is extracted from a real Bitcoin transaction network. Each node is a transaction account, and the edge is the flow of Bitcoin. The account contains multiple entities, which can be divided into two categories based on whether they are legal or not. They are legal entities including exchanges, wallet providers, miners, and legal services, and illegal entities such as fraud, malware, terrorist organizations, ransomware, and Ponzi schemes. The label category also comes from this. Each node has a 93-dimensional attribute vector, which contains information such as timestamp, Bitcoin transaction amount, and transaction fee.

[0122] DGraph dataset: This dataset comes from a real financial business scenario that is open sourced by an enterprise. Each node is a financial loan user of the enterprise, and the edge represents the emergency contact relationship. The node features include 17 attributes such as the desensitized user's personal basic information, repayment due date, actual repayment date, etc. Among them, users who have overdue loans are marked as abnormal, while users who have never had overdue payments are normal users.

[0123] In this example, Tfinance, Elliptic, and DGraph have all been converted into graph-structured data. Because the data comes from the real world, the companies have desensitized the data through type conversion, value mapping, and other methods before making it public for privacy reasons. Then, relevant experts determined the categories of each user node in the graph. The specific information of the data set is shown in the following table:

[0124] Table 1 Dataset details

[0125]

[0126] S62, input the graph structure corresponding to the training set into the user recognition model for training, and use the node-level attention convolution kernel and the feature-level attention convolution kernel as the entire target subgraph as a learning template. During the training process, the parameters of the user recognition model are updated with back propagation to complete the learning.

[0127] S63: training the user recognition model based on the loss function.

[0128] Specifically, since the value range of the recognition result P just corresponds to when the normal node category is marked as 0 and the abnormal node category is marked as 1, Binary Cross-Entropy (BCE) is selected as the loss function, which can be specifically expressed as:

[0129]

[0130] Among them, P i is the recognition result, Y i For label.

[0131] S64, input the test set into the trained user recognition model to obtain a recognition result to verify the user recognition model.

[0132] The final experimental results on the three data sets of Tfinance, Elliptic and DGraph are shown in Table 2:

[0133] Table 2 Experimental results of three datasets

[0134] Tfinance Elliptic DGraph ROC-AUC 0.9661 0.9798 0.7748 PR-AUC 0.8877 0.9433 0.0751 Macro-F1 0.9184 0.9466 0.5425

[0135] The horizontal axis in the table is the name of the three financial fraud data sets, and the vertical axis is the three evaluation indicators used to measure model performance. ROC-AUC is the abbreviation of the area under the receiver operating characteristic (ROC) curve. The closer the AUC value is to 1, the clearer the model can distinguish normal categories from abnormal categories; conversely, the lower the model's discrimination accuracy. PR-AUC is the abbreviation of the area under the Precision-Recall curve, which describes the changing trend of accuracy and regression rate as the classification threshold increases. The closer it is to 1, the better the model is in terms of confidence. Macro-F1 measures the comprehensive performance of the model in recall and precision. Similarly, the closer it is to 1, the better the model performance.

[0136] According to the method described in the above embodiment, this embodiment will be further described from the perspective of a financial fraud user identification device. The financial fraud user identification device can be implemented as an independent entity or integrated in an electronic device. The electronic device can be a terminal, a server, and the like. The terminal can include a tablet computer, a laptop computer, a personal computer (PC), a micro processing box, or other devices.

[0137] See also Figure 4 , Figure 4 The financial fraud user identification device provided in the embodiment of the present application is specifically described, and is applied to an electronic device. The financial fraud user identification device may include:

[0138] The acquisition and conversion module is used to acquire user data and convert the user data into a graph structure;

[0139] The subgraph construction module is used to extract data from the graph structure to obtain the target subgraph and the adjacency matrix of the target subgraph;

[0140] A directional difference view module is used to obtain an inner cohesive adjacency matrix and an outer extended adjacency matrix based on the adjacency matrix, encode the inner cohesive adjacency matrix and the outer extended adjacency matrix to obtain a first feature and a second feature respectively, and subtract the first feature from the second feature to obtain a difference feature;

[0141] A multi-level attention module is used to enhance the differential features to obtain an enhanced differential matrix;

[0142] The abnormality discrimination module is used to calculate the norm of the difference matrix and integrate the norm to obtain the recognition result of the user data.

[0143] In one embodiment, the directional differential view module includes an in-cohesion encoder and an out-cohesion encoder, the in-cohesion encoder is used to encode the in-cohesion adjacency matrix to obtain a first feature, and the out-cohesion encoder is used to encode the out-cohesion adjacency matrix to obtain a second feature; the in-cohesion encoder and the out-cohesion encoder both include a number of convolution modules, activation function units and batch normalization units.

[0144] During specific implementation, the above modules and / or units can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above modules and / or units can refer to the previous method embodiments. The specific beneficial effects that can be achieved can also refer to the beneficial effects in the previous method embodiments, which will not be repeated here.

[0145] In addition, the embodiment of the present application also provides an electronic device, which may be a computer, a tablet computer, or other device. Figure 5 As shown, the electronic device 400 includes a processor 401 and a memory 402. The processor 401 is electrically connected to the memory 402.

[0146] The processor 401 is the control center of the electronic device 400. It uses various interfaces and lines to connect various parts of the entire electronic device. It executes various functions of the electronic device and processes data by running or loading applications stored in the memory 402 and calling data stored in the memory 402, thereby monitoring the electronic device as a whole.

[0147] In this embodiment, the processor 401 in the electronic device 400 loads instructions corresponding to the processes of one or more application programs into the memory 402 according to the following steps, and the processor 401 runs the application programs stored in the memory 402 to implement various functions:

[0148] Acquire user data, and convert the user data into a graph structure;

[0149] Extracting data from the graph structure to obtain a target subgraph and an adjacency matrix of the target subgraph;

[0150] Based on the adjacency matrix, an inner cohesion adjacency matrix and an outer expansion adjacency matrix are obtained, the inner cohesion adjacency matrix and the outer expansion adjacency matrix are respectively encoded to obtain a first feature and a second feature, and the first feature is subtracted from the second feature to obtain a differential feature;

[0151] Strengthening the differential features to obtain a strengthened differential matrix;

[0152] The norm of the difference matrix is ​​calculated, and the norm is integrated to obtain the recognition result of the user data.

[0153] The electronic device can implement the steps in any embodiment of the financial fraud user identification method provided in the embodiments of the present application. Therefore, it can achieve the beneficial effects that can be achieved by any financial fraud user identification method provided in the embodiments of the present invention. Please refer to the previous embodiments for details and will not be repeated here.

[0154] Figure 6 The specific structural block diagram of the electronic device provided in the embodiment of the present invention is shown, and the electronic device can be used to implement the financial fraud user identification method provided in the above embodiment. The electronic device 500 can be a terminal, a server, etc., wherein the terminal can include a tablet computer, a notebook computer, a personal computer (PC, Personal Computer), a micro processing box, or other devices.

[0155] The RF circuit 510 is used to receive and send electromagnetic waves, realize the mutual conversion between electromagnetic waves and electrical signals, and thus communicate with a communication network or other devices. The RF circuit 510 may include various existing circuit elements for performing these functions, such as antennas, radio frequency transceivers, digital signal processors, encryption / decryption chips, user identity module (SIM) cards, memories, etc. The RF circuit 510 can communicate with various networks such as the Internet, corporate intranets, wireless networks, or communicate with other devices through wireless networks. The above-mentioned wireless networks may include cellular telephone networks, wireless local area networks, or metropolitan area networks. The above-mentioned wireless networks can use various communication standards, protocols and technologies, including but not limited to Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wi-Fi) (such as Institute of Electrical and Electronics Engineers standards IEEE 802.11a, IEEE 802.11b, IEEE802.11g and / or IEEE802.11n), Voice over Internet Protocol (VoIP), Worldwide Interoperability for Microwave Access (Wi-Max), other protocols for email, instant messaging and short messages, and any other suitable communication protocols, even those that have not yet been developed.

[0156] The memory 520 can be used to store software programs and modules, such as the corresponding program instructions / modules in the above embodiments. The processor 580 executes various functional applications and data processing by running the software programs and modules stored in the memory 520, that is, realizing the functions of taking pictures with the front camera, processing the captured images, and switching the display color of the display content on the display screen. The memory 520 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 520 may further include a memory remotely arranged relative to the processor 580, and these remote memories may be connected to the electronic device 500 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0157] The input unit 530 may be used to receive input digital or character information, and generate a keyboard and a mouse related to user settings and function control.

[0158] The display unit 540 may be used to display information input by the user or information provided to the user and various graphical user interfaces, which may be composed of graphics, text, icons, videos, and any combination thereof. The display unit 540 may include a display panel 541, which may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.

[0159] The audio circuit 560, the speaker 561, and the microphone 562 can provide an audio interface between the user and the electronic device 500. The audio circuit 560 can transmit the electrical signal converted from the received audio data to the speaker 561, which is converted into a sound signal for output; on the other hand, the microphone 562 converts the collected sound signal into an electrical signal, which is received by the audio circuit 560 and converted into audio data, and then the audio data is output to the processor 580 for processing, and then sent to another terminal through the RF circuit 510, or the audio data is output to the memory 520 for further processing. The audio circuit 560 may also include an earplug jack to provide communication between an external headset and the electronic device 500.

[0160] The electronic device 500 can help the user receive requests, send information, etc. through the transmission module 570 (such as a Wi-Fi module), which provides the user with wireless broadband Internet access. Although the transmission module 570 is shown in the figure, it is understandable that it is not a necessary component of the electronic device 500 and can be omitted as needed without changing the essence of the invention.

[0161] The processor 580 is the control center of the electronic device 500. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and / or modules stored in the memory 520, and calling data stored in the memory 520, it executes various functions of the electronic device 500 and processes data, thereby monitoring the electronic device as a whole. Optionally, the processor 580 may include one or more processing cores; in some embodiments, the processor 580 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communications. It can be understood that the above-mentioned modem processor may not be integrated into the processor 580.

[0162] The electronic device 500 also includes a power supply 590 (such as a battery) for supplying power to various components. In some embodiments, the power supply can be logically connected to the processor 580 through a power management system, so that the power management system can manage charging, discharging, and power consumption management. The power supply 590 can also include any components such as one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators.

[0163] Although not shown, the electronic device 500 also includes a camera (such as a front camera, a rear camera), a Bluetooth module, etc., which will not be described in detail here. Specifically in this embodiment, the display unit of the electronic device is a touch screen display, and the mobile terminal also includes a memory, and one or more programs, wherein one or more programs are stored in the memory, and are configured to be executed by one or more processors. One or more programs include instructions for performing the following operations:

[0164] Acquire user data, and convert the user data into a graph structure;

[0165] Extracting data from the graph structure to obtain a target subgraph and an adjacency matrix of the target subgraph;

[0166] Based on the adjacency matrix, an inner cohesion adjacency matrix and an outer expansion adjacency matrix are obtained, the inner cohesion adjacency matrix and the outer expansion adjacency matrix are respectively encoded to obtain a first feature and a second feature, and the first feature is subtracted from the second feature to obtain a differential feature;

[0167] Strengthening the differential features to obtain a strengthened differential matrix;

[0168] The norm of the difference matrix is ​​calculated, and the norm is integrated to obtain the recognition result of the user data.

[0169] In specific implementation, the above modules can be implemented as independent entities, or can be arbitrarily combined and implemented as the same or several entities. The specific implementation of the above modules can be found in the previous method embodiments, which will not be repeated here.

[0170] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments can be completed by instructions, or by controlling related hardware through instructions, and the instructions can be stored in a computer-readable storage medium and loaded and executed by a processor. To this end, an embodiment of the present invention provides a storage medium, which stores a plurality of instructions, and the instructions can be loaded by a processor to execute the steps of any embodiment of the financial fraud user identification method provided in the embodiment of the present invention.

[0171] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0172] Since the instructions stored in the storage medium can execute the steps in any embodiment of the financial fraud user identification method provided in the embodiments of the present invention, the beneficial effects that can be achieved by any financial fraud user identification method provided in the embodiments of the present invention can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0173] The above is a detailed introduction to a financial fraud user identification method, device, storage medium and electronic device provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the ideas of the present application, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for identifying financial fraud users, characterized in that: The method comprises: Acquire user data, and convert the user data into a graph structure; Extracting data from the graph structure to obtain a target subgraph and an adjacency matrix of the target subgraph; Based on the adjacency matrix, an inner cohesion adjacency matrix and an outer expansion adjacency matrix are obtained, the inner cohesion adjacency matrix and the outer expansion adjacency matrix are respectively encoded to obtain a first feature and a second feature, and the first feature is subtracted from the second feature to obtain a differential feature; Strengthening the differential features to obtain a strengthened differential matrix; The norm of the difference matrix is ​​calculated, and the norm is integrated to obtain the recognition result of the user data.

2. The financial fraud user identification method according to claim 1, characterized in that: The graph structure includes a plurality of nodes, the plurality of nodes are connected by edges, and the plurality of nodes include a target node and its neighbor nodes; The step of extracting data from the graph structure to obtain a target subgraph and an adjacency matrix of the target subgraph includes: Randomly select the target node and K first-order neighbor nodes to form the target subgraph; Wherein, the target subgraph is G={V, E, X, A}; Among them, V represents the set of nodes contained in the target subgraph, E represents the set of edges contained in the target subgraph, X represents the set of attributes of each node in the target subgraph, and A is the adjacency matrix of the target subgraph.

3. The financial fraud user identification method according to claim 1, characterized in that: The step of obtaining an inner cohesive adjacency matrix and an outer extended adjacency matrix based on the adjacency matrix includes: Constructing a first mask matrix and a second mask matrix; Obtaining a cohesive adjacency matrix based on the first mask matrix and the adjacency matrix; An extended adjacency matrix is ​​obtained based on the second mask matrix and the adjacency matrix.

4. The financial fraud user identification method according to claim 3, characterized in that: The first mask matrix is: The second mask matrix is: The obtaining a cohesive adjacency matrix based on the first mask matrix and the adjacency matrix includes: Performing a Hadamard product of the first mask matrix and the adjacency matrix to obtain a cohesive adjacency matrix; The step of obtaining an extended adjacency matrix based on the second mask matrix and the adjacency matrix includes: A Hadamard product is performed on the second mask matrix and the adjacency matrix to obtain an extended adjacency matrix.

5. The financial fraud user identification method according to claim 1, characterized in that: The step of enhancing the differential features to obtain an enhanced differential matrix includes: Inputting the differential feature into the node-level attention convolution kernel to obtain a node-level attention score; Inputting the differential feature into the feature-level attention convolution kernel to obtain a feature-level attention score; Multiplying the node-level attention score by the feature-level attention score to obtain an attention matrix; The Hadamard product is performed on the differential feature and the attention matrix to obtain an enhanced differential matrix.

6. The financial fraud user identification method according to claim 1, characterized in that: The calculating the norm of the difference matrix and integrating the norm to obtain the recognition result of the user data includes: Calculating the L2-norm of each row vector in the difference matrix; The L2-norm is input into the linear layer of the neural network to obtain the recognition result of the user data.

7. A financial fraud user identification device, characterized in that: include: An acquisition and conversion module, used to acquire user data and convert the user data into a graph structure; A subgraph construction module, used to extract data from the graph structure to obtain a target subgraph and an adjacency matrix of the target subgraph; A directional difference view module, used for obtaining an inner cohesive adjacency matrix and an outer extended adjacency matrix based on the adjacency matrix, respectively encoding the inner cohesive adjacency matrix and the outer extended adjacency matrix to obtain a first feature and a second feature, and subtracting the first feature from the second feature to obtain a difference feature; A multi-level attention module, used for strengthening the differential features to obtain a strengthened differential matrix; The abnormality identification module is used to calculate the norm of the difference matrix and integrate the norm to obtain the recognition result of the user data.

8. The financial fraud user identification device according to claim 7, characterized in that: The directional differential view module includes an in-cohesion encoder and an out-cohesion encoder, wherein the in-cohesion encoder is used to encode the in-cohesion adjacency matrix to obtain a first feature, and the out-cohesion encoder is used to encode the out-cohesion adjacency matrix to obtain a second feature; The cohesive encoder and the outward encoder both include a plurality of convolution modules, an activation function unit and a batch normalization unit.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the financial fraud user identification method according to any one of claims 1 to 6.

10. An electronic device, characterized in that: It includes a processor and a memory, the processor is electrically connected to the memory, the memory is used to store instructions and data, and the processor is used to execute the steps in the financial fraud user identification method described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Network fraud identification method and device, computer device and storage medium

    CN110705585A

  • Ethereum phishing fraud account detection device and method based on multi-feature learning

    CN114782051A