A data synthesis method, a data synthesis device, and a computer storage medium

By employing a multi-level synthesis strategy and a dynamic upgrade mechanism, the synthesis path is intelligently selected based on the difficulty of the problem and the initial synthesis quality. This solves the problems of resource waste and insufficient data quality in the training of mathematical step-by-step correction models, and achieves efficient and accurate data synthesis.

CN123180355APending Publication Date: 2026-11-27IFLYTEK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611395318.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-09
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In the training of mathematical step-by-step grading models, existing technologies suffer from high costs and significant resource waste in synthesizing high-quality data, while low-cost solutions result in insufficient data quality, making it impossible to effectively balance computational costs and data quality.

Method used

A multi-level synthesis strategy and dynamic upgrade mechanism are adopted. The synthesis path is intelligently selected based on the difficulty of the question and the initial synthesis quality. Through preliminary quality inspection and upgrading of the synthesis level, combined with multi-model voting, the injection of small sample cases into the thinking chain, and complete pipeline iteration, the synthesis strategy is dynamically adjusted to optimize data quality and efficiency.

Benefits of technology

It achieves the most economical synthesis path selection under different problem difficulties, avoids resource waste and insufficient quality, improves the accuracy and efficiency of data synthesis, and ensures the reliability and consistency of data quality through multi-dimensional quality inspection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123180355A_ABST
    Figure CN123180355A_ABST
Patent Text Reader

Abstract

The application provides a data synthesis method, a data synthesis device and a computer storage medium. The data synthesis method comprises the following steps: obtaining subject data to be processed; performing preliminary synthesis on the subject data according to a preset synthesis level strategy to obtain a preliminary synthesis result; performing quality inspection pipeline evaluation on the preliminary synthesis result to obtain a comprehensive quality inspection score; determining an upgraded synthesis level strategy when the comprehensive quality inspection score does not satisfy a quality inspection condition; performing re-synthesis on the subject data according to the upgraded synthesis level strategy until the comprehensive quality inspection score satisfies the quality inspection condition or a maximum iteration number is reached; and outputting a final synthesis result of the subject data. Through the above data synthesis method, the most economical synthesis path can be intelligently selected according to the actual difficulty of the subject and the preliminary synthesis quality, resource waste is avoided, and the synthesis quality of complex subjects is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of artificial intelligence data generation technology, and in particular to a data synthesis method, a data synthesis apparatus, and a computer storage medium. Background Technology

[0002] With the increasing application of large-scale modeling technology in education, the demand for high-quality labeled data for training mathematical step-by-step grading models is growing. Both the Supervised Fine-Tuning (SFT) and Reinforcement Learning from Human Feedback (RLHF) stages of model training require a large amount of training data containing multi-dimensional labeled information such as step-level grading results, error analysis, and score mapping. However, the following pain points exist in the actual data synthesis process: High-quality data synthesis (such as multi-round iterative grading) requires calling a complete grading pipeline, with each data point processing time reaching 5-10 minutes, resulting in high costs. However, not all problems require the highest-level synthesis strategy—simple calculation problems can obtain reliable results within 5-30 seconds through multi-model voting, while complex geometric proofs or multi-step reasoning problems require deep iteration to ensure data quality. Existing solutions typically employ a uniform synthesis strategy, either using high-cost solutions throughout, leading to resource waste (e.g., using a complete pipeline for simple problems, increasing time by 10-20 times), or using low-cost solutions throughout, resulting in insufficient data quality for complex problems (a 15-20% decrease in grading accuracy). Summary of the Invention

[0003] To address the aforementioned technical problems, this application proposes a data synthesis method, a data synthesis apparatus, and a computer storage medium.

[0004] To address the aforementioned technical problems, this application proposes a data synthesis method, which includes: Obtain the problem data to be processed; The question data is initially synthesized according to the preset synthesis hierarchy strategy to obtain preliminary synthesis results; The preliminary synthesis results are evaluated using a quality control pipeline to obtain a comprehensive quality control score. When the overall quality inspection score does not meet the quality inspection conditions, a strategy for upgrading the synthesis level is determined. The question data is resynthesized according to the upgraded synthesis hierarchy strategy until the comprehensive quality inspection score meets the quality inspection conditions or the maximum number of iterations is reached. Output the final synthesized result of the problem data.

[0005] The synthesis hierarchy strategy includes a first level, a second level, and a third level. The first level uses a multi-model step-level voting strategy for synthesis; the second level uses an enhanced voting strategy with a thought chain and injects few sample cases into a third-party model; and the third level uses a deep iteration strategy with a complete pipeline for synthesis. The preset synthesis hierarchy strategy is determined based on user instructions or the historical synthesis strategy of the domain to which the question data belongs.

[0006] The injection of few-sample cases into a third-party model includes: Use text similarity to retrieve the most similar cases of the given question data from the case library by dimension; Format the most similar case; The formatted case is injected as a prefix into the prompt words of the third-party model.

[0007] The step of performing a quality control pipeline evaluation on the preliminary synthesis results to obtain a comprehensive quality control score includes: The assessment is performed in parallel across four independent dimensions: advanced grading, basic grading, question type modality, and step classification. Based on the results of the higher-order correction, an evaluation is performed on two dimensions: mapping score and error cause score. The confidence scores for consistency, classification, and / or error analysis are calculated by cross-validating the evaluation results of the above dimensions, and then aggregated into the comprehensive quality inspection score based on preset weights.

[0008] The calculation of score consistency confidence, step classification confidence, and / or error cause analysis confidence through cross-validation of the evaluation results of the above dimensions includes: The confidence level of score consistency is calculated based on the difference rate among the higher-order grading score rate, the basic grading score rate, and the mapped score rate. The confidence level of the step classification is calculated based on the ratio of the number of consistent steps between the results of higher-order grading steps and the results of step classification to the total number of steps. The confidence level of the error cause analysis is obtained based on the mapping result of the original error cause score.

