Risk account determination method and device, equipment, storage medium and program product

By performing quantum walks on the bipartite graph of the transfer network graph and using quantum superposition states to explore the network structure, the problem of low computational efficiency and low accuracy of the traditional graph neural network algorithm in identifying risk accounts has been solved, and a more efficient risk management has been achieved Account identification.

CN118569869APending Publication Date: 2024-08-30CHINA UNIONPAY
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410676804.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-28
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

The existing graph neural network algorithm has low computational efficiency and low identification accuracy when identifying risky accounts, making it difficult to effectively prevent and control non-compliant fund transfers.

Method used

Using the quantum walk algorithm, by constructing a transfer network graph and performing quantum walks on its bipartite graph, quantum superposition states are used to explore the network structure, improve computing efficiency and improve recognition accuracy.

Benefits of technology

The quantum walk algorithm significantly improves the calculation efficiency and the accuracy of risk account identification, and can more quickly and effectively mine the characteristics of the transfer network and locate accounts with non-compliant fund transfer behavior.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118569869A
    Figure CN118569869A
Patent Text Reader

Abstract

The invention discloses a risk account determination method and device, equipment, a storage medium and a program product. The risk account determination method comprises the steps that a transfer network diagram is constructed according to transfer information among multiple accounts, and the multiple accounts comprise at least one known risk account; converting the transfer network graph into a corresponding bipartite graph and constructing a quantum walk space; performing quantum state preparation on each node in the plurality of nodes by using the plurality of quantum bits to obtain an initial quantum state corresponding to each node; according to the initial quantum state, quantum migration is carried out in a quantum migration space with each node as a starting point, and a final quantum state corresponding to each node is obtained; determining embedded information corresponding to each node based on the final quantum state; and determining an account similar to the known risk account from the plurality of accounts as a risk account according to the embedded information. According to the scheme of the embodiment of the invention, the calculation efficiency can be improved, and the identification accuracy of the risk account can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to financial risk control technology, and in particular to a risk account determination method, device, equipment, storage medium and program product. Background Art

[0002] As financial activities become increasingly active, non-compliant fund transfers between accounts are becoming increasingly rampant. Financial institutions are the main channels for transfers between accounts, so it is necessary to establish an efficient and accurate risk prevention and control system in financial institutions.

[0003] At present, the traditional method for identifying risky accounts with non-compliant fund transfer behaviors is mainly to analyze the transfer behavior characteristics of the account based on the traditional graph neural network algorithm to determine whether the account is a risky account.

[0004] In this way, the existing graph neural network algorithm has low computational efficiency and low accuracy in identifying risky accounts because it requires a large amount of calculations. Summary of the invention

[0005] The embodiments of the present application provide a risk account determination method, apparatus, device, storage medium and program product, which can improve computing efficiency and enhance the accuracy of identifying risk accounts.

[0006] In a first aspect, an embodiment of the present application provides a method for determining a risky account, the method comprising:

[0007] Constructing a transfer network graph with accounts as nodes and transfer relationships between accounts as connecting edges according to transfer information between multiple accounts, wherein the multiple accounts include at least one known risk account;

[0008] Convert the transfer network graph into a corresponding bipartite graph, and construct a quantum walk space based on the bipartite graph;

[0009] Using a plurality of quantum bits to prepare a quantum state of a node corresponding to each of the plurality of accounts, to obtain an initial quantum state corresponding to each node;

[0010] According to the initial quantum state corresponding to each node, each node is used as a starting point to perform quantum walk in the quantum walk space to obtain a final quantum state corresponding to each node;

[0011] Determine embedded information corresponding to each node based on a final quantum state corresponding to each node;

[0012] According to the embedded information corresponding to each node, an account similar to the known risk account is determined from the multiple accounts as a risk account.

[0013] In a second aspect, an embodiment of the present application provides a risk account determination device, the device comprising:

[0014] A network construction module, configured to construct a transfer network graph with accounts as nodes and transfer relationships between accounts as connecting edges based on transfer information between multiple accounts, wherein the multiple accounts include at least one known risk account;

[0015] A space construction module, used to convert the transfer network graph into a corresponding bipartite graph, and construct a quantum walk space based on the bipartite graph;

[0016] A quantum state preparation module, used to perform quantum state preparation on a node corresponding to each of the multiple accounts using a plurality of quantum bits to obtain an initial quantum state corresponding to each node;

[0017] A quantum walk module, for performing quantum walks in the quantum walk space with each node as a starting point according to an initial quantum state corresponding to each node, to obtain a final quantum state corresponding to each node;

[0018] An information determination module, used to determine the embedded information corresponding to each node based on the final quantum state corresponding to each node;

[0019] An account determination module is used to determine, from the multiple accounts, an account similar to the known risk account as a risk account based on the embedded information corresponding to each node.

[0020] In a third aspect, an embodiment of the present application provides an electronic device, the electronic device comprising: a processor and a memory storing computer program instructions;

[0021] When the processor executes the computer program instructions, the steps of the risk account determination method as described in any one of the embodiments of the first aspect are implemented.

[0022] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having computer program instructions stored thereon. When the computer program instructions are executed by a processor, the steps of the risk account determination method as described in any one of the embodiments of the first aspect are implemented.

[0023] In a fifth aspect, an embodiment of the present application provides a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device performs the steps of the risk account determination method as described in any one of the embodiments of the first aspect.

