Methods for identifying enterprises in need of financing, methods for training models, devices and equipment

Through the target graph convolution network and entity relationship combination operator, we perform structural learning in the enterprise graph to identify enterprises that need financing, which solves the problem of low positioning accuracy of enterprises that need financing in the existing technology, and achieves more efficient financing product launch and Business growth.

CN114757784BActive Publication Date: 2024-10-22ZHEJIANG E COMMERCE BANK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210577160.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-25
Publication Date
2024-10-22
Estimated Expiration
2042-05-25

AI Technical Summary

Technical Problem

Existing methods for locating enterprises in need of financing are less accurate, causing financial institutions to have difficulties in identifying small and medium-sized enterprises that are short of funds, increasing marketing costs and reducing the efficiency of enterprise growth.

Method used

The target graph convolution network is used to learn the neighborhood structure of enterprise graph information, and the embedding vectors of nodes and edges are gathered through the entity relationship combination operator and the multi-head self-attention mechanism to construct real and fake relationship triples and adjust the graph convolution network Parameters to improve the accuracy of the model and train the identification model for enterprises that require financing.

Benefits of technology

It significantly improves the positioning accuracy of enterprises that need financing, enables financing products to be efficiently launched into enterprises that really need it, reduces the marketing costs of financial institutions and improves the growth efficiency of small and medium-sized enterprises.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114757784B_ABST
    Figure CN114757784B_ABST
Patent Text Reader

Abstract

The present specification provides a method, device and electronic device for identifying enterprises in need of financing, including: inputting graph information of a target enterprise group into a target graph convolutional network, and performing neighborhood structure learning based on an entity relationship combination operator to obtain a final embedding vector of each node and edge; constructing real relationship triples and forged relationship triples based on the final embedding vectors of each node and edge and determining the scores of the relationship triples, so as to adjust the parameters of the target graph convolutional network based on the direction of minimizing the loss function and retrain the target graph convolutional network until the loss function meets the convergence condition; training a model for identifying enterprises in need of financing based on the final embedding vectors of the nodes corresponding to enterprises with financing demand labels in the final target graph convolutional network; and identifying whether the target enterprise is an enterprise in need of financing based on the trained model for identifying enterprises in need of financing and the final embedding vectors of the nodes corresponding to the target enterprise.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This document relates to the field of artificial intelligence, and in particular to a method for identifying enterprises in need of financing, a model training method, a device and equipment. Background Art

[0002] In recent years, financial needs exploration (FNE) has attracted great attention from financial institutions and academic researchers. Its purpose is to explore financially constrained SMEs. FNE has become increasingly important due to the importance of SMEs in economic development and the financial constraints of these enterprises. One issue that financial institutions are more concerned about is how to effectively find SMEs that are short of funds and need financing, so as to reduce the marketing costs of financial institutions and better help the growth of SMEs. To address this issue, financial institutions try to use data mining technology to discover the commonalities of enterprises in need of financing from the attributes and historical behaviors of SMEs in order to locate the enterprises in need of financing.

[0003] However, existing solutions have poor accuracy in locating enterprises in need of financing. Summary of the invention

[0004] The embodiments of this specification provide a method, device and electronic device for identifying enterprises in need of financing, which can accurately and efficiently locate enterprises with a shortage of funds.

[0005] The present invention provides a method for identifying an enterprise in need of financing, including:

[0006] The original feature vectors of the nodes representing the enterprises and the original feature vectors of the edges representing the enterprise relationships in the graph information of the target enterprise group are input into the target graph convolutional network, and the neighborhood structure learning is performed based on the entity relationship combination operator to obtain the final embedding vectors of each node and edge. The entity relationship combination operator is used to aggregate the embedding vectors of the neighboring nodes of the target node and the corresponding connecting edges;

[0007] Based on the final embedding vectors of each node and edge, construct the real relation triples and the forged relation triples and determine the score of each relation triple;

[0008] Adjusting the parameters of the target graph convolutional network based on a direction of minimizing a loss function and retraining the target graph convolutional network until the loss function meets a convergence condition, wherein the loss function is related to the score difference between the real relation triples and the forged relation triples;

[0009] Based on the final embedding vectors of the target graph convolutional network corresponding to the nodes of the enterprises with financing demand labels after training, a model for identifying enterprises in need of financing is trained;

[0010] Based on the trained model for identifying enterprises in need of financing and the final embedding vector of the target graph convolutional network corresponding to the target enterprises without financing demand labels after training, it is identified whether the target enterprise is an enterprise in need of financing.

[0011] The present specification provides a method for training a model for identifying enterprises in need of financing, including:

[0012] The original feature vectors of the nodes representing the enterprises and the original feature vectors of the edges representing the enterprise relationships in the graph information of the target enterprise group are input into the target graph convolutional network, and the neighborhood structure learning is performed based on the entity relationship combination operator to obtain the final embedding vectors of each node and edge. The entity relationship combination operator is used to aggregate the embedding vectors of the neighboring nodes of the target node and the corresponding connecting edges;

[0013] Based on the final embedding vectors of each node and edge, construct the real relation triples and the forged relation triples and determine the score of each relation triple;

[0014] Adjusting the parameters of the target graph convolutional network based on a direction of minimizing a loss function and retraining the target graph convolutional network until the loss function meets a convergence condition, wherein the loss function is related to the score difference between the real relation triples and the forged relation triples;

[0015] Based on the final embedding vector of the target graph convolutional network corresponding to the enterprises with financing demand labels after training, the financing-required enterprise identification model is trained.

[0016] The embodiment of this specification also provides a device for identifying an enterprise in need of financing, including:

[0017] The neighborhood structure learning module inputs the original feature vectors of the nodes representing the enterprises and the original feature vectors of the edges representing the enterprise relationships in the graph information of the target enterprise group into the target graph convolutional network, and performs neighborhood structure learning based on the entity relationship combination operator to obtain the final embedding vectors of each node and edge. The entity relationship combination operator is used to aggregate the embedding vectors of the neighboring nodes of the target node and the corresponding connecting edges;

[0018] The relation triple generation module constructs real relation triples and forged relation triples based on the final embedding vectors of each node and edge;

[0019] A relationship triplet score determination module, which determines the score of each relationship triplet;

[0020] A graph convolution network parameter adjustment module, adjusting the parameters of the target graph convolution network based on a direction of minimizing a loss function and retraining the target graph convolution network until the loss function meets a convergence condition, wherein the loss function is related to a score difference between a true relation triple and a forged relation triple;

[0021] The recognition model training module trains the financing-need enterprise recognition model based on the final embedding vectors of the target graph convolutional network corresponding to the nodes of the enterprises with financing demand labels after training.

[0022] The prediction module identifies whether the target enterprise is an enterprise in need of financing based on the trained identification model of enterprises in need of financing and the final embedding vector of the target graph convolutional network after training of the nodes corresponding to the target enterprises without financing demand labels.

[0023] The embodiment of the present specification also provides an electronic device, including:

[0024] Processor; and

[0025] a memory arranged to store computer executable instructions which, when executed, cause the processor to:

[0026] The original feature vectors of the nodes representing the enterprises and the original feature vectors of the edges representing the enterprise relationships in the graph information of the target enterprise group are input into the target graph convolutional network, and the neighborhood structure learning is performed based on the entity relationship combination operator to obtain the final embedding vectors of each node and edge. The entity relationship combination operator is used to aggregate the embedding vectors of the neighboring nodes of the target node and the corresponding connecting edges;

[0027] Based on the final embedding vectors of each node and edge, construct the real relation triples and the forged relation triples and determine the score of each relation triple;

[0028] Adjusting the parameters of the target graph convolutional network based on a direction of minimizing a loss function and retraining the target graph convolutional network until the loss function meets a convergence condition, wherein the loss function is related to the score difference between the real relation triples and the forged relation triples;

