Claim label prediction method, device, computer equipment and storage medium

The claim label prediction method that combines heterogeneous graphs and multi-level attention mechanisms solves the problem of low manual work efficiency in the insurance claims business, achieves more accurate claim label prediction and risk management, and improves business efficiency and risk management capabilities. .

CN114782206BActive Publication Date: 2024-09-06CHINA PING AN LIFE INSURANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210440762.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-25
Publication Date
2024-09-06
Estimated Expiration
2042-04-25

AI Technical Summary

Technical Problem

There is a problem of low manual work efficiency in the existing insurance claims business, which makes it difficult to carry out effective risk management and control, and it is easy to fraudulently obtain compensation from claims compensation by taking out insurance while sick, being hospitalized under false names, and pretending to be an agent.

Method used

The claim label prediction method is used to obtain the connection weight between the attribute node and the case node of the case to be settled, use the heterogeneous graph and multi-level attention mechanism to calculate the weight between nodes, and combine the pre-trained neural network model to extract features. Predict claims labels to assist manual decision-making, improve work efficiency and reduce business risks.

Benefits of technology

Through the combination of heterogeneous graphs, multi-level attention mechanisms and neural network models, it can more accurately predict claim labels, assist manual decision-making, improve manual work efficiency, realize intelligent risk management and control, reduce labor costs, and enhance business risk management capabilities. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114782206B
    Figure CN114782206B
Patent Text Reader

Abstract

The present application relates to the field of artificial intelligence, and provides a method, device, computer equipment and storage medium for predicting claims labels, the method comprising: obtaining a pending claim case, taking the attribute node corresponding to the current attribute as the center in a preset heterogeneous graph, obtaining the corresponding case node, and obtaining the vector features corresponding to the K case nodes with the highest weight from a preset vector matrix to obtain the feature vector corresponding to the pending claim case; using a first attention mechanism to calculate the weights between the feature vector and each node type, respectively, to obtain a first weight; using a second attention mechanism to calculate the weights between the feature vector and each attribute node, respectively, according to the first weight, to obtain a second weight; using a pre-trained neural network model to perform feature extraction processing on the second weight, the vector matrix and the preset parameter matrix, to obtain the label of the pending claim case. The above design can predict more accurate case labels and improve manual work efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence, and in particular to a method, apparatus, computer device, and storage medium for predicting claims labels. Background Art

[0002] Insurance claims settlement is the process by which an insurer handles claims filed by the insured following a risk event involving the insured's subject matter. Within insurance operations, insurance claims settlement is a concrete manifestation of the insurance compensation function. Strict risk management is required in underwriting and claims settlement to prevent fraudulent claims, such as those involving pre-existing medical conditions, hospitalization under false names, and fraudulent claims agents. Currently, business risk management typically involves manual data verification and content review before determining a claim type. This process suffers from low manual efficiency. Summary of the Invention

[0003] The present application aims to solve the problems of the prior art to at least a certain extent, and to provide a claim label prediction method, apparatus, computer equipment and storage medium that can assist manual decision-making, improve manual work efficiency, and achieve intelligent reduction of business risks.

[0004] The technical solutions of the embodiments of this application are as follows:

[0005] In a first aspect, the present application provides a claim label prediction method, the method comprising:

[0006] Obtain pending claims cases, where the pending claims cases correspond to multiple attributes;

[0007] Traverse all attributes corresponding to the pending claim case, and perform the following processing for the currently traversed attribute: in a preset heterogeneous graph, with the attribute node corresponding to the currently traversed attribute as the center, obtain the case nodes connected to the attribute node, and select the K case nodes with the highest connection weights from all the obtained case nodes as the first case nodes;

[0008] Obtaining vector features corresponding to each of the first case nodes from a preset vector matrix, performing sampling processing on the vector features corresponding to each of the first case nodes, and obtaining feature vectors corresponding to the pending claim cases;

[0009] Obtaining a node type corresponding to each attribute node in the heterogeneous graph, and using a first attention mechanism to calculate a weight between a feature vector corresponding to the pending claim case and each node type to obtain a first weight;

[0010] Based on the first weight, a second attention mechanism is used to calculate the weights between the feature vector corresponding to the pending claim case and each of the attribute nodes to obtain a second weight;

[0011] A pre-trained neural network model is used to perform feature extraction processing on the second weight, the vector matrix and the preset parameter matrix to obtain a pending claim case label corresponding to the pending claim case.

[0012] According to some embodiments of the present application, the heterogeneous graph includes multiple case nodes and multiple attribute nodes, each of the attribute nodes is connected to at least one of the case nodes, and the connected attribute nodes and case nodes have a connection weight; the heterogeneous graph is obtained by the following method:

[0013] Obtaining a claims case dataset, the claims case dataset including a plurality of claims cases, each of the claims cases corresponding to a plurality of the attributes;

[0014] Obtaining an initial heterogeneous graph, establishing an attribute node for each of the attributes on the initial heterogeneous graph, and establishing a case node for each claim case in the claim case dataset;

[0015] Traversing each case node, determining a plurality of attribute nodes corresponding to the case node based on the correspondence between the claim case and the attribute, and connecting the case node with the corresponding attribute nodes;

[0016] The heterogeneous graph obtained after the traversal is completed is taken as the final heterogeneous graph.

[0017] According to some embodiments of the present application, the vector matrix is ​​obtained by the following method:

[0018] Performing feature mapping on each of the claim cases to obtain claim case vector features corresponding to each of the claim cases;

[0019] The claim case vector features are stacked horizontally to form the vector matrix.

[0020] According to some embodiments of the present application, the connection weight between the attribute node and the case node is determined by the following method:

[0021] Calculating a weight between the case node and the node type using the first attention mechanism to obtain a third weight;

[0022] stacking the third weights horizontally to form a type matrix;

[0023] calculating, according to the type matrix, a weight between the case node and the attribute node using the second attention mechanism to obtain a fourth weight;

[0024] The fourth weights are stacked horizontally to form a node matrix, and each specific item in the node matrix represents a connection weight between the connected attribute node and the case node.

[0025] According to some embodiments of the present application, each of the claim cases corresponds to a claim tag;

[0026] The neural network model includes a graph neural network and a classifier network;