[0024] The risk account determination method, device, equipment, storage medium and program product in the embodiment of the present application, by constructing a transfer network graph with accounts as nodes and transfer relationships between accounts as connecting edges, and then converting the transfer network graph into a corresponding bipartite graph, and constructing a quantum walk space based on the bipartite graph, and also using multiple quantum bits to prepare quantum states for nodes corresponding to each account in multiple accounts, according to the prepared initial quantum state corresponding to each node, respectively, starting from each node in the quantum walk space to perform quantum walks, and then obtaining the final quantum state corresponding to each node, and then based on the final quantum state corresponding to each node, determining the embedded information corresponding to each node, using the embedded information corresponding to each node, from multiple accounts, determine that the account similar to the known risk account is a risk account. In this way, since the embodiment of the present application takes advantage of quantum computing, and performs quantum walks in the constructed quantum walk space with each node as the starting point, compared with the random walk method in the traditional graph neural network algorithm, the complexity of quantum computing is lower and the computational efficiency is higher, so the computational efficiency can be effectively improved. Furthermore, since the walk in the embodiment of the present application is performed on the bipartite graph of the transfer network graph, the state space of the walk is expanded, more degrees of freedom and possibilities are provided, which helps the quantum walk to more comprehensively explore the topological structure of the transfer network graph, thereby improving the accuracy of identifying risky accounts. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0026] Figure 1 It is a flowchart of a method for determining a risk account provided by an embodiment of the present application;

[0027] Figure 2 It is a structural schematic diagram of a transfer network diagram provided by this application;

[0028] Figure 3 It is a structural schematic diagram of a bipartite graph provided by this application;

[0029] Figure 4 It is a schematic diagram of the structure of a risk account determination device provided by an embodiment of the present application;

[0030] Figure 5 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0031] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0032] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0033] When analyzing the transfer behavior characteristics of an account, it can be observed from the perspective of graph theory and network topology that non-compliant fund transfer behavior will exhibit specific abnormal structural characteristics in the financial network, such as rings, communities, butterflies, and dumbbells. Through these abnormal structural characteristics, risky accounts with non-compliant transfer behavior can be identified.

[0034] The random walk algorithm is the mainstream graph topology feature extraction method. The classic random walk starts from a node and randomly selects connected edges to move. After a large number of steps, the path formed can reflect the overall structure and characteristics of the transfer network graph. This classic random walk algorithm requires a lot of calculations, so the calculation efficiency is low and the recognition accuracy of risky accounts is low.

[0035] In order to solve the problems of the prior art, the embodiments of the present application provide a risk account determination method, device, equipment, storage medium and program product. The risk account determination method is based on quantum theory and uses quantum walks to mine the characteristics of the transfer network, wherein the quantum walk utilizes the characteristics of the quantum superposition state, explores all possible paths at the same time, and traverses with a certain probability, thereby mining the network more quickly and effectively than the traditional random walk algorithm, improving the computational efficiency. During the quantum walk, due to the effect of negative amplitude, the positive and negative amplitudes of particles on certain paths cancel each other out, resulting in a unique interference effect. This effect makes quantum walks more inclined to locate in closely connected abnormal areas (such as communities composed of accounts with non-compliant fund transfer behaviors).

[0036] In addition, quantum walks can capture local details while retaining the global structural information of the graph. The classical random walk is a "short-sighted" Markov process, and each step depends only on the local information of the current node. Quantum walks can establish long-range connections between different nodes through quantum superposition states, reflecting the overall properties of the graph. By following the state of quantum walks, node embedding information containing graph structural information can be obtained. This quantum embedding can take into account both the local and global characteristics of the graph, thereby improving the accuracy of identifying risky accounts.

[0037] The following first introduces the risk account determination method provided in the embodiment of the present application.

[0038] Figure 1 The present invention provides a flowchart of a method for determining a risky account provided by an embodiment of the present invention. The method for determining a risky account can be applied to a scenario of identifying risky accounts with non-compliant fund transfer behaviors, and the method for determining a risky account can be executed by an electronic device with computing functions such as a computer or a server.

[0039] like Figure 1 As shown, the risk account determination method may specifically include the following steps:

[0040] S110. Constructing a transfer network graph with accounts as nodes and transfer relationships between accounts as connecting edges based on transfer information between multiple accounts, wherein the multiple accounts include at least one known risk account;

[0041] S120, converting the transfer network graph into a corresponding bipartite graph, and constructing a quantum walk space based on the bipartite graph;

[0042] S130, using multiple quantum bits to prepare quantum states for nodes corresponding to each account in multiple accounts, to obtain an initial quantum state corresponding to each node;

[0043] S140, according to the initial quantum state corresponding to each node, respectively, taking each node as a starting point, performing quantum walk in the quantum walk space to obtain the final quantum state corresponding to each node;

[0044] S150, determining embedded information corresponding to each node based on the final quantum state corresponding to each node;

[0045] S160. According to the embedded information corresponding to each node, determine from multiple accounts that an account similar to a known risk account is a risk account.