[0009] The quality inspection conditions include a first quality inspection threshold and a second quality inspection threshold, wherein the first quality inspection threshold is less than the second quality inspection threshold; When the overall quality inspection score does not meet the quality inspection conditions, the strategy for determining the upgrade synthesis level includes: When the overall quality inspection score is higher than the first quality inspection threshold and lower than the second quality inspection threshold, the upgraded synthesis level strategy is determined to be a higher-level strategy than the preset synthesis level strategy. When the overall quality inspection score is lower than the first quality inspection threshold, the upgraded synthesis level strategy is determined to be the highest level strategy.

[0010] The step of re-synthesizing the question data according to the upgraded synthesis hierarchy strategy includes: Construct structured correction prompt information, wherein the prompt information includes the dimension name, confidence value and problem description of the dimension that does not meet the quality inspection conditions; The structured correction prompt information is then injected into the prompt words synthesized in the next round; The step of re-synthesizing the question data based on the prompt words and the upgraded synthesis hierarchy strategy.

[0011] Before obtaining the question data to be processed, the process also includes: The field normalization layer maps field names from different source systems to a unified standard field name. Define a unified policy interface to support the access of different output formats for policies at different synthesis levels; Based on field-level pattern orchestration, the answer and thought chain are configured as independent fields with separate processing modes, and the processing mode is automatically inferred based on the existence of data.

[0012] To address the aforementioned technical problems, this application also proposes a data synthesis apparatus, which includes a memory and a processor coupled to the memory; wherein the memory is used to store program data, and the processor is used to execute the program data to implement the data synthesis method as described above.

[0013] To address the aforementioned technical problems, this application also proposes a computer storage medium for storing program data, which, when executed by a computer, is used to implement the aforementioned data synthesis method.

[0014] Compared with the prior art, the beneficial effects of this application are: by introducing a multi-level synthesis strategy and a dynamic upgrade mechanism, the system can intelligently select the most economical synthesis path according to the actual difficulty of the problem and the initial synthesis quality, avoiding the waste of resources caused by using a high-cost strategy for all problems, and also preventing insufficient quality caused by using a low-cost strategy for complex problems. Attached Figure Description

[0015] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of 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. Wherein: Figure 1 This is a flowchart illustrating the first embodiment of the data synthesis method provided in this application; Figure 2 This is a schematic diagram of the overall process of the multi-level data synthesis scheme provided in this application; Figure 3 This is a flowchart illustrating the second embodiment of the data synthesis method provided in this application; Figure 4 This is a flowchart illustrating the third embodiment of the data synthesis method provided in this application; Figure 5 This is a schematic diagram of the architecture of the three-stage parallel quality inspection pipeline provided in this application; Figure 6 This is a flowchart illustrating the fourth embodiment of the data synthesis method provided in this application; Figure 7 This is a flowchart illustrating the fifth embodiment of the data synthesis method provided in this application; Figure 8 This is a schematic diagram of an embodiment of the data synthesis apparatus provided in this application; Figure 9 This is a schematic diagram of the structure of an embodiment of the computer storage medium provided in this application. Detailed Implementation

[0016] 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 a part of the embodiments of this application, and not all of the 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 scope of protection of this application.

[0017] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a particular order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the application described herein can be implemented, for example, in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0018] This application provides a multi-level data synthesis method based on quality feedback. The core of this method lies in dynamically adjusting the synthesis strategy through automated quality inspection and evaluation, thereby balancing data quality and computational cost. Please refer to the details below. Figure 1 and Figure 2 , Figure 1 This is a flowchart illustrating the first embodiment of the data synthesis method provided in this application. Figure 2 This is a schematic diagram of the overall process of the multi-level data synthesis scheme provided in this application.

[0019] The data synthesis method of this application is applied to a data synthesis apparatus, which can be a server, a terminal device, or a system in which the server and the terminal device cooperate with each other. Accordingly, the various parts of the data synthesis apparatus, such as each unit, subunit, module, and submodule, can all be set in the server, all in the terminal device, or separately in the server and the terminal device.

[0020] Furthermore, the aforementioned server can be either hardware or software. When the server is hardware, it can be implemented as a distributed server cluster consisting of multiple servers, or as a single server. When the server is software, it can be implemented as multiple software programs or software modules, such as software or software modules used to provide distributed server functionality, or as a single software program or software module; no specific limitations are made here.

[0021] like Figure 1 As shown, the specific steps are as follows: Step S11: Obtain the question data to be processed.

[0022] In this embodiment of the application, the application obtains the question data to be processed as input, specifically manifested as one type of data: question text (question), student answer (user_answer), standard answer (std_answer), and full score (full_score).

[0023] Step S12: Perform preliminary synthesis of the question data according to the preset synthesis hierarchy strategy to obtain preliminary synthesis results.

[0024] In the embodiments of this application, the application performs preliminary synthesis according to a preset synthesis hierarchy strategy. The synthesis hierarchy strategy provided by this application includes, but is not limited to: the first level (L1) adopts a fast synthesis strategy with multi-model step-level voting, the second level (L2) adopts an enhanced voting strategy with a thought chain and injects few sample cases, and the third level (L3) adopts a deep iteration strategy with a complete pipeline.

[0025] Step S13: Conduct a quality control pipeline evaluation on the preliminary synthesis results to obtain a comprehensive quality control score.

[0026] In this embodiment, after obtaining the preliminary synthesis result, the result is evaluated using a quality control pipeline. This pipeline includes multiple evaluation dimensions, performing parallel evaluations of independent dimensions such as advanced grading, basic grading, question type modality, and step classification. Mapping scoring and error cause scoring are then performed based on the advanced grading results. Subsequently, cross-validation is used to calculate the confidence levels of score consistency, step classification, and error cause analysis, and these are aggregated based on preset weights to obtain a comprehensive quality control score.

[0027] Step S14: When the overall quality inspection score does not meet the quality inspection conditions, determine the strategy for upgrading the synthesis level.

[0028] In this embodiment, when the overall quality inspection score does not meet the quality inspection conditions, this application determines an upgrade strategy for the synthesis level. The quality inspection conditions may include multiple threshold levels. If the score is below a lower threshold, it is directly upgraded to the highest level; if the score is between two threshold levels, it is upgraded to the next higher level.

[0029] Step S15: Re-synthesize the question data according to the upgrade synthesis level strategy until the comprehensive quality inspection score meets the quality inspection conditions or the maximum number of iterations is reached.

