A claim settlement data file processing method, system and electronic device
By using factor mining and decision tree training, an overall factor pool is generated and the optimal path is determined, solving the problem of rule hit diagnosis in the insurance claims system and achieving efficient and accurate processing of claims data files.
Patent Information
- Application Number
- CN202611282380.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-21
- Publication Date
- 2026-11-24
AI Technical Summary
In existing technologies, it is difficult to diagnose the correctness of rule hits in insurance claims systems at scale, and it is difficult to explain the root cause of factor combinations after rule optimization, resulting in low efficiency in processing claims data and inaccurate judgment results.
The overall factor pool is obtained through forward and reverse factor mining, a one-hot factor matrix is generated and a decision tree is trained, the optimal path of the decision tree is determined, the claims data file is parsed and the factor feature matching criteria are compared layer by layer, and the result of automatic direct access or manual review is output.
It improved factor coverage and the accuracy of judgment results, reduced the overcorrection rate, increased the automatic direct processing rate and the efficiency of claims data processing, and reduced the cost of manual intervention and trial and error.
Smart Images

Figure CN123160284A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a method, system and electronic device for processing claims data files. Background Technology
[0002] In systems with strong business rules, such as insurance claims, medical risk control, and anti-fraud triggering, the rule engine judges each claim case based on preset risk rules. Cases that are judged to be correct are usually transferred to the manual review stage, while cases that are not correct can enter the Straight-Through Processing (STP) channel, thereby seeking a balance between risk and efficiency.
[0003] However, the following common pain points exist in real-world business operations: The accuracy of rule hits is difficult to diagnose at scale. For example, determining whether a rule is correct in a particular case and the underlying reasons for its accuracy or error has long relied on claims experts manually analyzing medical records, invoices, policies, and review notes one by one. This is costly, time-consuming, and cannot be scaled up to cover tens of thousands of cases daily. Using composable sub-conditions of rules as factors, the discovery and combination of factors has long relied on expert prior knowledge and manual trial and error. This approach is difficult to systematically cover the effective factors implicit in the data and is prone to fluctuations in rule quality due to individual expert differences. Even after rule optimization, if metrics (such as accuracy and recall) improve, it is still difficult to explain the root cause of factor combinations to the business side, and it is impossible to directly obtain executable instructions from the model weights. Coarse-grained rules misclassify a large number of low-risk cases as high-risk and transfer them to manual processing, resulting in increased operating costs and a decline in customer experience. A typical industry manifestation is that some rules have an overcorrection rate exceeding 50% in the production environment. Therefore, the inaccuracy of claims determination factors leads to low efficiency in processing claims documents and inaccurate determination results. Summary of the Invention
[0004] This application provides a method, system, and electronic device for processing claims data documents, which at least solves the problem in related technologies that can only use large language models to extract rule text from documents, cannot find effective factor combinations for rules and verify factor quality, thus reducing the automatic pass-through rate of claims data document processing and resulting in low accuracy of claims data document processing judgment results.
[0005] This application provides a method for processing claims documentation, including: The overall factor pool is obtained by performing forward and reverse factor mining based on the claims rules and claims documents. After generating a uniquely hot factor matrix by associating and labeling factor samples with the overall factor pool and claims sample data, a decision tree is trained. The factors in the overall factor pool are improved and supplemented based on the decision tree, and the optimal path of the decision tree is determined by factor combination optimization. Parse the input target claims data file and extract all business-usable fields from it; The extracted business-available fields are matched one by one with the factors in the overall factor pool to generate a unique hot feature vector for the target sample. The one-hot feature vector of the target sample is input into the optimal path of the decision tree. Starting from the root node of the decision tree, the factor feature matching criteria bound to each node are compared layer by layer. The corresponding lower branch is selected according to whether the factor value of the target sample meets the matching criteria of the current node, and the path traversal is completed. Locate the terminal leaf node where the traversal terminates in the decision tree, read the category label bound to the terminal leaf node, and output the claim hit determination result based on the category label, wherein the determination result is divided into automatic direct flow and manual review flow.
[0006] This application also provides a claims data processing system, including: The factor mining module is used to perform forward and reverse factor mining based on the claims rules and claims data files to obtain the overall factor pool; The decision path control module is used to generate a one-hot factor matrix by associating and labeling factor samples based on the overall factor pool and claims sample data, then train a decision tree, improve and supplement the factors in the overall factor pool based on the decision tree, and determine the optimal path of the decision tree through factor combination optimization. The claims data file processing module is used to parse the input target claims data file and extract all business-usable fields from it; match the extracted business-usable fields with the factors in the overall factor pool one by one to generate a target sample one-hot feature vector; input the target sample one-hot feature vector into the optimal path of the decision tree, and compare the factor feature matching criteria bound to each node layer by layer from the root node of the decision tree. Select the corresponding lower-level branch according to whether the target sample factor value meets the matching criteria of the current node to complete the path traversal; locate the terminal leaf node where the traversal terminates in the decision tree, read the classification label bound to the terminal leaf node, and output the claims hit judgment result according to the classification label, wherein the judgment result is divided into automatic direct flow and manual review flow.
[0007] This application also provides an electronic device, including: a memory for storing a computer program; and a processor for executing the computer program to implement the steps of any of the above-described claims data processing methods.
[0008] This application also provides a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, it implements the steps of any of the above-described claims data file processing methods.
[0009] This application first obtains the overall factor pool through forward and reverse factor mining. Based on the overall factor pool, factor samples are associated and labeled to generate a one-hot factor matrix, and a decision tree is trained. After factor improvement and supplementation based on the decision tree, the optimal path of the decision tree is determined through factor combination optimization. Then, the target claims data file is parsed to extract business-usable fields, which are matched with the overall factor pool to generate one-hot feature vectors of the target samples. The vectors are input into the optimal path of the decision tree and compared layer by layer with factor feature matching standards to complete path traversal. Based on the classification labels of the terminal leaf nodes, the claims hit determination results are output to distinguish between automatic direct flow and manual review flow. This application comprehensively expands the factor coverage of the overall factor pool and improves the effectiveness of factor differentiation; it obtains the optimal path of the decision tree through factor combination optimization, reducing the overcorrection rate and improving the automatic direct processing rate; and it realizes automated hit determination of claims data files based on the one-hot feature vectors of the target samples and the layer-by-layer matching process of the decision tree, reducing manual intervention, improving the efficiency of claims data file processing and the accuracy of claims hit determination results, and reducing the cost of manual trial and error. Attached Figure Description
[0010] To more clearly illustrate the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0011] Figure 1 This is a flowchart illustrating a claims data processing method in one embodiment of this application; Figure 2 This is a structural block diagram of a claims data processing system in one embodiment of this application; Figure 3 This is an internal structural diagram of a computer device in one embodiment of this application. Detailed Implementation
[0012] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of this application.
[0013] It should be noted that, in the description of this application, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. The terms "first," "second," etc., in this application are used to distinguish similar objects and are not used to describe a specific order or sequence.
[0014] To enable those skilled in the art to better understand the present application, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0015] like Figure 1 As shown, an embodiment of this application provides a method for processing claims data files, including the following steps: Step S1: Obtain the overall factor pool by performing forward and reverse factor mining based on the claims rules document and claims data document; Step S2: After generating a unique hot factor matrix by associating and labeling factor samples based on the overall factor pool and claims sample data, a decision tree is trained. Based on the decision tree, the factors in the overall factor pool are improved and supplemented, and the optimal path of the decision tree is determined by factor combination optimization. Step S3: Parse the input target claims data file and extract all available business fields from it; Step S4: Match the extracted business-available fields with the factors in the overall factor pool one by one to generate the target sample one-hot feature vector; Step S5: Input the one-hot feature vector of the target sample into the optimal path of the decision tree, compare the factor feature matching criteria bound to each node layer by layer from the root node of the decision tree, select the corresponding lower branch according to whether the factor value of the target sample meets the matching criteria of the current node, and complete the path traversal. Step S6: Locate the terminal leaf node where the traversal ends in the decision tree, read the classification label bound to the terminal leaf node, and output the claim hit determination result based on the classification label, wherein the determination result is divided into automatic direct flow and manual review flow.
[0016] Specifically, by comprehensively expanding the factor coverage of the overall factor pool, the effectiveness of factor differentiation is improved; by using factor combination optimization to obtain the optimal path of the decision tree, the overcorrection rate is reduced and the automatic direct processing rate is improved; and by relying on the one-hot feature vector of the target sample and the layer-by-layer matching process of the decision tree, the automatic hit determination of claims documents is realized, reducing manual intervention, improving the efficiency of claims document processing and the accuracy of claims hit determination results, and reducing the cost of manual trial and error.
[0017] In this embodiment, the step of generating a one-hot factor matrix by associating and labeling factor samples based on the overall factor pool and claims sample data, training a decision tree, improving and supplementing the factors in the overall factor pool based on the decision tree, and determining the optimal path of the decision tree through factor combination optimization includes: The first one-hot factor matrix is obtained by performing correlation labeling on each sample corresponding to each factor in the overall factor pool; Using the first unique hot factor matrix as a feature and training a decision tree according to a preset target, identify impure leaf nodes for each leaf node in the decision tree by backtracking from the root to the leaf, and perform secondary mining on the impure leaf nodes to obtain impure backflow supplementary factors. The factors in the overall factor pool are sorted in descending order of feature significance to select the top factor, and the commonalities of the top factor are used to obtain the divergent factor set. The overall factor pool, the impure reflux supplement factor, and the divergent factor set are merged to obtain the final factor pool. The correlation labeling is then performed on each sample corresponding to each factor in the final factor pool to obtain the second unique heat factor matrix. The optimal path of the decision tree is determined by factor combination optimization based on the second unique hot factor matrix, and the optimized claim rule set is generated based on the optimal path of the decision tree.
[0018] In this embodiment, the step of obtaining the overall factor pool by performing forward and reverse factor mining based on the claims rule file and claims data file includes: The rule parsing result is determined based on the rule name and rule description, and the rule parsing result includes the judgment logic and the rule triggering scenario; Identify the business-available fields in the claims data file, and perform top-down prior factor mining based on the rule parsing results in the claims rule file and the business-available fields to generate a prior factor set; Fields with manual review tags in the claims data files are used as hit samples to form a hit sample set. Based on the hit sample set and the manual review tags, bottom-up case factor mining is performed to generate a case factor set. The prior factor set and the case factor set are merged into a global factor pool.
[0019] The available fields for the business include at least one of invoices, medical records, historical cases, events, and insurance policies. The overall factor pool is F = F1∪F2, where F1 represents the set of prior factors and F2 represents the set of case factors.
[0020] Specifically, based on the hit sample set and the manually reviewed tags, bottom-up case factor mining is performed to generate a case factor set, including: Preprocessing: Extract fields such as report_no, LLM audit notes llmauditmemo, invoice information invoice_info, and original message report_case from the sample table (CSV / Excel), and convert them into 0 / 1 labels according to label_column; Message field requirement analysis: The message analyst agent determines whether the current rule interpretation can be completed on the existing fields; if not, the required message fields are added to the supplement_list, and the system extracts and completes them from the report_case. Single-case dual-path analysis (based on LangGraph subgraph, nodes include is_complement, exemption_analysis, and complement_analysis): For samples with an approval result of "letting go", the exemption analysis agent is invoked to extract factors of "why it should be let go"; for samples with an approval result of "requesting supplementary materials" or "rejecting claims", the supplementary materials analysis agent is invoked to extract factors of "why supplementary materials should be requested". Positive and negative sample comparison analysis: The positive and negative samples are grouped into two ratios of 3:1 and 1:3. The comparison analysis agent performs differential analysis on the cases within the group and outputs the factors that distinguish between positive and negative samples. High-frequency factor statistics: Count the occurrence frequency of factors output by all cases, select the top-50 names, and randomly sample one explanation within each name group as a representative; Semantic clustering: The representative factors are fed into the semantic clustering agent, and standardized factors (standard_name, standard_explanation) are generated according to the feature and judgment dimension structure to form a case factor set.
[0021] In this embodiment, the step of performing correlation labeling on each sample corresponding to each factor in the overall factor pool to obtain the first uniquely hot factor matrix includes: The available fields for the business are split into samples, and it is determined whether there is a correlation between each sample corresponding to each factor in the overall factor pool; If the target sample is associated with its corresponding factor, the identification correlation value of the target sample is set to one; if the target sample is not associated with its corresponding factor, the identification correlation value of the target sample is set to zero. Using the factors in the overall factor pool as columns and the samples as rows, fill in the correlation values for each sample corresponding to each factor, and output the first uniquely hot factor matrix.
[0022] In this embodiment, the step of training a decision tree based on the first unique hot factor matrix and a preset target, identifying impure leaf nodes by backtracking from root to leaf for each leaf node in the decision tree, and performing secondary mining on the impure leaf nodes to obtain impure backflow supplementary factors includes: Using the first unique hot factor matrix as features and the samples corresponding to the manually reviewed labels as preset targets, a decision tree is trained, and the maximum depth (max_depth) and the number of leaf node samples (min_samples_leaf) of the decision tree are controlled to be minimized. Traverse all leaf nodes of the decision tree, calculate the Gini index of the sample set inside each leaf node, and determine the leaf nodes with Gini index greater than the preset impurity threshold as impure leaf nodes. Extract the samples corresponding to all impure leaf nodes to form a subset to be mined. For each impure leaf node in the subset to be mined, backtrack layer by layer from the root node of the decision tree to the current impure leaf node to perform bottom-up case factor secondary mining to obtain impure backflow supplementary factors, and then incorporate the impure backflow supplementary factors into the overall factor pool.
[0023] In this embodiment, the step of sorting the factors in the overall factor pool in descending order of feature significance to select the top factors, and then performing common divergence based on the top factors to obtain a set of divergent factors, includes: Perform a chi-square independence test on each factor of the first unique heat factor matrix with the preset target, and calculate the first coefficient; The feature significance score is determined for each factor in the overall factor pool based on the first coefficient, feature importance, uncertainty rate, and dispersion. The top factors are selected by sorting them in descending order of the significance scores of the features. The commonalities and divergent directions of the top factors are analyzed to determine the set of divergent factors.
[0024] Where the first coefficient (Phi coefficient or The formula for calculating the coefficient is as follows: = sqrt(chi 2 / N), sqrt() is the square root function, chi 2 This is the 2×2 chi-square statistic for the contingency table, where N is the total number of samples.
[0025] In this embodiment, the step of determining the optimal path of the decision tree based on the second one-hot factor matrix using a factor combination optimization method, and generating an optimized claims rule set based on the optimal path of the decision tree, includes: The name and description of each factor in the second one-hot factor matrix are concatenated into text, and the cosine similarity between any two factors is calculated using a pre-trained text embedding model. When the cosine similarity is greater than the preset similarity threshold, it is determined that the two factors are duplicates. The factor with the largest first coefficient is retained, and the remaining factors are saved for future reference. The decision tree is retrained based on the deduplicated second unique hot factor matrix. All branches in the decision tree are traversed, and branches with a Gini index less than a preset Gini index threshold and whose case recognition accuracy and recall meet the business indicator requirements are selected as candidate optimal paths. The genetic algorithm or enumeration method is used to perform multi-dimensional combination optimization of factors in the candidate optimal path. Different factor combination schemes are traversed, and the path corresponding to the factor combination with the lowest overcorrection rate and the highest automatic direct processing rate is selected as the optimal path of the decision tree. The optimal path of the decision tree is structurally translated to generate an optimized set of claims rules in the form of instruction statements that can be executed by the rule engine.
[0026] When selecting the path corresponding to the factor combination with the lowest overcorrection rate and the highest automatic pass-through rate as the optimal path of the decision tree, the factors within the candidate optimal path are combined into combinations of order 1 to k (default k=4). For each combination, the full permutation of its (-1,0,1) three states is enumerated, and the score = correct / samples is calculated, where samples is the number of samples hit by the current factor combination, and correct is the number of samples that are hit and have a correlation value of zero. The paths corresponding to the Top-N combination rules are output as the optimal paths of the decision tree, sorted by "samples + score".
[0027] In this embodiment, the method further includes: The optimized claims rule set is given as a standard condition judgment statement for the rule engine in the form of a decision tree path (interpretable if-then expression), and the optimized claims rule set is given as an auxiliary scoring rule in the form of a factor combination. The standard condition judgment statement for the rule engine and the auxiliary scoring rule are written together into the rule engine. During the operation of the rule engine, discrepancies between the system's automatically matched results and manually reviewed labels are continuously collected. These discrepancies are then subjected to bottom-up case factor mining at a preset cycle for factor closed-loop optimization.
[0028] In the aforementioned claims data processing method, a comprehensive factor pool is first obtained through forward and reverse factor mining. Based on this pool, factor samples are associated and labeled to generate a one-hot factor matrix, and a decision tree is trained. After factor refinement and supplementation using the decision tree, the optimal path for the decision tree is determined through factor combination optimization. Next, the target claims data file is parsed to extract usable business fields, which are matched against the comprehensive factor pool to generate one-hot feature vectors for the target samples. These vectors are then input into the optimal path of the decision tree, and the factor feature matching criteria are compared layer by layer to complete the path traversal. Based on the classification labels of the terminal leaf nodes, claims hit determination results are output, distinguishing between automatic direct flow and manual review flow. This application comprehensively expands the factor coverage of the comprehensive factor pool, improving the effectiveness of factor differentiation; it uses factor combination optimization to obtain the optimal path of the decision tree, reducing the over-correction rate and increasing the automatic direct processing rate; and it achieves automated hit determination of claims data files through a layer-by-layer matching process between the one-hot feature vectors of the target samples and the decision tree, reducing manual intervention, improving the efficiency of claims data file processing and the accuracy of claims hit determination results, and reducing the cost of manual trial and error.
[0029] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method.
[0030] In one embodiment, such as Figure 2 As shown, a claims data processing system is provided, including: a factor mining module, a decision path control module, and a claims data processing module.
[0031] The factor mining module is used to obtain the overall factor pool by performing forward and reverse factor mining based on the claims rules file and claims data file.
[0032] The decision path control module is used to generate a unique hot factor matrix by associating and labeling factor samples based on the overall factor pool and claims sample data, and then train a decision tree. Based on the decision tree, the factors in the overall factor pool are improved and supplemented, and the optimal path of the decision tree is determined by factor combination optimization. The claims data file processing module is used to parse the input target claims data file and extract all business-usable fields from it; match the extracted business-usable fields with the factors in the overall factor pool one by one to generate a target sample one-hot feature vector; input the target sample one-hot feature vector into the optimal path of the decision tree, and compare the factor feature matching criteria bound to each node layer by layer from the root node of the decision tree. Select the corresponding lower-level branch according to whether the target sample factor value meets the matching criteria of the current node to complete the path traversal; locate the terminal leaf node where the traversal terminates in the decision tree, read the classification label bound to the terminal leaf node, and output the claims hit judgment result according to the classification label, wherein the judgment result is divided into automatic direct flow and manual review flow.
[0033] The decision path control module includes: a factor sample labeling module, a decision tree training module, a factor divergence module, a verification iteration module, and a rule output module.
[0034] The factor sample labeling module is used to perform correlation labeling on each sample corresponding to each factor in the overall factor pool to obtain the first one-hot factor matrix.
[0035] The training decision tree module is used to train a decision tree based on the first unique hot factor matrix and a preset target. For each leaf node in the decision tree, impure leaf nodes are identified by backtracking from the root to the leaf. The impure leaf nodes are then mined to obtain impure backflow supplementary factors.
[0036] The factor divergence module is used to sort the factors in the overall factor pool in descending order of feature significance to select the top factor, and to obtain the divergent factor set by commonality divergence based on the top factor.
[0037] The verification iteration module is used to merge the overall factor pool, the impure reflux supplement factor, and the divergent factor set to obtain the final factor pool, and to re-label the correlation of each sample corresponding to each factor in the final factor pool to obtain the second uniquely hot factor matrix.
[0038] The rule output module is used to determine the optimal path of the decision tree based on the second unique hot factor matrix using a factor combination optimization method, and to generate an optimized set of claims rules based on the optimal path of the decision tree.
[0039] In this embodiment, the factor mining module includes: The rule parsing module is used to determine the rule parsing result based on the rule name and rule description. The rule parsing result includes the judgment logic and the rule triggering scenario. The bidirectional factor mining module includes a top-down prior factor mining submodule and a bottom-up case factor mining submodule. The top-down prior factor mining submodule is used to identify the business-available fields in the claims data file, and perform top-down prior factor mining based on the rule parsing results in the claims rule file and the business-available fields to generate a prior factor set. The bottom-up case factor mining submodule is used to take the fields with manual review labels in the claims data file as hit samples to form a hit sample set, and perform bottom-up case factor mining based on the hit sample set and the manual review labels to generate a case factor set. The prior factor set and the case factor set are then merged into an overall factor pool.
[0040] The available fields for the business include at least one of invoices, medical records, historical cases, events, and insurance policies. The overall factor pool is F = F1∪F2, where F1 represents the set of prior factors and F2 represents the set of case factors.
[0041] In this embodiment, the top-down prior factor mining submodule includes a business analyst agent, a rule strategist agent, a factor refiner agent, and a quality auditor agent. The business analyst agent is used to determine the rule parsing result based on the rule name and rule description. The rule parsing result includes the judgment logic and the rule triggering scenario. The rule strategist agent is used to identify the business-available fields in the claims data file and determine the new rule candidate natural language based on the rule parsing result in the claims rule file and the business-available fields. The factor refiner agent is used to convert the new rule candidate natural language into Boolean questions or specific numerical judgment points and output candidate factors. The quality auditor agent is used to review the candidate factors and output a prior factor set.
[0042] In this embodiment, the step of performing correlation labeling on each sample corresponding to each factor in the overall factor pool to obtain the first uniquely hot factor matrix includes: The available fields for the business are split into samples, and it is determined whether there is a correlation between each sample corresponding to each factor in the overall factor pool F; If the target sample is associated with its corresponding factor, the identification correlation value of the target sample is set to one; if the target sample is not associated with its corresponding factor, the identification correlation value of the target sample is set to zero. Using the factors in the overall factor pool as columns and the samples as rows, fill in the correlation values for each sample corresponding to each factor, and output the first uniquely hot factor matrix.
[0043] In this embodiment, the step of training a decision tree based on the first unique hot factor matrix and a preset target, identifying impure leaf nodes by backtracking from root to leaf for each leaf node in the decision tree, and performing secondary mining on the impure leaf nodes to obtain impure backflow supplementary factors includes: Using the first unique hot factor matrix as features and the samples corresponding to the manually reviewed labels as preset targets, a decision tree is trained, and the maximum depth (max_depth) and the number of leaf node samples (min_samples_leaf) of the decision tree are controlled to be minimized. Traverse all leaf nodes of the decision tree, calculate the Gini index of the sample set inside each leaf node, and determine the leaf nodes with Gini index greater than the preset impurity threshold as impure leaf nodes. Extract the samples corresponding to all impure leaf nodes to form a subset to be mined. For each impure leaf node in the subset to be mined, backtrack layer by layer from the root node of the decision tree to the current impure leaf node to perform bottom-up case factor secondary mining to obtain impure backflow supplementary factors, and then incorporate the impure backflow supplementary factors into the overall factor pool.
[0044] In this embodiment, the step of sorting the factors in the overall factor pool in descending order of feature significance to select the top factors, and then performing common divergence based on the top factors to obtain a set of divergent factors, includes: Perform a chi-square independence test on each factor of the first unique heat factor matrix with the preset target, and calculate the first coefficient; The feature significance score is determined for each factor in the overall factor pool based on the first coefficient, feature importance, uncertainty rate, and dispersion. The top factors are selected by sorting them in descending order of the significance scores of the features. The commonalities and divergent directions of the top factors are analyzed to determine the set of divergent factors.
[0045] The formula for calculating the first coefficient (Phi coefficient) is as follows: = sqrt(chi 2 / N), sqrt() is the square root function, chi 2 This is the 2×2 chi-square statistic for the contingency table, where N is the total number of samples.
[0046] The factor divergence module includes: The top factor analyst agent is used to score significance_score by comprehensively considering the first coefficient, feature importance, uncertainty rate (value = the proportion of uncertain samples), dispersion (4·p·(1-p), the closer to 1, the more balanced the binary values), and select the Top-K factors to analyze their commonalities and divergent directions. A factor divergence expert agent is used to generate 20 to 30 new factors with finer granularity based on the above analysis; A factor validation expert agent is used to re-evaluate the five dimensions and output feedback results. The factor optimizer agent is used to make the final optimization based on the feedback results; The conditional loop module is used to return to the factor divergence expert agent to continue iterating if the number of optimized factors is insufficient or the quality is not up to standard, until the condition is met or the maximum number of rounds (default 3 rounds) is reached.
[0047] In this embodiment, the step of determining the optimal path of the decision tree based on the second one-hot factor matrix using a factor combination optimization method, and generating an optimized claims rule set based on the optimal path of the decision tree, includes: The name and description of each factor in the second one-hot factor matrix are concatenated into text, and the cosine similarity between any two factors is calculated using a pre-trained text embedding model. When the cosine similarity is greater than the preset similarity threshold, it is determined that the two factors are duplicates. The factor with the largest first coefficient is retained, and the remaining factors are saved for future reference. The decision tree is retrained based on the deduplicated second unique hot factor matrix. All branches in the decision tree are traversed, and branches with a Gini index less than a preset Gini index threshold and whose case recognition accuracy and recall meet the business indicator requirements are selected as candidate optimal paths. The genetic algorithm or enumeration method is used to perform multi-dimensional combination optimization of factors in the candidate optimal path. Different factor combination schemes are traversed, and the path corresponding to the factor combination with the lowest overcorrection rate and the highest automatic direct processing rate is selected as the optimal path of the decision tree. The optimal path of the decision tree is structurally translated to generate an optimized set of claims rules in the form of instruction statements that can be executed by the rule engine.
[0048] When selecting the path corresponding to the factor combination with the lowest overcorrection rate and the highest automatic pass-through rate as the optimal path of the decision tree, the factors in the candidate optimal path are combined into combinations of order 1 to k (default k=4). For each combination, the full permutation of its (-1, 0, 1) three states is enumerated, and the score = correct / samples is calculated, where samples is the number of samples hit by the current factor combination, and correct is the number of samples that are hit and have a correlation value of zero. The paths corresponding to the Top-N combination rules are output as the optimal paths of the decision tree, sorted by "samples + score".
[0049] In this embodiment, as Figure 2 As shown, the claims data processing system also includes a factor optimization module, which is used for: The optimized claims rule set is given as a standard condition judgment statement for the rule engine in the form of a decision tree path (interpretable if-then expression), and the optimized claims rule set is given as an auxiliary scoring rule in the form of a factor combination. The standard condition judgment statement for the rule engine and the auxiliary scoring rule are written together into the rule engine. During the operation of the rule engine, discrepancies between the system's automatically matched results and manually reviewed labels are continuously collected. These discrepancies are then subjected to bottom-up case factor mining at a preset cycle for factor closed-loop optimization.
[0050] The aforementioned claims data processing system comprehensively expands the factor coverage of the overall factor pool, improving the effectiveness of factor differentiation; it uses factor combination optimization to obtain the optimal path of the decision tree, reducing the overcorrection rate and improving the automatic direct processing rate; and it relies on the one-hot feature vector of the target sample and the layer-by-layer matching process of the decision tree to realize the automated hit determination of claims data, reducing manual intervention, improving the efficiency of claims data processing and the accuracy of claims hit determination results, and reducing the cost of manual trial and error.
[0051] For a description of the features in the embodiments corresponding to the claims data processing system, please refer to the relevant descriptions in the embodiments corresponding to the claims data processing method, which will not be repeated here.
[0052] Embodiments of this application also provide an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to perform the steps in any of the above embodiments of the claims data file processing method.
[0053] In one embodiment, the electronic device may be a server, and its internal structure diagram may be as follows: Figure 3 As shown, the electronic device includes a processor, memory, network interface, and database connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system, computer programs, and database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database stores claims processing data. The network interface communicates with external terminals via a network connection. When the computer program is executed by the processor, it implements a claims processing method.
[0054] Embodiments of this application also provide a computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the steps in any of the above-described embodiments of the claims data file processing method when it is run.
[0055] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.
[0056] The embodiments of this application also provide a computer program product, which includes a computer program that, when executed by a processor, implements the steps in any of the claims data file processing method embodiments described above.
[0057] Embodiments of this application also provide another computer program product, including a non-volatile computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps in any of the claims data file processing method embodiments described above.
[0058] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0059] The foregoing has provided a detailed description of a claims data processing method, system, and electronic device provided in this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are only intended to aid in understanding the method and core ideas of this application. It should be noted that those skilled in the art can make various improvements and modifications to this application without departing from its principles, and these improvements and modifications also fall within the protection scope of the claims of this application.
Claims
1. A method for processing claims data files, characterized in that, include: The overall factor pool is obtained by performing forward and reverse factor mining based on the claims rules and claims documents. After generating a uniquely hot factor matrix by associating and labeling factor samples with the overall factor pool and claims sample data, a decision tree is trained. The factors in the overall factor pool are improved and supplemented based on the decision tree, and the optimal path of the decision tree is determined by factor combination optimization. Parse the input target claims data file and extract all business-usable fields from it; The extracted business-available fields are matched one by one with the factors in the overall factor pool to generate a unique hot feature vector for the target sample. The one-hot feature vector of the target sample is input into the optimal path of the decision tree. Starting from the root node of the decision tree, the factor feature matching criteria bound to each node are compared layer by layer. The corresponding lower branch is selected according to whether the factor value of the target sample meets the matching criteria of the current node, and the path traversal is completed. Locate the terminal leaf node where the traversal terminates in the decision tree, read the category label bound to the terminal leaf node, and output the claim hit determination result based on the category label, wherein the determination result is divided into automatic direct flow and manual review flow.
2. The method for processing claims data files according to claim 1, characterized in that, The process of obtaining the overall factor pool through forward and reverse factor mining based on claims rules and claims data includes: The rule parsing result is determined based on the rule name and rule description, and the rule parsing result includes the judgment logic and the rule triggering scenario; Identify the business-available fields in the claims data file, and perform top-down prior factor mining based on the rule parsing results in the claims rule file and the business-available fields to generate a prior factor set; Fields with manual review tags in the claims data files are used as hit samples to form a hit sample set. Based on the hit sample set and the manual review tags, bottom-up case factor mining is performed to generate a case factor set. The prior factor set and the case factor set are merged into a global factor pool.
3. The method for processing claims data files according to claim 1, characterized in that, The process of generating a one-hot factor matrix by associating and labeling factor samples based on the overall factor pool and claims sample data, training a decision tree, improving and supplementing the factors in the overall factor pool based on the decision tree, and determining the optimal path of the decision tree through factor combination optimization includes: The first uniquely hot factor matrix is obtained by performing correlation labeling on each sample corresponding to each factor in the overall factor pool; Using the first unique hot factor matrix as a feature and training a decision tree according to a preset target, identify impure leaf nodes for each leaf node in the decision tree by backtracking from the root to the leaf, and perform secondary mining on the impure leaf nodes to obtain impure backflow supplementary factors. The factors in the overall factor pool are sorted in descending order of feature significance to select the top factor, and the commonalities of the top factor are used to obtain the divergent factor set. The overall factor pool, the impure reflux supplement factor, and the divergent factor set are merged to obtain the final factor pool. The correlation labeling is then performed on each sample corresponding to each factor in the final factor pool to obtain the second unique heat factor matrix. The optimal path of the decision tree is determined by factor combination optimization based on the second unique hot factor matrix, and the optimized claim rule set is generated based on the optimal path of the decision tree.
4. The method for processing claims data files according to claim 3, characterized in that, The step of performing correlation labeling on each sample corresponding to each factor in the overall factor pool to obtain the first uniquely hot factor matrix includes: The available fields for the business are split into samples, and it is determined whether there is a correlation between each sample corresponding to each factor in the overall factor pool; If the target sample is associated with its corresponding factor, the identification correlation value of the target sample is set to one; if the target sample is not associated with its corresponding factor, the identification correlation value of the target sample is set to zero. Using the factors in the overall factor pool as columns and the samples as rows, fill in the correlation values for each sample corresponding to each factor, and output the first uniquely hot factor matrix.
5. The method for processing claims data files according to claim 3, characterized in that, The process of training a decision tree based on the first uniquely hot factor matrix and a preset target, identifying impure leaf nodes by backtracking from the root to the leaf for each leaf node in the decision tree, and performing secondary mining on the impure leaf nodes to obtain impure backflow supplementary factors includes: Using the first unique hot factor matrix as features and the samples corresponding to the manually reviewed labels as preset targets, a decision tree is trained, and the maximum depth of the decision tree and the number of leaf node samples are controlled to be minimized. Traverse all leaf nodes of the decision tree, calculate the Gini index of the sample set inside each leaf node, and determine the leaf nodes with Gini index greater than the preset impurity threshold as impure leaf nodes. Extract the samples corresponding to all impure leaf nodes to form a subset to be mined. For each impure leaf node in the subset to be mined, backtrack layer by layer from the root node of the decision tree to the current impure leaf node to perform bottom-up case factor secondary mining to obtain impure backflow supplementary factors, and then incorporate the impure backflow supplementary factors into the overall factor pool.
6. The method for processing claims data files according to claim 3, characterized in that, The process involves sorting the factors in the overall factor pool in descending order of feature significance to select the top factors, and then performing common divergence based on the top factors to obtain a set of divergent factors, including: Perform a chi-square independence test on each factor of the first unique heat factor matrix with the preset target, and calculate the first coefficient; The feature significance score is determined for each factor in the overall factor pool based on the first coefficient, feature importance, uncertainty rate, and dispersion. The top factors are selected by sorting them in descending order of the significance scores of the features. The commonalities and divergent directions of the top factors are analyzed to determine the set of divergent factors.
7. The method for processing claims data files according to claim 6, characterized in that, The step of determining the optimal path of the decision tree based on the second one-hot factor matrix using a factor combination optimization method, and generating an optimized claims rule set based on the optimal path of the decision tree, includes: The name and description of each factor in the second one-hot factor matrix are concatenated into text, and the cosine similarity between any two factors is calculated using a pre-trained text embedding model. When the cosine similarity is greater than the preset similarity threshold, it is determined that the two factors are duplicates. The factor with the largest first coefficient is retained, and the remaining factors are saved for future reference. The decision tree is retrained based on the deduplicated second unique hot factor matrix. All branches in the decision tree are traversed, and branches with a Gini index less than a preset Gini index threshold and whose case recognition accuracy and recall meet the business indicator requirements are selected as candidate optimal paths. The genetic algorithm or enumeration method is used to perform multi-dimensional combination optimization of factors in the candidate optimal path. Different factor combination schemes are traversed, and the path corresponding to the factor combination with the lowest overcorrection rate and the highest automatic direct processing rate is selected as the optimal path of the decision tree. The optimal path of the decision tree is structurally translated to generate an optimized set of claims rules in the form of instruction statements that can be executed by the rule engine.
8. The method for processing claims data files according to claim 1, characterized in that, The method further includes: The optimized claims rule set is given as a standard condition judgment statement for the rule engine in the form of a decision tree path, and the optimized claims rule set is given as an auxiliary scoring rule in the form of a factor combination. The standard condition judgment statement for the rule engine and the auxiliary scoring rule are written together into the rule engine. During the operation of the rule engine, discrepancies between the system's automatically matched results and manually reviewed labels are continuously collected. These discrepancies are then subjected to bottom-up case factor mining at a preset cycle for factor closed-loop optimization.
9. A claims data processing system, characterized in that, include: The factor mining module is used to perform forward and reverse factor mining based on the claims rules and claims data files to obtain the overall factor pool; The decision path control module is used to generate a one-hot factor matrix by associating and labeling factor samples based on the overall factor pool and claims sample data, then train a decision tree, improve and supplement the factors in the overall factor pool based on the decision tree, and determine the optimal path of the decision tree through factor combination optimization. The claims data file processing module is used to parse the input target claims data file and extract all business-usable fields from it; match the extracted business-usable fields with the factors in the overall factor pool one by one to generate a target sample one-hot feature vector; input the target sample one-hot feature vector into the optimal path of the decision tree, and compare the factor feature matching criteria bound to each node layer by layer from the root node of the decision tree. Select the corresponding lower-level branch according to whether the target sample factor value meets the matching criteria of the current node to complete the path traversal; locate the terminal leaf node where the traversal terminates in the decision tree, read the classification label bound to the terminal leaf node, and output the claims hit judgment result according to the classification label, wherein the judgment result is divided into automatic direct flow and manual review flow.
10. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the steps of the claims data file processing method as described in any one of claims 1 to 8.