[0046] In this way, since the embodiment of the present application utilizes the advantages of quantum computing and performs quantum walks in the constructed quantum walk space with each node as the starting point, compared with the random walk method in the traditional graph neural network algorithm, the complexity of quantum computing is lower and the computational efficiency is higher. In addition, quantum walks can establish long-range connections between different nodes through quantum superposition states, reflecting the overall properties of the transfer network graph, making the identification results more accurate, and thus can effectively improve the computational efficiency and the accuracy of identifying risky accounts. In addition, since the embodiment of the present application performs walks on the bipartite graph of the transfer network graph, the state space of the walk is expanded, providing more degrees of freedom and possibilities, which helps the quantum walk to more comprehensively explore the topological structure of the transfer network graph, and thus can further improve the accuracy of identifying risky accounts.

[0047] The specific implementation methods of the above steps are introduced below.

[0048] In some embodiments, in S110, the multiple accounts may be accounts with transfer behavior within a preset time period, and the multiple accounts may include at least one known risk account, which may be an account known to be marked as having non-compliant fund transfer behavior. The transfer information includes transfer account information, transferred account information, etc.

[0049] The transfer network diagram may be a topological diagram constructed based on the transfer information, with accounts as nodes and transfer relationships between accounts as connecting edges. When there is a transfer relationship between any two accounts, a connecting edge may be established between the nodes corresponding to the two accounts.

[0050] For example, a transfer network graph G shown in the following formula (1) can be constructed:

[0051] G=(V,E) (1)

[0052] Where V = {V1,…,V n} is a node set, E is an edge set, and the total number of nodes in graph G is N. The node corresponding to each account can be the account number of the account, such as a bank card number.

[0053] In some embodiments, in S120, the original graph of the transfer network graph may be converted into an equivalent bipartite graph, and quantum walks may be performed on the edges of the bipartite graph. Here, the transfer network graph may be converted into a bipartite graph by copying all nodes in the transfer network graph into two disjoint node sets, and when there is a connection edge between two nodes in the original graph of the transfer network graph, there is a connection edge between the corresponding nodes of the two node sets of the bipartite graph.

[0054] In some implementations, converting the transfer network graph into a corresponding bipartite graph in S120 may specifically include:

[0055] The nodes in the transfer network graph are copied to obtain two node sets, each of which includes nodes corresponding to multiple accounts;

[0056] According to the two node sets and the connection edges between the nodes in the transfer network graph, a bipartite graph corresponding to the transfer network graph is generated, and the connection relationship between any two nodes between the node sets in the bipartite graph is determined according to the connection edges between the nodes in the transfer network graph.

[0057] Here, all nodes in the transfer network graph can be copied into node sets X and Y. When the transfer network graph contains N nodes, the node sets X and Y also contain N nodes respectively.

[0058] For example, Figure 2 As shown in , if the transfer network graph contains 4 nodes, and there are connecting edges between the nodes corresponding to the accounts with transfer relations, then the transfer network graph can be transformed into Figure 3 The bipartite graph shown contains a node set X and a node set Y. There are two nodes with connecting edges in the transfer network graph, and there are also connecting edges between the corresponding nodes in the node sets X and Y.

[0059] After converting the transfer network graph into the corresponding bipartite graph, the quantum walk space can be constructed based on the bipartite graph.

[0060] In the embodiment of the present application, for any node v among the N nodes i The operation basis of can be represented by Dirac notation as |i>. |i> is an N×1-dimensional column vector, where the i-th row element is 1 and the other elements are 0. |i,j> represents the tensor product of column vectors |i> and |j> Therefore, |i,j> is an N×N matrix where the element in the i-th row and j-th column is 1 and the other elements are 0.

[0061] Exemplarily, the Hilbert spaces of the node set X and the node set Y are defined as and in, Then the Hilbert space for quantum walks on the bipartite graph is The calculated basis state is where {|i,j>:v i ∈X,v j ∈Y}. That is, the quantum walk space can be constructed based on the bipartite graph

[0062] In this way, by walking on the connecting edges of the bipartite graph corresponding to the transfer network graph, rather than walking on the connecting edges of the transfer network graph, walking on the bipartite graph can conveniently utilize some properties of the classical Markov chain, and walking on the bipartite graph expands the state space of the walk, providing more degrees of freedom and possibilities. The connecting edges encode the multi-step connection information between nodes in the transfer network graph, which helps quantum walking to more comprehensively explore the topological structure of the graph.

[0063] In some embodiments, in S130, n quantum bits may be used to represent the state of each node in the transfer network graph.

[0064] In quantum computing, since n quantum bits can represent 2 n states, these states can be used 2 n ×1-dimensional column vector, therefore, if the total number of nodes contained in the transfer network graph is N, a total of n ≥ log2N quantum bits are required to represent the states of all nodes |i> and |j>.

[0065] In an embodiment of the present application, an initial quantum state may be prepared for each node based on a Markov chain before the node performs quantum walk.

[0066] In some implementations, the above S130 may specifically include:

[0067] Generate an adjacency matrix based on the transfer network graph;

[0068] Determine the transfer probability between nodes in the transfer network graph according to the adjacency matrix and obtain the probability transfer matrix;

[0069] Based on the probability transfer matrix, determine the projection state of the node corresponding to each of the multiple accounts in the Markov chain, where a node is represented by multiple quantum bits;

[0070] The projection state corresponding to each node is taken as the initial quantum state.

[0071] For example, for the transfer network graph G shown in the above formula (1), the adjacency matrix A shown in the following formula (2) can be generated:

[0072]