[0027] The neural network model is trained by the following steps:

[0028] Using the graph neural network, performing feature extraction processing on the node matrix, the vector matrix, and the parameter matrix to obtain a hidden layer vector;

[0029] Using the classifier network to perform classification processing on the hidden layer vector to obtain a predicted claim label corresponding to the claim case;

[0030] Calculating a value of a loss function according to the claim label and the predicted claim label;

[0031] When the value of the loss function meets the preset training end condition, the training is ended to obtain the neural network model;

[0032] When the value of the loss function does not meet the preset training end condition, the model parameters of the neural network model are adjusted, and the neural network model is continued to be trained based on the claim case and the claim label.

[0033] According to some embodiments of the present application, the calculating the weight between the case node and the node type using the first attention mechanism to obtain the third weight includes:

[0034] The first attention mechanism calculates the weight between the case node and the node type using the following formula to obtain the third weight:

[0035]

[0036] Wherein, η is the parameter vector to be learned, c1 represents the case node, t1 represents the node type corresponding to the attribute node, It means to splice c1 and t1 end to end. represents the third weight, and Relu() represents the activation function.

[0037] According to some embodiments of the present application, the calculating, based on the type matrix, the weight between the case node and the attribute node using the second attention mechanism to obtain the fourth weight includes:

[0038] The weight between the case node and the attribute node is calculated using the following formula to obtain the fourth weight:

[0039]

[0040] Among them, μ is the parameter vector to be learned, α τ represents a specific item in the type matrix, c1 represents a case node, p1 represents an attribute node, It means to concatenate c1 and p1 end to end. represents the fourth weight, and Relu() represents an activation function.

[0041] In a second aspect, the present application provides a claim label prediction device, which includes:

[0042] A data acquisition module is used to acquire pending claims cases, each of which has multiple attributes.

[0043] The data processing module is configured to traverse all attributes corresponding to the pending claim case and perform the following processing on the currently traversed attribute: obtaining case nodes connected to the attribute node in a preset heterogeneous graph with the attribute node corresponding to the currently traversed attribute as the center, and selecting K case nodes with the highest connection weights from all the obtained case nodes as first case nodes;

[0044] The data processing module is further configured to obtain vector features corresponding to each of the first case nodes from a preset vector matrix, perform sampling processing on the vector features corresponding to each of the first case nodes, and obtain a feature vector corresponding to the pending claim case;

[0045] A first processing module is configured to obtain a node type corresponding to each attribute node in the heterogeneous graph, and calculate a weight between a feature vector corresponding to the pending claim case and each node type using a first attention mechanism to obtain a first weight;

[0046] The first processing module is further configured to calculate, based on the first weight, a weight between the feature vector corresponding to the pending claim case and each of the attribute nodes using a second attention mechanism to obtain a second weight;

[0047] The second processing module is used to use a pre-trained neural network model to perform feature extraction processing on the second weight, the vector matrix and the preset parameter matrix to obtain the pending claim case label corresponding to the pending claim case.

[0048] In a third aspect, the present application provides a computer device comprising a memory and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by one or more of the processors, the one or more processors execute the steps of any one of the methods described in the first aspect above.

[0049] In a fourth aspect, the present application also provides a computer-readable storage medium, which can be read and written by a processor, and the storage medium stores computer instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of any one of the methods described in the first aspect above.

[0050] The technical solutions provided in the embodiments of the present application have the following beneficial effects:

[0051] In the embodiment of the present application, by obtaining pending claims, the pending claims correspond to multiple attributes; traversing all attributes corresponding to the pending claims, and performing the following processing for the currently traversed attribute: taking the attribute node corresponding to the currently traversed attribute as the center in the preset heterogeneous graph, obtaining the case node connected to the attribute node, and selecting the K case nodes with the highest connection weight from all the obtained case nodes as the first case nodes; obtaining the vector features corresponding to each first case node from the preset vector matrix, sampling the vector features corresponding to each first case node, and obtaining the feature vector corresponding to the pending claims; obtaining the node type corresponding to each attribute node in the heterogeneous graph, and using The first attention mechanism is used to calculate the weights between the feature vectors corresponding to the pending claims and each node type to obtain the first weights; based on the first weights, the second attention mechanism is used to calculate the weights between the feature vectors corresponding to the pending claims and each attribute node to obtain the second weights. By calculating the weights between each node through multi-level attention, the similarities between each node can be better captured; the pre-trained neural network model is used to perform feature extraction processing on the second weights, vector matrix and preset parameter matrix to obtain the pending claims case labels corresponding to the pending claims. The features extracted by the neural network model are more accurate, thereby making the obtained pending claims case labels more accurate. The embodiment of the present application combines algorithms such as heterogeneous graphs, multi-level attention mechanisms and neural network models to make the obtained pending claims case labels more accurate, which can assist manual decision-making, improve manual work efficiency, and achieve intelligent reduction of business risks. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 This is a flowchart of a claim label prediction method provided by an embodiment of the present application;

[0053] Figure 2This is a flowchart of a claim label prediction method provided by another embodiment of the present application;

[0054] Figure 3 This is a flowchart of a claim label prediction method provided by another embodiment of the present application;

[0055] Figure 4 This is a flowchart of a claim label prediction method provided by another embodiment of the present application;

[0056] Figure 5 This is a flowchart of a claim label prediction method provided by another embodiment of the present application;

[0057] Figure 6 This is a schematic diagram of a heterogeneous graph structure of a claim label prediction method provided by another embodiment of the present application;

[0058] Figure 7 This is a schematic diagram of the structure of a claim label prediction device provided by an embodiment of the present application;

[0059] Figure 8 It is a structural diagram of the computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0060] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0061] It should be noted that, unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0062] First, let’s analyze some of the terms used in this application:

[0063] Artificial Intelligence (AI) is a new technical discipline that studies and develops theories, methods, technologies, and application systems for simulating, extending, and expanding human intelligence. A branch of computer science, AI seeks to understand the essence of intelligence and create new intelligent machines that can respond in a manner similar to human intelligence. Research in this field includes robotics, speech recognition, image recognition, natural language processing, and expert systems. AI can simulate the information processes of human consciousness and thinking. It also encompasses theories, methods, technologies, and application systems that use digital computers or digital computer-controlled machines to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use that knowledge to achieve optimal results.

