A feature coding method and device for enterprise management risk identification

By encoding enterprise risk data with features, the problem of difficulty in feature extraction in the existing technology is solved, the prediction accuracy of the risk identification model is improved, and more effective business management risk identification is achieved.

CN112053021BActive Publication Date: 2025-01-21STATE GRID INFORMATION & TELECOMM GRP CO LTD +3

Patent Information

Application Number
CN201910489215.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-06-05
Publication Date
2025-01-21
Estimated Expiration
2039-06-05

AI Technical Summary

Technical Problem

In the identification of enterprise business management risks, it is difficult for the existing technology to effectively extract and utilize characteristic data related to enterprise risk, resulting in low accuracy in model training and prediction.

Method used

By obtaining character data and/or knowledge graph data from enterprise risk data sources, coding is performed based on the adjacent relationship between target data, target feature coding is generated, and the risk identification neural network model is input.

Benefits of technology

It reduces the workload and blindness of feature extraction, improves the accuracy of model prediction, and enables enterprises to more effectively identify and manage operational management risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112053021B_ABST
    Figure CN112053021B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses a feature coding method and device for enterprise management risk identification, which relates to the field of computer technology and can effectively improve the accuracy of model prediction. The method includes: obtaining target data from an enterprise risk data source, wherein the target data includes character data and / or knowledge graph data; encoding the target data according to the adjacent relationship between the target data to obtain a target feature code, wherein the target feature code is used to input a first risk identification neural network model; wherein the target feature code represents each of the target data with a multidimensional vector, and the number of dimensions of the multidimensional vector is less than a preset threshold. The present invention is applicable to enterprise risk identification and prediction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a feature coding method and device for identifying enterprise management risks. Background Art

[0002] The operational and management risks of an enterprise are contained in a variety of data related to the enterprise. How to identify the risks that the enterprise may face from these huge amounts of data is of great significance to the enterprise itself and entities related to the enterprise.

[0003] However, since enterprise risk-related data has the characteristics of complex data sources and diverse data formats, when mathematical models are used to identify enterprise risks, the features extracted from the data sources are often difficult to use directly for model training and prediction. Summary of the invention

[0004] In view of this, an embodiment of the present invention provides a feature coding method and device for enterprise management risk identification, which can greatly reduce the workload and blindness of feature extraction and effectively improve the accuracy of model prediction.

[0005] In a first aspect, an embodiment of the present invention provides a feature coding method for enterprise management risk identification, comprising: obtaining target data from an enterprise risk data source, wherein the target data comprises character data and / or knowledge graph data; encoding the target data according to the adjacent relationship between the target data to obtain a target feature code, wherein the target feature code is used to input a first risk identification neural network model; wherein the target feature code represents each target data with a multidimensional vector, and the number of dimensions of the multidimensional vector is less than a preset threshold.

[0006] Optionally, obtaining target data from the enterprise risk data source includes: performing word segmentation and key information extraction on the unstructured data in the enterprise risk data source so that each key information forms a character-type data; and / or converting the structured data in the enterprise risk data source into knowledge graph-type data.

[0007] Optionally, the target data includes character data; encoding the target data according to the adjacent relationship between the target data to obtain the target feature code includes: constructing the adjacent relationship between each character data according to a preset rule; and vectorizing the character data according to the adjacent relationship to form the target feature code.

[0008] Optionally, constructing the adjacent relationship between each character data according to preset rules includes: constructing the adjacent relationship between people in each type of position in each enterprise according to preset rules; vectorizing the character data according to the adjacent relationship to form the target feature code includes: vectorizing the identity identifiers of people in each type of position and calculating the average value to obtain the average identity feature code of such position; and concatenating the average identity feature codes of each type of position to form the target feature code.

[0009] Optionally, the target data includes knowledge graph data; encoding the target data according to the adjacent relationship between the target data to obtain the target feature code includes: based on the relationship between enterprises in the knowledge graph data, using the pagerank algorithm to determine the influence feature code of each enterprise; based on the relationship between enterprises in the knowledge graph data, using the labelpropagation algorithm to determine the risk feature code of each enterprise; based on the relationship between enterprises in the knowledge graph data, using the deepwalk algorithm to determine the feature code related to people in each enterprise; splicing the influence feature code, the risk feature code and the feature code related to people to form the target feature code.

[0010] Optionally, the target data includes character data and knowledge graph data; encoding the target data according to the adjacent relationship between the target data to obtain a target feature code includes: vectorizing the character data and the knowledge graph data according to the adjacent relationship between the target data, respectively, to form a character feature code and a graph feature code; and splicing the character feature code and the graph feature code to form the target feature code.