[0030] In this embodiment, the application resynthesizes according to the upgraded strategy, and constructs the dimensions that did not meet the standards in the quality inspection report and their confidence levels as structured correction prompts, which are then injected into the prompts in the next round of synthesis until the score meets the standard or the maximum number of iterations is reached, and then outputs the final result.

[0031] Step S16: Output the final synthesized result of the problem data.

[0032] The data synthesis method in this application is as follows: Figure 2As shown, firstly, in response to a grading request initiated by the user, this application obtains the raw data containing the question text and stage identifier, and maps the heterogeneous fields to a standard data structure through a normalization layer. Subsequently, the Mode Orchestrator engine is invoked to automatically determine the execution mode of the current request based on the complexity features and context information in the standard data structure: if it is determined that only quality review is required, it directly enters the quality inspection pipeline; if it is determined that data synthesis is required, it dynamically routes to one of three parallel synthesis levels according to a preset complexity grading strategy. Specifically, the first level (L1) uses multi-model parallel reasoning and a voting mechanism to synthesize the final answer; the second level (L2) uses an end-to-end generation method to synchronously synthesize the final answer and its corresponding CoT (CoT); the third level (L3) constructs a multi-level iterative pipeline, generating a high-confidence CoT after closed-loop correction by executing semantic parsing, scheme planning, calculation verification, and self-reflection step by step. Specifically, both the second and third levels employ a thought chain synthesis strategy, and the third level includes a roll-back mechanism based on intermediate state feedback.

[0033] After data synthesis, this application triggers a three-stage parallel quality inspection pipeline to perform multi-dimensional quality assessment of the generated results. In the first stage, the pipeline concurrently starts high-level grading units and basic grading units to obtain deep semantic evaluation results and lightweight rule evaluation results, respectively; simultaneously, it executes question type modality classification and structured decomposition of problem-solving steps in parallel to extract the weighting factors and positioning labels required for subsequent scoring. In the second stage, based on the results of the high-level grading, it concurrently executes mapping scoring and error attribution scoring to generate a structured quality evaluation vector. In the third stage, it aggregates the outputs of all the aforementioned dimensions, calculates the confidence scores for score consistency, step classification, and error analysis, and generates a comprehensive quality score (qa_score) using a weighted summation algorithm. This application incorporates a recommendation engine that compares the comprehensive quality score with a preset threshold: if the score is greater than or equal to the threshold, the current synthesis level is maintained; if the score is lower than the threshold, a level upgrade instruction is automatically generated, triggering a higher-level synthesis strategy for regeneration. Finally, this application integrates the aforementioned thought chain, comprehensive quality score, recommendation level tags, and quality inspection report to construct a unified standardized response data structure, and returns the data structure to the user end to complete the adaptive synthesis and quality closed-loop control of the math grading data.

[0034] This application's method introduces a multi-level synthesis strategy and a dynamic upgrade mechanism, enabling the system to intelligently select the most economical synthesis path based on the actual difficulty of the problem and the initial synthesis quality. This avoids resource waste caused by using high-cost strategies for all problems, while also preventing insufficient quality due to using low-cost strategies for complex problems. By constructing a parallel quality inspection pipeline with multiple evaluation dimensions, cross-validation of scoring consistency, step classification accuracy, and error cause analysis quality is achieved, enabling accurate detection of deep-seated quality issues and further improving the accuracy and reliability of the synthesized data. By constructing the specific information of the non-compliant dimensions in the quality inspection report as structured correction prompts and injecting them into the next round of synthesis, the model can selectively optimize output quality, achieving targeted iterative optimization rather than blind retries, effectively shortening the number of iterations and improving synthesis efficiency. Through field normalization and unified interface abstraction, synthesis systems at different levels can be seamlessly integrated and automatically orchestrated, which helps reduce system maintenance complexity and supports flexible expansion.

[0035] The first, second, and third levels proposed in the data synthesis method of the above embodiments constitute differentiated synthesis paths for problems of different difficulty and complexity.

[0036] The first level employs a multi-model step-level voting strategy. This strategy involves parallel invocation of a self-developed mathematical grading model and N third-party large models. Step vectors are extracted from the outputs of each model, and a majority vote is conducted at the step level to determine the final result. In case of a tie, the self-developed model is given priority. This strategy is suitable for simple calculation problems and other scenarios with low requirements for reasoning depth, and can complete processing within 5 to 30 seconds.

[0037] The second level employs an enhanced voting strategy with a thought chain mechanism. Specifically, this can be implemented by enabling a thought chain generation mode when calling a self-developed model, outputting a mixed-format result that includes the reasoning process. Simultaneously, few-sample cases are injected into a third-party model. This injection process can involve using a text similarity algorithm to retrieve the most similar case from the case library to the current problem, formatting it, and then appending it as a prefix to the third-party model's prompts. This strategy is suitable for medium-difficulty algebra or basic geometry problems, improving logical consistency through thought chains and enhancing adaptability to specific solutions through few-sample learning.

[0038] The third level employs a deep iteration strategy with a complete pipeline. Its implementation may include calling a complete grading pipeline containing multiple sub-task modules to perform multiple rounds of deep reasoning and cross-validation. This strategy is suitable for complex geometric proofs or multi-step reasoning problems; while processing a single data point is time-consuming, it guarantees high-quality results.

[0039] The selection of synthesis level strategies for the above three levels can be determined by either directly receiving user instructions to specify the level, or by automatically matching and recommending strategies based on historical synthesis strategy records of the problem data's domain (such as junior high school algebra, senior high school geometry, etc.). Historical synthesis strategies can record past synthesis level selections and corresponding quality control scores for problems in that domain, thus providing initial level suggestions for new problems.