[0073] Among them, the jth element in the i-th row of A is A i,j , A i,j =1 represents node v i and v j There is a transfer relationship between them.

[0074] Based on this, the probability transfer matrix P of the transfer network graph G can be generated according to the following formula (3):

[0075]

[0076] Among them, P i,j Represents node v i Transfer to node v j The probability of j For node v j The node degree is the number of edges associated with a node in the graph, which can be defined as the following formula (4):

[0077]

[0078] The node degree d j That is, the sum of all elements in the j-th column of the adjacency matrix A.

[0079] The classical Markov chain consists of random variables Each random variable has N possible states (X t ∈{s1,…,s N}). The probability of each random variable depends only on the previous random variable, that is: P(X t |X t-1 ,X t-2 ,…,X1)=P(X t |X t-1 ). If the Markov chain is time-independent, it satisfies the expression shown in the following formula (5):

[0080]

[0081] The Markov transition process can be described by an N×N probability transfer matrix P, where P i,j =P(X t =s i |X t-1 =s j ) is the state transition s j →s i The probability of and satisfying the column normalization constraint The random walk process on the graph can be represented by a Markov chain, and the states of the Markov chain correspond to the nodes on the graph.

[0082] Based on this, for two adjacent nodes v in the transfer network graph G i and v j ,|i,j> indicates that the walker is currently at node v i , the next roaming target is v j ; |j,i> indicates that the walker is currently at node v j , the next roaming target is v i During the random walk, from node v i Arrival node v j All possible paths have the same probability, so for node v i , v i All possible arrivals v j The states are superimposed to obtain the expression shown in the following formula (6):

[0083]

[0084] Among them, |ρ i > can be regarded as the square root of the i-th column of the probability transfer matrix P. Then the node v can be converted into i The state |i> and the corresponding |ρ i >Perform a tensor product operation to get the node v i The projected state |ψ on the Markov chain i >:

[0085]

[0086] The projected state |ψ i > Available as node v i The initial quantum state encoding, that is, the initial quantum state Where 0 represents the node v i Quantum walk has not been performed yet. The state after quantum walk It is the superposition state of the nodes in the graph. The probability of each node being observed after measurement reflects the tendency of the quantum wandering near the node.

[0087] In some embodiments, in S140, each node may be used as a starting point to control the walker in the quantum walk space constructed based on the bipartite graph. Perform t-step quantum walks in the process, and then obtain the final quantum state for each node. Here, the walker can be controlled in the quantum walk space based on the preset diffusion operator. Perform random quantum walks in the

[0088] In some implementations, before the above S140, the method provided in the embodiment of the present application may further include:

[0089] Get the target diffusion operator;

[0090] According to the target diffusion operator and the preset exchange operator, the quantum walk expression corresponding to the single-step quantum walk is determined.

[0091] Based on this, the above S140 may specifically include:

[0092] According to the initial quantum state corresponding to each node, each node is taken as the starting point, and quantum walks are performed in the quantum walk space according to the quantum walk expression to obtain the final quantum state corresponding to each node.

[0093] Here, the target diffusion operator R may be an operator for controlling the walker to walk in the quantum walk space. In some examples, the target diffusion operator R may include a Grover operator. The Grover operator is a core component of the Grover search algorithm, which realizes the "rotation" of the quantum state through reflection operation, so that the algorithm can find the target node at a quadratic acceleration speed, so the Grover operator is also called a reflection operator.

[0094] In this way, by using the Grover operator as the target diffusion operator, the algorithm has an exponential acceleration effect. The time complexity of quantum walk based on the Grover operator is Traditional random walk is O(N).

[0095] Of course, the target diffusion operator may also be other operators except the Grover operator, which will not be described in detail here.

[0096] In addition, the preset swap operator may be an operator for swapping two quantum registers, such as a swap operator S (swap operator) as shown in the following formula (8):

[0097]

[0098] By using the exchange operator S in quantum walks, the walker can turn around during the walk, increasing the flexibility and exploration ability of the walk, and allowing quantum interference to occur between walk paths in different directions. In addition, by adjusting the parameters of the exchange operator, the intensity and mode of interference can be controlled, thereby generating quantum behaviors such as anti-localization and improving the ability to mine potential risk accounts.

[0099] Based on this, the quantum walk expression corresponding to a single-step quantum walk can be determined according to the following formula (9), that is, the expression of a one-step quantum walk:

[0100] U QW =SR (9)

[0101] Among them, UQW is the quantum walk expression corresponding to a single-step quantum walk, S is the preset exchange operator, and R is the target diffusion operator. Based on this, the state of |i,j> after one step of quantum walk is as shown in the following formula (10):

[0102]

[0103] According to the above formula (10), after one step of quantum walking, the walker changes from v i Walked to v j . Next step walker from v j Departure, yes The probability of returning to v i ,have The probability of reaching another node v i Other than that and v j Adjacent nodes v k Among them, the node degree d j Represents and node v i The number of connected edges.

[0104] For example, with node v i As a starting point, Perform t quantum walks Can get the node v i The corresponding final quantum state For example, the initial quantum state can be calculated according to the following formula (11): Perform the first quantum walk and obtain the quantum state

[0105]

[0106] And so on, we can get the final quantum state Based on this, after all nodes are used as the starting point of quantum walks in turn and all perform t quantum walks, the final quantum states corresponding to N nodes can be obtained.