[0011] Optionally, after encoding the target data according to the adjacent relationship between the target data to obtain the target feature code, the method further includes: time-series grouping the target feature codes according to the generation time of the target data, and training the time evolution model between each group of target feature codes to obtain the time series feature code of the target data, wherein the features of the time series feature code are used to input the second risk identification neural network model; wherein the coefficient matrix between the input layer nodes of the time evolution model and the first layer nodes of the hidden layer is the time series feature code.

[0012] Optionally, the target feature codes are grouped in time series according to the generation time of the target data, and the time evolution model between each group of target feature codes is trained, including: grouping the target feature codes corresponding to the target data generated within the same preset time period into one group; using N-1 groups of target feature codes corresponding to the first N-1 preset time periods as input and the target feature code corresponding to the Nth preset time period as output, to train the time evolution model, wherein N is an integer greater than 1.

[0013] In the second aspect, an embodiment of the present invention provides a feature coding device for enterprise management risk identification, comprising: an acquisition unit, used to acquire target data from an enterprise risk data source, the target data including character data and / or knowledge graph data; an encoding unit, used to encode the target data according to the adjacent relationship between the target data to obtain a target feature code, the target feature code is used to input a first risk identification neural network model; wherein the target feature code represents each of the target data with a multidimensional vector, and the number of dimensions of the multidimensional vector is less than a preset threshold.

[0014] Optionally, the acquisition unit includes: a first acquisition module, used to perform word segmentation and key information extraction on unstructured data in the enterprise risk data source, so that each key information forms a character-type data; and / or a second acquisition module, used to convert structured data in the enterprise risk data source into knowledge graph-type data.

[0015] Optionally, the target data includes character data; the encoding unit includes: a construction module, used to construct the adjacent relationship between each character data according to a preset rule; and a vectorization module, used to vectorize the character data according to the adjacent relationship to form the target feature code.

[0016] Optionally, the construction module is specifically used to construct the adjacent relationship between people in each type of position in each enterprise according to preset rules; the vectorization module is specifically used to: vectorize the identity identifiers of people in each type of position and calculate the average value to obtain the average identity feature code of such position; splice the average identity feature codes of each type of position together to form the target feature code.

[0017] Optionally, the target data includes knowledge graph data; the encoding unit includes: a first encoding module, used to determine the influence feature coding of each enterprise by using the pagerank algorithm based on the relationship between enterprises in the knowledge graph data; a second encoding module, used to determine the risk feature coding of each enterprise by using the label propagation algorithm based on the relationship between enterprises in the knowledge graph data; a third encoding module, used to determine the feature coding related to people in each enterprise by using the deepwalk algorithm based on the relationship between enterprises and people in the knowledge graph data; a splicing module, used to splice the influence feature coding, the risk feature coding and the feature coding related to people to form the target feature coding.

[0018] Optionally, the target data includes character data and knowledge graph data; the encoding unit is specifically used to: vectorize the character data and the knowledge graph data respectively according to the adjacent relationship between the target data to form character feature codes and graph feature codes; and splice the character feature codes and the graph feature codes to form the target feature codes.

[0019] Optionally, the device also includes: a training unit, which is used to encode the target data according to the adjacent relationship between the target data to obtain the target feature code, and then time-series group the target feature codes according to the generation time of the target data, and train the time evolution model between each group of target feature codes to obtain the time series feature code of the target data, and the characteristics of the time series feature code are used to input the second risk identification neural network model; wherein the coefficient matrix between the input layer nodes of the time evolution model and the first layer nodes of the hidden layer is the time series feature code.

[0020] Optionally, the training unit is specifically used to: divide the target feature codes corresponding to the target data generated within the same preset time period into a group; use the N-1 groups of target feature codes corresponding to the first N-1 preset time periods as input, and use the target feature code corresponding to the Nth preset time period as output to train the time evolution model, wherein N is an integer greater than 1.

[0021] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising: a housing, a processor, a memory, a circuit board and a power supply circuit, wherein the circuit board is placed inside the space enclosed by the housing, and the processor and the memory are arranged on the circuit board; a power supply circuit is used to supply power to various circuits or devices of the above-mentioned electronic device; the memory is used to store executable program code; the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute any one of the feature coding methods for enterprise management risk identification provided in the embodiments of the present invention.

[0022] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement any feature coding method for enterprise management risk identification provided by an embodiment of the present invention.

[0023] The feature coding method and device for enterprise management risk identification provided by the embodiments of the present invention can obtain target data from the enterprise risk data source, encode the target data according to the adjacent relationship between the target data, and obtain the target feature coding. Since the target feature coding can represent each target data with a multidimensional vector, and the number of dimensions of the multidimensional vector is less than the preset threshold, character data and / or knowledge graph data can be uniformly represented by a set of dense multidimensional vectors, which is beneficial to feature extraction and model training, and also effectively improves the accuracy of model prediction. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0025] Figure 1 A flow chart of a feature coding method for enterprise management risk identification provided by an embodiment of the present invention;