[0040] This application's method employs a first-level multi-model step-by-step voting strategy, enabling simple problems to quickly obtain reliable results, significantly reducing processing time and computational costs. The second level, an enhanced voting strategy incorporating thought chains and injecting few-sample cases, allows medium-difficulty problems to leverage thought chains to enhance the coherence of logical reasoning. Simultaneously, few-sample cases improve the model's accuracy in recognizing unconventional solutions or specific problem patterns, thereby enhancing the logical correctness and generalization ability of the synthesized data. The third level, a complete pipeline-based deep iteration strategy, ensures that complex problems undergo multiple rounds of deep reasoning and cross-validation, guaranteeing the accuracy of the complex multi-step reasoning process and ensuring high-quality final data. By pre-setting the synthesis level strategy based on user instructions or historical synthesis strategies, the system can flexibly adapt to different user needs. Utilizing the intelligent decision-making capabilities accumulated from historical data, it automatically matches appropriate initial synthesis levels for problems in different domains, avoiding resource waste or insufficient quality caused by blindly selecting levels, thus achieving an optimal balance between synthesis efficiency and quality.

[0041] This application further specifies the concrete implementation method for injecting few-sample cases into third-party models in the second-level synthesis layer strategy. Please refer to [link / reference] for details. Figure 3 , Figure 3 This is a flowchart illustrating the second embodiment of the data synthesis method provided in this application.

[0042] like Figure 3 As shown, the specific steps are as follows: Step S21: Use text similarity to retrieve the most similar cases of the question data from the case library by dimension.

[0043] In this embodiment, text similarity can refer to the degree of similarity between the input question and questions in the case library, calculated using a sequence matching algorithm. Specifically, the method in this application uses the difflib.SequenceMatcher library to calculate the ratio between two strings to quantify the similarity between questions.

[0044] Dimensional retrieval refers to searching the case library for multiple specific evaluation dimensions, which may include step-by-step dimensions, error cause dimensions, scoring dimensions, and thought process chain dimensions. For each dimension, the top K cases most similar to the features of that dimension are retrieved.

[0045] Step S22: Format the most similar case.

[0046] In this embodiment, formatting the most similar case refers to converting the retrieved raw case data into a structured text format that the model can recognize. The formatting process includes extracting the question text, student answers, key step error corrections, scores, and thought chain content from the case, and concatenating them according to a predefined template, such as using [dimensional identifier] as the title, followed by the specific content of the question, answer, correction results, scores, and thought chain. Cases of different dimensions are separated by line breaks.

[0047] Step S23: Inject the formatted case as a prefix into the prompt words of the third-party model.

[0048] In this embodiment, the formatted cases are injected as prefixes into the prompts sent to the third-party model. This means that these structured case texts are appended to the beginning of the prompts sent to the third-party model, allowing the model to refer to these similar, few-sample examples before generating a response, thereby guiding the model to output more expected correction results. This injection method is only performed on third-party models; self-developed models do not undergo this injection step.

[0049] For example, when the problem involves geometric proofs, this application calculates the similarity between the problem text and geometric problems in the case library, retrieves the top 3 most similar geometric proof cases, extracts their steps, error reasons, scores, and thought chain dimension data, formats them into four text blocks, concatenates them and sends them as a prefix to a third-party large language model to guide it to generate grading results that conform to the logic of geometric proofs.

[0050] This application's method injects formatted, most similar cases as prefixes by retrieving them along each dimension. This allows third-party models to reason based on high-quality historical cases highly relevant to the current question, thereby improving the relevance and effectiveness of few-shot learning. By retrieving cases from multiple dimensions such as steps, error causes, scores, and thought processes, the model can reference the handling methods of similar questions from different perspectives, which helps improve the consistency of the synthesized results across multiple evaluation dimensions. By injecting formatted cases as prefixes as prompts, the model directly references the structure and content of few-shot examples during the generation process, achieving more accurate step judgments and error cause analysis, and reducing quality issues caused by model comprehension biases.

[0051] based on Figure 1 In step S13 of the method shown, this application further provides a three-stage parallel quality inspection pipeline, which combines multi-stage, multi-dimensional parallel and serial evaluation, and calculates confidence scores through cross-validation. Please refer to the following for details. Figure 4 and Figure 5 , Figure 4 This is a flowchart illustrating the third embodiment of the data synthesis method provided in this application. Figure 5 This is a schematic diagram of the architecture of the three-stage parallel quality inspection pipeline provided in this application.

[0052] like Figure 4 As shown, the specific steps are as follows: Step S31: Perform evaluations in parallel across four independent dimensions: advanced grading, basic grading, question type modality, and step classification.

[0053] In the embodiments of this application, advanced grading can refer to a grading process that has been verified by deep reasoning or expert rules, basic grading can refer to preliminary grading based on simple rules or lightweight models, question type modality assessment can refer to the identification and adaptation assessment of question types (such as calculation, geometry, algebra) and modalities (such as text, formula, graph), and step classification can refer to the logical decomposition and classification of students' answer steps.

[0054] The evaluation of these four dimensions is initiated simultaneously using a multi-threaded or parallel computing framework to shorten the overall evaluation time.

[0055] Step S32: Based on the results of the higher-order grading, perform an evaluation of the two dimensions of mapping score and error cause score.

[0056] In this embodiment, mapping scoring can refer to the scoring logic verification that maps step-level judgments to final scores, and error cause scoring can refer to the accuracy scoring of error cause analysis. This step relies on the results of higher-order grading because higher-order grading provides more accurate judgments of step correctness and error, which is the basis for subsequent fine-grained scoring and error cause analysis.

[0057] Step S33: Calculate the confidence level of score consistency, confidence level of step classification, and / or confidence level of error cause analysis by cross-validating the evaluation results of the above dimensions, and aggregate them into a comprehensive quality inspection score based on preset weights.

[0058] In this embodiment, the confidence level of scoring consistency can be determined by calculating the difference rate among the higher-order grading score rate, the basic grading score rate, and the mapped score rate. The smaller the difference rate, the higher the consistency and the higher the confidence level. The confidence level of step classification can be determined by calculating the ratio of consistent steps in the higher-order grading step results to the total number of steps in the step classification results. The confidence level of error cause analysis can be obtained by inputting the raw scores of error cause scoring into a Sigmoid function for mapping and normalizing them to between 0 and 1.

[0059] This application uses a weighted aggregation of the three confidence levels based on preset weights (e.g., 0.4 for confidence level of scoring consistency, 0.3 for confidence level of step classification, and 0.3 for confidence level of confidence level of error cause analysis) to obtain a comprehensive quality inspection score.