[0029] Based on the final embedding vectors of the target graph convolutional network corresponding to the nodes of the enterprises with financing demand labels after training, a model for identifying enterprises in need of financing is trained;

[0030] Based on the trained model for identifying enterprises in need of financing and the final embedding vector of the target graph convolutional network corresponding to the target enterprises without financing demand labels after training, it is identified whether the target enterprise is an enterprise in need of financing.

[0031] The embodiment of the present specification also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the following operations are implemented:

[0032] The original feature vectors of the nodes representing the enterprises and the original feature vectors of the edges representing the enterprise relationships in the graph information of the target enterprise group are input into the target graph convolutional network, and the neighborhood structure learning is performed based on the entity relationship combination operator to obtain the final embedding vectors of each node and edge. The entity relationship combination operator is used to aggregate the embedding vectors of the neighboring nodes of the target node and the corresponding connecting edges;

[0033] Based on the final embedding vectors of each node and edge, construct the real relation triples and the forged relation triples and determine the score of each relation triple;

[0034] Adjusting the parameters of the target graph convolutional network based on a direction of minimizing a loss function and retraining the target graph convolutional network until the loss function meets a convergence condition, wherein the loss function is related to the score difference between the real relation triples and the forged relation triples;

[0035] Based on the final embedding vectors of the target graph convolutional network corresponding to the nodes of the enterprises with financing demand labels after training, a model for identifying enterprises in need of financing is trained;

[0036] Based on the trained model for identifying enterprises in need of financing and the final embedding vector of the target graph convolutional network corresponding to the target enterprises without financing demand labels after training, it is identified whether the target enterprise is an enterprise in need of financing.

[0037] At least one of the above technical solutions adopted in the embodiments of this specification achieves the following technical effects:

[0038] By performing neighborhood structure learning and neighborhood connection learning based on the graph information of the target enterprise group, and then training a model for identifying enterprises in need of financing based on the embedding vectors of the enterprise nodes and the financing demand labels of the enterprise nodes obtained after learning, it is possible to predict whether the target enterprise is an enterprise in need of financing based on the trained model for identifying enterprises in need of financing and the embedding vectors of the target enterprise nodes, thereby greatly improving the positioning accuracy of enterprises in need of financing, so that financing product delivery institutions can efficiently deliver financing products to enterprises in need of financing. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The drawings described herein are used to provide a further understanding of this specification and constitute a part of this specification. The illustrative embodiments and descriptions of this specification are used to explain this specification and do not constitute an improper limitation on this specification. In the drawings:

[0040] Figure 1 A schematic diagram of the enterprise funding relationship scenario provided for this instruction manual.

[0041] Figure 2 This is a flow chart of a method for identifying enterprises in need of financing according to an embodiment of this specification.

[0042] Figure 3 It is a schematic diagram of the embedding vector aggregation process of nodes based on the entity relationship combination operator and the multi-head self-attention mechanism in the embodiment of this specification.

[0043] Figure 4 It is a schematic diagram of projecting the embedding vector of the node of the embodiment of this specification onto the relational hyperplane.

[0044] Figure 5 This is a schematic diagram of the structure of a device for identifying an enterprise in need of financing provided in one embodiment of this specification.

[0045] Figure 6 A schematic diagram of the structure of an electronic device provided in one embodiment of this specification. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solutions and advantages of this specification clearer, the technical solutions of this specification will be clearly and completely described below in combination with the specific embodiments of this specification and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of this specification, not all of them. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this document.

[0047] To facilitate understanding of the embodiments of this specification, some glossaries are introduced below.

[0048] Heterogeneous Graph: A structure that describes a set of objects where some pairs of objects are "related" in some sense. These objects correspond to mathematical abstractions called nodes, and each related pair of nodes is called an edge. There can be more than one type of node and edge in a heterogeneous graph.

[0049] Small and medium-sized graph: a graph-based data structure in which nodes represent small and micro enterprises and links represent the relationships between small and medium-sized enterprises, such as holding relationships, joint venture relationships, upstream and downstream relationships, transfer relationships, etc.

[0050] Financially constrained: It is a state of an enterprise, which means that the amount of funds an enterprise has is less than the amount of funds required to maintain normal production. Banks need to identify small and micro enterprises with financial constraints from a large number of small and micro enterprises to better assist their development.

[0051] Embedding: A common layer in deep learning network models, mainly used to process vector representations of sparse features. It not only solves the length problem of one-hot vectors, but also represents the similarity between features.

[0052] The attention mechanism originates from the study of human vision. In cognitive science, due to the bottleneck of information processing, humans selectively focus on part of all information while ignoring other visible information. The above mechanism is usually called the attention mechanism. The core of the attention mechanism in deep learning is to shift from focusing on all information in the deep network to focusing on key information.

[0053] Graph convolution network: a neural network that can process graph structured data. It aggregates or transfers information about the neighborhood of the target node, thereby updating the embedding on the node and performing downstream tasks.

[0054] Graph attention network: It is an improvement of graph convolutional network. In the process of aggregating neighbor information, by learning the weights of neighbors, the graph attention network can achieve weighted aggregation of neighbors. Therefore, it is not only more robust to noisy neighbors, but the attention mechanism also gives the model a certain degree of interpretability.

[0055] Hyperplane: refers to a subspace of dimension n-1 in an n-dimensional linear space. It can divide the linear space into two disjoint parts, so that two vectors that are difficult to distinguish before the division can be distinguished after the division.

[0056] Relational translation: It is a method for calculating whether the relationship between two nodes is valid on a heterogeneous graph. This method regards the relationship in the heterogeneous graph as a translation vector between entities. That is, for each fact-relation triple, the entity and the relationship are first represented in the same vector space, and then the relationship vector is regarded as the translation between the head entity vector and the tail entity vector.

[0057] It should be understood that in the embodiments of this specification, there are various heterogeneous relationships between enterprises, such as cooperative relationships, parent company relationships, supplier relationships, shareholder relationships, shareholder guarantor relationships, co-owner relationships, etc. For ease of understanding, the parent company relationship and supplier relationship are used as examples below.

[0058] Figure 1 This is a schematic diagram of the enterprise relationship scenario of the embodiment of this specification. Figure 1As shown in the figure, there are two heterogeneous enterprise relationships in the current enterprise A: parent company relationship and supplier relationship. Among them, enterprise B is the parent company of enterprise A and will provide funds for enterprise A to develop; enterprise A is the supplier of enterprise C, or enterprise A is the upstream enterprise of enterprise C, and downstream enterprise C needs to provide funds to upstream enterprise A as payment for goods. Figure 1 As shown, the relationship between the parent company and its subsidiaries is one-to-many. A parent company may have multiple subsidiaries and need to provide funds for multiple subsidiaries. The relationship between upstream and downstream companies is many-to-many. An enterprise may have multiple suppliers and may also be a supplier to multiple enterprises at the same time. That is, an enterprise may have multiple downstream enterprises and may also have multiple upstream enterprises at the same time.

[0059] In such a complex heterogeneous enterprise relationship, different enterprise relationships correspond to different capital flow relationships. In addition, in different enterprise relationships, the capital demand of neighboring nodes has different impact factors on the current node.

[0060] In order to take into account the impact of various corporate relationships on corporate financing needs, the embodiments of this specification propose a training method for a model for identifying companies in need of financing. Figure 2 This is a flow chart of a method for identifying enterprises that need financing according to an embodiment of this specification. Figure 2 As shown, the method may include:

[0061] Step S202, generating graph information of the target enterprise group.

[0062] Among them, any node in the graph information corresponds to an enterprise in the target enterprise group, and any edge in the graph information corresponds to the relationship between two enterprises corresponding to the two nodes connected by the edge.