[0064] Neural network: The embodiments of the present application refer to artificial neural networks (ANNs), also referred to as neural networks (NNs) or connection models. It is an algorithmic mathematical model that imitates the behavioral characteristics of animal neural networks and performs distributed parallel information processing. This network relies on the complexity of the system to adjust the interconnected relationships between a large number of internal nodes to achieve the purpose of processing information. Artificial neural networks are composed of a large number of neurons with adjustable connection weights. They have the characteristics of large-scale parallel processing, distributed information storage, and good self-organization and self-learning capabilities. The BP (Back Propagation) algorithm, also known as the error back propagation algorithm, is a supervised learning algorithm in artificial neural networks. The BP neural network algorithm can theoretically approximate any function. The basic structure is composed of nonlinear change units and has strong nonlinear mapping capabilities. Moreover, parameters such as the number of intermediate layers of the network, the number of processing units in each layer, and the learning coefficient of the network can be set according to specific circumstances. It is very flexible and has broad application prospects.

[0065] Natural Language Processing (NLP): Natural language processing refers to the technology of using the natural language used by humans to communicate with machines. Through human processing of natural language, computers can read and understand it. Research on natural language processing began with human exploration of machine translation. Although natural language processing involves multi-dimensional operations such as speech, grammar, semantics, and pragmatics, in simple terms, the basic task of natural language processing is to segment the processed corpus based on ontology dictionaries, word frequency statistics, contextual semantic analysis, etc., to form semantically rich word units with the smallest part of speech as the unit.

[0066] Graph Convolutional Networks (GCN): Graph Convolutional Neural Networks (GCNs) are a deep learning algorithm and a model for graph-structured data. They are widely used due to their powerful representational capabilities. They achieve this by applying convolution operations on graphs. Using the Fourier transform of a graph and the convolution theorem, this convolution operation is expressed as the product of two Fourier transforms, thereby extracting features from the graph.

[0067] Attention Mechanism: Different parts of the human retina have varying degrees of information processing capabilities, or acuity, with the fovea centralis having the highest acuity. To effectively utilize limited visual information processing resources, humans need to select specific parts of the visual field and focus their attention on them. The attention mechanism is inspired by the way the human retina acquires external information. During computation, it focuses on useful input information. Multi-head attention is a variant of the attention mechanism that utilizes multiple queries to perform parallel computations to select multiple pieces of information from the input, with each attention head focusing on a different part of the input.

[0068] Loss Function: A loss function maps the value of a random event or its related random variables to a non-negative real number to represent the "risk" or "loss" of the random event. In applications, loss functions are often used as learning criteria in conjunction with optimization problems, that is, solving and evaluating models by minimizing the loss function.

[0069] Cross-Entropy Loss (Binary Cross-Entropy Loss): The cross-entropy loss function predicts the difference between the true value and the predicted value, and the loss value is used to judge the quality of the prediction model. The cross-entropy loss function is often used in classification problems, especially when neural networks are used for classification. In addition, because cross-entropy involves calculating the probability of each category, it is almost always used together with the sigmoid (or softmax) function. In the binary classification case, the model only needs to predict two possible outcomes: the predicted probabilities for each category are p and 1-p.

[0070] Since a large amount of claims case data has been accumulated based on experience, it is possible to use artificial intelligence technology to comprehensively utilize the big data and expert experience accumulated in history to build intelligent claims services, replace manual information verification and content review operations, assist manual decision-making or even automatic decision-making, improve risk management response efficiency and risk management capabilities, and reduce labor costs.

[0071] Based on this, the embodiment of the present application proposes a claim label prediction method, device, computer equipment and storage medium. The claim label prediction method obtains a case to be claimed, and the case to be claimed corresponds to multiple attributes; traverses all attributes corresponding to the case to be claimed, and performs the following processing for the currently traversed attribute: in a preset heterogeneous graph, with the attribute node corresponding to the currently traversed attribute as the center, obtains the case node connected to the attribute node, and selects the K case nodes with the highest connection weight from all the obtained case nodes as the first case nodes; obtains the vector features corresponding to each first case node from a preset vector matrix, samples the vector features corresponding to each first case node, and obtains the feature vector corresponding to the case to be claimed; obtains The node type corresponding to each attribute node in the heterogeneous graph is taken, and the first attention mechanism is used to calculate the weight between the feature vector corresponding to the pending claim case and each node type, respectively, to obtain the first weight. Based on the first weight, the second attention mechanism is used to calculate the weight between the feature vector corresponding to the pending claim case and each attribute node, respectively, to obtain the second weight. By calculating the weights between each node through multi-level attention, the similarity between each node can be better captured. The pre-trained neural network model is used to perform feature extraction processing on the second weight, vector matrix, and preset parameter matrix to obtain the pending claim case label corresponding to the pending claim case. The features extracted by the neural network model are relatively accurate, thereby making the obtained pending claim case label more accurate. By combining algorithms such as heterogeneous graphs, multi-level attention mechanisms, and neural network models, this method can predict relatively accurate claim labels, assist in manual decision-making, improve manual work efficiency, and achieve intelligent reduction of business risks.

[0072] It should be noted that the claim label indicates the claim type to which the claim case belongs. The staff will provide a corresponding claim plan based on the claim type and make a claim for the claim case.

[0073] It should also be noted that in each specific embodiment of the present application, when it comes to the need to perform relevant processing based on data related to the user's identity or characteristics, such as user information, user behavior data, user historical data, and user location information, the user's permission or consent will be obtained first, and the collection, use, and processing of such data will comply with the relevant laws, regulations, and standards of the relevant countries and regions. In addition, when the embodiment of the present application needs to obtain the user's sensitive personal information, the user's separate permission or consent will be obtained through a pop-up window or by jumping to a confirmation page. After clearly obtaining the user's separate permission or consent, the necessary user-related data for the normal operation of the embodiment of the present application will be obtained.

[0074] The claim label prediction method provided in the embodiment of the present application can acquire and process relevant data based on artificial intelligence technology (AI). AI is a theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. With the research and progress of artificial intelligence technology, artificial intelligence technology has been widely studied and applied in many fields. It is believed that with the development of technology, artificial intelligence technology will be applied in more fields and play an increasingly important role.