[0107] In addition, the target diffusion operator may also be determined according to a preset projection operator. In some embodiments, the target diffusion operator may be obtained by:

[0108] A target diffusion operator is constructed based on a preset projection operator, wherein the preset projection operator is used to project a vector in a quantum walk space to a target Hilbert space.

[0109] Here, the preset projection operator corresponds to the target Hilbert space.

[0110] In quantum mechanics, a set of orthogonal and normalized vectors {|ψ i>:i=1,…,N} can be stretched into an N-dimensional Hilbert space Ψ. Based on this, the preset projection operator can be defined as the projection operator Π, through which any quantum walk space The vectors in are projected onto the space Ψ, which is the target Hilbert space. Specifically, it can be seen from the following formula (12):

[0111]

[0112] Based on this, the target diffusion operator R can be constructed using the projection operator Π according to the following formula (13):

[0113] R=2Π-I (13)

[0114] Where I is the identity matrix.

[0115] In some embodiments, in S150, the embedded information may be an embedded vector that can represent node characteristics. After obtaining the final quantum state corresponding to each node, each final quantum state may be measured to obtain the probability amplitude on each node, and then the probability amplitude of each node may be used as the embedded information corresponding to the node, and the embedded information may be an embedded vector.

[0116] In some implementations, the above S150 may specifically include: for each node corresponding to the multiple accounts, executing the following steps to obtain embedded information corresponding to each node. This step may specifically include:

[0117] Applying the Hadamard gate to multiple quantum bits corresponding to a target node to convert the final quantum state corresponding to the target node into a measurement basis, where the target node is a node corresponding to any one of the multiple accounts;

[0118] Based on the measurement basis, multiple quantum bits corresponding to the target node are measured to obtain measurement results;

[0119] The embedded information corresponding to the target node is determined according to the measurement result.

[0120] For example, the target node is node v i For example, we can first prepare an n-bit quantum register and initialize the final quantum state Apply a Hadamard gate H to each of the n qubits to convert the final quantum state When the Hadamard gate is applied, the measurement basis can be obtained by processing according to the following formula (14).

[0121]

[0122] Among them, x is the binary representation of the measurement result, xi is the value of the i-th position, α i For node v i The corresponding probability amplitude.

[0123] Based on the measurement basis, each of the n quantum bits can be measured separately to obtain a measurement result. Using the measurement result, the embedded information corresponding to the target node can be determined.

[0124] In order to improve the accuracy of the measurement results, the quantum bits can be measured multiple times, and the probability of a certain result can be counted, and then the probability can be used as the embedded information of the node. Based on this, in some embodiments, the above-mentioned embedded information corresponding to the target node determined according to the measurement results can specifically include:

[0125] Return to execute applying the Hadamard gate to multiple quantum bits corresponding to the target node, converting the final quantum state corresponding to the target node into a measurement basis, until a preset number of cycles is obtained, and multiple measurement results are obtained;

[0126] The probability of the target quantum state appearing in the statistical measurement results;

[0127] The embedding information corresponding to the target node is determined according to the probability.

[0128] Here, the preset number of cycles can be set as needed. After repeated measurements, the probability that the measurement result on each node is the target quantum state can be counted, and the probability can be used as the probability amplitude estimate of the node.

[0129] For example, by measuring the quantum states of n quantum bits, the probability P(x) that the measurement result is x can be obtained as shown in the following formula (15):

[0130]

[0131] Here, n is the number of quantum bits.

[0132] Taking the target quantum state as |1> as an example, we can count the nodes v i The probability that the state of each dimension in the corresponding measurement result (a total of N dimensions) is |1> is used as the probability of node v i The probability amplitude estimate of node v i The embedding vector of .

[0133] In some embodiments, in S160, after the embedded information corresponding to each node is obtained, the embedded information of each node can be used to calculate the similarity between the account with unknown risk and the account with known risk in multiple accounts, and then determine the account with unknown risk as a risk account when the similarity meets the preset conditions. The preset conditions may include that the similarity with the known risk account is greater than a preset similarity threshold, or that the account belongs to the first preset accounts with relatively high similarity with the known risk account.

[0134] In some implementations, the above S160 may specifically include:

[0135] According to the embedding information corresponding to each node, the Euclidean distance between the node corresponding to the target account in the multiple accounts and the node corresponding to the known risk account is calculated, wherein the target account is other accounts in the multiple accounts except the known risk account;

[0136] Identify risky accounts from multiple accounts based on Euclidean distance.

[0137] Here, the Euclidean distance can be used to represent the similarity between embedded vectors.

[0138] For example, if there are K nodes corresponding to known risk accounts among N nodes, and the embedding vectors of the K nodes are {μ 1, μ 2,…, μ k}, the Euclidean distance between the other nodes in the N nodes except the K nodes and the K nodes can be calculated according to the following formula (16):

[0139]

[0140] Among them, D ij represents the Euclidean distance between the embedding vector corresponding to the i-th node and the embedding vector corresponding to the j-th known risk account node, d represents the total dimension of the embedding vector, where d = N, and l represents the l-th dimension of the embedding vector.

[0141] In some examples, after the Euclidean distance is obtained, nodes whose Euclidean distance is greater than a preset distance threshold may be determined as risk nodes.