[0063] It should be understood that the process of generating enterprise graph information belongs to the prior art. The specific implementation can refer to the relevant content of the prior art, and the embodiments of this specification will not be repeated here. In this specification, the small and medium-sized enterprise (SME) group is used as an example for illustration. At this time, the graph information of the target enterprise group is the SME graph, which can be expressed as G = (V, ε, Δ, H, R). Among them,

[0064] V, represents the set of nodes of SME.

[0065] ε, represents the set of heterogeneous relationship types between SMEs (i.e., the set of edges in the SNE graph).

[0066] Δ, represents the set of relation triples. For each relation triple (h, r, t)∈Δ, h represents the head node of the edge, r represents the relationship type of the edge, and t represents the tail node of the edge.

[0067] H, represents the original node feature matrix of all nodes in all SME graphs.

[0068] R, represents the relational feature matrix of relation types between all nodes in all SME graphs.

[0069] It should be understood that in the embodiments of this specification, there may be multiple relationships between enterprises, such as cooperative relationships, parent company relationships, supplier relationships, shareholder relationships, shareholder guarantor relationships, co-owner relationships, and so on. Of course, it should be understood that in the embodiments of this specification, the main consideration is the different capital flow relationships caused by various corporate relationships. For example, Company A is the parent company of Company B. When Company B has a capital demand, there will be a capital flow relationship in which Company A transfers funds to Company B; for another example, Company B is a supplier of Company C. When Company B provides goods to Company C, there will be a capital flow relationship in which Company C needs to pay Company B for the goods.

[0070] Of course, it should be understood that for the embodiments of this specification, step S202 is optional, and the atlas information can also be obtained directly, for example, it can be directly read from a pre-stored database, or obtained from a third party, or so on, and the embodiments of this specification do not limit this.

[0071] In step S204, the original feature vectors of the nodes representing the enterprises and the original feature vectors of the edges representing the enterprise relationships in the graph information of the target enterprise group are input into the target graph convolutional network, and neighborhood structure learning is performed based on the entity relationship combination operator to obtain the final embedding vectors of each node and edge.

[0072] The entity relationship combination operator is used to aggregate the embedding vectors of the neighbor nodes of the target node and the corresponding connecting edges. Specifically, the entity relationship combination operator is used to aggregate the embedding vectors of the neighbor nodes of the target node and the embedding vectors of the connecting edges between the target node and the neighbor nodes to obtain the embedding vector after the embedding vector of the neighbor nodes is transferred to the target node.

[0073] It should be understood that in the embodiments of this specification, the final embedding vectors of nodes and edges refer to the embedding vectors of nodes and edges output by the last convolutional layer of the target graph convolutional network.

[0074] It should be understood that in the embodiment of this specification, the target graph convolution network is used to learn the neighborhood structure of the graph information of the target enterprise group. It should be understood that when the neighborhood structure learning is performed based on the entity relationship combination operator to obtain the final embedding vector of each node and edge, the embedding vectors of the neighbor nodes and connecting edges of each target node can be aggregated layer by layer based on the entity relationship combination operator to obtain the embedding vector after the embedding vector of the neighbor node is transferred to the target node, and the embedding vector of the edge is converted layer by layer to the next convolution layer. That is: based on the entity relationship combination operator, the embedding vectors of the neighbor nodes and edges of each node are aggregated layer by layer to obtain the embedding vectors output by each convolution layer of each node and edge in the target graph convolution network. . In the embodiment of this specification, the number of convolution layers L of the target graph convolution network is a hyperparameter and is configurable. The embodiment of this specification can select different L values ​​as needed to obtain the optimal model for identifying enterprises in need of financing. For example, the L value can be 2, 3, 5, 8, 10, 20, etc., and each L value can obtain an optimal model for identifying enterprises in need of financing. However, the cost of training the model with different L values ​​and the prediction accuracy of the trained model are different. When configuring the L value, it is necessary to consider the balance between training cost and prediction accuracy.

[0075] It should be understood that in a graph convolutional network, each convolutional layer has a corresponding embedding vector input and an embedding vector output. In the embodiment of this specification, in the lth convolutional layer of the target graph convolutional network, its input is an embedding vector h of a set of nodes and an embedding vector r of a set of edges (relationships). Specifically, it can be represented by the following vector:

[0076] The embedding vector of the node input to the lth convolutional layer Where |v| represents the number of nodes in the node set V. Represents the input feature vector of the lth convolutional layer of node i in the graph convolutional network. The node embedding vector input to the l+1th convolutional layer is also the node embedding vector output by the lth convolutional layer.

[0077] The node embedding vector of the input of the lth convolutional layer Here, |ε| represents the number of relations in the relation set ε. Represents the input feature vector of the lth convolutional layer of edge (relation) i in the graph convolutional network. The embedding vector of the edge input to the l+1th convolutional layer, that is, the embedding vector of the edge output by the lth convolutional layer.

[0078] In particular, in the first convolutional layer, its input is the original feature vector of the node and the original feature vector of the edge.

[0079] In the embodiments of this specification, in order to distinguish the importance of neighbor nodes of different relationship types, an entity-relationship combination operator is introduced to design an entity-relationship combination operator, which aggregates the embedding vectors from neighbor nodes and edges by performing a synthesis operation on the embedding vectors of neighbor nodes and edges. For each node u, the embedding vector input from the one-hop neighbor is first aggregated to calculate the embedding vector output of each node. According to the entity relationship combination operator, the embedding vector of each neighbor node v of the node u and the embedding vector of the edge corresponding to the node u and the neighbor node v can be determined after being transferred to the node. The embedding vector of each neighbor node u and the embedding vector of the edge can determine a transferred embedding vector Then, a transformation matrix After the embedding vectors of each neighboring node of node u are linearly transformed, they are then nonlinearly transformed by a preset function f() to obtain the embedding vector output corresponding to node u. It should be understood that the preset function f() can select a variety of activation functions, and the embodiments of this specification do not limit this.

[0080] Optionally, the neighborhood structure learning process may include:

[0081] Determine the embedding vector of the target neighbor node in the target convolution layer after the embedding vector is transferred to the target node according to the entity relationship combination operator, the embedding vector input of the target neighbor node in the target convolution layer, and the embedding vector input of the connection edge between the target node and the target neighbor node in the target convolution layer;

[0082] According to the first linear transformation matrix corresponding to the target convolution layer and the embedding vector after the embedding vectors of each neighboring node of the target node in the target convolution layer are transferred to the target node, the embedding vector output corresponding to the target node in the target convolution layer is determined; wherein the first linear transformation matrix corresponding to the target convolution layer is used to perform linear transformation processing on the node embedding vector input to the target convolution layer;

[0083] Determine the embedding vectors of each node and edge output by the last convolutional layer of the target graph convolutional network as the final embedding vectors of each node and edge.

[0084] Optionally, determining the embedding vector output corresponding to the target node in the target convolution layer according to the first linear transformation matrix corresponding to the target convolution layer and the embedding vector after the embedding vectors of each neighboring node of the target node in the target convolution layer are transferred to the target node may include:

[0085] According to the first linear transformation matrix corresponding to the target convolution layer, a linear transformation is performed on the embedding vector of each neighboring node of the target node in the target convolution layer after the embedding vector is transferred to the target node, so as to obtain a first transformation parameter corresponding to the target neighboring node;

[0086] The first transformation parameters corresponding to each neighboring node of the target node are accumulated and then subjected to a preset nonlinear transformation process to obtain an embedding vector output corresponding to the target node in the target convolutional layer.

[0087] Optionally, the embedding vector output of node u in the lth layer (that is, the embedding vector input of node u in the l+1th layer) is expressed as shown in formula (1):

[0088]

