Adaptive chunked parallel processing of structured data large model prediction method and system

By constructing a field relationship graph for adaptive block-based parallel processing, the problems of excessively long inputs and fixed groupings in structured data processing are solved, achieving efficient and accurate prediction results. The integration of parallel processing and cross-block memory summarization adapts to different task requirements.

CN123158567APending Publication Date: 2026-11-24UNIV OF SCI & TECH OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611663994.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-27
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing technologies have several drawbacks when processing structured data, including high inference costs due to excessively long inputs, significant interference from noisy fields, dilution of key field feature information, difficulty in adapting fixed grouping to different business tasks, inability of serial inference to meet low latency requirements, and lack of feature consistency and business rule constraints between blocks in traditional weighted fusion strategies.

Method used

By constructing a field relationship graph, adaptive block-based parallel processing is performed. Field blocks are divided and large models are called in parallel for prediction. Cross-block memory summaries are generated and fused. The final result is calculated using block-level prediction results, confidence scores, and business rules.

Benefits of technology

It improves the efficiency, accuracy, and interpretability of large models in processing structured data, reduces interference between field blocks, adapts to different task changes, and reduces latency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123158567A_ABST
    Figure CN123158567A_ABST
Patent Text Reader

Abstract

This invention proposes an adaptive block-based parallel processing method and system for large-scale model prediction of structured data. The method includes: constructing a set of field nodes, a field metadata table, and a target task based on a structured data table, field description files, and an application target description file; constructing a field relationship graph based on the field node set and the field metadata table; adaptively partitioning field blocks based on the field relationship graph to obtain field blocks that satisfy length and task constraints; constructing block-level input samples based on each field block and distributing these samples to different inference nodes to perform parallel invocation of the large model or a table-based model for target task prediction, obtaining block-level prediction results for each field block; generating cross-block memory summaries for each combination of field blocks that do not satisfy the inter-block splitting loss constraint; and calculating a fusion prediction score based on the block-level prediction result set and the cross-block memory summary set, thereby improving the efficiency, accuracy, and interpretability of the large model in processing structured data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of intelligent processing technology for structured data, and in particular to an adaptive block-parallel processing method and system for large model prediction of structured data. Background Technology

[0002] Structured business data is prevalent in various business systems across finance, healthcare, industry, government, and enterprise management. This data typically contains numerous fields with multiple relationships, including semantic grouping, time windows, statistical derivations, and business rule connections. Inputting all fields into a large model at once leads to excessively long text inputs, high inference costs, and significant interference from noisy fields. Furthermore, the feature information of core, critical fields is easily diluted by redundant context, drastically reducing the model's accuracy.

[0003] Current mainstream processing methods mostly rely on manual field filtering, pre-set fixed field grouping, or serial scheduling models to execute prediction tasks. However, existing processing methods have the following problems: manual deletion is prone to losing key business information; fixed grouping is difficult to adapt to different business tasks and field changes; serial inference architecture is difficult to meet the requirements of large-scale low latency; and traditional weighted fusion strategies lack a comprehensive judgment on feature consistency between blocks, prediction confidence, and underlying business rule constraints, resulting in insufficient reliability of fusion results. Summary of the Invention

[0004] In view of the above problems, the present invention is proposed to provide an adaptive block-parallel processing method and system for large model prediction of structured data to overcome the above problems.

[0005] One aspect of the present invention provides an adaptive block-based parallel processing method for large model prediction of structured data, the method comprising:

[0006] Based on the original structured data table and the field description file and application target description file of the original structured data table, construct the field node set, field meta information table and target task;

[0007] A field relationship graph is constructed based on the field node set and the field meta information table. The field relationship graph records the field relationship edge weights corresponding to each field relationship edge.

[0008] Adaptive field block partitioning is performed based on the field relationship graph to ensure that each partitioned field block meets the preset length constraints and task constraints. The task constraints include the intra-block field relationship density constraints and inter-block splitting loss constraints.

[0009] Block-level input samples are constructed based on each field block, and the block-level input samples are distributed to different inference nodes to perform target task prediction by calling the preset large model or table-based model in parallel, so as to obtain the block-level prediction results of each field block. All block-level prediction results constitute the block-level prediction result set, which includes block-level prediction score, confidence, contributing field and block-level explanation summary.

[0010] For each field block combination that does not satisfy the inter-block splitting loss constraint, generate a cross-block memory summary to obtain a cross-block memory summary set;

[0011] The fusion prediction score is calculated based on the block-level prediction result set and the cross-block memory summary set.

[0012] In another aspect, the present invention provides an adaptive block-parallel processing system for large model prediction of structured data, the system comprising:

[0013] The data preprocessing module is used to construct a set of field nodes, a field metadata table, and target tasks based on the original structured data table, the field description file of the original structured data table, and the application target description file;

[0014] The relationship graph construction module is used to construct a field relationship graph based on the field node set and the field meta information table. The field relationship graph records the field relationship edge weights corresponding to each field relationship edge.

[0015] The block segmentation module is used to adaptively divide field blocks based on the field relationship graph, so that each divided field block meets the preset length constraints and task constraints. The task constraints include the field relationship density constraints within the block and the fragmentation loss constraints between blocks.