[0026] Figure 2 A schematic diagram of feature splicing in a feature coding method for enterprise management risk identification provided by an embodiment of the present invention;

[0027] Figure 3 is a schematic diagram of an encoding method in an embodiment of the present invention;

[0028] Figure 4Another feature splicing schematic diagram in a feature coding method for enterprise management risk identification provided by an embodiment of the present invention;

[0029] Figure 5 A schematic diagram of a structure of a modeling device for enterprise operation and management risk identification provided by an embodiment of the present invention;

[0030] Figure 6 A schematic structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0031] The embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0032] It should be clear that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0033] like Figure 1 As shown, the feature coding method for enterprise operation and management risk identification provided by the embodiment of the present invention may specifically include:

[0034] S11, acquiring target data from an enterprise risk data source, wherein the target data includes character data and / or knowledge graph data;

[0035] Among them, the enterprise risk data source may include any information related to the enterprise, such as basic information of industrial and commercial enterprises, financial information of listed companies, operating status information of small and medium-sized enterprises nationwide, court judgment information, tax rating information, court announcement information, court execution information, trademark data, patent information, software / work copyright information, enterprise bidding information, and media reports involving enterprises, etc. The carriers of this information may include various databases, announcement documents, journals, etc., and the formats of the information are also very different. In this step, the required information can be integrated from these enterprise risk data sources to obtain the target data.

[0036] Optionally, in one embodiment of the present invention, the data type of the target data may include character data, knowledge graph data, or a combination of the two. When the data in the enterprise risk data source is not character data or knowledge graph data, the enterprise risk source data may be first converted into one of the two types of data before further processing.

[0037] Among them, character data may include, for example, ID (Identification) data. ID data is a type of category data. Compared with traditional category data, ID features have a huge value space, such as enterprise ID, corporate legal person ID, word ID after word segmentation, etc. Optionally, the value space of enterprise ID can be equal to the number of enterprises, and the value space of corporate legal person ID is equal to the total number of people; after a piece of news is segmented, the space composed of word IDs is even larger. Knowledge graph data may refer to data that reflects the internal structure of an enterprise or the external relations of an enterprise through a graph constructed through the triple structure of a knowledge graph. Given that character data and knowledge graph data are generally large and complex, in order to facilitate feature extraction and use the extracted features for model training, the embodiments of the present invention further process these two types of data as follows.

[0038] S12, encoding the target data according to the adjacent relationship between the target data to obtain a target feature code, and the target feature code is used to input the first risk identification neural network model; wherein the target feature code represents each of the target data with a multidimensional vector, and the number of dimensions of the multidimensional vector is less than a preset threshold.

[0039] In this step, the target data can be encoded according to the adjacent relationship between the target data to obtain the target feature code, which can be used to input the first risk identification neural network model. Through the above encoding, each specific feature in the target data can be converted into a feature represented by a vector, which is convenient for model training and prediction. In one embodiment of the present invention, the dimension of the vector can be less than a preset threshold, such as less than 200 or less than 500, so that the features can be represented more concentratedly, effectively improving the efficiency of the model. As for how each target data is specifically represented by a vector, it can be trained according to demand.

[0040] The feature coding method for enterprise management risk identification provided by the embodiment of the present invention can obtain target data from the enterprise risk data source, encode the target data according to the adjacent relationship between the target data, and obtain the target feature coding. Since the target feature coding can represent each target data with a multidimensional vector, and the number of dimensions of the multidimensional vector is less than the preset threshold, character data and / or knowledge graph data can be uniformly represented by a set of dense multidimensional vectors, which is beneficial to feature extraction and model training, and also effectively improves the accuracy of model prediction.

[0041] Optionally, in step S11, the processing method for obtaining target data from the enterprise risk data source may be different depending on the data type. For example, for the unstructured data in the enterprise risk data source, word segmentation and key information extraction may be performed so that each key information forms a character data; for the structured data in the enterprise risk data source, the structured data in the enterprise risk data source may be converted into knowledge graph data.

[0042] For example, for unstructured data such as a media report, we can segment the report and extract key information from it. Each key information forms a character data, such as "World Horticultural Exposition", "Opening", etc. For another example, for structured data such as a class's high school entrance examination results, we can form knowledge graph data according to student ID, name, subject, score, etc.

[0043] After obtaining the target data of character type or knowledge graph type, the target data can be encoded according to the adjacent relationship between the target data in step S12. The encoding of character type data and the encoding of knowledge graph type data are respectively described below.

[0044] Optionally, in one embodiment of the present invention, the target data obtained from the enterprise risk data source includes character data; then in step S12, encoding the target data according to the adjacent relationship between the target data to obtain the target feature code may include:

[0045] According to the preset rules, construct the adjacent relationship between each character data;

[0046] According to the adjacent relationship, the character data is vectorized to form the target feature code.