[0142] In order to obtain a stable output result, in other examples, the above-mentioned determination of risk accounts from multiple accounts based on the Euclidean distance may specifically include:

[0143] The target accounts corresponding to the preset number of nodes with the smallest Euclidean distance are determined as risk accounts.

[0144] For example, the Euclidean distance D can be selected ijThe nearest Q nodes are output as risk nodes. Thus, a total of KQ nodes are output, and the accounts corresponding to the KQ nodes are determined as risk accounts.

[0145] In summary, the quantum walk algorithm used in the embodiment of the present application can show a faster convergence speed than the general quantum walk algorithm. The state transfer of the quantum walk of the present application is described by a block matrix, and the transfer matrix is ​​unitary, and these properties enable the walker to propagate and mix in the network at a faster speed. Fast convergence means that the algorithm can converge to a stable distribution with fewer iterations, discover key patterns and abnormal behaviors in the network, and thus bring higher computational efficiency. This advantage is particularly important when dealing with large-scale complex networks.

[0146] In addition, the state of quantum walk in this application is characterized by more parameters, and the Hilbert space where the quantum state is located has a higher dimension, so it has a more powerful expression ability. This high-dimensional state space can accommodate richer and more diverse network information and walk dynamics. Through the careful design and regulation of the quantum state, the quantum walk of this application can achieve more complex walk behaviors and patterns, and it is possible to discover hidden risk account characteristics that are difficult to characterize with general quantum walks.

[0147] It should be noted that the application scenarios described in the above-mentioned embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field can know that with the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0148] Based on the same inventive concept, the present application also provides a risk account determination device. Figure 4 Provide detailed explanation.

[0149] Figure 4 It is a structural diagram of a risk account determination device provided by an embodiment of the present application.

[0150] like Figure 4 As shown, the risk account determination device 400 may include:

[0151] A network construction module 401 is used to construct a transfer network graph with accounts as nodes and transfer relationships between accounts as connecting edges according to transfer information between multiple accounts, wherein the multiple accounts include at least one known risk account;

[0152] A space construction module 402, used to convert the transfer network graph into a corresponding bipartite graph, and construct a quantum walk space based on the bipartite graph;

[0153] A quantum state preparation module 403 is used to prepare a quantum state of a node corresponding to each of the multiple accounts using multiple quantum bits to obtain an initial quantum state corresponding to each node;

[0154] A quantum walking module 404 is used to perform quantum walking in the quantum walking space based on the initial quantum state corresponding to each node and taking each node as a starting point to obtain a final quantum state corresponding to each node;

[0155] An information determination module 405, for determining embedded information corresponding to each node based on a final quantum state corresponding to each node;

[0156] The account determination module 406 is configured to determine, from the multiple accounts, an account similar to the known risk account as a risk account according to the embedded information corresponding to each node.

[0157] The risk account determination device 400 is described in detail below, as follows:

[0158] In some embodiments, the space construction module 402 includes:

[0159] A node replication submodule, used to replicate the nodes in the transfer network graph to obtain two node sets, each of which includes nodes corresponding to the multiple accounts respectively;

[0160] The bipartite graph generation submodule is used to generate a bipartite graph corresponding to the transfer network graph according to the two node sets and the connection edges between the nodes in the transfer network graph, wherein the connection relationship between any two nodes between the node sets in the bipartite graph is determined according to the connection edges between the nodes in the transfer network graph.

[0161] In some embodiments, the risk account determination device 400 further includes:

[0162] An operator acquisition module is used to acquire a target diffusion operator before performing quantum walks in the quantum walk space with each node as a starting point according to an initial quantum state corresponding to each node and obtaining a final quantum state corresponding to each node;

[0163] An expression determination module, used to determine the quantum walk expression corresponding to the single-step quantum walk according to the target diffusion operator and the preset exchange operator;

[0164] The quantum walk module 404 is specifically used for:

[0165] According to the initial quantum state corresponding to each node, each node is taken as a starting point, and quantum walk is performed in the quantum walk space according to the quantum walk expression to obtain the final quantum state corresponding to each node.

[0166] In some embodiments, the operator acquisition module is specifically used to:

[0167] A target diffusion operator is constructed based on a preset projection operator, wherein the preset projection operator is used to project a vector in the quantum walk space to a target Hilbert space.

[0168] In some of these embodiments, the target diffusion operator includes a Grover operator.

[0169] In some embodiments, the quantum state preparation module 403 includes:

[0170] A matrix generation submodule, used to generate an adjacency matrix according to the transfer network graph;

[0171] A probability determination submodule, used to determine the transfer probability between nodes in the transfer network diagram according to the adjacency matrix to obtain a probability transfer matrix;

[0172] A projection state determination submodule, used to determine the projection state of a node corresponding to each of the multiple accounts in the Markov chain based on the probability transfer matrix, wherein a node is represented by multiple quantum bits;

[0173] The initial state determination submodule is used to take the projection state corresponding to each node as the initial quantum state.

[0174] In some embodiments, the information determination module 405 includes:

[0175] A basis conversion submodule, used for applying a Hadamard gate to a plurality of quantum bits corresponding to a target node to convert a final quantum state corresponding to the target node into a measurement basis, wherein the target node is a node corresponding to any one of the plurality of accounts;

[0176] A quantum measurement submodule, used to measure a plurality of quantum bits corresponding to the target node based on the measurement basis to obtain a measurement result;