[0016] The parallel prediction module is used to construct block-level input samples based on each field block and distribute the block-level input samples to different inference nodes to call the preset large model or table-based model in parallel to predict the target task and obtain the block-level prediction results of each field block. All block-level prediction results constitute the block-level prediction result set, which includes block-level prediction score, confidence, contributing field and block-level explanation summary.

[0017] The cross-block compensation module is used to generate cross-block memory summaries for each combination of field blocks that does not meet the inter-block splitting loss constraint, thus obtaining a set of cross-block memory summaries.

[0018] The results fusion module is used to calculate the fused prediction score based on the block-level prediction result set and the cross-block memory summary set.

[0019] This invention provides an adaptive block-based parallel processing method and system for large-scale model prediction of structured data. By constructing a field relationship graph that records the edge weights of field relationships, adaptive block division is performed under input length constraints and task constraints based on the field relationship graph. This avoids the fragmentation of key fields caused by fixed field grouping and allows the field block structure to be adjusted according to task changes. Parallel scheduling of each field block is performed to output a block-level prediction score, confidence, main contributing fields, and block-level interpretive summary for each field block. When the cross-block fragmentation loss exceeds a threshold, a cross-block memory summary is generated, thus compensating for information breaks caused by independent block inference. The fusion process simultaneously uses the block-level prediction score, block-level confidence, block reliability, inter-block consistency, and cross-block memory summary to calculate the fused prediction score, which can reduce the interference of contradictory field blocks on the final result and improve the efficiency, accuracy, and interpretability of large models processing multi-field, large-sample structured data.

[0020] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, and in order to make the above and other objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description

[0021] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. In the drawings:

[0022] Figure 1 This is a flowchart of an adaptive block-parallel processing method for large model prediction of structured data according to an embodiment of the present invention;

[0023] Figure 2 This is a schematic diagram illustrating the implementation of adaptive block partitioning and parallel inference based on field relationship graph driven by an embodiment of the present invention;

[0024] Figure 3 This is a schematic diagram illustrating the implementation of confidence consistency fusion and rule correction in an embodiment of the present invention;

[0025] Figure 4 This is a block diagram of an adaptive block-parallel processing large model prediction system for structured data, according to an embodiment of the present invention. Detailed Implementation

[0026] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0027] It is understood that, unless otherwise defined, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. It should also be understood that terms such as those defined in general dictionaries should be understood to have the same meaning as in the context of the prior art and should not be interpreted in an idealized or overly formal sense unless specifically defined.

[0028] This invention provides an adaptive block-based parallel processing method for large-scale model prediction of structured data. It addresses issues encountered when inputting large amounts of structured fields into a large model all at once, such as limited input length, context-diluted key fields, difficulty in adapting fixed field grouping to different task variations, and the inability of simple fusion to handle inter-block conflicts. This invention improves the efficiency, accuracy, and interpretability of large models processing multi-field, large-sample structured data through field relationship graph-driven block partitioning, block-level sample construction, parallel inference, cross-block memory summarization, confidence consistency fusion, and rule correction. It can be applied to scenarios such as financial risk control, user churn prediction, industrial anomaly identification, marketing conversion prediction, and medical risk assessment.

[0029] Figure 1 A flowchart illustrating an adaptive block-based parallel processing method for large model prediction of structured data, according to an embodiment of the present invention, is shown. Figure 1 As shown, the adaptive block-based parallel processing method for large model prediction of structured data proposed in this invention includes the following steps:

[0030] S11. Construct a set of field nodes, a field metadata table, and a target task based on the original structured data table, the field description file of the original structured data table, and the application target description file;

[0031] S12. Construct a field relationship graph based on the field node set and the field meta information table. The field relationship graph records the field relationship edge weights corresponding to each field relationship edge.

[0032] S13. Adaptively divide field blocks based on field relationship diagram so that each divided field block meets the preset length constraints and task constraints. The task constraints include the field relationship density constraint within the block and the fragmentation loss constraint between blocks.

[0033] S14. Construct block-level input samples based on each field block, and distribute the block-level input samples to different inference nodes to call the preset large model or table-based model in parallel to predict the target task, and obtain the block-level prediction results of each field block. All block-level prediction results constitute the block-level prediction result set, which includes block-level prediction score, confidence, contribution field and block-level explanation summary.

[0034] S15. Generate cross-block memory summaries for each field block combination that does not satisfy the inter-block splitting loss constraint, and obtain a cross-block memory summary set;

[0035] S16. Calculate the fusion prediction score based on the block-level prediction result set and the cross-block memory summary set.

[0036] This invention provides an adaptive block-based parallel processing method for large-scale model prediction of structured data. By constructing a field relationship graph that records the edge weights of field relationships, adaptive block division is performed under input length constraints and task constraints based on the field relationship graph. Therefore, it can avoid the key field fragmentation caused by fixed field grouping and adjust the field block structure according to task changes. Parallel scheduling of each field block is performed to output a block-level prediction score, confidence, main contributing fields, and block-level interpretive summary for each field block. When the cross-block fragmentation loss exceeds a threshold, a cross-block memory summary is generated, thus compensating for the information breakage caused by independent block inference. The fusion process simultaneously uses the block-level prediction score, block-level confidence, block reliability, inter-block consistency, and cross-block memory summary to calculate the fused prediction score, which can reduce the interference of contradictory field blocks on the final result and improve the efficiency, accuracy, and interpretability of large models in processing multi-field, large-sample structured data.