[0047] For example, in one embodiment of the present invention, there are two IDs, A and B. If there is a certain relationship between A and B, a directed edge can be connected between A and B, so that A and B are adjacent. For example, assuming that A and B are both legal persons of a certain enterprise X, and A becomes the legal person of the enterprise before B, then there is a relationship between A and B that "A and B are both legal persons of enterprise X and A is before B". Then, it can be defined according to this relationship whether an edge can be connected between other IDs. If an edge is connected between two IDs, the two IDs have an adjacent relationship. Of course, in other embodiments of the present invention, the adjacent relationship between each character data can also be defined by other connections, and the embodiments of the present invention do not limit this.

[0048] After constructing the adjacent relationship between each character data, each character data can be represented by a set of vectors according to this adjacent relationship. By representing character data with vectors, the amount of character data can be greatly reduced, effectively improving the efficiency of the model.

[0049] For example, in one embodiment of the present invention, each enterprise is taken as a unit, and a "paragraph" Pi = {C i1 , C i2 , C i3 ......C i ni}.

[0050] Where Pi represents the "paragraph" constructed by the ith enterprise, and Cij represents the 1-hot code of the jth executive of the ith enterprise. Considering executives as a word, the 1-hot codes of the first n executives are taken as n input vectors, and the 1-hot code of the last executive is taken as the output vector. A deep learning model is constructed and trained with all the "paragraph" data composed of Pi. The coefficient matrix between the input layer and the first layer of the hidden layer of the trained model is used as the embedding parameter, and each C i ni The 1-hot encoding of is embedded into a dense vector space.

[0051] Furthermore, in the above embodiment, the neighbor relationship constructed based on Pi only reflects the ID features related to people in the enterprise. In view of the fact that the business risk of an enterprise is based on the enterprise, in one embodiment of the present invention, the ID features related to people can also be spliced ​​into features of the enterprise dimension.

[0052] Specifically, in one embodiment of the present invention, for an enterprise, according to a preset rule, constructing the adjacent relationship between each character data may include:

[0053] According to the preset rules, construct the adjacent relationship between people in each position in each enterprise;

[0054] The vectorizing the character data according to the adjacent relationship to form the target feature code includes: vectorizing the identity identifiers of people in each type of position and calculating the average value to obtain the average identity feature code of such position;

[0055] The average identity characteristic codes of various positions are concatenated to form the target characteristic code.

[0056] For example, for any type of position (i.e., dimension k (such as executives, middle-level managers, or ordinary employees, etc.)), find the jth person (a total of J people) who meets the dimension, and record the characteristic code of the person in this type of position as:

[0057]

[0058] For each dimension k, a fixed-length feature vector is constructed. The lengths of feature vectors of different dimensions can be the same or different. Figure 2 As shown, by concatenating these feature vectors, we can obtain the ID-type features for the enterprise.

[0059] For knowledge graph data, in one embodiment of the present invention, the target data obtained from the enterprise risk data source includes knowledge graph data, and then encoding the target data according to the adjacent relationship between the target data to obtain the target feature encoding may specifically include:

[0060] Based on the relationship between enterprises in the knowledge graph data, the PageRank algorithm is used to determine the influence feature coding of each enterprise;

[0061] Based on the relationship between enterprises in the knowledge graph data, the label propagation algorithm is used to determine the risk feature coding of each enterprise;

[0062] Based on the relationship between enterprises and people in knowledge graph data, the deepwalk algorithm is used to determine the feature coding related to people in each enterprise;

[0063] The influence feature code, the risk feature code and the person-related feature code are concatenated to form the target feature code.

[0064] Specifically, in knowledge graph data, the relationship between enterprises can be simulated as the relationship between nodes in the knowledge graph. The influence of an enterprise can be determined by the number and / or quality of nodes connected to the node representing the enterprise.

[0065] In the embodiment of the present invention, the Pagerank algorithm simulates enterprise A as a node in the knowledge graph data, and the "outbound link" of this node is regarded as a "directed edge" pointing to other nodes, and the "inbound link" is a directed edge from other nodes to this node. The entire knowledge graph can form a directed graph.

[0066] Alternatively, the assessment of corporate impact can follow the following two principles:

[0067] Quantitative hypothesis: The larger the in-degree (i.e., the number of links) of a node, the higher the influence of the enterprise represented by the node; for example, if the in-degree of node A1 is 3 and the in-degree of node A2 is 6, the influence of the enterprise represented by node A2 is greater than that of the enterprise represented by node A1.

[0068] Quality assumption: The greater the influence of the source node of the in-degree of a node, the greater the influence of the enterprise represented by the node. For example, the influence of the source node B1 of the in-degree of node A3 is greater than the influence of the source node B2 of the in-degree of node A4, then the influence of the enterprise represented by node A3 is greater than the influence of the enterprise represented by node A4. Optionally, in one embodiment of the present invention, the influence of the source node of the in-degree can also be expressed as the in-degree of the source node of the in-degree, based on which, the influence of node B1 can be expressed as the in-degree of node B1.