[0060] The preset weights can be adjusted according to actual needs to adapt to different scenarios and their emphasis on scoring, steps, or error analysis.

[0061] For example, to calculate the confidence level of scoring consistency, we can set the higher-order grading score to 80, the basic grading score to 75, and the mapped score to 78, calculate the score rate difference, and then derive the confidence level. For the confidence level of step classification, if a question has 5 steps, and the higher-order grading determines 4 steps are correct, and the step classification also determines these 4 steps are correct, then the number of consistent steps is 4, the total number of steps is 5, and the ratio is 0.8. For the confidence level of error cause analysis, if the original error cause score is 2.0, after mapping using the Sigmoid function, we obtain a confidence level of approximately 0.88. These embodiments specifically demonstrate the implementation methods of the technical features.

[0062] Specifically, such as Figure 5 As shown, in the first stage, in response to the data to be inspected output by the data synthesis module, this application immediately launches four independent processing branches in parallel: the first branch is a high-order grading branch, which calls a high-computing-power large language model to perform deep semantic understanding and logical deduction on the data to be inspected, generating a deep grading result containing detailed comments and sub-item scores, and marking this branch as a global critical path; the second branch is a basic grading branch, which uses a lightweight rule engine or small parameter model to quickly judge the data to be inspected and generate basic right and wrong labels; the third branch is a question type modality analysis branch, which uses a classifier to extract the question type labels to which the data to be inspected belongs; the fourth branch is a step classification branch, which uses a sequence labeling algorithm to deconstruct the problem-solving process in the data to be inspected into an atomic sequence of steps.

[0063] In the second stage, this application uses the output of the higher-order grading branch in the first stage as the only prerequisite condition. Once the higher-order grading result is ready, two parallel subtasks are immediately triggered: one is a mapping scoring task, which combines the question type label and the step sequence to map the qualitative comments of the higher-order grading into structured quantitative scores; the other is an error cause scoring task, which integrates the higher-order grading result and the basic grading result to perform attribution analysis on the root causes of the student's answers and generate error cause analysis confidence.

[0064] In the third stage, this application collects all intermediate calculation results generated in the first and second stages and performs multi-dimensional confidence aggregation calculation. Specifically, this application first calculates three independent confidence indices based on the higher-order grading results, the basic grading results, the step sequence, and the question type labels: first, the scoring consistency confidence (merge_answer_conf), which characterizes the degree of consistency of the final answer under multi-source evaluation; second, the step classification confidence (step_conf), which characterizes the completeness and rationality of the problem-solving step sequence at the logical chain level; and third, the error cause analysis confidence (cuoyin_conf), which characterizes the reliability of the attribution conclusions output by the error cause scoring task.

[0065] Subsequently, based on the question type labels output by the question type modal analysis branch, this application dynamically invokes the weight allocation strategy corresponding to the question type, and performs a weighted summation operation on the confidence scores of scoring consistency, step classification, and error cause analysis to generate a comprehensive quality score (qa_comprehensive score) that fully reflects the overall quality of the grading results. This comprehensive quality score serves both as the basis for determining the hierarchical advancement or demotion of the downstream recommendation engine and as the core quantitative indicator of the quality report in the unified response construction module.

[0066] This application's method, by parallelizing the evaluation of four independent dimensions—high-level grading, basic grading, question type modality, and step classification—fully utilizes computational resources, significantly reducing the quality inspection time for individual data points and improving the overall throughput of data synthesis. By performing mapping scoring and error cause scoring based on the results of high-level grading, fine-grained scoring and error cause analysis are built upon more accurate step judgments, further improving the accuracy of scoring and error cause analysis. Cross-validation is used to calculate the confidence scores for consistency, step classification, and error cause analysis, enabling the system to mutually verify the quality of the synthesized results from multiple perspectives. This effectively detects deep-seated quality issues such as inconsistencies between scoring and step judgments, and mismatches between error cause analysis and actual errors, further improving the reliability and robustness of the quality inspection results. A comprehensive quality inspection score is obtained through pre-set weighted aggregation, allowing the final quality assessment to comprehensively consider the importance of different dimensions, facilitating a more comprehensive and objective quantification of data quality.

[0067] Furthermore, this application also provides Figure 4 and Figure 5 The specific calculation methods for the three key confidence levels are used to quantify data quality by employing cross-validation logic between different evaluation dimensions.

[0068] The confidence score for consistency is calculated based on the difference rate between the higher-order graded score rate, the basic graded score rate, and the mapped score rate. The formula for calculating merge_score_conf (confidence score for consistency) is as follows: model_diff_rate = |High-order graded score rate - Basic graded score rate| qwen_diff_rate = |Advanced Grading Score Rate - Mapped Grading Score Rate| merge_score_conf=((1-model_diff_rate)+(1-qwen_diff_rate)) / 2 Among them, the advanced grading score rate can refer to the ratio of the score obtained after grading through deep reasoning or expert rule verification to the full score; the basic grading score rate can refer to the ratio of the score obtained after preliminary grading based on simple rules or lightweight models to the full score; and the mapping score rate can refer to the matching ratio of the total score to the full score and the standard answer score after mapping the step-level judgment logic to the final total score.

[0069] The difference rate can be calculated by taking the absolute difference between each pair of score rates. For example, the model difference rate is the absolute value of the difference between the higher-order score rate and the base score rate, or the difference rate is the absolute value of the difference between the higher-order score rate and the mapped score rate. The confidence level can then be calculated using a formula. The smaller the difference, the higher the confidence level.

[0070] The step classification confidence score is calculated based on the ratio of the number of steps where the higher-order grading steps and the step classification results are consistent to the total number of steps. The formula for calculating step_conf (step classification confidence score) is as follows: step_conf = Number of steps where the results of higher-order grading steps are consistent with the results of step classification / Total number of steps The higher-order correction steps result can refer to the sequence of correctness judgments for each problem-solving step, while the step classification result can refer to the classification result of the logical type or correctness of each step. The consistent step number can refer to the number of steps whose judgments are completely identical, and the total number of steps can refer to the total number of valid problem-solving steps contained in the problem. This ratio directly reflects the consistency between the step judgments and the classification logic.