[0037] In this embodiment of the invention, step S11, which involves constructing a set of field nodes, a field metadata table, and a target task based on the original structured data table, its field description file, and the application target description file, specifically includes the following steps (not shown in the accompanying drawings):

[0038] S111. Perform category coding, missing value handling, unit unification, and outlier handling on each field in the original structured data table to form a set of field nodes. In this embodiment, the original structured data table to be processed, the field description file, the business rule file, and the target task definition are obtained. Necessary routine preprocessing is performed on each field in the original structured data table, including missing value completion, outlier handling, unit unification, and category coding, to form a set of field nodes. The field description file should include at least the field name, field meaning, field type, time window to which it belongs, and whether it is a critical field. The business rule file should include at least the joint judgment rules between fields, business process relationships, state transition relationships, and other business constraint relationships between fields.

[0039] S112. Generate field metadata for each field in the field node set according to the field description document to form a field metadata table. The field metadata includes the field name, field meaning, field type, time window it belongs to, whether it is a critical field, whether it participates in the target task, historical missing rate, and availability flag. Specifically, for each field, record the field name, field meaning, field type, time window it belongs to, whether it is a critical field, whether it participates in the target task, historical missing rate, and availability flag to form a field metadata table. .

[0040] S113. Determine the target tasks based on the application target specification document. The target tasks are denoted as... The target task includes task type, target fields, evaluation criteria, and output format constraints. Task Objective It is not directly equivalent to the prediction label, but is used to subsequently measure the relevance of the field block to the prediction task, and participates in the calculation of block priority and fusion weight. This step outputs a set of field nodes. Field Meta Information Table and target task .

[0041] In this embodiment of the invention, step S12, which involves constructing a field relationship graph based on the field node set and the field metadata table, specifically includes the following steps (not shown in the accompanying drawings):

[0042] S121. Construct an initial field relationship graph based on the field node set;