[0069] The "random walk model" of random processes in mathematics can be used to walk in the directed graph to represent the influence of each company. The random walk model means that the current state of a thing is only related to its previous state, and has nothing to do with its previous state. Assuming that in the initial state, the probability of a user walking through all pages is equal, and after each walk, the user will walk to the page pointed to by the link with equal probability according to the link given on the page at this time. Through the probability analysis of this random walk, it can be obtained that the probability of the user staying on a certain node is greater. The greater the probability, the higher the influence.

[0070] After determining the influence of the enterprise, in one embodiment of the present invention, the label propagation algorithm can be used to further determine the risk feature code of each enterprise. In this way, the greater the influence of the enterprise, once the enterprise has risk features, the greater the probability of the enterprise having risks, and the smaller the influence of the enterprise, when the risk features appear, the probability of the enterprise having risks is relatively small.

[0071] Specifically, label propagation is a semi-supervised learning algorithm, and its core idea is that similar data should have the same label. It can be considered that label propagation tends to use the label with the largest number of labels of a node's neighbor nodes as the label of the node itself. Optionally, these labels can be labels that represent different types of risks or labels that represent different degrees of risk. Based on this, if most of the nodes in all the neighbor nodes of an enterprise are labeled with the risk label R1, then the enterprise will also be labeled with the risk label R1.

[0072] In the knowledge graph of enterprise relationships, equity investment relationships and guarantee relationships between enterprises are more likely to cause enterprise risks. In one embodiment of the present invention, risk feature coding can be performed on enterprises with these two types of relationships. For example, if enterprise A guarantees enterprise B, a directed edge is connected between enterprise A and enterprise B. After determining the connection relationship, the risk coding value of each enterprise in the knowledge graph can be obtained by using pagerank and label propagation.

[0073] After determining the impact of the relationship between enterprises on enterprise risk through pagerank and label propagation algorithms, in an embodiment of the present invention, the feature coding related to people in the enterprise can also be determined based on the relationship between enterprises and people in the knowledge graph.

[0074] Based on the relationship between enterprises and people in knowledge graph data, the deepwalk algorithm is used to determine the feature coding related to people in each enterprise.

[0075] In the relationship between enterprises and people, enterprise risks can be characterized through human relationships, and the idea of ​​deepwalk is used for feature encoding. The Deepwalk algorithm is also similar to the word2vec method. Deepwalk evenly selects network nodes on the graph to generate a random walk sequence of fixed length, and compares it to a sequence in natural language, and uses the DNN model to obtain the feature encoding method.