[0075] Embodiments of the present application can be used in numerous general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, and the like. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, and the like that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected via a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

[0076] See also Figure 1 , Figure 1 The flowchart of a claim label prediction method provided by an embodiment of the present application is shown. The method includes but is not limited to step S110, step S120, step S130, step S140, step S150 and step S160.

[0077] Step S110: Obtain pending claim cases, which have multiple attributes.

[0078] It is understandable that a pending claim case can be one pending claim case or multiple pending claim cases. When there are multiple pending claim cases, they will be processed in the original order of the pending claim cases. Taking a pending claim case as an example, the pending claim case corresponds to multiple attributes. For example, each attribute includes customer identity information: customer's gender, customer's occupation, customer's location and customer's year of birth, etc.; insurance policy information under the customer's name: the type of insurance owned by the customer, etc.; case information of the pending claim case: the reported disease, the treatment method, the surgical method, the hospital visited and the department visited, etc. By obtaining the pending claim cases, it is convenient to calculate the labels of the pending claim cases later.

[0079] Step S120, traverse all attributes corresponding to the case to be claimed, and perform the following processing for the currently traversed attribute: in the preset heterogeneous graph, with the attribute node corresponding to the currently traversed attribute as the center, obtain the case node connected to the attribute node, and select the K case nodes with the highest connection weight from all the obtained case nodes as the first case nodes.

[0080] It should be noted that the preset heterogeneous graph includes multiple case nodes and multiple attribute nodes. Each attribute node is connected to at least one case node. The connected attribute nodes and case nodes have connection weights. In the heterogeneous graph, with the attribute node corresponding to the currently traversed attribute as the center, the case nodes connected to the attribute node are queried. There may be multiple case nodes connected to the attribute node. Based on all the case nodes obtained above, the connection weights between the case node and the attribute node are queried, the highest K weights are selected, and the case nodes corresponding to the K weights are obtained as the first case nodes. Among them, the first case node is a collection of case nodes, and the collection stores the K case nodes with the highest weights. By selecting the K case nodes with the highest weights as the first case node, the case node that is most similar to the case to be claimed can be obtained, which is conducive to accurately predicting the label of the case to be claimed.

[0081] refer to Figure 2 and Figure 6 The heterogeneous graph includes multiple case nodes and multiple attribute nodes. Each attribute node is connected to at least one case node. The connected attribute nodes and case nodes have connection weights. The heterogeneous graph is obtained by the following method:

[0082] Step S210: Acquire a claim case dataset, where the claim case dataset includes multiple claim cases, and each claim case has multiple attributes.

[0083] It's understandable that a claims dataset includes multiple claims, each of which has multiple attributes. For example, each attribute includes customer identity information (e.g., gender, occupation, location, and year of birth); insurance policy information (e.g., types of insurance); and claim information (e.g., the reported illness, treatment, surgery, hospital, and department). By obtaining claims, we calculate similarities between each case, facilitating the subsequent calculation of labels for pending claims.

[0084] Step S220 , obtaining an initial heterogeneous graph, establishing an attribute node for each attribute on the initial heterogeneous graph, and establishing a case node for each claim case in the claim case data set.

[0085] Step S230 traverses each case node, determines multiple attribute nodes corresponding to the case node based on the correspondence between the claim cases and the attributes, and connects the case node with the corresponding attribute nodes.

[0086] It is understandable that, according to the attributes corresponding to each claim case, the attributes corresponding to each claim case will be the same. Traversing each case node and connecting the case node with the corresponding attribute node includes: when the attribute nodes corresponding to multiple case nodes are the same, all the case nodes corresponding to the above multiple claim cases are connected to the same attribute node; when there are no multiple case nodes corresponding to the same attribute nodes, the case nodes corresponding to each claim case are connected to the attribute node corresponding to the case node. Figure 6 As shown, two different case nodes C1 and C2, with attribute nodes P1, P2, and P3 corresponding to C1 and attribute nodes P3, P5, and P6 corresponding to C2, share a common attribute node P3. Connecting both C1 and C2 to attribute node P3 reveals an association between C1 and C2, and thus an association between the claims corresponding to C1 and C2. This approach allows us to identify the relationship between claims and attributes, as well as the connection between a claim and another claim, facilitating the subsequent capture of deeper similarities between a claim and other claims.

[0087] Step S240: The heterogeneous graph obtained after the traversal is completed is used as the final heterogeneous graph.

[0088] It is understood that after all case nodes are traversed, the heterogeneous graph obtained in step S230 is used as the final heterogeneous graph. The heterogeneous graph obtained in the above manner is conducive to subsequently capturing the deep similarities between the claim case and other claim cases.

[0089] It should be noted that a heterogeneous graph refers to a graph structure with more than one node type or relationship type. A heterogeneous graph can be used to describe a set of interactive relationships. It is possible to obtain information about each node and the relationship between each node from the heterogeneous graph.

[0090] refer to Figure 4 , the connection weights between attribute nodes and case nodes are determined by the following method:

[0091] Step S410: Calculate the weight between the case node and the node type using the first attention mechanism to obtain a third weight.

[0092] It can be understood that based on the heterogeneous graph constructed above, the third weight is obtained by first obtaining the node types corresponding to the attribute nodes in the heterogeneous graph and then using the first attention mechanism to calculate the weight between the case node and the node type. The first attention mechanism can better focus on claims with high similarity.

[0093] It should be noted that the third weight represents the relationship between the case node and the node type. The larger the value of the third weight, the higher the similarity between the case nodes corresponding to the node type. The first attention mechanism can be an attention mechanism or a multi-head attention mechanism. Inspired by the principle that the human retina obtains external information, it focuses on useful input information during the calculation process.

[0094] In one embodiment, the first attention mechanism is used to calculate the weight between the case node and the node type to obtain the third weight, including:

[0095] The following formula is used to calculate the weight between the case node and the node type in the first attention mechanism to obtain the third weight:

[0096]

[0097] Among them, η is the parameter vector to be learned, c1 represents the case node, t1 represents the node type corresponding to the attribute node, It means to splice c1 and t1 end to end. Represents the third weight, and Relu() represents the activation function.