[0089] Where N(u) represents the one-hop neighbor set of node u, T(u, v) represents the relationship type between node u’s neighbor node v and node u, The embedding vector input representing the relationship between node u and its neighbor node v in the lth convolutional layer, represents the embedding vector input of the neighbor node v of node u in the lth convolutional layer, According to the entity-relation synthesis operator, the embedding vector of the neighbor node v and the embedding vector of the relation T(u, v) Pass the embedding vector of neighbor node v to node u After embedding vector, It represents the node embedding vector transformation matrix in the lth convolutional layer in the graph convolutional network, which is used to perform linear transformation processing on the node embedding vector input to the lth convolutional layer; the function f() is an activation function, which is used to perform preset nonlinear transformation processing on the parameters in the function.

[0090] In addition, since the update of the embedding vector of node u in Formula 1 will transform the original vector space, the relation vector of the input of the l+1th layer The corresponding transformations must also be done. The embedding vector output process of each edge in each convolutional layer may include:

[0091] According to the second linear transformation matrix corresponding to the target convolution layer, a linear transformation is performed on the embedding vector input corresponding to the target edge in the target convolution layer, and then the preset nonlinear transformation is performed on the parameters after the linear transformation to obtain the embedding vector output corresponding to the target edge in the target convolution layer, wherein the second linear transformation matrix corresponding to the target convolution layer is used to perform linear transformation on the embedding vector of the edge input to the target convolution layer.

[0092] Optionally, the i-th relation embedding vector output in the l-th convolutional layer in the target graph convolutional network is And the corresponding i-th relation embedding vector input The relationship can be shown as formula (2):

[0093]

[0094] in, Represents the relation transformation matrix in the lth convolutional layer in the target graph convolutional network. According to the i-th relation embedding vector input in the lth convolutional layer in the target graph convolutional network Combined relation transformation matrix And the activation function f(), we can get the relation embedding vector output in the lth convolutional layer of the target graph convolutional network. It should be understood that the activation function f() of formula (1) for calculating the node embedding vector and the activation function f() of formula (2) for calculating the edge embedding vector may be the same or different, but generally the same activation function is selected.