[0177] The information determination submodule is used to determine the embedded information corresponding to the target node according to the measurement result.

[0178] In some embodiments, the information determination submodule includes:

[0179] A loop execution unit, used to return to execute the application of the Hadamard gate to the multiple quantum bits corresponding to the target node, convert the final quantum state corresponding to the target node into a measurement basis, until a preset number of loops is obtained to obtain multiple measurement results;

[0180] A probability statistics unit, used to count the probability of the target quantum state appearing in the measurement result;

[0181] An information determination unit is used to determine the embedded information corresponding to the target node according to the probability.

[0182] In some embodiments, the account determination module 406 includes:

[0183] a distance calculation submodule, configured to calculate the Euclidean distance between a node corresponding to a target account among the multiple accounts and a node corresponding to the known risk account according to the embedded information corresponding to each node, wherein the target account is an account other than the known risk account among the multiple accounts;

[0184] The account determination submodule is used to determine the risk account from the multiple accounts according to the Euclidean distance.

[0185] In some embodiments, the account determination submodule is specifically used to:

[0186] The target accounts corresponding to the preset number of nodes with the smallest Euclidean distance are determined as risk accounts.

[0187] Thus, by constructing a transfer network graph with accounts as nodes and transfer relationships between accounts as connecting edges, the transfer network graph is converted into a corresponding bipartite graph, and a quantum walk space is constructed based on the bipartite graph, and multiple quantum bits are used to prepare quantum states for nodes corresponding to each account in multiple accounts, and according to the prepared initial quantum states corresponding to each node, quantum walks are performed in the quantum walk space with each node as the starting point, and then the final quantum state corresponding to each node is obtained, and then the embedded information corresponding to each node is determined based on the final quantum state corresponding to each node, and the accounts similar to the known risk accounts are determined from multiple accounts using the embedded information corresponding to each node as risk accounts. In this way, since the embodiment of the present application utilizes the advantages of quantum computing and performs quantum walks in the constructed quantum walk space with each node as the starting point, compared with the random walk method in the traditional graph neural network algorithm, the complexity of quantum computing is lower and the computational efficiency is higher, so the computational efficiency can be effectively improved. Furthermore, since the walk in the embodiment of the present application is performed on the bipartite graph of the transfer network graph, the state space of the walk is expanded, more degrees of freedom and possibilities are provided, which helps the quantum walk to more comprehensively explore the topological structure of the transfer network graph, thereby improving the accuracy of identifying risky accounts.

[0188] Figure 5 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application.

[0189] The electronic device 500 may include a processor 501 and a memory 502 storing computer program instructions.

[0190] Specifically, the processor 501 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0191] The memory 502 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 502 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 502 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 502 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 502 is a non-volatile solid-state memory.

[0192] In certain embodiments, the memory may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to one aspect of the present application.

[0193] The processor 501 implements any one of the risk account determination methods in the above embodiments by reading and executing computer program instructions stored in the memory 502 .

[0194] In some examples, the electronic device 500 may further include a communication interface 503 and a bus 510. Figure 5 As shown, the processor 501, the memory 502, and the communication interface 503 are connected via a bus 510 and communicate with each other.

[0195] The communication interface 503 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0196] Bus 510 includes hardware, software or both, and the parts of online data flow billing equipment are coupled to each other. For example, but not limitation, bus 510 may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-end bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 510 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.

[0197] Exemplarily, the electronic device 500 may be a server, a computer, a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA).

[0198] The electronic device 500 can execute the risk account determination method in the embodiment of the present application, thereby realizing the combination Figure 1 and Figure 4 A method and apparatus for determining risky accounts are described.

[0199] In addition, in combination with the risk account determination method in the above embodiment, the embodiment of the present application may provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by the processor, any of the risk account determination methods in the above embodiment is implemented. Examples of computer-readable storage media include non-transitory computer-readable storage media, such as portable disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, etc.

[0200] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0201] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0202] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0203] The above reference is according to the method of the embodiment of the present application, the flow chart of the device (system) and the computer program product and / or the block diagram described various aspects of the present application.It should be understood that each square box in the flow chart and / or the block diagram and the combination of each square box in the flow chart and / or the block diagram can be realized by computer program instructions.These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the realization of the function / action specified in one or more square boxes of the flow chart and / or the block diagram.Such a processor can be but is not limited to a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit.It can also be understood that each square box in the block diagram and / or the flow chart and the combination of the square boxes in the block diagram and / or the flow chart can also be realized by the dedicated hardware that performs the specified function or action, or can be realized by the combination of dedicated hardware and computer instructions.

[0204] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.

Claims

1. A method for determining risky accounts, characterized in that: include: Constructing a transfer network graph with accounts as nodes and transfer relationships between accounts as connecting edges according to transfer information between multiple accounts, wherein the multiple accounts include at least one known risk account; Convert the transfer network graph into a corresponding bipartite graph, and construct a quantum walk space based on the bipartite graph; Using a plurality of quantum bits to prepare a quantum state of a node corresponding to each of the plurality of accounts, to obtain an initial quantum state corresponding to each node; According to the initial quantum state corresponding to each node, each node is used as a starting point to perform quantum walk in the quantum walk space to obtain a final quantum state corresponding to each node; Determine embedded information corresponding to each node based on a final quantum state corresponding to each node; According to the embedded information corresponding to each node, an account similar to the known risk account is determined from the multiple accounts as a risk account.