[0098] It should be noted that if there is a connection between a case node and a node type, the connection weight is the value of the third weight. If there is no connection between a case node and a node type, the connection weight is negative infinity (-∞). By calculating this for each case node, we can obtain the weights between all case nodes and their corresponding node types, which facilitates the subsequent calculation of the connections between individual case nodes.

[0099] Step S420: stack the third weights horizontally to form a type matrix.

[0100] It should be noted that each third weight is normalized and stored in matrix form. The matrices corresponding to each normalized third weight are stored in a horizontal stacking manner to form a type matrix. If the total number of nodes on the heterogeneous graph is n and the number of node types is o, the type matrix is ​​represented by A τ ∈R n×o The data type in this type of matrix remains unchanged, which is not only beneficial for data storage and space saving, but also facilitates data reading. Normalization involves mapping the data to a range of 0 to 1, standardizing the data and facilitating subsequent calculations and solutions for the second-level attention.

[0101] In step S430 , the weights between the case nodes and the attribute nodes are calculated using the second attention mechanism according to the type matrix to obtain a fourth weight.

[0102] It can be understood that based on the heterogeneous graph constructed above, the second attention mechanism is used to calculate the weight between the case node and the attribute node to obtain the fourth weight. The use of a multi-level attention mechanism can better focus on claims with high similarity.

[0103] It should be noted that the fourth weight represents the relationship between the case node and the attribute node. The larger the value of the fourth weight, the higher the similarity between the case nodes corresponding to the attribute node. The second attention mechanism can be an attention mechanism or a multi-head attention mechanism. Inspired by the principle that the human retina obtains external information, it focuses on useful input information during the calculation process.

[0104] In one embodiment, the second attention mechanism is used to calculate the weights between the case node and the attribute node based on the type matrix to obtain the fourth weight, including:

[0105] The weight between the case node and the attribute node is calculated using the following formula to obtain the fourth weight:

[0106]

[0107] Among them, μ is the parameter vector to be learned, α τ Represents a specific item in the type matrix, c1 represents a case node, p1 represents an attribute node, It means to concatenate c1 and p1 end to end. Represents the fourth weight, and Relu() represents the activation function.

[0108] It should be noted that if a case node is connected to an attribute node, the connection weight is the value of the fourth weight. If there is no connection between the case node and the attribute node, the connection weight is negative infinity (-∞). By calculating this for each case node, we can obtain the weights between all case nodes and their corresponding attribute nodes. The multi-level attention mechanism can more effectively capture the correlation between claims and other claims.

[0109] Step S440 : stack the fourth weights horizontally by row to form a node matrix, where each specific item in the node matrix represents the connection weight of the connected attribute node and case node.

[0110] It should be noted that each fourth weight is normalized and stored in a matrix form. The matrices corresponding to each normalized fourth weight are stored in a horizontal stacking manner to form a node matrix. If the total number of nodes on the heterogeneous graph is n, the node matrix is ​​represented by A∈R n×n The node matrix is ​​calculated based on the type matrix. Each entry in the node matrix represents the connection weight between the attribute node and the case node. The data type remains unchanged, which not only facilitates data storage and space saving, but also facilitates data reading. Normalization involves mapping the data to a range of 0 to 1. This standardization facilitates subsequent use of the node matrix for neural network model training.

[0111] Step S130: Obtain the vector features corresponding to each first case node from the preset vector matrix, perform sampling processing on the vector features corresponding to each first case node, and obtain the feature vector corresponding to the case to be claimed.

[0112] It is understandable that, according to step S120, the first case node is obtained, and the sampling process can be an averaging process or a maximum value sampling process, specifically: obtaining the vector features corresponding to each first case node from the preset vector matrix, calculating the mean vector of each vector feature, and using the mean vector as the feature vector corresponding to the pending claim case; or calculating the largest vector feature among each vector feature. If there are multiple largest feature vectors, then one of the largest vector features is selected as the feature vector corresponding to the pending claim case. The feature vector corresponding to the pending claim case obtained by the above method can be associated with the data in the claim case dataset, which is conducive to improving the accuracy of predicting the label of the pending claim case.

[0113] refer to Figure 3 , the vector matrix is ​​obtained as follows:

[0114] Step S310 , performing feature mapping on each claim case to obtain a claim case vector feature corresponding to each claim case.

[0115] It is understood that a vector embedding algorithm can be used to perform feature mapping on each claim case to obtain a claim case vector feature corresponding to each claim case; a kernel function can also be used to perform feature mapping on each claim case to obtain a claim case vector feature corresponding to each claim case; other feature vector mapping methods are also possible and are not described in detail here. Obtaining the claim case vector feature facilitates the use of the vector feature to construct a heterogeneous graph.

[0116] Step S320: horizontally stack the claim case vector features to form a vector matrix.

[0117] It should be noted that each claim case vector feature is normalized and stored in a matrix form. The matrices corresponding to each normalized claim case vector feature are stored in a horizontal stacking manner to form a vector matrix. In this vector matrix, the vector corresponding to the case node is represented as E g , the vector corresponding to the node type is represented by E t The data type in this vector matrix remains unchanged, which not only facilitates data storage and saves storage space, but also facilitates data reading. Normalization involves mapping the data to a range of 0 to 1, standardizing the data and facilitating subsequent neural network model training using claims cases.

[0118] Step S140: Obtain the node type corresponding to each attribute node in the heterogeneous graph, and use the first attention mechanism to calculate the weight between the feature vector corresponding to the claim case and each node type to obtain the first weight.

[0119] It is understood that the first attention mechanism calculates the weights between the feature vectors corresponding to the pending claim and each node type, obtains the first weights, and normalizes the first weights. This calculation is similar to that in steps S410 and S420 and will not be repeated here. The first attention mechanism can better focus on claims that are highly similar to the pending claim.

[0120] It should be noted that the first weight represents the relationship between the case node and the node type. The larger the value of the first weight is, the higher the similarity between the case nodes corresponding to the node type is.

[0121] In step S150 , based on the first weight, the second attention mechanism is used to calculate the weights between the feature vector corresponding to the claim case and each attribute node to obtain the second weight.