[0095] Through the above formulas (1) and (2), the target graph convolutional network can model the multi-type heterogeneity of edges (relationships) in the graph of the target enterprise group, while keeping the spatial complexity of relationship type modeling as (O(|ε|d l ), that is, it is linear in the feature dimension, where |ε| represents the number of nodes in the graph of the target enterprise group, and d l Represents the feature dimension of the embedding vector at layer l.

[0096] Of course, it should be understood that if we only rely on the entity-relationship composition operator to aggregate the embedding vectors of neighbor nodes and edges, there may be certain defects, such as not being able to process neighbors of variable sizes as input, but focusing on the most relevant neighbors for aggregation.

[0097] Preferably, in order to solve the above problems, a self-attention mechanism can be introduced to calculate the embedding vector of each node in the graph by paying attention to the neighboring nodes. In order to stabilize the learning process of the self-attention mechanism, the embodiment of this specification extends the mechanism and adopts a multi-head self-attention mechanism. At this time, neighborhood structure learning can be performed based on the entity relationship combination operator and the multi-head self-attention mechanism to obtain the final embedding vector of each node and edge. It should be understood that when neighborhood structure learning is performed based on the entity relationship combination operator and the multi-head self-attention mechanism, the embedding vectors of the neighboring nodes of each node and the embedding vectors of each edge can be aggregated layer by layer to obtain the embedding vectors of each node and edge output by each convolution layer in the target graph convolution network, thereby obtaining the final embedding vector of each node and edge output by the last convolution layer.

[0098] Specifically, the embedding vector aggregation process of the node introducing the multi-head self-attention mechanism may include:

[0099] Determine the embedding vector of the target neighbor node in the target convolution layer after the embedding vector is transferred to the target node according to the entity relationship combination operator, the embedding vector input of the target neighbor node in the target convolution layer, and the embedding vector input of the connection edge between the target node and the target neighbor node in the target convolution layer;

[0100] According to the third linear transformation matrix corresponding to the target convolution layer, the target fractal dimension vector of the target node in the embedding vector input of the target convolution layer, and the embedding vector after the embedding vector of the target neighbor node of the target node in the target convolution layer is transferred to the target node, the self-attention coefficient of the target neighbor node of the target node corresponding to the target fractal dimension vector and the target convolution layer is determined and normalized to obtain the normalized self-attention coefficient, wherein the third linear transformation matrix corresponding to the target convolution layer is used to perform linear transformation processing on the node embedding vector input of the target convolution layer;

[0101] Determine the aggregated features of the target node corresponding to the target convolution layer and the target fractal dimension vector according to the normalized self-attention coefficients corresponding to the target convolution layer and the target convolution layer of each neighbor node of the target node, the third linear transformation matrix corresponding to the target convolution layer, and the embedding vector of each neighbor node of the target node in the target convolution layer after being transferred to the target node;

[0102] The aggregate features corresponding to each target fractal vector of the target node in the target convolution layer are merged to obtain the embedding vector output of the target node in the target convolution layer;

[0103] Determine the embedding vectors of each node and edge output by the last convolutional layer of the target graph convolutional network as the final embedding vectors of each node and edge.

[0104] Figure 3 This is a schematic diagram of the node embedding vector aggregation process based on the entity relationship combination operator and the multi-head self-attention mechanism in the embodiment of this specification. Figure 3 , the embedding vector aggregation process of the nodes of the embodiment of this specification is described.

[0105] exist Figure 3 In, h 1 、h 2 、h 3 、h 4 、h 5 、h 6 and h 7 Represent the original feature vectors of nodes 1-7 respectively; r 1 is the relationship between node 2 and node 4, indicating that funds flow from node 4 to node 2; r 2 is the relationship between node 2 and node 5, indicating that funds flow from node 5 to node 2; r 3 is the relationship between node 2 and node 6, indicating that funds flow from node 2 to node 6; r 4 is the relationship between node 2 and node 7, indicating that funds flow from node 2 to node 7; α 12 represents the attention of node 2 to node 1, α 13They represent the attention of node 3 to node 1, r 5 Represents the relationship between node 2 and node 1, r 6 Indicates the relationship between node 3 and node 1. In order to indicate the attention corresponding to different fractal vectors in the multi-head attention mechanism, the multi-head mark corresponding to the fractal vector can be further added to distinguish. Concat / avg means to perform vector merging or averaging operation on the aggregated vector h1 to obtain the corresponding embedding vector output h 1 '. Figure 3 It represents the vector embedding update mechanism of node 1 in a certain layer of neural network. α represents attention, and h represents the embedding vector. There are three lines on the attention (one solid and two dotted lines), which represent three-head attention. Of course, Figure 3 The schematic diagram is for reference only and does not constitute any limitation on the convergence process of the embodiments of this specification.

[0106] It should be understood that in the embodiments of this specification, the multi-head parameter value K in the multi-head self-attention mechanism is also a hyperparameter and is configurable. In the embodiments of this specification, multiple K values ​​can also be selected to obtain the optimal financing enterprise identification model. For each node u, in the kth head, a shared attention single-layer feedforward neural network a can be used: Calculate the self-attention coefficient of the neighbor node v of node u, as shown in formula (3):

[0107]

[0108] in, represents the shared linear transformation matrix of all nodes in the attention head k of the l-th convolutional layer.

[0109] In addition, the embodiment of this specification may choose to use the weight vector Parameterized single-layer feedforward neural network a, and apply LeakyReLU function for nonlinear processing. l represents the dimension of the embedding vector of the lth convolutional layer. At this time, formula (3) can be expressed as:

[0110]

[0111] Here, || represents a vector merging operation to combine the sub-dimensional vectors into a multi-dimensional vector.

[0112] The self-attention coefficients calculated in formulas (3) and (4) reveal the importance of the embedding vector of node u's neighbor node v to the embedding vector of node u. In order to make it easier to compare the self-attention coefficients between different neighbors, a function such as the softmax function can be used to normalize the self-attention coefficients of node u in all its neighbor nodes. Specifically, it can be shown in formula (5):

[0113]

[0114] After obtaining the normalized attention coefficient, the self-attention coefficient of the kth head of each node u can be calculated, and then K independent self-attention coefficients can be connected to obtain the embedding vector output of each node u. Specifically, according to the self-attention coefficients corresponding to the target fractal dimension vector and the target convolution layer of each neighbor node of the target node, the third linear transformation matrix corresponding to the target convolution layer, and the embedding vector of each neighbor node of the target node in the target convolution layer after being transferred to the target node, the aggregated features corresponding to the target node in the target convolution layer and the target fractal dimension vector can be determined, which may include:

[0115] According to the target neighbor node of the target node in the target fractal dimension vector and the self-attention coefficient corresponding to the target convolution layer, the third linear transformation matrix corresponding to the target convolution layer, and the embedding vector of the target neighbor node in the target convolution layer after being transferred to the target node, multiplication is performed to obtain the aggregated eigenvalue corresponding to the target neighbor node of the target node;

[0116] The aggregate feature values ​​corresponding to each neighboring node of the target node are accumulated and then subjected to a preset nonlinear transformation process to obtain the aggregate features corresponding to the target node in the target convolution layer and the target fractal vector.

[0117] Among them, the specific implementation formula corresponding to the aggregated features of node u in the convolution layer l and the fractal vector k can be shown as formula (6):

[0118]

[0119] Of course, it should be understood that in the embodiments of this specification, there may be multiple operation modes for the merging operation.

[0120] Optionally, as an embodiment, merging the aggregated features corresponding to each target fractal dimension vector of the target node in the target convolution layer to obtain an embedding vector output of the target node in the target convolution layer may include:

[0121] A vector merging operation is performed on the aggregated features corresponding to each target fractal vector of the target node in the target convolution layer to obtain the embedding vector output of the target node in the target convolution layer.

[0122] At this time, the expression of formula (1) can be changed to formula (7):

[0123]

[0124] Here, || represents the vector merging operation of K self-attention coefficients to form a K-dimensional feature vector.

[0125] Optionally, as an embodiment, merging the aggregated features corresponding to each target fractal dimension vector of the target node in the target convolution layer to obtain an embedding vector output of the target node in the target convolution layer may include:

[0126] When the target convolution layer is not the last convolution layer of the target graph convolution network, a vector merging operation is performed on the aggregated features corresponding to each target fractal vector of the target node in the target convolution layer to obtain an embedding vector output of the target node in the target convolution layer;

[0127] When the target convolution layer is the last convolution layer of the target graph convolution network, an average operation or a weighted average operation is performed on the aggregated features corresponding to each target fractal vector of the target node in the target convolution layer to obtain an embedding vector output of the target node in the target convolution layer.

[0128] That is to say, in the process of outputting the embedding vector of the node in the last convolutional layer, a variety of other processing methods can be used to replace the vector merging operation. For example, the vector merging operation can be replaced by the operation of taking the average value, as shown in formula (7):

[0129]

[0130] Of course, the above-mentioned operation of taking the average value may be replaced by other operations, such as weighted averaging, calculating the sum of squares, etc. The embodiments of this specification do not limit this.

[0131] It should be understood that the multi-head self-attention mechanism of the embodiment of this specification is more efficient because the mechanism can parallelize the neighbors of the node. In addition, the multi-head self-attention mechanism is suitable for problems that can be learned inductively and can be extended to scenarios with unpredictable number of nodes.

[0132] Through the above-mentioned entity relationship operator and multi-head self-attention mechanism, the embedding vectors of each node and edge output by the last convolutional layer can be obtained.

[0133] Step S206: construct real relation triples and forged relation triples based on the final embedding vectors of each node and edge and determine the score of each relation triple.

[0134] The relationship triplet may include an embedding vector of the head node, an embedding vector of the tail node, and an embedding vector of the edge connecting the head and tail nodes.

[0135] It should be understood that after the neighborhood structure learning process of the aforementioned step S204, the final embedding vector output of each node and each edge can be obtained from the target graph convolutional network. According to the embedding vectors finally output by the head node and the tail node of each edge and the embedding vector finally output by each edge, the true relationship triple Δ can be obtained. For each relationship triple (h, r, t) ∈ Δ, h represents the head node of the edge, r represents the relationship type of the edge, and t represents the tail node of the edge.

[0136] In addition, in the embodiments of this specification, forged relation triples can also be generated. At least one of the embedding vector of the head node, the embedding vector of the tail node, and the embedding vector of the connecting edge of the head and tail nodes in the forged relation triple is forged. The embodiment of this specification introduces the score of the relation triple to distinguish between real relation triples and forged relation triples.

[0137] Determining the score of a relation triple may include:

[0138] Determine an aggregation vector of the relation triple according to an embedding vector of a head node, an embedding vector of a tail node, and an embedding vector of an edge connecting the head node and the tail node in the relation triple;

[0139] Based on the aggregation vector of the relation triple, a score of the relation triple is determined.

[0140] It should be understood that in the process of reading the graph of the target enterprise group through neighborhood structure learning, due to ignoring the multi-structure heterogeneity of the relationships in the graph, such as one-to-one, one-to-many, many-to-one and many-to-many, the accuracy of the obtained node embedding vectors and relationship triples will have a certain deviation. For example, if r is a many-to-one structural mapping, that is, (h, r, t)∈Δ, then we will obtain the same final output representation for all h, namely h 0 =h 1 =……=h m , which is unreasonable in real scenarios. Similarly, if r is a one-to-many structure mapping, that is Then we will get t 0 =t 1 =……=t m , which is also unreasonable.

[0141] In order to solve the problem caused by multi-structure heterogeneity, a transformation mechanism can be introduced on the relational hyperplane to distinguish the embedding vectors of nodes. At this time, the head node embedding vector and the tail node embedding vector of the relation triple are projected onto the hyperplane connecting the edge embedding vectors to determine the score of the relation triple.

[0142] Optionally, as an embodiment, determining the aggregation vector of the relationship triple according to the embedding vector of the head node, the embedding vector of the tail node, and the embedding vector of the connecting edge between the head node and the tail node in the relationship triple includes:

[0143] Obtain a first projection vector of a hyperplane from which the head node embedding vector of the target relation triple is projected onto the connecting edge embedding vector of the target relation triple, and a second projection vector of a hyperplane from which the tail node embedding vector of the target relation triple is projected onto the connecting edge embedding vector of the target relation triple;

[0144] Calculate the vector sum of the first projection vector, the connecting edge embedding vector of the target relationship triple, and the second projection vector in order;

[0145] The vector sum is used as the aggregation vector according to the relation triples.

[0146] Of course, it should be understood that the embodiments of this specification may also determine the aggregate vector of the relationship triple in other ways, for example, summing up the embedding vector of the head node, the embedding vector of the tail node, and the embedding vector of the connecting edge of the head node and the tail node in the relationship triple in order to obtain the aggregate vector of the relationship triple. The embodiments of this specification are not limited to this.

[0147] After obtaining the aggregation vector of the relationship triple, the score of the relationship triple can be determined based on the aggregation vector of the relationship triple. Similarly, the embodiment of the specification can determine the score of the relationship triple in a variety of ways. Optionally, the vector bi-norm of the aggregation vector of the relationship triple can be obtained as the score of the target relationship triple. Alternatively, the aggregation vector is transformed according to the weighted values ​​corresponding to each dimension of the aggregation vector to obtain the score of the relationship triple, and so on.

[0148] Figure 4 Schematic diagram of the projection of the embedding vector of the node of the embodiment of this specification onto the relational hyperplane. Figure 4 As shown, the embedding vector 2 of node 2 can be distinguished by projecting it onto different relational hyperplanes r1 and r2. Under each relation type r, the vector w r The embedding vector h of each node s Project into the hyperplane to get the embedding vector projection of the node At this time, the score of each relation triple (s, r, o) = (s, T (s, o), o) can be expressed as follows:

[0149]

[0150] Among them, w r Represents the norm vector of the hyperplane corresponding to the relation r.

[0151] That is, when calculating the relation triples, the transformation mechanism on the relation hyperplane enables each node to have a distinguishable embedding vector under different relation types, which avoids the situation where the embedding vectors of the nodes are collapsed to be the same. Using this scoring function to process the fund transfer-in relation triples and the fund transfer-out relation triples respectively, the entity relation combination operator Φ of the lth convolutional layer in the neighborhood structure learning process can be instantiated as follows:

[0152]

[0153] Among them, Δ in (o) and Δ out (o) respectively represent the triplet of fund transfer-in relation and the triplet of fund transfer-out relation. Represents the projection vector of the hyperplane of relation type r in the l-th convolutional layer in the graph convolutional network.

[0154] In addition, in the process of learning the neighborhood structure of each layer l, each relational hyperplane projection vector will undergo a matrix transformation. Specifically, as shown in formula (11):

[0155]

[0156] in, Represents the relational hyperplane transformation matrix in the lth convolutional layer in the graph convolutional network.

[0157] Step S208: adjust the parameters of the target graph convolutional network based on the direction of minimizing the loss function and retrain the target graph convolutional network until the loss function meets the convergence condition.

[0158] The loss function is related to the score difference between the real relation triples and the forged relation triples.

[0159] It should be understood that after obtaining the embedding vectors of nodes and edges through K convolutional layers in the neighborhood structure learning process, the embodiment of the present specification can perform connection structure learning. Since the score of the real relationship triple is expected to be higher, and the score of the forged relationship triple is lower, in order to maximize the difference between the real relationship triple and the forged relationship triple, the following difference-based loss function can be used:

[0160]

[0161] where Δ and Δ′ represent the real relation triples and the forged relation triples respectively, z i represents the final embedding vector output of node i from the target graph convolutional network, and γ is the margin that separates positive relation triplets from negative relation triplets.

[0162] When it is desired to minimize the loss function, in order to ensure that the embedding vector r of each relation type r from the target graph convolutional network r L+1 is adjusted to the relational hyperplane, the following constraints can be considered:

[0163]

[0164] where ∈ is the error vector that ensures orthogonality. With these constraints, equation (12) can be rewritten as:

[0165]

[0166] In the present embodiment, based on the above formula (14), a variety of methods can be used to minimize the above loss function, such as using stochastic gradient descent (SGD) or other gradient descent algorithms, etc.

[0167] Based on the idea of ​​minimizing the above loss function, we can calculate the linear transformation matrix W of any l-th convolutional layer in the target graph convolutional network: l n,k , W l r and W l w , as well as the weight vector a of each relationship r, the norm vector w of the hyperplane r Then make adjustments and retrain the target graph convolutional neural network until the loss function meets the convergence conditions.

[0168] Step S210, training a financing-need enterprise identification model based on the final embedding vectors of the target graph convolutional network after training of the nodes corresponding to the enterprises with financing demand labels.

[0169] After obtaining the target graph convolutional network after the last training, the embedding vector of the node corresponding to each enterprise output by the last convolutional layer of the target graph convolutional network of the last training can be obtained, so as to train the financing-required enterprise identification model based on the final embedding vector of each node and the financing demand label. The specific training process can refer to the existing technology, and a brief introduction is given below.

[0170] At this time, the set of enterprises with financing demand labels (which may include two labels: those that need financing and those that do not need financing) can be divided into a training set and a prediction set. Then, based on the training set and the corresponding financing demand labels, a model for identifying enterprises that need financing can be trained. Based on the prediction set and the corresponding financing demand labels, the prediction accuracy of the model for identifying enterprises that need financing can be determined to decide whether to conduct the next round of training.

[0171] Of course, it should be understood that in the embodiments of this specification, a variety of artificial intelligence algorithms can be used to train the financing enterprise identification model, such as the XGBoost (eXtremeGradientBoosting) algorithm, the GradientBoosting Decision Tree (GBDT) algorithm, etc., and the embodiments of this specification do not limit this.

[0172] Step S212, based on the trained identification model for enterprises in need of financing and the final embedding vector of the target graph convolutional network after training of the nodes corresponding to the target enterprises without financing demand labels, identify whether the target enterprise is an enterprise in need of financing.

[0173] After completing the training of the model for identifying enterprises in need of financing, enterprises that do not have financing demand labels can be identified based on the model for identifying enterprises in need of financing to screen out enterprises in need of financing.

[0174] In the embodiments of the present specification, neighborhood structure learning and neighborhood connection learning are performed based on the graph information of the target enterprise group, and then a model for identifying enterprises in need of financing is trained based on the embedding vectors of the enterprise nodes and the financing demand labels of the enterprise nodes obtained after the learning is completed, so that whether the target enterprise is an enterprise in need of financing can be predicted based on the trained model for identifying enterprises in need of financing and the embedding vectors of the target enterprise nodes, thereby greatly improving the positioning accuracy of enterprises in need of financing, so that financing product delivery institutions can efficiently deliver financing products to enterprises in need of financing.

[0175] The embodiment of this specification also provides a training method for a model for identifying enterprises in need of financing, which may include the steps shown in steps S202 to S210 in the above embodiment, which will not be repeated in this embodiment of this specification.

[0176] Figure 5 This is a schematic diagram of the structure of the device for identifying enterprises in need of financing provided in an embodiment of this specification, see Figure 5 , the device may specifically include:

[0177] The neighborhood structure learning module 510 inputs the original feature vectors of the nodes representing the enterprises and the original feature vectors of the edges representing the enterprise relationships in the graph information of the target enterprise group into the target graph convolutional network, and performs neighborhood structure learning based on the entity relationship combination operator to obtain the final embedding vectors of each node and edge, wherein the entity relationship combination operator is used to aggregate the embedding vectors of the neighboring nodes of the target node and the corresponding connecting edges;

[0178] A relation triple generation module 520 constructs real relation triples and forged relation triples based on the final embedding vectors of each node and edge;

[0179] A relationship triplet score determination module 530, which determines the score of each relationship triplet;

[0180] A graph convolution network parameter adjustment module 540 adjusts the parameters of the target graph convolution network based on the direction of minimizing the loss function and retrains the target graph convolution network until the loss function meets the convergence condition, wherein the loss function is related to the score difference between the real relation triples and the forged relation triples;

[0181] The identification model training module 550 trains the financing-needed enterprise identification model based on the final embedding vectors of the target graph convolutional network corresponding to the nodes of the enterprises with the financing demand labels after training;

[0182] The prediction module 560 identifies whether the target enterprise is an enterprise in need of financing based on the trained model for identifying enterprises in need of financing and the final embedding vector of the target graph convolutional network after training of the nodes corresponding to the target enterprises without financing demand labels.

[0183] The device for identifying enterprises in need of financing according to the embodiment of this specification can also perform Figure 2 The method of the embodiment shown in the figure is implemented in the corresponding module Figure 2 The functions of the corresponding steps can be referenced for specific implementation Figure 2 The illustrated embodiments will not be described in detail.

[0184] In addition, it should be noted that, among the various components of the device in this specification, the components are logically divided according to the functions to be implemented, but this specification is not limited to this, and the various components can be re-divided or combined as needed.

[0185] Figure 6 This is a schematic diagram of the structure of an electronic device provided in one embodiment of this specification, see Figure 6 , the electronic device includes a processor, an internal bus, a network interface, a memory and a non-volatile memory, and of course may also include hardware required for other businesses. The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming a financing enterprise identification device at the logical level. Of course, in addition to the software implementation method, this specification does not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc., that is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

[0186] The network interface, processor and memory can be connected to each other through a bus system. The bus can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0187] The memory is used to store programs. Specifically, the program may include program code, and the program code includes computer operation instructions. The memory may include read-only memory and random access memory, and provide instructions and data to the processor. The memory may include high-speed random access memory (RAM), and may also include non-volatile memory (non-volatile memory), such as at least one disk storage.