2. The method according to claim 1, characterized in that: The converting the transfer network graph into a corresponding bipartite graph includes: The nodes in the transfer network graph are copied to obtain two node sets, each of which includes nodes corresponding to the multiple accounts respectively; A bipartite graph corresponding to the transfer network graph is generated according to the two node sets and the connection edges between the nodes in the transfer network graph, wherein the connection relationship between any two nodes between the node sets in the bipartite graph is determined according to the connection edges between the nodes in the transfer network graph.

3. The method according to claim 1, characterized in that According to the initial quantum state corresponding to each node, each node is used as a starting point to perform quantum walk in the quantum walk space to obtain the final quantum state corresponding to each node, the method further includes: Get the target diffusion operator; Determine a quantum walk expression corresponding to a single-step quantum walk according to the target diffusion operator and the preset exchange operator; According to the initial quantum state corresponding to each node, each node is used as a starting point to perform quantum walk in the quantum walk space to obtain the final quantum state corresponding to each node, including: According to the initial quantum state corresponding to each node, each node is taken as a starting point, and quantum walk is performed in the quantum walk space according to the quantum walk expression to obtain the final quantum state corresponding to each node.

4. The method according to claim 3, characterized in that The obtaining of the target diffusion operator comprises: A target diffusion operator is constructed based on a preset projection operator, wherein the preset projection operator is used to project a vector in the quantum walk space to a target Hilbert space.

5. The method according to claim 3 or 4, characterized in that: The target diffusion operator includes a Grover operator.

6. The method according to claim 1, characterized in that The step of using a plurality of quantum bits to prepare a quantum state of a node corresponding to each of the plurality of accounts to obtain an initial quantum state corresponding to each node includes: Generate an adjacency matrix according to the transfer network graph; Determine the transfer probability between nodes in the transfer network graph according to the adjacency matrix to obtain a probability transfer matrix; Based on the probability transfer matrix, determining a projection state of a node corresponding to each of the multiple accounts in the Markov chain, wherein a node is represented by multiple quantum bits; The projection state corresponding to each node is taken as the initial quantum state.

7. The method according to claim 1, characterized in that The step of determining the embedded information corresponding to each node based on the final quantum state corresponding to each node includes: For each node corresponding to each of the multiple accounts, perform the following steps to obtain embedded information corresponding to each node: Applying a Hadamard gate to a plurality of quantum bits corresponding to a target node to convert a final quantum state corresponding to the target node into a measurement basis, wherein the target node is a node corresponding to any one of the plurality of accounts; Based on the measurement basis, measuring a plurality of quantum bits corresponding to the target node to obtain a measurement result; Determine the embedded information corresponding to the target node according to the measurement result.

8. The method according to claim 7, characterized in that The determining, according to the measurement result, the embedded information corresponding to the target node comprises: Returning to execute the Hadamard gate application to the multiple quantum bits corresponding to the target node, converting the final quantum state corresponding to the target node into a measurement basis, until a preset number of cycles is obtained, and a plurality of measurement results are obtained; Counting the probability of a target quantum state appearing in the measurement result; Determine the embedding information corresponding to the target node according to the probability.

9. The method according to claim 1, characterized in that: The step of determining, from the multiple accounts, an account similar to the known risk account as a risk account according to the embedded information corresponding to each node, includes: Calculating the Euclidean distance between a node corresponding to a target account among the multiple accounts and a node corresponding to the known risk account according to the embedded information corresponding to each node, wherein the target account is another account among the multiple accounts except the known risk account; A risky account is determined from the multiple accounts according to the Euclidean distance.

10. The method according to claim 9, characterized in that Determining a risk account from the multiple accounts according to the Euclidean distance includes: The target accounts corresponding to the preset number of nodes with the smallest Euclidean distance are determined as risk accounts.

11. A risk account determination device, characterized in that: include: A network construction module, configured to construct a transfer network graph with accounts as nodes and transfer relationships between accounts as connecting edges based on transfer information between multiple accounts, wherein the multiple accounts include at least one known risk account; A space construction module, used to convert the transfer network graph into a corresponding bipartite graph, and construct a quantum walk space based on the bipartite graph; A quantum state preparation module, used to perform quantum state preparation on a node corresponding to each of the multiple accounts using a plurality of quantum bits to obtain an initial quantum state corresponding to each node; A quantum walk module, for performing quantum walks in the quantum walk space with each node as a starting point according to an initial quantum state corresponding to each node, to obtain a final quantum state corresponding to each node; An information determination module, used to determine the embedded information corresponding to each node based on the final quantum state corresponding to each node; An account determination module is used to determine, from the multiple accounts, an account similar to the known risk account as a risk account based on the embedded information corresponding to each node.

12. An electronic device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the steps of the risk account determination method as described in any one of claims 1-10 are implemented.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, which, when executed by a processor, implement the steps of the risk account determination method as described in any one of claims 1 to 10.

14. A computer program product, characterized in that When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the steps of the risk account determination method as described in any one of claims 1 to 10.

Citation Information

Cited By

  • Fraud risk mitigation using quantum markov chains

    US20260179096A1

  • Risk account determination method and apparatus, device, storage medium and program product

    WO2025246304A1