[0122] It can be understood that the second attention mechanism is used to calculate the weights between the feature vectors corresponding to the claim cases and each attribute node, obtain the second weight, and normalize the second weight. The processed second weight is expressed as α j The above calculation method is similar to the calculation method of step S430 and step S440, and will not be repeated here. The use of a multi-level attention mechanism can better focus on claim cases that are highly similar to the pending claim case.

[0123] It should be noted that the second weight represents the relationship between the case node and the attribute node. The larger the value of the second weight is, the higher the similarity between the case nodes corresponding to the attribute node is.

[0124] Step S160 , using a pre-trained neural network model to perform feature extraction processing on the second weight, the vector matrix and the preset parameter matrix to obtain a pending claim case label corresponding to the pending claim case.

[0125] It is understandable that the parameter matrix includes the weight vector initialized by the neural network model and the initialized parameters to be learned and other initialization parameters required for the training of the neural network model. The parameter matrix is ​​obtained after the neural network model is trained. When initializing the parameter matrix, different algorithms can be selected for initialization according to actual conditions. For example, to initialize the network weights of the neural network model, the standard normal distribution with a given mean and variance can be used for initialization; or a 0-1 distribution can be used to set all 1s. Based on the second weight, the vector matrix and the preset parameter matrix, the neural network model is used to predict the labels of the pending claims cases to obtain the pending claims case labels corresponding to the pending claims cases.

[0126] It should be noted that the neural network model includes a graph neural network and a classifier network. First, the graph neural network is used to perform feature extraction processing on the second weight, vector matrix and preset parameter matrix to obtain the hidden layer vector corresponding to the label of the pending claim case. The hidden layer vector corresponding to the label of the pending claim case is represented by H j =σ(α j ·E g ·W)∈R 1×m , where σ represents the activation function, R represents a real number, m represents the dimension, and H j Represents the hidden layer vector corresponding to the pending claim case; then H j Input into the classifier to obtain the label of the pending claim case.

[0127] In one embodiment, each claim case corresponds to a claim label, and the neural network model includes a graph neural network and a classifier network. Figure 5 , the neural network model is trained through the following steps:

[0128] In step S510, a graph neural network is used to perform feature extraction processing on the node matrix, vector matrix, and parameter matrix to obtain a hidden layer vector.

[0129] It can be understood that the graph convolutional neural network can be used to perform feature extraction processing on the node matrix, vector matrix and parameter matrix to obtain the hidden layer vector; the heterogeneous graph convolutional neural network can also be used to perform feature extraction processing on the node matrix, vector matrix and parameter matrix to obtain the hidden layer vector corresponding to the claim case, which is expressed as H = σ(A·E g ·W)∈R n×m , where σ represents the activation function, R represents a real number, n and m represent dimensions, and H represents the hidden layer vector corresponding to the claim case.

[0130] It should be noted that the node matrix, vector matrix, and parameter matrix are input into the graph neural network, which processes the claims corresponding to the case nodes in the node matrix, vector matrix, and parameter matrix in a batch processing manner. The preset batch size can be 4 or 8, and the batch size can be modified based on the actual training situation. The forward propagation calculation of the graph neural network facilitates the subsequent calculation and solution of the predicted claim label.

[0131] Step S520: Use the classifier network to classify the hidden layer vector to obtain the predicted claim label corresponding to the claim case.

[0132] It is understood that a support vector machine can be used to classify the hidden layer vectors to obtain the corresponding predicted claim labels for the claim cases. Alternatively, a deep learning model can be used to classify the hidden layer vectors to obtain the corresponding predicted claim labels. The deep learning model can be a classifier network composed of convolutional layers and fully connected layers. By performing forward propagation calculations on the classifier network, the predicted claim labels are obtained, which are useful for subsequent computational solutions in the network's backpropagation.

[0133] Step S530: Calculate the value of the loss function based on the claim label and the predicted claim label.

[0134] It can be understood that the cross entropy loss function is used to calculate the claim label and the predicted claim label to obtain the value of the loss function. The weight and bias are back-propagated and derived by the value of the loss function, thereby updating the parameters of the neural network model. The updated parameters are (η, μ, E g ,E t ,W) to obtain a trained neural network model. The Least Absolute Deviations (LAD), also known as the L1 loss function, can also be used to calculate the value of the loss function. Other loss functions for prediction and classification can also be used, which will not be described here.

[0135] Step S540: When the value of the loss function meets the preset training end condition, the training is ended to obtain a neural network model.

[0136] It is understood that the training termination condition can be when the loss function value is less than a preset loss value, or the number of training iterations. For example, the preset number of training iterations is 100,000, and training ends when the loop parameter reaches this preset number of training iterations. Other training termination conditions are also possible, as long as training can be terminated. After the training is completed, a neural network model is output, which is used for predicting the labels of pending claims.

[0137] Step S550: If the value of the loss function does not meet the preset training end condition, adjust the model parameters of the neural network model and continue to train the neural network model based on the claim cases and claim labels.

[0138] It is understood that claims cases and claim labels are input into the neural network model for continued training. If the loss function value cannot be terminated after multiple training cycles, the number of training iterations is used as the training termination condition. When the preset number of training cycles is reached, regardless of whether the loss function value meets the preset training termination condition, the training is terminated to obtain a neural network model. By combining different training termination conditions, the infinite loop problem can be avoided. Among them, multiple times refers to the number of training cycles greater than 100,000, and this value can be modified according to actual conditions. Other combinations can also be used as long as the infinite loop problem is avoided.

[0139] It should be noted that the claims label prediction method provided in the embodiment of the present application can better capture the deep similarities between cases by constructing a heterogeneous graph and performing parameter training on the heterogeneous graph through a multi-level attention mechanism, a graph neural network and a classifier network, thereby making the label prediction more accurate, assisting manual decision-making, improving manual work efficiency, and realizing intelligent reduction of business risks.

[0140] refer to Figure 7 , Figure 7 The following is a schematic diagram of the structure of a claim label prediction device 100 provided in one embodiment of the present application. The claim label prediction method described above is applied to the claim label prediction device 100. The device 100 includes:

[0141] The data acquisition module 110 is used to acquire pending claims cases, which have multiple attributes.

[0142] The data processing module 120 is configured to traverse all attributes corresponding to the pending claim case and perform the following processing on the currently traversed attribute: in a preset heterogeneous graph, with the attribute node corresponding to the currently traversed attribute as the center, obtain the case nodes connected to the attribute node, and select the K case nodes with the highest connection weights from all the obtained case nodes as the first case nodes;