[0188] The processor is used to execute the program stored in the memory, and specifically perform:

[0189] The original feature vectors of the nodes representing the enterprises and the original feature vectors of the edges representing the enterprise relationships in the graph information of the target enterprise group are input into the target graph convolutional network, and the neighborhood structure learning is performed based on the entity relationship combination operator to obtain the final embedding vectors of each node and edge. The entity relationship combination operator is used to aggregate the embedding vectors of the neighboring nodes of the target node and the corresponding connecting edges;

[0190] Based on the final embedding vectors of each node and edge, construct the real relation triples and the forged relation triples and determine the score of each relation triple;

[0191] Adjusting the parameters of the target graph convolutional network based on a direction of minimizing a loss function and retraining the target graph convolutional network until the loss function meets a convergence condition, wherein the loss function is related to the score difference between the real relation triples and the forged relation triples;

[0192] Based on the final embedding vectors of the target graph convolutional network corresponding to the nodes of the enterprises with financing demand labels after training, a model for identifying enterprises in need of financing is trained;

[0193] Based on the trained model for identifying enterprises in need of financing and the final embedding vector of the target graph convolutional network corresponding to the target enterprises without financing demand labels after training, it is identified whether the target enterprise is an enterprise in need of financing.

[0194] The above is as in this manual Figure 2 The method performed by the device for identifying enterprises in need of financing disclosed in the illustrated embodiment can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or instructions in the form of software. The above processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of this specification can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of this specification can be directly embodied as being executed by a hardware decoding processor, or being executed by a combination of hardware and software modules in a decoding processor. The software module can be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0195] Based on the same invention, the embodiment of this specification also provides a computer-readable storage medium, wherein the computer-readable storage medium stores one or more programs, and when the one or more programs are executed by an electronic device including multiple application programs, the electronic device executes Figure 2 The corresponding embodiments provide a method for identifying enterprises in need of financing or a method for training a model for identifying enterprises in need of financing.