[0071] The confidence score for error cause analysis is obtained based on the mapping result of the original error cause scores. The formula for calculating cuoyin_conf (confidence score for error cause analysis) is as follows: cuoyin_conf=sigmoid(original score for error cause assessment) sigmoid(x) = 1 / (1 + e^(-x)) The original score of the error cause score can refer to the score given by the independent evaluation module on the degree of matching between the error cause analysis text generated by the model and the real error cause. The mapping result can be processed by inputting the original score into the Sigmoid function. The Sigmoid function can map any real number to the interval between 0 and 1, thereby obtaining a standardized confidence value.

[0072] For example, to assess the confidence level of scoring consistency, we can set the higher-order grading score to 90, the basic grading score to 85, and the mapped score to 88, then calculate the difference in each score rate to obtain a higher confidence level. For the confidence level of step classification, if the question has four steps, and the higher-order grading and step classification are consistent in three steps, the ratio is 0.75. For the confidence level of error cause analysis, if the original error cause score is 2.5, after mapping using the Sigmoid function, we obtain a confidence level of approximately 0.92.

[0073] Finally, the formula for calculating the QA_Comprehensive Score (Weighted Comprehensive Quality Inspection Score) is as follows: qa_comprehensive score = w1 × merge_score_conf + w2 × step_conf + w3 × cuoyin_conf This application's method calculates scoring consistency confidence based on the difference rate among high-order grading score rate, basic grading score rate, and mapped score rate. This allows the system to effectively detect deep-seated quality issues where scoring and step judgment logic are inconsistent through cross-validation of three independent scoring sources, thereby further improving the credibility of the scoring results. By calculating step classification confidence based on the ratio of consistent steps between high-order grading step results and step classification results to the total number of steps, the system can quantify the consistency between step-level grading and classification logic, facilitating a more accurate assessment of the accuracy of step judgments. Finally, by obtaining error cause analysis confidence based on the mapping results of the original error cause scores, the system can transform non-standardized error cause scores into a unified confidence index, which helps to objectively reflect the quality of error cause analysis during weighted aggregation, thereby further improving the comprehensiveness and reliability of the overall quality inspection results.

[0074] Furthermore, based on the aforementioned three-stage parallel quality inspection pipeline, this application also provides a dedicated quality inspection strategy for thought chains, namely, designing independent four-dimensional quality inspection for thought chain content generated at the L2 / L3 level: consistency_score (reasoning consistency): Whether the reasoning process of the thought chain is logically consistent with the final answer.

[0075] logic_score (logical correctness): Whether there are logical errors or jumps in the reasoning chain.

[0076] completeness_score: Whether the reasoning covers all the key steps.

[0077] redundancy_score: Whether there is duplicate or irrelevant reasoning content.

[0078] Its calculation formula is as follows: cot_qa_score=(consistency_score+logic_score+completeness_score+redundancy_score) / 4.0 cot_qa_score=clamp(cot_qa_score, 0.0, 1.0) It should be noted that when calculating the comprehensive quality inspection score for the mind chain content generated at the L2 / L3 level, both cot_qa_score and qa_comprehensive score need to be calculated. However, when calculating the synthesis result generated at the L1 level, only qa_comprehensive score needs to be calculated.

[0079] based on Figure 1 In step S14 of the method shown, this application provides a graded judgment mechanism. The proposed first quality inspection threshold and second quality inspection threshold are used to grade the comprehensive quality inspection score in order to match different levels of synthesis strategies.

[0080] For example, the first quality inspection threshold can be 0.5, and the second quality inspection threshold can be 0.7. When the overall quality inspection score is between the first and second quality inspection thresholds, it indicates that the data quality under the current synthesis strategy is acceptable but not optimal, and there is room for further optimization, but there is no need to invest excessive resources. Therefore, it is determined to upgrade the synthesis level strategy to the next higher level strategy of the preset synthesis level strategy.

[0081] For example, if the preset strategy is level one, it is upgraded to level two; if the preset strategy is level two, it is upgraded to level three. This design allows the system to use the lowest-cost strategy possible while ensuring quality. When the overall quality inspection score is lower than the first quality inspection threshold, it indicates that the data quality under the current synthesis strategy is poor, with serious logical errors or deep-seated quality problems such as inconsistent scoring. The synthesis capabilities of lower levels are insufficient to correct these errors, so the synthesis level strategy is upgraded to the highest level.

[0082] For example, regardless of the preset strategy, it directly upgrades to the third level. The third level employs a deep iteration strategy with a complete pipeline, enabling more detailed step-by-step grading and multiple iterations to ensure data accuracy for complex or high-quality problems. By setting two different threshold levels, fine-grained differentiation of the synthesized quality status is achieved, making upgrade decisions more precise and reasonable. Indeed, in batch processing scenarios, the first and second quality inspection thresholds can be configured according to business needs to adapt to different scenarios' trade-offs between quality and cost.

[0083] This application's method sets a first quality inspection threshold and a second quality inspection threshold, enabling the system to intelligently select different levels of synthesis strategies based on varying comprehensive quality inspection scores. When the comprehensive quality inspection score falls between the first and second thresholds, the system upgrades to a higher-level synthesis strategy. This allows for a moderate increase in synthesis depth when quality is not optimal, further improving data quality while avoiding resource waste caused by directly jumping to the highest level. When the comprehensive quality inspection score falls below the first threshold, the system directly upgrades to the highest-level synthesis strategy. This allows for rapid correction of poor-quality synthesis results using the strongest synthesis capabilities, ensuring data accuracy for complex problems or low-quality synthesis results and preventing data quality defects caused by insufficient capabilities of lower-level strategies. This tiered upgrade mechanism achieves a precise match between synthesis resources and data quality requirements, enabling the system to minimize synthesis costs while ensuring data quality.

[0084] based on Figure 1 In step S15 of the method shown, this application further provides an iterative optimization mechanism, which transforms the structured diagnostic information generated in the quality inspection process into executable instructions and feeds them back to the synthetic model to achieve targeted optimization. This realizes the transformation from passive retry to active correction, improving the efficiency of iterative optimization and the quality of the final data.