[0143] The data processing module 120 is further configured to obtain vector features corresponding to each first case node from a preset vector matrix, perform sampling processing on the vector features corresponding to each first case node, and obtain a feature vector corresponding to the pending claim case;

[0144] The first processing module 130 is configured to obtain a node type corresponding to each attribute node in the heterogeneous graph, and calculate a weight between a feature vector corresponding to the pending claim case and each node type using a first attention mechanism to obtain a first weight;

[0145] The first processing module 130 is further configured to calculate the weights between the feature vector corresponding to the pending claim case and each attribute node using the second attention mechanism based on the first weights to obtain second weights;

[0146] The second processing module 140 is used to use the pre-trained neural network model to perform feature extraction processing on the second weight, the vector matrix and the preset parameter matrix to obtain the pending claim case label corresponding to the pending claim case.

[0147] It can be understood that the device 100 obtains pending claims through the data acquisition module 110, and the pending claims correspond to multiple attributes; the data processing module 120 is used to traverse all attributes corresponding to the pending claims, and for the currently traversed attribute, the following processing is performed: in the preset heterogeneous graph, with the attribute node corresponding to the currently traversed attribute as the center, the case node connected to the attribute node is obtained, and the K case nodes with the highest connection weights are selected from all the obtained case nodes as the first case nodes; the data processing module 120 is also used to obtain the vector features corresponding to each first case node from the preset vector matrix, and the vector features corresponding to each first case node are sampled and processed to obtain the feature vector corresponding to the pending claims; the first processing module 130 is used to obtain The node type corresponding to each attribute node in the heterogeneous graph uses the first attention mechanism to calculate the weight between the feature vector corresponding to the pending claim case and each node type, and obtains the first weight; then, based on the first weight, the second attention mechanism is used to calculate the weight between the feature vector corresponding to the pending claim case and each attribute node, and obtains the second weight. By calculating the weight between each node through multi-level attention, the similarity between each node can be better captured; the second processing module 140 uses the pre-trained neural network model to perform feature extraction processing on the second weight, vector matrix and preset parameter matrix to obtain the pending claim case label corresponding to the pending claim case. The features extracted by the neural network model are more accurate, thereby making the obtained pending claim case label more accurate. The above-mentioned device 100 can assist manual decision-making, improve manual work efficiency, and achieve intelligent reduction of business risks by combining algorithms such as heterogeneous graphs, multi-level attention mechanisms and neural network models.

[0148] It should be noted that both the first processing module 130 and the second processing module 140 are central processing units (CPUs), which are generally composed of a logic operation unit (LAU), a control unit, and a storage unit. Depending on the input received by the CPU, a multi-level attention mechanism is used to calculate the weights between nodes and a neural network model is used to predict the labels of pending claims. This computer-based calculation saves a significant amount of human resources.

[0149] The embodiments described in the embodiments of this application are intended to more clearly illustrate the technical solutions of the embodiments of this application and do not constitute a limitation on the technical solutions provided by the embodiments of this application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.

[0150] Figure 8 The computer device 500 provided in an embodiment of the present application is shown. The computer device 500 may be a server or a terminal. The internal structure of the computer device 500 includes but is not limited to:

[0151] Memory 510, used for storing programs;

[0152] The processor 520 is used to execute the program stored in the memory 510. When the processor 520 executes the program stored in the memory 510, the processor 520 is used to execute the above-mentioned claim label prediction method.

[0153] The processor 520 and the memory 510 may be connected via a bus or other means.

[0154] Memory 510, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs, such as the claim label prediction method described in any embodiment of the present invention. Processor 520 implements the claim label prediction method described above by executing the non-transitory software program and instructions stored in memory 510.

[0155] The memory 510 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and application programs required for at least one function; the data storage area may store data for executing the above-mentioned claim label prediction method. In addition, the memory 510 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 510 may optionally include a memory remotely located relative to the processor 520, and these remote memories may be connected to the processor 520 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0156] The non-transient software program and instructions required to implement the above-mentioned claim label prediction method are stored in the memory 510. When executed by one or more processors 520, a claim label prediction method provided by any embodiment of the present invention is executed.

[0157] An embodiment of the present application also provides a computer-readable storage medium storing computer-executable instructions, which are used to execute the above-mentioned claim label prediction method.

[0158] In one embodiment, the storage medium stores computer-executable instructions, which are executed by one or more control processors 520, for example, by a processor 520 in the above-mentioned computer device 500, so that the above-mentioned one or more processors 520 can execute a claim label prediction method provided by any embodiment of the present invention.

[0159] The embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, i.e., they may be located in one place or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of this embodiment.

[0160] The terms "first", "second", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0161] It should be understood that in this application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0162] Those skilled in the art will appreciate that all or some of the steps and systems in the method disclosed above can be implemented as software, firmware, hardware, and appropriate combinations thereof. Some physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, and the computer-readable medium can include computer storage media (or non-transitory media) and communication media (or temporary media). As known to those skilled in the art, the term computer storage media is included in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data) and is volatile and non-volatile, removable, and non-removable. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory, or other memory technology, CD-ROM, digital versatile disks (DVD), or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage, or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, as is well known to those skilled in the art, communication media typically includes computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0163] The above is a detailed description of the preferred embodiments of the present invention, but the present invention is not limited to the above embodiments. Those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of the present invention.

Claims