[0043] S122. Based on the field metadata table, the business rule file of the original structured data table, and the historical prediction results, perform arbitrary field relationship edges in the initial field relationship graph ( Establish a vector of evidence for field relationships:

[0044] ;

[0045] in, Indicates semantic relation score, This indicates the score based on business rule relationships. The score indicates the time window or the order of events. Indicates the statistical correlation score. This represents the contribution score of the historical model; all scores are normalized to the range of 0 to 1. Specifically, The similarity is determined based on the similarity of field names, the similarity of field description text, and the consistency of field meaning labels; when two fields have highly similar field names, belong to the same semantic category, or have highly similar field descriptions, the higher value is taken. The score is determined by whether the two fields appear together in the same business rule, approval rule, billing rule, or work order processing rule. If one or more rules explicitly require the two fields to be used together in the judgment, the higher value is taken as the business rule relationship score. The value is determined based on whether the time windows to which the two fields belong are adjacent, contain each other, or have a sequential dependency. If the two fields belong to the same time window or adjacent time windows, the higher value is taken; if the time span is far and there is no sequential dependency, the lower value is taken. The strength of the association between the two fields in the sample data is determined by the normalized correlation strength, which can be obtained by normalizing the correlation coefficient, conditional correlation, mutual information, or co-occurrence frequency. The score is determined by the frequency with which the two fields appear together in the set of high-contribution features in the historical model; the higher the frequency, the higher the score.

[0046] S123. Calculate the field relationship edge weights of the corresponding field relationship edges based on the field relationship evidence vectors of each field relationship edge in the initial field relationship graph. :

[0047] ;

[0048] in, This represents the Sigmoid function. Represents the evidence weight vector. Indicates the preset bias term;

[0049] S124. Select valid edges from the initial field relationship graph that satisfy the edge weight threshold to construct the formal field relationship graph. ;in, For a collection of field nodes, For the set of field relationship edges, This is an edge weight matrix, used to record the edge weights corresponding to each field relationship edge. Specifically, if... Then the field relationship edge To effectively preserve edges, edges are retained in the field relationship graph. ;like Then delete the field relationship edge. Alternatively, we can denote them as low-weight edges to obtain the formal field relationship graph. , This step uses a preset edge weight threshold. The output of this step is the formal field relationship graph. The edge weight matrix A is used as the input for subsequent adaptive block partitioning.

[0050] In this embodiment of the invention, step S13, which involves adaptively dividing field blocks based on a field relationship graph to ensure that each divided field block meets preset length and task constraints, specifically includes:

[0051] The fields in the field relationship diagram are divided into field blocks based on a preset block division objective function, which is as follows:

[0052] ;

[0053] The constraints are: ;

[0054] in, For field blocks The input length, This represents the maximum allowed input length for the model. The length is defined by the model task description and output format constraints. For field relationship edges The corresponding field relationship edge weight, Represents field blocks The tightness of relationships between fields within a block. Indicates the length occupancy penalty. This represents the inter-block splitting loss caused by strong relation edges being split into different field blocks:

[0055]

[0056] Among them, a strong relation edge refers to the field relation edge weight. Greater than or equal to the preset strong relation edge weight threshold Field relationship edge, This indicates that all fields are fast. and These are the weighting coefficients; For indicator functions, This is the preset threshold for strong relation edge weights. The inter-block splitting loss is the sum of the field relation edge weights of the strong relation edges that divide the two field blocks. The more strong relations between blocks and the higher the corresponding field relation edge weights, the greater the inter-block splitting loss.

[0057] In this embodiment, the system uses a field relationship diagram. Based on this, the fields are divided into K field blocks. .

[0058] Furthermore, during the field block partitioning process, field nodes that have field relationship edges with the target fields of the target task and whose corresponding field relationship edge weights are not lower than a preset target relevance threshold, field nodes whose historical contribution to the target task is higher than a preset contribution threshold, and / or field nodes marked as key fields in the field description file of the original structured data table are designated as high-retention-weight nodes. These high-retention-weight nodes are given priority, and the field relationship edge weights between them are made greater than or equal to a preset strong relationship edge weight threshold. The field nodes are assigned to the same field block.

[0059] In this embodiment, the role of task objective T in this step is to assign higher retention weights to nodes that are directly related to the target field, have made high historical contributions to the target task, or are marked as key fields in business rules, so that these fields are preferentially assigned to the same field block as their strongly related fields. If a field block exceeds the length constraint, it is preferentially split into secondary blocks according to time window, behavioral theme, or statistical granularity. If there is a gap between two field blocks... Exceeding the preset threshold If the values ​​are not specified, they are treated as field blocks and used to generate cross-block memory summaries for the block pairs in subsequent steps. This step outputs a set of field blocks B and an inter-block splitting loss matrix.

[0060] In this embodiment of the invention, step S14, which involves constructing block-level input samples based on each field block and distributing the block-level input samples to different inference nodes, specifically includes the following steps (not shown in the accompanying drawings):

[0061] S141. Construct block-level input samples for the field blocks. The block-level input samples include block identifier, field name, field value, field explanation, time window marker, missing value marker, and inference task description. For field blocks containing time series fields or statistically derived fields, the block-level input samples also include the corresponding time range, statistical definition, and field source, so that the model can distinguish between current values, historical values, and derived values. This step is used to process each field block. Construct block-level input samples,

[0062] S142. The inference priority of the current field block is determined based on its relevance to the target task, whether it contains key fields recorded in the field description file, data timeliness, and expected inference cost. Specifically, before inference, this invention also calculates the inference priority for each field block. The inference priority is determined based on the relevance of the field block to the target task, whether it contains key fields, data timeliness, and expected inference cost. Field blocks with a stronger relationship to the target task, more key fields, and newer data have higher priority; field blocks with longer input lengths, higher expected processing time, or higher resource consumption have correspondingly lower priority.

[0063] S143. Sort the field block tasks according to the inference priority of the field block, and determine the inference batch for each field block.

[0064] S144. Obtain the node resource status of each inference node, and allocate the field block tasks within the current inference batch to the inference node with the best node resource status in order of task order. Specifically, during parallel scheduling, the field block tasks are allocated to appropriate inference nodes based on the node resource status of the inference nodes. The node resource status includes current load, expected latency, available context length, and GPU memory or concurrent resources. For high-priority field blocks, the system prioritizes allocation to nodes with lower load and shorter expected latency; for longer field blocks, the system prioritizes allocation to nodes with sufficient context resources or GPU memory resources; for low-priority field blocks, the system can postpone execution or merge them with other low-priority blocks into a batch task for execution.

[0065] The parallel processing of this invention is not a typical asynchronous call. Instead, after the field blocks are constructed, tasks are distributed based on the inference priority, block size, task relevance, and node resource status of the field blocks. The called prediction model can be a large model supporting long-context text inference or a table-based model that receives structured sequence input. However, the innovation of this invention lies not in the model network structure itself, but in the construction of field block inputs and the resource-aware scheduling method oriented towards field blocks. This step outputs the scheduled block-level task sequence and the inference nodes corresponding to each field block.

[0066] In this embodiment of the invention, step S15, which generates cross-block memory summaries for each field block combination that does not satisfy the inter-block splitting loss constraint, specifically includes:

[0067] A cross-block memory summary is generated based on the set of main contributing fields of the two field blocks in the field block combination, the block-level interpretation summary, and the set of strong relation edges between the two field blocks. :

[0068] ;

[0069] in, Representing two field blocks respectively and The main contribution field set, and Representing two field blocks respectively and Block-level interpretation summary, Represents two field blocks and The set of strong relation edges between them This represents a summary compression function used to retain key information about cross-block conflicts, joint enhancements, or joint reductions in target risk.

[0070] In this embodiment, each field block Output after model inference:

[0071] ;

[0072] in, For field blocks Block-level prediction results Represents field blocks Block-level prediction scores; Represents field blocks Block-level confidence. For field blocks with strong cross-block relationships. and ,like Greater than or equal to the threshold This generates a cross-block memory digest. All cross-block memory digests constitute a digest set. This step outputs a set of block-level prediction results. and cross-block memory summary set .

[0073] Cross-block fields in the strong-relationship edge set refer to fields connected by strong-relationship edges in the field relationship graph, but assigned to different field blocks due to length constraints. For example, "number of overdue payments" and "complaint processing time" are located in the payment block and customer service block respectively, but both affect the risk of churn. The aforementioned cross-block fields and their strong-relationship edges are used to generate cross-block memory summaries to compensate for the information fragmentation caused by field block division. In this embodiment of the invention, step S16, which calculates the fusion prediction score based on the block-level prediction result set and the cross-block memory summary set, specifically includes the following steps not shown in the attached figures:

[0074] S161. Calculate the fusion prediction score based on block-level prediction score, block-level confidence, field block reliability, inter-block consistency, and cross-block memory digest. The specific score calculation model is as follows:

[0075]

[0076] in, For the Sigmoid function, Represents field blocks Field block fusion weights. This means that only field block pairs composed of different field blocks are evaluated once, to avoid repeated evaluation of the same combination of field blocks. Represents field blocks and field blocks Consistency score between block-level prediction results Indicates the inter-block consistency weight. Indicates the cross-block memory digest weight, This represents a set of cross-block memory summaries.

[0077] ;

[0078] in, Represents field blocks Reliability of field blocks, Represents field blocks Historical prediction error rate Represents field blocks Field missing rate, This represents the normalized field block drift metric. , and Preset weights. The lower the historical error rate, missing rate, and drift of a field block, the higher its reliability.

[0079] In this embodiment, the field block fusion weight The fusion weight can be determined based on block-level confidence, the relevance of the field block to the target task, historical contribution, and historical error rate. Field blocks with higher confidence, greater relevance to the target task, and higher historical contribution have higher fusion weights; field blocks with higher historical error rates or more significant drift have lower fusion weights. Inter-block consistency scores are used to determine whether the predictions of different field blocks support each other. If two strongly correlated field blocks give consistent prediction directions, the fusion stability is improved; if two strongly correlated field blocks give significantly opposite prediction directions, a conflict signal is formed. Cross-block memory summaries are used to supplement cross-block relationships that are easily lost in block-level independent inference, such as when payment anomalies and increased complaints occur simultaneously, jointly correcting the final risk score.

[0080] S162. Perform inter-block conflict detection; when there is inter-block splitting loss between two field blocks... If the predicted loss is greater than or equal to a preset splitting loss threshold, that is, when two field blocks are strongly correlated, if their block-level prediction results have opposite directions or there are contradictions between their block-level interpretation summaries, then a conflicting field block is formed. This invention further verifies inter-block conflicts; if the block-level prediction results between strongly correlated field blocks have opposite directions, the difference in prediction scores exceeds a preset threshold, or there are obvious contradictions between their block-level interpretation summaries, then a secondary verification is triggered.

[0081] S163. Determine the inference priority of the current field block based on its relevance to the target task, whether it contains key fields recorded in the field description file, data timeliness, and expected inference cost. For detected conflicting field block combinations, determine the review order based on the inference priority of each conflicting field block. Merge the conflicting field block combinations into a review block, add the corresponding cross-block memory digest to the review input, and re-execute the inference. If conflicts still exist after re-inference, output a manual review mark.

[0082] In this embodiment, the review method includes determining the inference priority of each field block, calling high-priority field blocks, merging conflicting field blocks into a review block, adding cross-block memory summaries to the review input, or outputting a manual review marker. This step outputs the fusion prediction score P, the conflict detection result, and the review marker.

[0083] Furthermore, the adaptive block-based parallel processing method for large-scale model prediction of structured data provided in this embodiment of the invention also includes steps of business rule correction and monitoring feedback update, implemented as follows: Business rule correction is performed on the fused prediction score to obtain the final prediction score, and the contribution and drift index of each field block to the improvement or reduction of downstream task indicators are recorded. The fusion weight of the current field block in the next round of prediction is updated based on the contribution of each field block: when the drift index of a field block is greater than or equal to a preset threshold, the field relationship edge weights are recalculated and the field blocks are re-divided.

[0084] Specifically, the fusion result P is corrected according to business rules to obtain the final predicted score. :

[0085]

[0086] in, Indicates whether the s-th business rule has been triggered; This indicates that the rule triggers the indicator function; Indicates the range of rule correction; This restricts the result to between 0 and 1. If the rule parameters are learnable, then:

[0087] ;

[0088] in, This indicates the contribution of the rule to the reduction of prediction error in the validation set or online feedback; This indicates the update step size.

[0089] Simultaneously record the contribution, time consumption, error rate, and drift metrics of each field block, and update the block weights based on online feedback:

[0090] ;

[0091] in, This indicates the contribution of the k-th field block to the improvement of downstream task metrics or reduction of errors; Indicates the update step size; This indicates that the merge weights of all updated field blocks are normalized so that the sum of the merge weights of all field blocks is 1. The field block drift metric is further defined as follows: :

[0092] ;

[0093] in, and These represent the distribution of this field block in the current time period and the previous time period, respectively. This represents a preset distribution distance function used to measure the degree of difference in the distribution of field blocks between two time periods. The distribution distance function can be Jensen-Shannon divergence, population stability index PSI, or Wasserstein distance.

[0094] like Greater than or equal to the preset threshold Then, the field relation edge weights and block results are recalculated. The final output includes the corrected prediction score P′, risk level, explanation summary, recommended action, and feedback records for the next round of updates.

[0095] The following uses a telecommunications user churn prediction task as an example to illustrate the technical solution of this invention. The original fields in the original structured data table include user age, network duration, package type, average monthly call duration, average monthly data usage, number of complaints, payment amount, number of overdue payments, terminal usage time, number of marketing outreach sessions, and whether the user has churned.

[0096] Access historical user data and complete preprocessing, truncate abnormal traffic values, supplement missing payment amounts according to the most recent period, and uniformly encode package types and terminal brands.

[0097] Construct a field relationship graph. For example, establish relationship edges between the number of overdue payments and the amount paid, the number of complaints and the work order processing time, and the number of marketing outreaches and changes in service packages. Figure 2 As shown.

[0098] Based on the field relationship diagram and task objectives, the fields are divided into basic profile blocks, usage behavior blocks, payment and arrears blocks, customer service complaint blocks, and marketing terminal blocks. If there are too many usage behavior blocks, they are further split according to the most recent 1-month, 3-month, and 6-month time windows.

[0099] Generate block-level inputs for each field block. For example, generate "[Payment Arrears Block] [Payment Amount in the Last 6 Months = 774 Yuan] [Number of Arrears = 2] [Bill Fluctuation Level = High]" for the Payment Arrears block; generate "[Customer Service Complaint Block] [Number of Complaints = 3] [Average Processing Time = 48 Hours]" for the Marketing Terminal block; generate "[Marketing Terminal Block] [Number of Marketing Outreach = 5] [Package Upgrade Result = Failed]" for the Marketing Terminal block.

[0100] Inference priorities are determined based on the relevance of field blocks to the churn prediction task, whether they contain key fields, data timeliness, and expected inference cost. Bill payment / arrears blocks and customer service complaint blocks, due to their strong correlation with churn risk, are prioritized for allocation to inference nodes with lower loads. Behavioral blocks and marketing terminal blocks can be used to form batch tasks with other low-priority field blocks. All field blocks are input in parallel into the large model or table-based model to obtain block-level prediction results.

[0101] Each field block outputs a block-level predicted score, block-level confidence score, main contributing fields, and an explanatory summary. For example, the payment arrears block outputs a churn probability of 0.72, a confidence score of 0.81, and the main contributing fields are the number of arrears and fluctuations in payment amount, with the explanatory summary being "Increased arrears and large fluctuations in payment amount"; the customer service complaint block outputs a churn probability of 0.68, a confidence score of 0.78, and the main contributing fields are the number of complaints and processing time, with the explanatory summary being "High number of complaints and long processing time"; the marketing terminal block outputs a churn probability of 0.55, a confidence score of 0.63, with the explanatory summary being "Multiple marketing outreach attempts failed to upgrade the package." If there is a high-weight cross-block relationship between the payment arrears block and the customer service complaint block, the system generates a cross-block memory summary "Increased arrears and long complaint processing time," and inputs this summary into subsequent fusion operations.

[0102] Perform confidence consistency fusion and conflict review. The fusion operation combines the predicted scores, confidence levels, field block reliability, inter-block consistency, and cross-block memory summaries of each field block to obtain the basic churn probability. For example, if both the payment arrears block and the customer service complaint block point to a high churn risk, and the cross-block memory summaries show that they jointly enhance the risk, the fusion result is adjusted upwards. If the marketing terminal block gives a lower risk but its confidence level is low, the impact of this block on the final result is reduced. If two strongly correlated field blocks give significantly opposite prediction directions, or if there are contradictory interpretation summaries, the system merges the conflicting field blocks into a review block for re-inference, or outputs a manual review marker. After fusion and review, the basic user churn probability P is obtained, such as... Figure 3 As shown, where, Each field block The output is obtained after model inference.

[0103] The system performs business rule corrections and monitors feedback updates on the fusion results. High complaint counts, high arrears, and low marketing response increase churn risk; conversely, user renewals with no recent complaints reduce churn risk. After correction, the system outputs the final risk level, an explanation summary, and recommended actions, such as "human outbound call," "renewal discount," or "prioritize complaint handling." For batch users, the system writes each user's field block contribution, inference time, error rate, and field distribution drift into the feedback record. When a field block consistently contributes highly, its subsequent fusion weight is increased; when a field block shows significant drift, the field relationship edge weights and block results are recalculated.

[0104] The adaptive block-based parallel processing method for large model prediction of structured data provided in this invention has the following beneficial effects:

[0105] 1. First calculate the edge weights of field relationships, and then perform adaptive block partitioning under input length constraints and task constraints. This can avoid the fragmentation of key fields caused by fixed field grouping and make the field block structure adjust with changes in tasks.

[0106] 2. Calculate the priority for each field block and perform parallel scheduling in combination with node load, expected latency and resource consumption. Therefore, parallel processing is not a normal concurrent call, but a resource-constrained scheduling for structured field blocks, which can reduce long-tail latency in batch prediction scenarios.

[0107] 3. Output block-level prediction score, confidence level, main contributing fields and explanatory summary for each field block, and generate cross-block memory summary when the cross-block fragmentation loss exceeds the threshold, thus compensating for information breaks caused by independent block inference.

[0108] 4. The fusion process utilizes block-level prediction scores, block-level confidence, block reliability, inter-block consistency, and cross-block memory summaries simultaneously, and detects and verifies the intensity of inter-block conflicts. Therefore, it is superior to simple average or fixed-weight fusion and can reduce the interference of contradictory field blocks on the final result.

[0109] 5. After the fusion result is obtained, business rules are corrected, and the block weight, block results and rule parameters are updated in reverse according to online feedback, field block contribution and drift index. Therefore, the output result not only meets business constraints, but also has the ability to be continuously corrected.

[0110] For the sake of simplicity, the method embodiments are described as a series of actions. However, those skilled in the art should understand that the embodiments of the present invention are not limited to the described order of actions, because according to the embodiments of the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions involved are not necessarily essential to the embodiments of the present invention.

[0111] This invention provides an adaptive block-parallel processing large model prediction system for structured data, the system including functional modules for implementing the adaptive block-parallel processing large model prediction method for structured data as described in any of the preceding claims. Figure 4 This schematic diagram illustrates the structure of the adaptive block-parallel processing large model prediction system for structured data provided in an embodiment of the present invention. (Refer to...) Figure 4 The system described in this embodiment of the invention includes:

[0112] The data preprocessing module 401 is used to construct a set of field nodes, a field metadata table, and a target task based on the original structured data table, the field description file of the original structured data table, and the application target description file;

[0113] The relational graph construction module 402 is used to construct a field relational graph based on the field node set and the field meta information table. The field relational graph records the field relational edge weights corresponding to each field relational edge.

[0114] Blocking module 403 is used to adaptively divide field blocks based on field relationship graph so that each divided field block meets preset length constraints and task constraints. The task constraints include intra-block field relationship density constraints and inter-block splitting loss constraints.

[0115] The parallel prediction module 404 is used to construct block-level input samples based on each field block and distribute the block-level input samples to different inference nodes to call the preset large model or table-based model in parallel to predict the target task, and obtain the block-level prediction results of each field block. All block-level prediction results constitute the block-level prediction result set, which includes block-level prediction score, confidence, contributing field and block-level explanation summary.

[0116] The cross-block compensation module 405 is used to generate cross-block memory summaries for each field block combination that does not meet the inter-block splitting loss constraint, and obtain a cross-block memory summary set.

[0117] The result fusion module 406 is used to calculate the fusion prediction score based on the block-level prediction result set and the cross-block memory summary set.

[0118] In this embodiment of the invention, the system further includes a rule correction and feedback update module. The rule correction and feedback update module is used to perform business rule correction on the fusion prediction score to obtain the final prediction score, and record the contribution and drift index of each field block to the improvement or error reduction of downstream task indicators; update the fusion weight of the current field block in the next round of prediction according to the contribution of each field block; when the drift index of the field block is greater than or equal to a preset threshold, recalculate the field relationship edge weight and re-divide the field block.

[0119] As the system implementation is basically similar to the method implementation, the description is relatively simple, and relevant parts can be found in the description of the method implementation.

[0120] Furthermore, another embodiment of the present invention provides a computer program product on which a computer program is stored. When the computer program is executed by a processor, it implements the steps in the above embodiment of the adaptive block parallel processing large model prediction method for structured data.

[0121] Furthermore, another embodiment of the present invention provides a computer device including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the steps in the above embodiment of the adaptive block parallel processing large model prediction method for structured data.

[0122] Furthermore, it is understood that although some embodiments herein include certain features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention and form different embodiments. For example, any of the claimed embodiments can be used in any combination.

[0123] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for adaptive chunked parallel processing of large model prediction of structured data, characterized in that, The method includes: Based on the original structured data table and the field description file and application target description file of the original structured data table, construct the field node set, field meta information table and target task; A field relationship graph is constructed based on the field node set and the field meta information table. The field relationship graph records the field relationship edge weights corresponding to each field relationship edge. Adaptive field block partitioning is performed based on the field relationship graph to ensure that each partitioned field block meets the preset length constraints and task constraints. The task constraints include the intra-block field relationship density constraints and inter-block splitting loss constraints. Block-level input samples are constructed based on each field block, and the block-level input samples are distributed to different inference nodes to perform target task prediction by calling the preset large model or table-based model in parallel, so as to obtain the block-level prediction results of each field block. All block-level prediction results constitute the block-level prediction result set, which includes block-level prediction score, confidence, contributing field and block-level explanation summary. For each field block combination that does not satisfy the inter-block splitting loss constraint, generate a cross-block memory summary to obtain a cross-block memory summary set; The fusion prediction score is calculated based on the block-level prediction result set and the cross-block memory summary set.

2. The method of claim 1, wherein, Based on the original structured data table and its field description files and application target description files, construct a set of field nodes, a field metadata table, and target tasks, including: Perform category coding, missing value handling, unit unification, and outlier handling on each field in the original structured data table to form a set of field nodes; Based on the field description file, generate field metadata for each field in the field node set to form a field metadata table; Determine the target tasks based on the application target specification document.

3. The method of claim 1, wherein, Construct a field relationship graph based on the field node set and the field metadata table, including: Construct an initial field relationship graph based on the set of field nodes; Based on the business rule file of the field meta information table, the original structured data table, and the historical prediction results, establish field relationship evidence vectors for any field relationship edge in the initial field relationship graph; Calculate the field relationship edge weight of the corresponding field relationship edge based on the field relationship evidence vector of each field relationship edge in the initial field relationship graph; In the initial field relation graph, valid reserved edges satisfying edge weight threshold values of the field relation edge weights are reserved to construct a formal field relation graph ; wherein, is a field node set, is a field relation edge set, is an edge weight matrix.

4. The method of claim 1, wherein, Adaptive field block partitioning is performed based on the field relationship graph to ensure that each partitioned field block meets preset length and task constraints, including: The fields in the field relationship diagram are divided into field blocks based on a preset block division objective function, which is as follows: ; The constraints are: ; in, For field blocks The input length, This represents the maximum allowed input length for the model. The length is defined by the model task description and output format constraints. For field relationship edges The corresponding field relationship edge weight, Represents field blocks The tightness of relationships between fields within a block. Indicates a length occupancy penalty; This represents the inter-block splitting loss caused by strong relation edges being split into different field blocks, where a strong relation edge refers to the edge weight of the field relation. Greater than or equal to the preset strong relation edge weight threshold Field relationship edge, This indicates that all fields are fast. and These are the weighting coefficients; This is an indicator function.

5. The method according to claim 4, characterized in that, The target task includes the task type and target fields; The method further includes: During the field block partitioning process, field nodes that have field relationship edges with the target fields of the target task and whose corresponding field relationship edge weights are not lower than a preset target relevance threshold, field nodes whose historical contribution to the target task is higher than a preset contribution threshold, and / or field nodes marked as key fields in the field description file of the original structured data table are designated as high-retention weight nodes. Furthermore, high-retention weight nodes are prioritized, and the field relationship edge weights between them are given to nodes that are greater than or equal to a preset strong relationship edge weight threshold. The field nodes are assigned to the same field block.

6. The method according to claim 1, characterized in that, Block-level input samples are constructed based on each field block, and these block-level input samples are distributed to different inference nodes, including: Construct block-level input samples for field blocks. Block-level input samples include block identifier, field name, field value, field explanation, time window marker, missing marker, and inference task description. The inference priority of the current field block is determined based on its relevance to the target task, whether it contains key fields recorded in the field description file, data timeliness, and expected inference cost. The field block tasks are sorted according to their inference priority, and the inference batch for each field block is determined. Obtain the node resource status of each inference node, and in order of task sorting, allocate the field block tasks in the current inference batch to the inference node with the best node resource status, prioritizing the field blocks with high inference priority.

7. The method according to claim 1, characterized in that, For each combination of field blocks that does not satisfy the inter-block splitting loss constraint, generate a cross-block memory summary, including: A cross-block memory summary is generated based on the set of main contributing fields of the two field blocks in the field block combination, the block-level interpretation summary, and the set of strong relation edges between the two field blocks.

8. The method according to claim 1, characterized in that, The fused prediction score is calculated based on the block-level prediction result set and the cross-block memory summary set, including: The fusion prediction score is calculated based on block-level prediction score, block-level confidence, field block reliability, inter-block consistency, and cross-block memory digest. Perform inter-block conflict detection; when there is inter-block splitting loss between two field blocks... If the block-level prediction results are opposite or there are contradictions between the block-level interpretation summaries when the value is greater than or equal to the preset splitting loss threshold, a conflicting field block is formed. The inference priority of the current field block is determined based on its relevance to the target task, whether it contains key fields recorded in the field description file, data timeliness, and expected inference cost. For detected conflicting field block combinations, the review order is determined according to the inference priority of each conflicting field block. The conflicting field block combinations are merged into a review block, and the corresponding cross-block memory digest is added to the review input before re-executing the inference. If conflicts still exist after re-inference, a manual review mark is output.

9. The method according to claim 8, characterized in that, The method further includes: The business rules are applied to the fusion prediction score to obtain the final prediction score, and the contribution and drift of each field block to the improvement or error reduction of downstream task indicators are recorded. Update the fusion weight of the current field block in the next round of prediction based on the contribution of each field block: When the drift index of a field block is greater than or equal to a preset threshold, the field relationship edge weights are recalculated and the field blocks are re-divided.

10. A large-scale model prediction system for adaptive block-based parallel processing of structured data, characterized in that, The system includes: The data preprocessing module is used to construct a set of field nodes, a field metadata table, and target tasks based on the original structured data table, the field description file of the original structured data table, and the application target description file; The relationship graph construction module is used to construct a field relationship graph based on the field node set and the field meta information table. The field relationship graph records the field relationship edge weights corresponding to each field relationship edge. The block segmentation module is used to adaptively divide field blocks based on the field relationship graph, so that each divided field block meets the preset length constraints and task constraints. The task constraints include the field relationship density constraints within the block and the fragmentation loss constraints between blocks. The parallel prediction module is used to construct block-level input samples based on each field block and distribute the block-level input samples to different inference nodes to call the preset large model or table-based model in parallel to predict the target task and obtain the block-level prediction results of each field block. All block-level prediction results constitute the block-level prediction result set, which includes block-level prediction score, confidence, contributing field and block-level explanation summary. The cross-block compensation module is used to generate cross-block memory summaries for each combination of field blocks that does not meet the inter-block splitting loss constraint, thus obtaining a set of cross-block memory summaries. The results fusion module is used to calculate the fused prediction score based on the block-level prediction result set and the cross-block memory summary set.