[0085] Please refer to the details. Figure 6 , Figure 6 This is a flowchart illustrating the fourth embodiment of the data synthesis method provided in this application.

[0086] like Figure 6 As shown, the specific steps are as follows: Step S41: Construct structured correction prompt information, wherein the prompt information includes the dimension name, confidence value and problem description of the dimension that does not meet the quality inspection conditions.

[0087] In this embodiment, the structured correction prompt information refers to a formatted data object, typically containing an identifier of the non-compliant quality inspection dimension, a quantitative confidence score for that dimension, and a natural language or structured description of the problem in that dimension. The confidence score is a numerical value calculated through the quality inspection pipeline, reflecting the reliability of the results for a certain dimension, and typically ranges from 0 to 1. The problem description provides a specific explanation of the reasons for the quality inspection failure in a particular dimension, such as inconsistent scoring logic or missing error analysis.

[0088] This application constructs structured correction prompts. This design aims to address the problem of ambiguous feedback information in traditional retry mechanisms. By extracting the dimension names, confidence values, and problem descriptions of those failing quality inspection, this application transforms black-box quality inspection results into readable white-box instructions. This application not only knows the result is bad, but also clearly knows which step went wrong and the severity of the problem. Example 1 illustrates this: if the scoring consistency confidence level is 0.4, this application constructs a prompt object containing the dimension name `merge_score_conf`, the value 0.4, and a description of a conflict between the scoring and the step-by-step judgment logic.

[0089] Step S42: Inject the structured correction prompt information into the prompt words synthesized in the next round.

[0090] In this embodiment, this design enables the synthetic model to use historical quality inspection results as constraints or references when generating new results. By embedding this information into a Prompt, the model can adjust its inference path and avoid repeating the same errors.

[0091] For example, in deep iterative synthesis at the L3 level, this application automatically appends the problem descriptions with low confidence in the cause analysis found in the previous round of quality inspection to the end of the Prompt, guiding the model to regenerate a more detailed cause analysis.

[0092] Step S43: The step of re-synthesizing the question data based on the prompt words and implementing an upgraded synthesis hierarchy strategy.

[0093] In this embodiment, this design achieves closed-loop automatic optimization. Upon receiving targeted correction prompts, the model can perform targeted corrections instead of blindly retrying. For example, when the step classification confidence is insufficient, the synthetic model more strictly adheres to the step classification criteria during resynthesis, thereby obtaining a higher confidence score in the next round of quality control until a preset threshold is reached.

[0094] This application's method constructs structured correction prompts containing dimension names, confidence values, and problem descriptions that fail to meet quality inspection criteria. This allows the quality inspection results to be parsed and utilized in a structured form, avoiding comprehension biases caused by unstructured feedback. By injecting these structured correction prompts into the prompts for the next round of synthesis, the synthesis model can obtain the specific reasons for failure and improvement directions from the previous round of quality inspection, enabling targeted correction of defects in specific dimensions when regenerating data. Based on the prompts containing correction information, an upgraded synthesis hierarchy strategy is executed to resynthesize the question data. This allows the system to achieve targeted iterative optimization, reducing resource waste caused by blind retries, improving the correction efficiency of the synthesis model, and thus reducing overall synthesis costs and improving data quality while meeting quality inspection criteria.

[0095] Please continue reading. Figure 2 Before or after acquiring the question data to be processed, this application also introduces a field normalization layer to address the heterogeneity issue in field naming across different upstream systems or data sources. Please refer to [link / reference] for details. Figure 7 , Figure 7 This is a flowchart illustrating the fifth embodiment of the data synthesis method provided in this application.

[0096] like Figure 7 As shown, the specific steps are as follows: Step S51: Map field names from different source systems to a unified standard field name through a field normalization layer.

[0097] In this embodiment, field names from different source systems include phase_code, phase, grade, full_score, std_score, etc., while unified standard field names include group, question, user_answer, answer, etc. The field normalization layer automatically converts the original fields from the upstream system into standard field names using a predefined mapping rule table, ensuring consistency in downstream processing logic. The mapping rule table can be stored in a configuration file or in a database for dynamic updates.

[0098] Step S52: Define a unified policy interface to support the access of different output formats of policies at different synthesis levels.

[0099] In the embodiments of this application, a unified policy interface is used to shield the differences in output format between different synthesis level policies.

[0100] For example, the first-level strategy outputs pure JSON format, the second-level strategy outputs a mixed format containing thought chain tags and JSON, and the third-level strategy outputs by sending an event stream from the server.

[0101] A unified strategy interface defines a consistent request parameter structure and response data structure, allowing upper-layer applications to obtain the synthesized result simply by calling the standard interface without needing to concern themselves with the underlying implementation. The strategy interface can be defined based on Python's Protocol class or Java's Interface, and includes method signatures and type hints.

[0102] Step S53: Based on field-level pattern arrangement, configure the processing mode for the answer and the thought chain as independent fields, and automatically infer the processing mode based on the existence of data.

[0103] In this embodiment, field-level pattern-based orchestration refers to configuring and managing the answer field and the thought chain field as independent data units. Processing modes include, but are not limited to: quality inspection only mode, synthesis plus quality inspection mode, and quality inspection plus correction mode.

[0104] This application automatically infers the processing mode based on whether the answer field or the thought chain field already exists in the data. For example, if the answer field already exists in the data, it is inferred to be a quality inspection-only mode, directly evaluating the quality of the existing answer; if the answer field does not exist, it is inferred to be a synthesis plus quality inspection mode, performing synthesis first and then evaluation; if the answer exists but its quality is substandard, it is inferred to be a quality inspection plus correction mode, performing iterative optimization. This automatic inference mechanism reduces the workload of manual configuration and improves the automation level of the system.