[0196] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0197] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0198] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, this specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0199] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0200] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0201] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0202] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0203] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0204] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0205] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity 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, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0206] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems or computer program products. Therefore, this specification may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0207] The above description is only an embodiment of the present specification and is not intended to limit the present specification. For those skilled in the art, the present specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present specification shall be included in the scope of the claims of the present specification.

Claims

1. A method for identifying enterprises in need of financing, comprising: The original feature vectors of the nodes representing the enterprises and the original feature vectors of the edges representing the enterprise relationships in the graph information of the target enterprise group are input into the target graph convolutional network, and the neighborhood structure learning is performed based on the entity relationship combination operator to obtain the final embedding vectors of each node and edge. The entity relationship combination operator is used to aggregate the embedding vectors of the neighboring nodes of the target node and the corresponding connecting edges; Constructing real relation triples and forged relation triples based on the final embedding vectors of each node and edge and determining the score of each relation triple according to the aggregate vector of each relation triple, wherein the relation triple includes the embedding vector of the head node, the embedding vector of the tail node, and the embedding vector of the edge connecting the head node and the tail node; Adjusting the parameters of the target graph convolutional network based on a direction of minimizing a loss function and retraining the target graph convolutional network until the loss function meets a convergence condition, wherein the loss function is related to the score difference between the real relation triples and the forged relation triples; Based on the final embedding vectors of the target graph convolutional network corresponding to the nodes of the enterprises with financing demand labels after training, a model for identifying enterprises in need of financing is trained; Based on the trained financing-needed enterprise identification model and the final embedding vector of the target graph convolutional network corresponding to the target enterprise without financing demand labels after training, identify whether the target enterprise is an enterprise in need of financing; Among them, neighborhood structure learning is performed based on entity relationship combination operators to obtain the final embedding vectors of each node and edge, including: Based on the entity relationship combination operator, the embedding vectors of the neighbor nodes and connecting edges of each target node are aggregated layer by layer in the target graph convolutional network to obtain the embedding vector after the embedding vector of the neighbor node is transferred to the target node, and the embedding vector of the edge is converted layer by layer to the next convolutional layer, and the embedding vectors of each node and edge output by the last convolutional layer of the target graph convolutional network are determined as the final embedding vectors of each node and edge.

2. The method according to claim 1, performing neighborhood structure learning based on entity relationship combination operators to obtain final embedding vectors of each node and edge, comprising: Determine an embedding vector after the embedding vector of the target neighbor node in the target convolution layer is transferred to the target node according to the entity relationship combination operator, the embedding vector input of the target neighbor node of the target node in the target convolution layer, and the embedding vector input of the connection edge between the target node and the target neighbor node in the target convolution layer; According to the first linear transformation matrix corresponding to the target convolution layer and the embedding vector after the embedding vectors of each neighboring node of the target node in the target convolution layer are transferred to the target node, the embedding vector output corresponding to the target node in the target convolution layer is determined; wherein the first linear transformation matrix corresponding to the target convolution layer is used to perform linear transformation processing on the node embedding vector input to the target convolution layer; Determine the embedding vectors of each node and edge output by the last convolutional layer of the target graph convolutional network as the final embedding vectors of each node and edge.

3. The method according to claim 2, performing neighborhood structure learning based on entity relationship combination operators to obtain embedding vectors of each node and edge output by each convolution layer in the target graph convolution network, comprising: According to the second linear transformation matrix corresponding to the target convolution layer, a linear transformation is performed on the embedding vector input corresponding to the target edge in the target convolution layer, and then the preset nonlinear transformation is performed on the parameters after the linear transformation to obtain the embedding vector output corresponding to the target edge in the target convolution layer, wherein the second linear transformation matrix corresponding to the target convolution layer is used to perform linear transformation on the embedding vector of the edge input to the target convolution layer.

4. The method according to claim 1, performing neighborhood structure learning based on entity relationship combination operators to obtain final embedding vectors of each node and edge, comprising: Neighborhood structure learning is performed based on the entity relationship combination operator and multi-head self-attention mechanism to obtain the final embedding vector of each node and edge.

5. The method according to claim 4, performing neighborhood structure learning based on entity relationship combination operator and multi-head self-attention mechanism to obtain the final embedding vector of each node and edge, comprising: Determine an embedding vector after the embedding vector of the target neighbor node in the target convolution layer is transferred to the target node according to the entity relationship combination operator, the embedding vector input of the target neighbor node of the target node in the target convolution layer, and the embedding vector input of the connection edge between the target node and the target neighbor node in the target convolution layer; According to the third linear transformation matrix corresponding to the target convolution layer, the target fractal dimension vector of the target node in the embedding vector input of the target convolution layer, and the embedding vector after the embedding vector of the target neighbor node of the target node in the target convolution layer is transferred to the target node, the self-attention coefficient of the target neighbor node of the target node corresponding to the target fractal dimension vector and the target convolution layer is determined and normalized to obtain the normalized self-attention coefficient, wherein the third linear transformation matrix corresponding to the target convolution layer is used to perform linear transformation processing on the node embedding vector input of the target convolution layer; Determine the aggregated features of the target node corresponding to the target convolution layer and the target fractal dimension vector according to the normalized self-attention coefficients corresponding to the target convolution layer and the target convolution layer of each neighbor node of the target node, the third linear transformation matrix corresponding to the target convolution layer, and the embedding vector of each neighbor node of the target node in the target convolution layer after being transferred to the target node; Merge the aggregated features corresponding to each target fractal vector of the target node in the target convolution layer to obtain the embedding vector output of the target node in the target convolution layer; Determine the embedding vectors of each node and edge output by the last convolutional layer of the target graph convolutional network as the final embedding vectors of each node and edge.