[0076] like Figure 3 As shown, in one embodiment of the present invention, the company and executive relationships are used to form the network relationship between companies and people. Figure 3 The six nodes 1-6 in the left figure can represent companies or executives, and the lines between the nodes represent the connections between the nodes. According to the idea of ​​Deepwalk, we can randomly walk between the nodes along these lines to form several sequences (see Figure 3 The sequence relationship is analogous to the sequence in natural language. Given a node, a model is trained to predict nearby nodes (see Figure 3 The coefficient matrix between the input layer and the first layer nodes of the hidden layer of the model is the characteristic encoding of the enterprise in the relationship between enterprises and people.

[0077] After obtaining the above feature encoding, Figure 4 As shown, different feature codes based on pagerank, labelpropagation and Deepwalk can be "stitched" together to form a feature code that represents the enterprise knowledge graph.

[0078] The above embodiments respectively describe in detail the feature encoding of character data and knowledge graph data, but the present invention is not limited thereto. In one embodiment of the present invention, the target data may include character data and knowledge graph data, and then in step S12, the target data is encoded according to the adjacent relationship between the target data to obtain the target feature encoding, which may specifically include:

[0079] According to the adjacent relationship between the target data, the character data and the knowledge graph data are respectively vectorized to form character feature coding and graph feature coding;

[0080] The character feature code and the graph feature code are concatenated to form the target feature code.

[0081] That is to say, after obtaining the feature coding of character data and the feature coding of knowledge graph data, these two feature codings can be spliced ​​together to form the target feature coding.

[0082] Furthermore, the target feature coding is the enterprise risk feature coding for the same time node. When the influence of time factors on risk features is taken into consideration, the target feature coding can be further processed. Specifically, the target feature coding can be grouped in time series according to the generation time of the target data, and the time evolution model between each group of target feature coding can be trained to obtain the time series feature coding of the target data. The features of the time series feature coding are used to input the second risk identification neural network model, wherein the coefficient matrix between the input layer nodes and the first layer nodes of the hidden layer of the time evolution model is the time series feature coding.

[0083] Optionally, in one embodiment of the present invention, the target feature codes corresponding to the target data generated within the same preset time period can be divided into a group; the N-1 groups of target feature codes corresponding to the first N-1 preset time periods are used as input, and the target feature code corresponding to the Nth preset time period is used as output to train the time evolution model, where N is an integer greater than 1.

[0084] For example, in one embodiment of the present invention, the characteristic code of enterprise i at time j is x ij , take the time interval n, where n is a hyperparameter. Combined with the data change characteristics of enterprise risks, n is 1 week, which not only ensures that the enterprise data has certain changes in different periods, but also creates more training samples compared to one month.

[0085] The time series of enterprise i is cut into m-n+1 samples according to n:

[0086] (x i1 , x i2 , …, x in-1 )->(x in )

[0087] (x i2 , x i3 , …, x in )->(x in+1 )

[0088] …

[0089] (x im-n+1 , x i3 , …, x im-1 )->(x im )

[0090] The data of all enterprises are combined together to form a training sample, and a DNN model is trained.

[0091] On the second aspect, an embodiment of the present invention also provides a feature processing device for enterprise management risk identification, which can encode features related to enterprise risks and use the encoded features for model training, thereby greatly reducing the workload and blindness of feature extraction and effectively improving the accuracy of model prediction.

[0092] like Figure 5 As shown, the feature coding device for enterprise operation and management risk identification provided by the embodiment of the present invention may specifically include:

[0093] An acquisition unit 31 is used to acquire target data from an enterprise risk data source, wherein the target data includes character data and / or knowledge graph data;

[0094] The encoding unit 32 is used to encode the target data according to the adjacent relationship between the target data to obtain a target feature code, and the target feature code is used to input the first risk identification neural network model; wherein, the target feature code represents each of the target data with a multidimensional vector, and the number of dimensions of the multidimensional vector is less than a preset threshold.

[0095] The feature coding device for enterprise management risk identification provided by the embodiment of the present invention can obtain target data from the enterprise risk data source, encode the target data according to the adjacent relationship between the target data, and obtain the target feature coding. Since the target feature coding can represent each target data with a multidimensional vector, and the number of dimensions of the multidimensional vector is less than the preset threshold, character data and / or knowledge graph data can be uniformly represented by a set of dense multidimensional vectors, which is beneficial to feature extraction and model training, and also effectively improves the accuracy of model prediction.

[0096] Optionally, the acquisition unit 31 may include: a first acquisition module, used to perform word segmentation and key information extraction on the unstructured data in the enterprise risk data source, so that each of the key information forms a character-type data; and / or a second acquisition module, used to convert the structured data in the enterprise risk data source into knowledge graph-type data.

[0097] Optionally, the target data may include character data; the encoding unit 32 may include: a construction module, used to construct the adjacent relationship between each character data according to a preset rule; a vectorization module, used to vectorize the character data according to the adjacent relationship to form the target feature code.

[0098] Optionally, the construction module is specifically used to construct the adjacent relationship between people in each type of position in each enterprise according to preset rules; the vectorization module can be specifically used to: vectorize the identity identifiers of people in each type of position and calculate the average value to obtain the average identity feature code of such position; splice the average identity feature codes of each type of position together to form the target feature code.

[0099] Optionally, the target data includes knowledge graph data; the encoding unit 32 may include: a first encoding module, used to determine the influence feature coding of each enterprise by using the pagerank algorithm based on the relationship between enterprises in the knowledge graph data; a second encoding module, used to determine the risk feature coding of each enterprise by using the label propagation algorithm based on the relationship between enterprises in the knowledge graph data; a third encoding module, used to determine the feature coding related to people in each enterprise by using the deepwalk algorithm based on the relationship between enterprises and people in the knowledge graph data; a splicing module, used to splice the influence feature coding, the risk feature coding and the feature coding related to people to form the target feature coding.

[0100] Optionally, the target data includes character data and knowledge graph data; the encoding unit 32 can be specifically used to: vectorize the character data and the knowledge graph data according to the adjacent relationship between the target data, respectively, to form character feature coding and graph feature coding; splice the character feature coding and the graph feature coding to form the target feature coding.

[0101] Optionally, the feature coding device for enterprise management risk identification provided by an embodiment of the present invention may also include: a training unit, which is used to encode the target data according to the adjacent relationship between the target data to obtain the target feature code, and then time-series group the target feature codes according to the generation time of the target data, and train the time evolution model between each group of target feature codes to obtain the time series feature code of the target data, wherein the characteristics of the time series feature code are used to input the second risk identification neural network model; wherein the coefficient matrix between the input layer nodes of the time evolution model and the first layer nodes of the hidden layer is the time series feature code.

[0102] Optionally, the training unit can be specifically used to: group the target feature codes corresponding to the target data generated within the same preset time period; use the N-1 groups of target feature codes corresponding to the first N-1 preset time periods as input, and use the target feature code corresponding to the Nth preset time period as output to train the time evolution model, wherein N is an integer greater than 1.

[0103] like Figure 6 As shown, the electronic device provided by an embodiment of the present invention may include: a shell 51, a processor 52, a memory 53, a circuit board 54 and a power circuit 55, wherein the circuit board 54 is arranged inside the space enclosed by the shell 51, and the processor 52 and the memory 53 are arranged on the circuit board 54; the power circuit 55 is used to supply power to various circuits or devices of the above-mentioned electronic device; the memory 53 is used to store executable program codes; the processor 52 runs the program corresponding to the executable program code by reading the executable program code stored in the memory 53, so as to execute the feature coding method for enterprise management risk identification provided by any of the aforementioned embodiments.

[0104] The specific execution process of the above steps by the processor 52 and the steps further executed by the processor 52 by running the executable program code can be found in the description of the previous embodiment, which will not be repeated here.

[0105] The above electronic devices exist in many forms, including but not limited to:

[0106] (1) Mobile communication devices: These devices are characterized by their mobile communication functions and their main purpose is to provide voice and data communications. These terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.

[0107] (2) Ultra-mobile personal computer devices: These devices fall into the category of personal computers, have computing and processing capabilities, and generally also have mobile Internet access features. These terminals include: PDA, MID and UMPC devices, such as iPad.

[0108] (3) Portable entertainment devices: These devices can display and play multimedia content. They include audio and video players (such as iPods), handheld game consoles, e-books, smart toys, and portable car navigation devices.

[0109] (4) Server: A device that provides computing services. The server consists of a processor, hard disk, memory, system bus, etc. The server is similar to a general computer architecture, but because it needs to provide highly reliable services, it has higher requirements in terms of processing power, stability, reliability, security, scalability, and manageability.

[0110] (5) Other electronic devices with data interaction functions.

[0111] Correspondingly, an embodiment of the present invention also provides a computer-readable storage medium, which stores one or more programs. The one or more programs can be executed by one or more processors to implement any of the feature coding methods for enterprise management risk identification provided in the aforementioned embodiments, thereby also being able to achieve the corresponding technical effects, which have been described in detail above and will not be repeated here.

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

[0113] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

[0114] In particular, for the device 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.

[0115] For the convenience of description, the above device is described by dividing the functions into various units / modules. Of course, when implementing the present invention, the functions of each unit / module can be implemented in the same or multiple software and / or hardware.

[0116] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0117] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A feature coding method for enterprise management risk identification, characterized in that: include: Acquire target data from an enterprise risk data source, wherein the target data includes character data and / or knowledge graph data; According to the adjacent relationship between the target data, the target data is encoded to obtain a target feature code, and the target feature code is used to input the first risk identification neural network model; wherein the target feature code represents each target data with a multidimensional vector, and the number of dimensions of the multidimensional vector is less than a preset threshold; After encoding the target data according to the adjacent relationship between the target data to obtain the target feature code, the method further includes: According to the generation time of the target data, the target feature codes are time-series grouped, and the time evolution model between each group of target feature codes is trained to obtain the time series feature codes of the target data, and the features of the time series feature codes are used to input the second risk identification neural network model; wherein the coefficient matrix between the input layer nodes and the first layer nodes of the hidden layer of the time evolution model is the time series feature code; The step of grouping the target feature codes in time series according to the generation time of the target data and training the time evolution model between each group of target feature codes includes: Grouping the target feature codes corresponding to the target data generated within the same preset time period into one group; The time evolution model is trained by taking N-1 groups of target feature codes corresponding to the first N-1 preset time periods as input and taking the target feature code corresponding to the Nth preset time period as output, wherein N is an integer greater than 1.

2. The method according to claim 1, characterized in that The obtaining of target data from the enterprise risk data source includes: Perform word segmentation and key information extraction on the unstructured data in the enterprise risk data source, so that each key information forms a character data; and / or Convert structured data in enterprise risk data sources into knowledge graph data.

3. The method according to claim 1, characterized in that The target data includes character data; The step of encoding the target data according to the adjacent relationship between the target data to obtain the target feature code comprises: According to the preset rules, construct the adjacent relationship between each character data; According to the adjacent relationship, the character data is vectorized to form the target feature code.

4. The method according to claim 3, characterized in that The step of constructing the adjacent relationship between the character data according to the preset rules includes: According to the preset rules, construct the adjacent relationship between people in each position in each enterprise; The vectorizing the character data according to the adjacent relationship to form the target feature code includes: The identity identifiers of people in each type of position are vectorized and averaged to obtain the average identity feature encoding of this type of position; The average identity characteristic codes of various positions are concatenated to form the target characteristic code.

5. The method according to claim 1, characterized in that The target data includes knowledge graph data; The step of encoding the target data according to the adjacent relationship between the target data to obtain the target feature code comprises: Based on the relationship between enterprises in the knowledge graph data, the PageRank algorithm is used to determine the influence feature coding of each enterprise; Based on the relationship between enterprises in the knowledge graph data, the label propagation algorithm is used to determine the risk feature coding of each enterprise; Based on the relationship between enterprises and people in knowledge graph data, the deepwalk algorithm is used to determine the feature coding related to people in each enterprise; The influence feature code, the risk feature code and the person-related feature code are concatenated to form the target feature code.

6. The method according to claim 1, characterized in that The target data includes character data and knowledge graph data; The step of encoding the target data according to the adjacent relationship between the target data to obtain the target feature code comprises: According to the adjacent relationship between the target data, the character data and the knowledge graph data are respectively vectorized to form character feature coding and graph feature coding; The character feature code and the graph feature code are concatenated to form the target feature code.

7. A feature coding device for enterprise management risk identification, characterized in that: include: An acquisition unit, used to acquire target data from an enterprise risk data source, wherein the target data includes character data and / or knowledge graph data; An encoding unit, used for encoding the target data according to the adjacent relationship between the target data to obtain a target feature code, wherein the target feature code is used to input into the first risk identification neural network model; wherein the target feature code represents each target data with a multidimensional vector, and the number of dimensions of the multidimensional vector is less than a preset threshold; A training unit is used for, after encoding the target data according to the adjacent relationship between the target data to obtain the target feature code, time-series grouping the target feature code according to the generation time of the target data, and training the time evolution model between each group of target feature code, so as to obtain the time series feature code of the target data, wherein the features of the time series feature code are used to input the second risk identification neural network model; wherein the coefficient matrix between the input layer nodes and the first layer nodes of the hidden layer of the time evolution model is the time series feature code; Wherein, the training unit is specifically used for: Grouping the target feature codes corresponding to the target data generated within the same preset time period into one group; The time evolution model is trained by taking N-1 groups of target feature codes corresponding to the first N-1 preset time periods as input and taking the target feature code corresponding to the Nth preset time period as output, wherein N is an integer greater than 1.

8. The device according to claim 7, characterized in that The acquisition unit comprises: The first acquisition module is used to perform word segmentation and key information extraction on the unstructured data in the enterprise risk data source, so that each key information forms a character data; and / or The second acquisition module is used to convert the structured data in the enterprise risk data source into knowledge graph data.

9. The device according to claim 7, characterized in that The target data includes character data; The encoding unit comprises: A construction module, used to construct the adjacent relationship between each character data according to a preset rule; A vectorization module is used to vectorize the character data according to the adjacent relationship to form the target feature code.

10. The device according to claim 9, characterized in that The construction module is specifically used to construct the adjacent relationship between people of each type of position in each enterprise according to preset rules; The vectorization module is specifically used for: The identity identifiers of people in each type of position are vectorized and averaged to obtain the average identity feature encoding of this type of position; The average identity characteristic codes of various positions are concatenated to form the target characteristic code.

11. The device according to claim 7, characterized in that The target data includes knowledge graph data; The encoding unit comprises: The first coding module is used to determine the influence feature coding of each enterprise based on the relationship between enterprises in the knowledge graph data using the PageRank algorithm; The second coding module is used to determine the risk feature coding of each enterprise using the label propagation algorithm based on the relationship between enterprises in the knowledge graph data; The third encoding module is used to determine the characteristic encoding related to people in each enterprise by using the deepwalk algorithm based on the relationship between enterprises and people in the knowledge graph data; A splicing module is used to splice the influence feature code, the risk feature code and the person-related feature code to form the target feature code.

12. The device according to claim 7, characterized in that The target data includes character data and knowledge graph data; The encoding unit is specifically used for: According to the adjacent relationship between the target data, the character data and the knowledge graph data are respectively vectorized to form character feature coding and graph feature coding; The character feature code and the graph feature code are concatenated to form the target feature code.

13. An electronic device, characterized in that: The electronic device includes: a shell, a processor, a memory, a circuit board and a power supply circuit, wherein the circuit board is placed inside the space enclosed by the shell, and the processor and the memory are arranged on the circuit board; the power supply circuit is used to supply power to various circuits or devices of the above-mentioned electronic device; the memory is used to store executable program code; the processor runs the program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the feature coding method for enterprise management risk identification described in any one of claims 1 to 6.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the feature coding method for enterprise management risk identification as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Knowledge graph-based enterprise risk prediction method and system

    CN108596439A

  • Credit risk prediction method and device based on LSTM (Long Short Term Memory) model

    CN108734338A

  • Risk early warning method and device for associated assessment object and computer equipment

    CN109657918A

Cited By

  • Risk vector generation system

    TWI919879B