[0105] This application's method maps field names from different source systems to unified standard field names through a field normalization layer, enabling the system to be compatible with multiple heterogeneous data sources, reducing the complexity of data access, and improving the system's versatility and scalability. By defining a unified strategy interface, it supports the access of different output formats for strategies at different synthesis levels, shielding the underlying implementation details so that upper-layer applications do not need to concern themselves with specific format differences, thus reducing the difficulty of system integration and maintenance costs. Through field-level schema orchestration, the answer and thought chain are configured as independent fields with separate processing modes, and the processing mode is automatically inferred based on data existence. This allows the system to intelligently select the most appropriate processing flow based on the data status, reducing manual intervention and improving processing efficiency and flexibility.

[0106] Those skilled in the art will understand that, in the above-described method of the specific implementation, the order in which each step is written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of each step should be determined by its function and possible internal logic.

[0107] To implement the above data synthesis method, this application also proposes a data synthesis apparatus, for details please refer to [link / reference needed]. Figure 8 , Figure 8 This is a schematic diagram of an embodiment of the data synthesis apparatus provided in this application.

[0108] The data synthesis apparatus 400 of this embodiment includes a processor 41, a memory 42, an input / output device 43, and a bus 44.

[0109] The processor 41, memory 42, and input / output device 43 are respectively connected to the bus 44. The memory 42 stores program data, and the processor 41 is used to execute the program data to implement the data synthesis method described in the above embodiments.

[0110] In this embodiment, processor 41 can also be referred to as a CPU (Central Processing Unit). Processor 41 may be an integrated circuit chip with signal processing capabilities. Processor 41 can also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The general-purpose processor can be a microprocessor, or processor 41 can be any conventional processor.

[0111] This application also provides a computer storage medium; please refer to the following: Figure 9 , Figure 9 This is a schematic diagram of a computer storage medium according to an embodiment of the present application. The computer storage medium 600 stores a computer program 61, which, when executed by a processor, is used to implement the data synthesis method of the above embodiment.

[0112] When the embodiments of this application are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0113] The above description is merely an embodiment of this application and does not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.

Claims

1. A data synthesis method, characterized in that, The data synthesis method includes: Obtain the problem data to be processed; The question data is initially synthesized according to a preset synthesis hierarchy strategy to obtain a preliminary synthesis result; The preliminary synthesis results are evaluated using a quality control pipeline to obtain a comprehensive quality control score. When the overall quality inspection score does not meet the quality inspection conditions, a strategy for upgrading the synthesis level is determined. The question data is re-synthesized according to the upgraded synthesis hierarchy strategy until the comprehensive quality inspection score meets the quality inspection conditions or the maximum number of iterations is reached. Output the final synthesized result of the problem data.

2. The data synthesis method according to claim 1, characterized in that, The synthesis hierarchy strategy includes a first level, a second level, and a third level; The first level uses a multi-model step-level voting strategy for synthesis; the second level uses an enhanced voting strategy with a thought chain and injects few sample cases into a third-party model; and the third level uses a deep iteration strategy with a complete pipeline for synthesis. The preset synthesis hierarchy strategy is determined based on user instructions or the historical synthesis strategy of the domain to which the question data belongs.

3. The data synthesis method according to claim 2, characterized in that, The injection of few-sample cases into a third-party model includes: Use text similarity to retrieve the most similar cases of the given question data from the case library by dimension; Format the most similar case; The formatted case is injected as a prefix into the prompt words of the third-party model.

4. The data synthesis method according to claim 1, characterized in that, The preliminary synthesis results are evaluated using a quality control pipeline to obtain a comprehensive quality control score, including: The assessment is performed in parallel across four independent dimensions: advanced grading, basic grading, question type modality, and step classification. Based on the results of the higher-order correction, an evaluation is performed on two dimensions: mapping score and error cause score. The confidence scores for consistency, classification, and / or error analysis are calculated by cross-validating the evaluation results of the above dimensions, and then aggregated into the comprehensive quality inspection score based on preset weights.

5. The data synthesis method according to claim 4, characterized in that, The calculation of score consistency confidence, step classification confidence, and / or error cause analysis confidence through cross-validation of the evaluation results of the above dimensions includes: The confidence level of score consistency is calculated based on the difference rate among the higher-order grading score rate, the basic grading score rate, and the mapped score rate. The confidence level of the step classification is calculated based on the ratio of the number of consistent steps between the results of higher-order grading steps and the results of step classification to the total number of steps. The confidence level of the error cause analysis is obtained based on the mapping result of the original error cause score.

6. The data synthesis method according to claim 1, characterized in that, The quality inspection conditions include a first quality inspection threshold and a second quality inspection threshold, wherein the first quality inspection threshold is less than the second quality inspection threshold; When the overall quality inspection score does not meet the quality inspection conditions, the strategy for determining the upgrade synthesis level includes: When the overall quality inspection score is higher than the first quality inspection threshold and lower than the second quality inspection threshold, the upgraded synthesis level strategy is determined to be a higher-level strategy than the preset synthesis level strategy. When the overall quality inspection score is lower than the first quality inspection threshold, the upgraded synthesis level strategy is determined to be the highest level strategy.

7. The data synthesis method according to claim 1 or 6, characterized in that, The step of re-synthesizing the question data according to the upgraded synthesis hierarchy strategy includes: Construct structured correction prompt information, wherein the prompt information includes the dimension name, confidence value and problem description of the dimension that does not meet the quality inspection conditions; The structured correction prompt information is then injected into the prompt words synthesized in the next round; The step of re-synthesizing the question data based on the prompt words and the upgraded synthesis hierarchy strategy.

8. The data synthesis method according to claim 1, characterized in that, Before obtaining the question data to be processed, the process also includes: The field normalization layer maps field names from different source systems to a unified standard field name. Define a unified policy interface to support the access of different output formats for policies at different synthesis levels; Based on field-level pattern orchestration, the answer and thought chain are configured as independent fields with separate processing modes, and the processing mode is automatically inferred based on the existence of data.

9. A data synthesis apparatus, characterized in that, The data synthesis apparatus includes a memory and a processor coupled to the memory; The memory is used to store program data, and the processor is used to execute the program data to implement the data synthesis method as described in any one of claims 1 to 8.

10. A computer storage medium, characterized in that, The computer storage medium is used to store program data, which, when executed by the computer, is used to implement the data synthesis method as described in any one of claims 1 to 8.