6. The method as claimed in claim 5, determining the aggregated features of the target node corresponding to the target convolution layer and the target fractal dimension vector according to the self-attention coefficients corresponding to the target fractal dimension vector and the target convolution layer of each neighbor node of the target node, the third linear transformation matrix corresponding to the target convolution layer, and the embedding vector of each neighbor node of the target node in the target convolution layer after being transferred to the target node, comprising: According to the target neighbor node of the target node in the target fractal dimension vector and the self-attention coefficient corresponding to the target convolution layer, the third linear transformation matrix corresponding to the target convolution layer, and the embedding vector of the target neighbor node in the target convolution layer after being transferred to the target node, multiplication is performed to obtain the aggregated eigenvalue corresponding to the target neighbor node of the target node; The aggregate feature values ​​corresponding to each neighboring node of the target node are accumulated and then subjected to a preset nonlinear transformation process to obtain the aggregate features corresponding to the target node in the target convolution layer and the target fractal vector.

7. The method according to claim 5, merging the aggregated features corresponding to the target fractal vectors of the target node in the target convolution layer to obtain the embedding vector output of the target node in the target convolution layer, comprising: A vector merging operation is performed on the aggregated features corresponding to each target fractal vector of the target node in the target convolution layer to obtain the embedding vector output of the target node in the target convolution layer.

8. The method according to claim 5, merging the aggregated features corresponding to the target fractal vectors of the target node in the target convolution layer to obtain the embedding vector output of the target node in the target convolution layer, comprising: When the target convolution layer is not the last convolution layer of the target graph convolution network, a vector merging operation is performed on the aggregated features corresponding to each target fractal vector of the target node in the target convolution layer to obtain an embedding vector output of the target node in the target convolution layer; When the target convolution layer is the last convolution layer of the target graph convolution network, an average operation or a weighted average operation is performed on the aggregated features corresponding to each target fractal vector of the target node in the target convolution layer to obtain an embedding vector output of the target node in the target convolution layer.

9. The method according to claim 1, Determining the score of each relationship triplet includes: Determine an aggregation vector of the relation triple according to an embedding vector of a head node, an embedding vector of a tail node, and an embedding vector of an edge connecting the head node and the tail node in the relation triple; Based on the aggregation vector of the relation triple, a score of the relation triple is determined.

10. The method according to claim 9, Determining an aggregate vector of the relation triple according to an embedding vector of a head node, an embedding vector of a tail node, and an embedding vector of a connecting edge between the head node and the tail node in the relation triple comprises: Obtain a first projection vector of a hyperplane from which the head node embedding vector of the target relation triple is projected onto the connecting edge embedding vector of the target relation triple, and a second projection vector of a hyperplane from which the tail node embedding vector of the target relation triple is projected onto the connecting edge embedding vector of the target relation triple; The first projection vector, the connection edge embedding vector of the target relation triplet, and the second projection vector are sequentially summed, and the vector sum is used as the aggregate vector.

11. The method of claim 9, wherein determining the aggregation vector of the relation triple according to the embedding vector of the head node, the embedding vector of the tail node, and the embedding vector of the edge connecting the head node and the tail node in the relation triple comprises: The embedding vector of the head node, the embedding vector of the tail node, and the embedding vector of the connecting edge between the head node and the tail node in the relation triple are summed in order to obtain an aggregate vector of the relation triple.

12. The method of claim 9, determining the score of the relation triple based on the aggregation vector of the relation triple, comprising: The vector bi-norm of the aggregated vector of the relation triple is obtained as the score of the target relation triple.

13. The method of claim 1, adjusting the parameters of the target graph convolutional network based on the direction of minimizing the loss function and retraining the target graph convolutional network until the loss function meets the convergence condition, comprising: Based on maximizing the score difference between the real relation triples and the forged relation triples and minimizing the direction of the loss function, the parameters of the target graph convolutional network are adjusted and the target graph convolutional network is retrained until the loss function meets the convergence condition.

14. A training method for a model for identifying enterprises in need of financing, comprising: The original feature vectors of the nodes representing the enterprises and the original feature vectors of the edges representing the enterprise relationships in the graph information of the target enterprise group are input into the target graph convolutional network, and the neighborhood structure learning is performed based on the entity relationship combination operator to obtain the final embedding vectors of each node and edge. The entity relationship combination operator is used to aggregate the embedding vectors of the neighboring nodes of the target node and the corresponding connecting edges; Constructing real relation triples and forged relation triples based on the final embedding vectors of each node and edge and determining the score of each relation triple according to the aggregate vector of each relation triple, wherein the relation triple includes the embedding vector of the head node, the embedding vector of the tail node, and the embedding vector of the edge connecting the head node and the tail node; Adjusting the parameters of the target graph convolutional network based on a direction of minimizing a loss function and retraining the target graph convolutional network until the loss function meets a convergence condition, wherein the loss function is related to the score difference between the real relation triples and the forged relation triples; Based on the final embedding vectors of the target graph convolutional network corresponding to the nodes of the enterprises with financing demand labels after training, a model for identifying enterprises in need of financing is trained; Among them, neighborhood structure learning is performed based on entity relationship combination operators to obtain the final embedding vectors of each node and edge, including: Based on the entity relationship combination operator, the embedding vectors of the neighbor nodes and connecting edges of each target node are aggregated layer by layer in the target graph convolutional network to obtain the embedding vector after the embedding vector of the neighbor node is transferred to the target node, and the embedding vector of the edge is converted layer by layer to the next convolutional layer, and the embedding vectors of each node and edge output by the last convolutional layer of the target graph convolutional network are determined as the final embedding vectors of each node and edge.

15. A device for identifying an enterprise in need of financing, comprising: The neighborhood structure learning module inputs the original feature vectors of the nodes representing the enterprises and the original feature vectors of the edges representing the enterprise relationships in the graph information of the target enterprise group into the target graph convolutional network, and performs neighborhood structure learning based on the entity relationship combination operator to obtain the final embedding vectors of each node and edge. The entity relationship combination operator is used to aggregate the embedding vectors of the neighboring nodes of the target node and the corresponding connecting edges; A relation triple generation module, which constructs real relation triples and forged relation triples based on the final embedding vectors of each node and edge, wherein the relation triples include the embedding vector of the head node, the embedding vector of the tail node, and the embedding vector of the edge connecting the head node and the tail node; A relationship triplet score determination module, which determines the score of each relationship triplet according to the aggregation vector of each relationship triplet; A graph convolution network parameter adjustment module, adjusting the parameters of the target graph convolution network based on a direction of minimizing a loss function and retraining the target graph convolution network until the loss function meets a convergence condition, wherein the loss function is related to a score difference between a true relation triple and a forged relation triple; The recognition model training module trains the financing-need enterprise recognition model based on the final embedding vectors of the target graph convolutional network corresponding to the nodes of the enterprises with financing demand labels after training. The prediction module identifies whether the target enterprise is an enterprise in need of financing based on the trained identification model of enterprises in need of financing and the final embedding vector of the target graph convolutional network after training of the nodes corresponding to the target enterprises without financing demand labels; Among them, the neighborhood structure learning module is specifically used to aggregate the embedding vectors of the neighbor nodes and connecting edges of each target node layer by layer in the target graph convolutional network based on the entity relationship combination operator to obtain the embedding vector of the neighbor node after the embedding vector is transferred to the target node, and convert the embedding vector of the edge layer by layer to the next convolution layer, and determine the embedding vector of each node and edge output by the last convolutional layer of the target graph convolutional network as the final embedding vector of each node and edge.

16. An electronic device comprising: processor; as well as A memory arranged to store computer executable instructions which, when executed, cause the processor to perform the operations of the method of any one of claims 1-13.

17. A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the operations of performing the method according to any one of claims 1 to 13.