1. A claim label prediction method, characterized in that: The method comprises: Obtain pending claims cases, where the pending claims cases correspond to multiple attributes; Traversing all attributes corresponding to the pending claim case, and performing the following processing for the currently traversed attribute: taking the attribute node corresponding to the currently traversed attribute as the center in a preset heterogeneous graph, obtaining the case node connected to the attribute node, and selecting K case nodes with the highest connection weight from all the obtained case nodes as the first case node, wherein the heterogeneous graph includes a plurality of case nodes and a plurality of attribute nodes, each of the attribute nodes is connected to at least one case node, and the connected attribute nodes and case nodes have a connection weight; Obtaining vector features corresponding to each of the first case nodes from a preset vector matrix, performing sampling processing on the vector features corresponding to each of the first case nodes, and obtaining feature vectors corresponding to the pending claim cases; Obtaining the node type corresponding to each of the attribute nodes in the heterogeneous graph, and using the first attention mechanism to respectively calculate the weight between the feature vector corresponding to the pending claim case and each of the node types to obtain a first weight; According to the first weight, the weights between the feature vector corresponding to the pending claim case and each of the attribute nodes are calculated using the second attention mechanism to obtain a second weight; Using a pre-trained neural network model to perform feature extraction processing on the second weight, the vector matrix and the preset parameter matrix to obtain a pending claim case label corresponding to the pending claim case; The heterogeneous graph is obtained by the following method: obtaining a claim case data set, the claim case data set includes multiple claim cases, and each claim case corresponds to multiple attributes; obtaining an initial heterogeneous graph, establishing an attribute node for each attribute on the initial heterogeneous graph, and establishing a case node for each claim case in the claim case data set; traversing each case node, determining multiple attribute nodes having a corresponding relationship with the case node according to the corresponding relationship between the claim case and the attribute, and connecting the case node with the corresponding attribute node; and using the heterogeneous graph obtained after the traversal as the final heterogeneous graph; The vector matrix is ​​obtained by: performing feature mapping on each of the claim cases to obtain claim case vector features corresponding to each of the claim cases; horizontally stacking the claim case vector features to form the vector matrix; The connection weight between the attribute node and the case node is determined by the following method: using the first attention mechanism to calculate the weight between the case node and the node type to obtain a third weight; stacking the third weight horizontally to form a type matrix; based on the type matrix, using the second attention mechanism to calculate the weight between the case node and the attribute node to obtain a fourth weight; stacking the fourth weight horizontally to form a node matrix, wherein each specific item in the node matrix represents the connection weight between the connected attribute node and the case node.

2. The method according to claim 1, characterized in that Each of the claims cases corresponds to a claim label; The neural network model includes a graph neural network and a classifier network; The neural network model is trained by the following steps: Using the graph neural network, the node matrix, the vector matrix and the parameter matrix are subjected to feature extraction processing to obtain a hidden layer vector; Using the classifier network to classify the hidden layer vector, and obtain a predicted claim label corresponding to the claim case; Calculating a value of a loss function according to the claim label and the predicted claim label; When the value of the loss function satisfies a preset training end condition, the training is ended to obtain the neural network model; When the value of the loss function does not satisfy the preset training end condition, the model parameters of the neural network model are adjusted, and the neural network model is continued to be trained based on the claim case and the claim label.

3. The method according to claim 1, characterized in that The using the first attention mechanism to calculate the weight between the case node and the node type to obtain a third weight includes: The first attention mechanism calculates the weight between the case node and the node type using the following formula to obtain the third weight: in, is the parameter vector to be learned, represents the case node, Indicates the node type corresponding to the attribute node, Indicates that and End-to-end splicing, represents the third weight, Represents the activation function.

4. The method according to claim 1, characterized in that: The step of calculating the weight between the case node and the attribute node using the second attention mechanism according to the type matrix to obtain a fourth weight includes: The weight between the case node and the attribute node is calculated using the following formula to obtain the fourth weight: in, is the parameter vector to be learned, represents a specific item in the type matrix, Represents a case node, Represents an attribute node, Indicates that and End-to-end splicing, represents the fourth weight, Represents the activation function.

5. A claim label prediction device, characterized in that: include: A data acquisition module is used to acquire pending claims cases, wherein the pending claims cases correspond to multiple attributes; The data processing module is used to traverse all attributes corresponding to the case to be claimed, and perform the following processing for the currently traversed attribute: in a preset heterogeneous graph, with the attribute node corresponding to the currently traversed attribute as the center, obtain the case node connected to the attribute node, and select K case nodes with the highest connection weight from all the obtained case nodes as the first case node, wherein the heterogeneous graph includes multiple case nodes and multiple attribute nodes, each of the attribute nodes is connected to at least one case node, and the connected attribute nodes and case nodes have a connection weight; The data processing module is further used to obtain the vector features corresponding to each of the first case nodes from a preset vector matrix, perform sampling processing on the vector features corresponding to each of the first case nodes, and obtain the feature vector corresponding to the pending claim case; A first processing module is used to obtain the node type corresponding to each of the attribute nodes in the heterogeneous graph, and use the first attention mechanism to respectively calculate the weight between the feature vector corresponding to the pending claim case and each of the node types to obtain a first weight; The first processing module is further used to calculate the weights between the feature vector corresponding to the pending claim case and each of the attribute nodes respectively according to the first weight using a second attention mechanism to obtain a second weight; A second processing module, configured to perform feature extraction processing on the second weight, the vector matrix and a preset parameter matrix using a pre-trained neural network model to obtain a pending claim case label corresponding to the pending claim case; The heterogeneous graph is obtained by the following method: obtaining a claim case data set, the claim case data set includes multiple claim cases, and each claim case corresponds to multiple attributes; obtaining an initial heterogeneous graph, establishing an attribute node for each attribute on the initial heterogeneous graph, and establishing a case node for each claim case in the claim case data set; traversing each case node, determining multiple attribute nodes having a corresponding relationship with the case node according to the corresponding relationship between the claim case and the attribute, and connecting the case node with the corresponding attribute node; and using the heterogeneous graph obtained after the traversal as the final heterogeneous graph; The vector matrix is ​​obtained by: performing feature mapping on each of the claim cases to obtain claim case vector features corresponding to each of the claim cases; horizontally stacking the claim case vector features to form the vector matrix; The connection weight between the attribute node and the case node is determined by the following method: using the first attention mechanism to calculate the weight between the case node and the node type to obtain a third weight; stacking the third weight horizontally to form a type matrix; based on the type matrix, using the second attention mechanism to calculate the weight between the case node and the attribute node to obtain a fourth weight; stacking the fourth weight horizontally to form a node matrix, wherein each specific item in the node matrix represents the connection weight between the connected attribute node and the case node.

6. A computer device, characterized in that: The computer device includes a memory and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by one or more of the processors, the one or more processors execute the steps of the method according to any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that: The storage medium can be read and written by a processor, and the storage medium stores computer instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the method as claimed in any one of claims 1 to 4.