A method and device for generating wrong question marking data
Through the student file-driven error question annotation method, student and teacher models are used to generate and optimize error answers and correction results, which solves the problem of low quality error annotation data and realizes the generation of high-quality error annotation data.
Patent Information
- Application Number
- CN202410777915.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-06-17
AI Technical Summary
In the existing technology, the quality of wrong-title annotation data is low, the cost of manual annotation is high and inconsistent, the content generated by large artificial intelligence models is random and incorrect, and there is a lack of specialized data sets for wrong-title tutoring, making it difficult to accurately and effectively label wrong-titles. .
By obtaining student files, using the student model to generate wrong answers, and optimizing through the teacher model, we can obtain guidance, instructions and answer dialogue texts, analyze the wrong answers, optimize the correction model, and finally generate high-quality wrong question annotation data.
It improves the authenticity of wrong answers and the accuracy of final error causes, optimizes the performance of teachers and correction models, and generates wrong question annotation data that contains multi-faceted information, fully explains students' problem solving, and improves wrong question annotation data. quality.
Smart Images

Figure CN118364905B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data annotation, and in particular to a method and device for generating wrong question annotation data. Background Art
[0002] In the current online education field, faced with a massive amount of test questions and learning resources, it is difficult for students to obtain accurate wrong question analysis and personalized learning resource recommendations based on their own historical test data. At present, wrong question analysis is mainly based on manual analysis and expert rules. For some multiple-choice questions and fill-in-the-blank questions in the online education system, experienced teachers or experts will pre-define the possible reasons why students choose wrong answers, but short-answer questions and application questions still need to be manually reviewed and given wrong question analysis. The application of large models to wrong question correction will be a direction worthy of in-depth research. In order to fine-tune the large model to better complete the correction task, wrong question marking is an important challenge. It can provide data support for wrong question correction, student evaluation, teaching guidance, etc. However, wrong question marking faces the following challenges:
[0003] Manual labeling is costly and requires professional technicians or teachers to spend a lot of time and effort. In addition, there may be differences in knowledge levels and standards between different labelers, which affects the accuracy and consistency of labeling.
[0004] The data quality of artificial intelligence large models is unstable. Although the current large models have certain judgment and generation capabilities, and can generate formatted content based on given questions, the generated content may be random, general, incorrect, and cannot meet the requirements of automatic marking of wrong questions.
[0005] There is currently no public data set specifically for tutoring for wrong questions, which makes it difficult for large models to learn and imitate students' error-making characteristics and psychological states, and also difficult to provide effective tutoring suggestions.
[0006] From this we can see that there is currently a problem with the low quality of wrong question marking data. Summary of the invention
[0007] The present application provides a method and device for generating wrong question annotation data, which can solve the problem of low quality of wrong question annotation data.
[0008] In a first aspect, an embodiment of the present application provides a method for generating wrong question annotation data, the method for generating wrong question annotation data comprising:
[0009] Obtain student profiles describing the target students' problem-solving performance;
[0010] According to the student profile, a student model is used to generate multiple wrong answers to the target wrong questions, and multiple target wrong answers are determined from all the wrong answers;
[0011] Optimize the teacher model using all target error answers to obtain an optimized teacher model;
[0012] For each target wrong answer, respectively, a guidance dialogue text for guiding the optimized teacher model to guide the student model in solving the problem is obtained according to the target wrong answer, and an instruction dialogue text for instructing the optimized teacher model to instruct the student model in solving the problem is obtained according to the guidance dialogue text, and an answer dialogue text for instructing the optimized teacher model to instruct the student model in solving the problem is obtained according to the instruction dialogue text; the guidance dialogue text includes the focus information of the target student when solving the problem, the instruction dialogue text includes the knowledge points and problem-solving ideas applied by the target student when solving the problem, and the answer dialogue text includes the problem-solving strategy and correct answer of the target wrong question;
[0013] According to the guiding dialogue text, the instruction dialogue text, and the answer dialogue text corresponding to each target wrong answer, the final error cause of each target wrong answer is obtained;
[0014] Using the correction model to correct each target wrong answer, obtaining the correction result of each target wrong answer, and adjusting the correction model based on all the correction results to obtain an optimized correction model;
[0015] Use the optimized grading model to obtain the final grading results for each target incorrect answer;
[0016] The target wrong questions are marked based on the student files, all target wrong answers, all final wrong causes, and all final correction results, and multiple wrong question marking data of the target wrong questions are obtained.
[0017] Optionally, the student profile includes student grade information, historical error types, error patterns, self-evaluation information, and goal setting information:
[0018] Use the student model to generate multiple wrong answers to the target wrong questions, including:
[0019] Extract multiple prompt words from historical error types, error patterns, self-evaluation information, and goal setting information in student files;
[0020] Based on all the prompt words, the student model is used to answer the target wrong questions and obtain multiple wrong answers.
[0021] Optionally, multiple target wrong solutions are determined from all wrong solutions, including:
[0022] For each incorrect answer, follow these steps:
[0023] Obtain the knowledge points in the wrong answer, and determine whether the knowledge points belong to the knowledge point collection corresponding to the student grade information in the student file;
[0024] If the knowledge point belongs to the knowledge point set corresponding to the student grade information in the student file, then obtaining the error type and error pattern of the wrong answer, and determining whether the error type and error pattern of the wrong answer match the historical error type and error pattern in the student file;
[0025] If the error type and error pattern of an incorrect answer match the historical error type and error pattern in the student's profile, the incorrect answer is taken as a target incorrect answer;
[0026] If the error type and error pattern of the incorrect answer do not match the historical error type and error pattern in the student's file, the incorrect answer will be discarded;
[0027] If the knowledge point does not belong to the knowledge point set corresponding to the student grade information in the student file, the incorrect answer will be discarded.
[0028] Optionally, the teacher model is optimized using all target error solutions to obtain an optimized teacher model, including:
[0029] Obtain the initial error cause of each target incorrect answer;
[0030] For each initial error cause, score the initial error cause based on the student file and the target error answer corresponding to the initial error cause to obtain the error cause score of the initial error cause;
[0031] Determine whether the number of all error cause scores that reaches a preset error cause score is greater than a preset number;
[0032] If yes, the teacher model is taken as the optimized teacher model;
[0033] Otherwise, adjust the dialogue policy of the teacher model and return to the step of obtaining the initial error cause of each target incorrect answer.
[0034] Optionally, get the initial error cause for each target error answer including:
[0035] For each target wrong answer, perform the following steps:
[0036] Obtaining an initial guidance dialogue text for the teacher model to guide the student model in solving the problem according to the target wrong answer, and obtaining an initial instruction dialogue text for the teacher model to instruct the student model in solving the problem according to the guidance dialogue text, and obtaining an initial answer dialogue text for the teacher model to instruct the student model in answering according to the instruction dialogue text;
[0037] Extracting words from the initial guide dialogue text of the target error solution to obtain initial guide keywords, extracting words from the initial instruction dialogue text of the target error solution to obtain initial instruction keywords, and extracting words from the initial answer dialogue text of the target error solution to obtain initial answer keywords;
[0038] According to the initial guiding keywords, initial indicating keywords and initial answer keywords corresponding to the target wrong answer, the initial similarity between the target wrong answer and each error cause is calculated, and the error cause with the largest initial similarity is taken as the initial error cause of the target wrong answer.
[0039] Optionally, according to the guiding dialogue text, the instruction dialogue text, and the answer dialogue text corresponding to each target wrong answer, the final error cause of each target wrong answer is obtained, including:
[0040] For each target wrong answer, perform the following steps:
[0041] Extract words from the guiding dialogue text of the target wrong answer to obtain guiding keywords;
[0042] Extract words from the instruction dialogue text of the target wrong answer to obtain instruction keywords;
[0043] Extract words from the dialogue text of the target wrong answer to obtain the answer keywords;
[0044] Based on the guiding keywords, indicative keywords and answer keywords, the similarity between the target wrong answer and each error cause is calculated, and the error cause with the largest similarity is taken as the final error cause of the target wrong answer.
[0045] Optionally, the correction model is adjusted based on all correction results to obtain an optimized correction model, including:
[0046] Score each correction result to obtain a correction score;
[0047] Determine whether the average of all the correction scores is greater than the correction score threshold;
[0048] If yes, the correction model is used as the optimized correction model;
[0049] Otherwise, the correction rules in the correction model are adjusted, and the process returns to the step of correcting the target wrong answers using the correction model to obtain the correction result of each target wrong answer.
[0050] Optionally, adjust the grading rules in the grading model, including:
[0051] Obtaining an adjustment action for adjusting the correction rules according to the correction rules in the correction model;
[0052] Calculate the action reward value of the correction model through the action reward value formula;
[0053] The action reward value formula is:
[0054] ;
[0055] in, represents the action reward value of the correction model, represents the correction rules of the correction model, Indicates adjustment action. Indicates the correction rules after the adjustment action is executed. Indicates the adjustment action under the adjusted correction rules. represents the learning rate, represents the discount factor, Indicates reward;
[0056] Determine whether the action reward value is greater than the preset reward value;
[0057] If so, adjust the action accordingly , adjust the marking rules;
[0058] Otherwise, the adjustment action is retrieved and the step of calculating the action reward value of the correction model through the action reward value formula is returned.
[0059] Optionally, target wrong questions are marked based on the student files, all target wrong answers, all final wrong reasons, and all final correction results, to obtain multiple wrong question marking data of the target wrong questions, including:
[0060] For each target incorrect answer, the final error cause corresponding to the target incorrect answer, the final correction result corresponding to the target incorrect answer, the target incorrect answer, the student file, the correct analytical answer to the target incorrect question, and the source of the target incorrect question are integrated into one piece of data to obtain one piece of incorrect question marking data for the target incorrect question.
[0061] In a second aspect, an embodiment of the present application provides a device for generating wrong question annotation data, comprising:
[0062] The first acquisition module acquires a student profile for describing the problem-solving status of the target student;
[0063] A generation module generates multiple wrong answers to the target wrong questions using the student model according to the student profile, and determines multiple target wrong answers from all the wrong answers;
[0064] The first optimization module optimizes the teacher model using all target error answers to obtain an optimized teacher model;
[0065] The second acquisition module obtains, for each target wrong answer, a guidance dialogue text in which the optimized teacher model guides the student model to solve the problem according to the target wrong answer, and obtains an instruction dialogue text in which the optimized teacher model instructs the student model to solve the problem according to the guidance dialogue text, and obtains an answer dialogue text in which the optimized teacher model instructs the student model to solve the problem according to the instruction dialogue text; the guidance dialogue text includes the focus information of the target student when solving the problem, the instruction dialogue text includes the knowledge points and solution ideas applied by the target student when solving the problem, and the answer dialogue text includes the solution strategy and correct answer of the target wrong question;
[0066] The final error cause acquisition module acquires the final error cause of each target error answer according to the guiding dialogue text, the instruction dialogue text, and the answer dialogue text corresponding to each target error answer;
[0067] The correction module uses the correction model to correct each target wrong answer, obtains the correction result of each target wrong answer, and adjusts the correction model based on all the correction results to obtain an optimized correction model;
[0068] The second optimization module uses the optimized correction model to obtain the final correction result of each target wrong answer;
[0069] The marking module marks the target wrong questions based on the student files, all target wrong answers, all final wrong causes, and all final correction results, and obtains multiple wrong question marking data of the target wrong questions.
[0070] In a third aspect, an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned method for generating wrong question marking data when executing the above-mentioned computer program.
[0071] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the above-mentioned method for generating wrong question marking data is implemented.
[0072] The above solution of the present application has the following beneficial effects:
[0073] In an embodiment of the present application, a plurality of wrong answers are generated for a target wrong question by using a student model according to a student profile, so that the obtained wrong answers are consistent with the problem-solving situation and error-making characteristics of the target student, thereby improving the authenticity of the wrong answers; a guiding dialogue text, an instruction dialogue text, and an answering dialogue text are obtained according to the target wrong answers, and the target wrong answers can be fully and meticulously analyzed through simulation of teachers and students, and the final error causes obtained according to the detailed and informative guiding dialogue text, instruction dialogue text, and answering dialogue text are highly accurate; the teacher model and the correction model are optimized respectively, so that the performance of the teacher model and the correction model can be improved, and the final error causes and final correction results with high rationality can be obtained; finally, the target wrong questions are annotated based on the student profile, all target wrong answers, all final error causes, and all final correction results, and multiple wrong question annotating data of the target wrong questions are obtained, so that the wrong question annotating data of the target wrong questions contain information such as student profiles, wrong answers, error causes, correction results, etc., which can fully explain the actual situation of the target students when solving the target wrong questions, and effectively improve the quality of the wrong question annotating data.
[0074] Other beneficial effects of the present application will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS
[0075] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0076] Figure 1 A flowchart of a method for generating wrong question annotation data provided in an embodiment of the present application;
[0077] Figure 2 A schematic diagram of the structure of a device for generating wrong question marking data provided in an embodiment of the present application;
[0078] Figure 3 A schematic diagram of the structure of a terminal device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0079] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0080] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0081] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0082] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0083] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0084] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0085] In view of the problem of low quality of existing wrong question annotation data, an embodiment of the present application provides a method for generating wrong question annotation data. The method generates multiple wrong answers to target wrong questions by using a student model based on a student profile, so that the obtained wrong answers are consistent with the problem-solving situation and error-making characteristics of the target students, thereby improving the authenticity of the wrong answers; according to the target wrong answers, a guiding dialogue text, an instructing dialogue text, and an answering dialogue text are obtained, and the target wrong answers can be fully and carefully analyzed through simulation of teachers and students, and the guiding dialogue text, the instructing dialogue text, and the answering dialogue text can be obtained based on the detailed and information-rich guiding dialogue text, the instructing dialogue text, and the answering dialogue text. The final error causes obtained from the dialogue text are highly accurate; optimizing the teacher model and the correction model respectively can improve the performance of the teacher model and the correction model, and obtain highly reasonable final error causes and final correction results; finally, based on the student files, all target incorrect answers, all final error causes, and all final correction results, the target wrong questions are marked to obtain multiple error mark data for the target wrong questions, so that the error mark data of the target wrong questions contain information such as student files, incorrect answers, error causes, correction results, etc., which can fully explain the actual situation of the target students when answering the target wrong questions, and effectively improve the quality of the error mark data.
[0086] Next, an exemplary description is given of the method for generating wrong question marking data provided in this application.
[0087] like Figure 1 As shown, the method for generating wrong question annotation data of the present application includes the following steps:
[0088] Step 11, obtaining a student profile for describing the problem-solving status of the target student.
[0089] In some embodiments of the present application, the target students are students who need to participate in marking wrong questions.
[0090] For example, a student profile can be obtained by collecting statistics on the actual problem-solving performance of the target students. The student profile includes: student grade information (such as: the first semester of the first year of junior high school), historical error types (such as: fraction calculation errors and inaccurate interpretation of statistical data), error patterns (such as: the error rate increases under time pressure, and it is easy to make mistakes when solving complex problems with multiple steps), self-evaluation information (such as: thinking that mathematical logic is good, but lacking patience for complex calculations), goal setting information (such as: improving algebra and data processing capabilities), and teacher suggestions (such as: it is recommended to strengthen the understanding of basic mathematical concepts and it is recommended to pay attention to question review when doing exercises).
[0091] Step 12, based on the student profile, using the student model to generate multiple wrong answers to the target wrong questions, and determining multiple target wrong answers from all the wrong answers.
[0092] Exemplarily, the student model can be a large language model such as a generative pre-trained transformer model (GPT4, Generative Pre-Trained Transformer4).
[0093] It should be noted that the target wrong questions are the wrong questions that need to be marked as wrong. The target wrong questions can be obtained from sources such as math test papers and exercise books. The formulas in the math test papers are converted into text data using software such as Mathtype, and then the text content in the math test paper is read and divided into multiple math questions according to the question numbers. Each math question can be used as a target wrong question.
[0094] In some embodiments of the present application, the student profile includes student grade information, historical error types, error patterns, self-evaluation information, and goal setting information. The steps of generating multiple wrong answers to target wrong questions using a student model based on the student profile and determining multiple target wrong answers from all wrong answers are specifically as follows:
[0095] In the first step, based on the student profile, the student model is used to generate multiple incorrect answers to the target wrong questions.
[0096] First, multiple prompt words were extracted from the historical error types, error patterns, self-evaluation information, and goal setting information in the students’ files.
[0097] For example, algorithms such as KeyBert can be used to extract multiple prompt words from student files, such as "fraction calculation error" and "lack of patience".
[0098] Then, based on all the prompt words, the student model is used to answer the target wrong questions and obtain multiple wrong answers.
[0099] Exemplarily, a student model can be run on a computer, and all prompt words and target wrong questions can be input into the student model. The student model generates multiple wrong answers based on all prompt words and target wrong questions. It can be understood that in order to obtain accurate wrong answers, a large number of prompt word samples and wrong question samples can be used to train the student model before obtaining the wrong answers.
[0100] In the second step, multiple target incorrect solutions are determined from all incorrect solutions.
[0101] Specifically, for each error answer, perform the following steps:
[0102] First, obtain the knowledge points in the wrong answer and determine whether the knowledge points belong to the knowledge point collection corresponding to the student grade information in the student file.
[0103] Exemplarily, the formulas and problem-solving steps in the incorrect answers may be identified to obtain the knowledge points in the incorrect answers.
[0104] Then, if the knowledge point belongs to the knowledge point collection corresponding to the student grade information in the student file, the error type and error pattern of the incorrect answer are obtained, and it is determined whether the error type and error pattern of the incorrect answer match the historical error type and error pattern in the student file.
[0105] If the error type and error pattern of an incorrect answer match the historical error type and error pattern in the student's profile, the incorrect answer is taken as a target incorrect answer.
[0106] If the error type and error pattern of an incorrect answer do not match the historical error type and error pattern in the student's file, the incorrect answer will be discarded.
[0107] If the knowledge point does not belong to the knowledge point set corresponding to the student grade information in the student file, the incorrect answer will be discarded.
[0108] For example, an incorrect answer includes fraction operations and a system of quadratic equations with two variables, and the student grade information corresponding to the incorrect answer is the first year of junior high school, and the knowledge point collection for the first year of junior high school does not include a system of quadratic equations with two variables, then the incorrect answer is discarded; another incorrect answer includes only fraction operations, and the error type is a fraction operation error, and the error pattern is an error when solving a complex problem with multiple steps, and it matches the historical error type and error pattern in the student file, then the incorrect answer is used as a target incorrect answer.
[0109] It should be noted that the strategy for generating incorrect answers for the student model can be adjusted based on the discarded incorrect answers. For example, when targeting the first-year junior high school students, the system of two-variable quadratic equations is no longer used to generate incorrect answers, so as to continuously improve the performance of the student model.
[0110] It is worth mentioning that by using the student model based on the student files, multiple wrong answers to the target wrong questions are generated, so that the obtained wrong answers are consistent with the problem-solving situation and error characteristics of the target students, thereby improving the authenticity of the wrong answers. Multiple target wrong answers are determined based on the student files, and the target wrong answers with high rationality and authenticity are further screened out.
[0111] Step 13: Optimize the teacher model using all target wrong answers to obtain an optimized teacher model.
[0112] In some embodiments of the present application, the teacher model may be a large language model such as GPT4, and the steps of optimizing the teacher model using all target error answers to obtain the optimized teacher model are specifically as follows:
[0113] The first step is to obtain the initial error cause of each target incorrect answer.
[0114] For each target wrong answer, perform the following steps:
[0115] First, the initial guidance dialogue text for the teacher model to guide the student model in solving the problem is obtained based on the target wrong answer, and the initial instruction dialogue text for the teacher model to instruct the student model in solving the problem is obtained based on the guidance dialogue text, and the initial answer dialogue text for the teacher model to guide the student model in answering is obtained based on the instruction dialogue text.
[0116] The above-mentioned initial guidance dialogue text includes information on the target students' focus when solving problems, the initial instruction dialogue text includes information on the knowledge points and problem-solving ideas used by the target students when solving problems, and the initial answer dialogue text includes problem-solving strategies and correct answers for the target wrong questions.
[0117] Then, the initial guidance dialogue text of the target error answer is subjected to word extraction to obtain the initial guidance keywords, the initial instruction dialogue text of the target error answer is subjected to word extraction to obtain the initial instruction keywords, and the initial answer dialogue text of the target error answer is subjected to word extraction to obtain the initial answer keywords.
[0118] Then, according to the initial guiding keywords, initial indicating keywords and initial answer keywords corresponding to the target wrong answer, the initial similarity between the target wrong answer and each error cause is calculated, and the error cause with the largest initial similarity is taken as the initial error cause of the target wrong answer.
[0119] For example, algorithms such as KeyBert can be used to extract words, and the bag-of-words model can be used to calculate the initial similarity between the target wrong answer and each wrong cause. The wrong causes can be divided into four categories: the first category is calculation errors, including algebra, confusion between positive and negative, unit conversion, and value errors; the second category is concept errors, including equation setting errors, incorrect formats, and concept forgetting; the third category is question reading errors, including misunderstandings and negligence in copying question information; the fourth category is problem-solving errors, incomplete problem-solving steps, wrong conclusions, and guessing answers.
[0120] It should be noted that the teacher model's guidance of the student model in solving problems is a simulation of the first step of the teacher's teaching strategy, "guidance", in reality, such as "What should you do next?" "Can you reread this question and tell me what... is?", so that students focus on a specific part of the problem and recall relevant information. Therefore, the initial guidance dialogue text includes information about students' focus when solving problems. The teacher model's instructions for solving problems to the student model is a simulation of the second step of the teacher's teaching strategy, "instructions", in reality, such as "Why do you think you need to add these numbers?" "What will happen to the answer if this number changes?" "How do you calculate the perimeter of a square?", so that students understand the problem, apply current knowledge, and correct wrong ideas. Therefore, the initial instruction dialogue text includes information such as the knowledge applied by students and problem-solving ideas. The teacher model's answer to the student model is a simulation of the last step of the teacher's teaching strategy, "answer", in reality, such as "You need to add... to... to get the answer" "No, the answer here should be..." The teacher gives the problem-solving strategy and the correct answer to the target wrong question. Therefore, the initial answer dialogue text includes information such as the problem-solving strategy and the correct answer to the target wrong question.
[0121] In the second step, for each initial error cause, score the initial error cause based on the student file and the target error answer corresponding to the initial error cause to obtain the error cause score of the initial error cause.
[0122] Exemplarily, the review model can be used to score the initial error cause based on the student file and the target error solution corresponding to the initial error cause to obtain an error cause score for the initial error cause.
[0123] The above review model can be a fine-tuned chat generative language model (ChatGLM3, Chat GenerativeLanguage Model3). The training data is taken from the teacher-student tutoring data of real online classes, with names coded and data screening and processing by chatgpt4. The processing process is: teacher-student dialogue data; automatic classification of all teacher-student dialogue data; selection of wrong question answering categories from the classified categories; identification of fragments to extract wrong questions and wrong reasons in the dialogue. Finally, more than 2,000 wrong reason sample data were obtained, which were divided into training, verification and test sets in a ratio of 6:1:3. ChatGLM3 was then trained and fine-tuned, and the review model was obtained after verification. The review model can preliminarily analyze the causes of errors.
[0124] The third step is to determine whether the number of all error cause scores that reach the preset error cause score is greater than the preset number.
[0125] If yes, the teacher model is taken as the optimized teacher model.
[0126] Otherwise, adjust the dialogue policy of the teacher model and return to the step of obtaining the initial error cause of each target incorrect answer.
[0127] Exemplarily, the above-mentioned teacher model adjustment dialogue strategy can be a dialogue strategy such as adjusting keywords in the dialogue, adjusting the number of questions asked during the problem-solving guidance, etc. The preset error cause score is 8, the preset number is 5, and the number of error cause scores that reach the preset error cause score is 3, indicating that the performance of the teacher model is low at this time, resulting in low quality of the initial guidance dialogue text, initial instruction dialogue text, and initial answer dialogue text, which in turn leads to low accuracy of the initial error cause. Then, the dialogue strategy of the teacher model is adjusted, and the initial guidance dialogue text, initial instruction dialogue text, and initial answer dialogue text are re-obtained. At this time, the number of error cause scores that reach the preset error cause score is 7, which is greater than the preset number, indicating that the performance of the teacher model at this time meets expectations and is an optimized teacher model.
[0128] It is worth mentioning that optimizing the teacher model using all target error solutions can improve the performance of the teacher model and the accuracy of subsequent calculations.
[0129] Step 14, for each target wrong answer, respectively, obtain the guidance dialogue text for the optimized teacher model to guide the student model in solving the problem based on the target wrong answer, and obtain the instruction dialogue text for the optimized teacher model to instruct the student model in solving the problem based on the guidance dialogue text, and obtain the answer dialogue text for the optimized teacher model to guide the student model in solving the problem based on the instruction dialogue text.
[0130] The guiding dialogue text includes information on the target students' focus when solving problems, the instructing dialogue text includes information on the knowledge points and problem-solving ideas used by the target students when solving problems, and the answering dialogue text includes problem-solving strategies and correct answers to the target students' wrong questions.
[0131] For example, the target wrong question is: Car A and Car B start from cities A and B at the same time and travel towards each other. After a period of time, Car A has traveled 2 / 3 of the entire distance and Car B has traveled 45% of the entire distance. At this time, the two cars are 35 kilometers apart. How many meters are the two cities A and B apart?
[0132] The target incorrect answer to this target incorrect question is: The distance traveled by car A plus the distance traveled by car B is the total distance between cities AB. The two cars traveled a total of 2 / 3+45%=67 / 60. The remaining 35 kilometers is the distance between the two cars, that is, 35 / (67 / 60)≈31 kilometers.
[0133] The text of the introductory dialogue is:
[0134] Teacher: I noticed that you did some calculations when solving this problem. You have calculated that Car A traveled 2 / 3 of the distance and Car B traveled 45% of the distance. Now, if we add these two percentages together, what is the result? What does this result represent?
[0135] Student: That adds up to 67 / 60, which means it's more than 100% of the entire journey.
[0136] The instruction dialogue text is:
[0137] Teacher: You correctly pointed out that this sum is more than 100%. What does this tell us? What does it mean when two cars are traveling towards each other and the sum of the distances they travel is more than the total distance?
[0138] Student: That means they met at some point and then continued to travel in opposite directions. The 35 kilometers should be the distance they traveled in opposite directions after they met.
[0139] The answer dialogue text is:
[0140] Teacher: That's right, this means that after Car A and Car B met, they together exceeded the total distance by 67 / 60-1. Therefore, we can build an equation: the sum of the distances traveled by Car A and Car B, plus 35 kilometers, should be equal to the extra distance after they met multiplied by the total distance. In this way, you can get the total distance between cities A and B.
[0141] It is worth mentioning that obtaining the guiding dialogue text, the instructing dialogue text, and the answering dialogue text according to the target error answers can fully and meticulously analyze the target error answers through simulation of teachers and students, thereby improving the richness of information.
[0142] Step 15, obtaining the final error cause of each target wrong answer according to the guiding dialogue text, the instruction dialogue text, and the answer dialogue text corresponding to each target wrong answer.
[0143] Specifically, for each target error answer, perform the following steps:
[0144] The guiding dialogue text of the target wrong answer is subjected to word extraction to obtain guiding keywords.
[0145] The instruction dialogue text of the target wrong answer is subjected to word extraction to obtain instruction keywords.
[0146] The words of the dialogue text of the target wrong answer are extracted to obtain the answer keywords.
[0147] Based on the guiding keywords, indicative keywords and answer keywords, the similarity between the target wrong answer and each error cause is calculated, and the error cause with the largest similarity is taken as the final error cause of the target wrong answer.
[0148] For example, the KeyBert algorithm can be used to extract words, and the bag-of-words model can be used to calculate the similarity between the target error solution and each error cause. The similarities between the target error solution and the three error causes are 2.3, 1.6, and 3.1, respectively. The error cause corresponding to the similarity of 3.1 is used as the final error cause of the target error solution.
[0149] It is worth mentioning that the guidance dialogue text, instruction dialogue text and answer dialogue text obtained by using the teacher model with expected performance are highly accurate, can better describe the information of the target wrong answer, and make the final error cause obtained according to the guidance dialogue text, instruction dialogue text and answer dialogue text highly accurate.
[0150] Step 16: Use the correction model to correct each target incorrect answer to obtain a correction result for each target incorrect answer, and adjust the correction model based on all the correction results to obtain an optimized correction model.
[0151] In some embodiments of the present application, the above-mentioned correction model can be a large language model such as GPT4.
[0152] For example, the review results are divided into three parts: explanation of errors, correct answers, and suggestions. For example:
[0153] Explanation Error: Your thinking process is very creative, which is an important part of solving math problems. However, sometimes we need to look at the problem more carefully. In this example, your assumption applies to the situation where the two cars did not meet. In fact, the situation in the question is that the two cars met and continued to move. This is a common misconception, and discovering and understanding it is an important part of the learning process.
[0154] Correct answer: First, set the distance between cities A and B to D kilometers. This is a good start. Next, calculate the distances traveled by car A and car B respectively. Your calculations in this step are very accurate. Then, consider what happens when the two cars meet. This requires a little creative thinking, and you have shown that you have the ability to do so. Build an equation. This is a key step in mathematics, and your ability has brought you to this step. Solve the equation and get D = 300 kilometers. This is the last step, and it is also a reflection of your ability.
[0155] Tip: When working with complex problems, try to take it step by step, as you did in this problem, sort out and understand each step first, check your assumptions step by step, and make sure they fit the actual situation. In this problem, it is important to understand the situation where the two cars can meet and continue to move. Every time you try to solve a problem like this, you are improving your math skills. Remember, every small mistake is a step towards success.
[0156] The above steps of adjusting the grading model based on all grading results to obtain the optimized grading model are as follows:
[0157] The first step is to score each correction result to obtain the correction score.
[0158] For example, a scoring model (such as a fine-tuned ChatGLM3) can be used to score the grading results. The scoring model can score the teacher's grading actions in three aspects, namely adaptability, relevance, and motivation.
[0159] Adaptability emphasizes that teachers can adjust and deepen their explanation methods and content according to students' different levels of mastery, needs and reactions. Relevance evaluates whether teachers' feedback is specific to the errors or deficiencies in students' answers, and whether these feedbacks are closely related to the requirements of the questions and learning objectives. Motivational evaluation evaluates whether teachers give students positive encouragement and motivation during the correction process to help them build confidence, especially when pointing out errors and making suggestions for improvement.
[0160] The second step is to determine whether the average value of all correction scores is greater than the correction score threshold.
[0161] If yes, the revised model is taken as the optimized revised model.
[0162] Otherwise, the correction rules in the correction model are adjusted, and the process returns to the step of correcting the target wrong answers using the correction model to obtain the correction result of each target wrong answer.
[0163] The specific correction rules in the above adjustment correction model are:
[0164] First, an adjustment action for adjusting the correction rules is obtained according to the correction rules in the correction model.
[0165] Then, the action reward value of the correction model is calculated using the action reward value formula.
[0166] The action reward value formula is:
[0167] ;
[0168] in, represents the action reward value of the correction model, represents the correction rules of the correction model, Indicates adjustment action. Indicates the correction rules after the adjustment action is executed. Indicates the adjustment action under the adjusted correction rules. represents the learning rate, represents the discount factor, Indicates reward.
[0169] Then, determine whether the action reward value is greater than the preset reward value. If so, adjust the action accordingly. , adjust the correction rules; otherwise, re-acquire the adjustment action and return to the step of calculating the action reward value of the correction model through the action reward value formula.
[0170] Exemplarily, the adjustment actions may be: subdividing the knowledge points involved, with the subdivision action being automatically analyzed by the grading model; adding before-and-after comparisons of high- and low-scoring cases. If the relevance score is low, the grading cases with high relevance scores are used as comparison prompts with the cases with low relevance scores, and the GPT is reminded to pay attention to student errors and learning goals; emphasizing the combination of grading and motivational discourse.
[0171] The average value of all correction scores is 45, and the correction score threshold is 80, indicating that the performance of the correction model is poor and the quality of the correction results is low. The correction strategy of the correction model is adjusted and the correction results are obtained again. At this time, the average value of the correction score is 82, which is greater than the correction score threshold, indicating that the correction model at this time achieves the expected performance and is an optimized correction model.
[0172] It is worth mentioning that adjusting the correction model based on all correction results can improve the performance of the correction model.
[0173] Step 17, using the optimized correction model to obtain the final correction result of each target wrong answer.
[0174] Exemplarily, the optimized grading model can be run on a computer, and each target erroneous answer can be input into the grading model to obtain a final grading result for each target erroneous answer.
[0175] It is worth mentioning that the quality of the final grading results obtained by using the grading model with expected performance is high.
[0176] Step 18, marking the target wrong questions based on the student files, all target wrong answers, all final wrong causes, and all final correction results, to obtain multiple wrong question marking data of the target wrong questions.
[0177] Specifically, for each target incorrect answer, the final error cause corresponding to the target incorrect answer, the final correction result corresponding to the target incorrect answer, the target incorrect answer, the student file, the correct analytical answer to the target wrong question, and the source of the target wrong question are integrated into one piece of data to obtain one piece of incorrect question marking data for the target wrong question.
[0178] For example, for the target wrong question "53×21-32=?", a piece of wrong question annotation data generated is: the student file of the target student, 53×21-32=?, 53×21-32=1081 (correct analysis answer), the mathematics test paper of the first semester midterm exam of the first grade of junior high school (source), 53×21-32=-583 (target wrong answer), the operation order of the operation symbols is wrong (the final cause of the error), and it is a low-level error (the final correction result).
[0179] It is worth mentioning that, finally, the target wrong questions are marked based on the student files, all target incorrect answers, all final wrong causes, and all final correction results, and multiple wrong question marking data of the target wrong questions are obtained, so that the wrong question marking data of the target wrong questions contain many information such as student files, incorrect answers, wrong causes, correction results, etc., which can fully explain the actual situation of the target students when answering the target wrong questions, and effectively improve the quality of the wrong question marking data.
[0180] The following is an exemplary description of the wrong question marking data generation device provided in this application.
[0181] like Figure 2 As shown, the embodiment of the present application provides a wrong question marking data generating device, and the wrong question marking data generating device 200 includes:
[0182] The first acquisition module 201 acquires a student file for describing the problem-solving situation of the target student;
[0183] A generating module 202 generates a plurality of wrong answers to a target wrong question using a student model according to the student profile, and determines a plurality of target wrong answers from all the wrong answers;
[0184] A first optimization module 203 optimizes the teacher model using all target wrong answers to obtain an optimized teacher model;
[0185] The second acquisition module 204 obtains, for each target wrong answer, a guidance dialogue text in which the optimized teacher model guides the student model to solve the problem according to the target wrong answer, and obtains an instruction dialogue text in which the optimized teacher model instructs the student model to solve the problem according to the guidance dialogue text, and obtains an answer dialogue text in which the optimized teacher model instructs the student model to solve the problem according to the instruction dialogue text; the guidance dialogue text includes the focus information of the target student when solving the problem, the instruction dialogue text includes the knowledge points and solution ideas applied by the target student when solving the problem, and the answer dialogue text includes the solution strategy and correct answer of the target wrong question;
[0186] The final error cause acquisition module 205 acquires the final error cause of each target error solution according to the guide dialogue text, the instruction dialogue text, and the answer dialogue text corresponding to each target error solution;
[0187] The correction module 206 corrects each target wrong answer using the correction model to obtain a correction result of each target wrong answer, and adjusts the correction model based on all the correction results to obtain an optimized correction model;
[0188] The second optimization module 207 uses the optimized correction model to obtain the final correction result of each target wrong answer;
[0189] The marking module 208 marks the target wrong questions based on the student files, all target wrong answers, all final wrong reasons, and all final correction results to obtain multiple wrong question marking data of the target wrong questions.
[0190] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0191] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0192] like Figure 3 As shown, an embodiment of the present application provides a terminal device. The terminal device D10 of this embodiment includes: at least one processor D100 ( Figure 3 Only one processor is shown in the figure), a memory D101, and a computer program D102 stored in the memory D101 and executable on the at least one processor D100, wherein the processor D100 implements the steps of any of the above-mentioned method embodiments when executing the computer program D102.
[0193] Specifically, when the processor D100 executes the computer program D102, it generates multiple wrong answers to the target wrong questions by using the student model according to the student file, so that the obtained wrong answers are consistent with the problem-solving situation and error characteristics of the target students, and improves the authenticity of the wrong answers; obtains the guiding dialogue text, the instruction dialogue text, and the answer dialogue text according to the target wrong answers, and can fully and carefully analyze the target wrong answers through simulation of teachers and students, and the final error causes obtained according to the detailed and informative guiding dialogue text, the instruction dialogue text, and the answer dialogue text are highly accurate; optimizes the teacher model and the correction model respectively, which can improve the performance of the teacher model and the correction model, and obtain the final error causes and final correction results with high rationality; finally, based on the student file, all the target wrong answers, all the final error causes, and all the final correction results, the target wrong questions are marked, and multiple wrong question marking data of the target wrong questions are obtained, so that the wrong question marking data of the target wrong questions contain information such as student files, wrong answers, error causes, correction results, etc., which can fully explain the actual situation of the target students when solving the target wrong questions, and effectively improve the quality of the wrong question marking data.
[0194] The processor D100 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0195] In some embodiments, the memory D101 may be an internal storage unit of the terminal device D10, such as a hard disk or memory of the terminal device D10. In other embodiments, the memory D101 may also be an external storage device of the terminal device D10, such as a plug-in hard disk, a smart memory card (SMC, SmartMedia Card), a secure digital (SD, Secure Digital) card, a flash card (Flash Card), etc. equipped on the terminal device D10. Further, the memory D101 may also include both an internal storage unit of the terminal device D10 and an external storage device. The memory D101 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program, etc. The memory D101 may also be used to temporarily store data that has been output or is to be output.
[0196] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0197] An embodiment of the present application provides a computer program product. When the computer program product runs on a terminal device, the terminal device can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0198] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the wrong question marking data generation method device / terminal device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0199] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0200] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0201] The above is a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles described in the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for generating wrong question annotation data, It is characterized in that include: Obtain student profiles describing the target students' problem-solving performance; According to the student profile, using the student model to generate multiple wrong answers to the target wrong questions, and determining multiple target wrong answers from all the wrong answers; Optimize the teacher model using all target error answers to obtain an optimized teacher model; For each of the target wrong answers, respectively, obtain a guidance dialogue text for guiding the student model to solve the problem after the optimized teacher model according to the target wrong answers, and obtain an instruction dialogue text for instructing the student model to solve the problem after the optimized teacher model according to the guidance dialogue text, and obtain an answer dialogue text for instructing the student model to answer the problem according to the instruction dialogue text; The guiding dialogue text includes the target student's focus information when solving problems, the instructing dialogue text includes the knowledge points and problem-solving ideas used by the target student when solving problems, and the answering dialogue text includes the problem-solving strategies and correct answers of the target wrong problems; Obtaining the final error cause of each target wrong answer according to the guiding dialogue text, the instruction dialogue text, and the answer dialogue text corresponding to each target wrong answer; Using the correction model to correct each of the target wrong answers, obtaining a correction result of each of the target wrong answers, and adjusting the correction model based on all the correction results to obtain an optimized correction model; Using the optimized correction model to obtain the final correction result of each target wrong answer; Marking the target wrong questions based on the student files, all target wrong answers, all final wrong reasons, and all final correction results to obtain multiple wrong question marking data for the target wrong questions; The method of optimizing the teacher model by using all target wrong answers to obtain an optimized teacher model includes: Obtaining an initial error cause of each target erroneous answer; For each of the initial error causes, scoring the initial error cause based on the student file and the target error answer corresponding to the initial error cause to obtain an error cause score for the initial error cause; Determine whether the number of all error cause scores that reaches a preset error cause score is greater than a preset number; If yes, the teacher model is used as the optimized teacher model; Otherwise, adjusting the dialogue strategy of the teacher model, and returning to the step of obtaining the initial error cause of each target wrong answer; The obtaining of the initial error cause of each target error answer comprises: For each of the target error answers, perform the following steps: Acquire an initial guidance dialogue text for guiding the teacher model to solve the problem according to the target wrong answer, and acquire an initial instruction dialogue text for instructing the teacher model to solve the problem according to the guidance dialogue text, and acquire an initial answer dialogue text for instructing the teacher model to answer the problem according to the instruction dialogue text; Extracting words from the initial guide dialogue text of the target error solution to obtain initial guide keywords, extracting words from the initial instruction dialogue text of the target error solution to obtain initial instruction keywords, and extracting words from the initial answer dialogue text of the target error solution to obtain initial answer keywords; According to the initial guiding keywords, initial indicating keywords and initial answer keywords corresponding to the target error answer, the initial similarity between the target error answer and each error cause is calculated, and the error cause with the largest initial similarity is used as the initial error cause of the target error answer.
2. The method for generating wrong question annotation data according to claim 1, It is characterized in that The student profile includes student grade information, historical error types, error patterns, self-evaluation information, and goal setting information: The method of using the student model to generate multiple wrong answers to the target wrong question includes: extracting a plurality of prompt words from the historical error types, error patterns, self-evaluation information, and goal setting information in the student profile; Based on all the prompt words, the student model is used to answer the target wrong question to obtain multiple wrong answers.
3. The method for generating wrong question annotation data according to claim 2, It is characterized in that The step of determining a plurality of target wrong solutions from all wrong solutions comprises: For each of the above error answers, perform the following steps: Obtaining the knowledge points in the wrong answer, and determining whether the knowledge points belong to the knowledge point collection corresponding to the student grade information in the student file; If the knowledge point belongs to the knowledge point set corresponding to the student grade information in the student file, then obtaining the error type and error pattern of the wrong answer, and determining whether the error type and error pattern of the wrong answer match the historical error type and error pattern in the student file; If the error type and error pattern of the incorrect answer match the historical error type and error pattern in the student file, the incorrect answer is used as a target incorrect answer; If the error type and error pattern of the wrong answer do not match the historical error type and error pattern in the student file, the wrong answer is discarded; If the knowledge point does not belong to the knowledge point set corresponding to the student grade information in the student file, the wrong answer will be discarded.
4. The method for generating wrong question annotation data according to claim 1, It is characterized in that The step of obtaining the final error cause of each target wrong answer according to the guide dialogue text, the instruction dialogue text, and the answer dialogue text corresponding to each target wrong answer comprises: For each of the target error answers, perform the following steps: Extracting words from the guiding dialogue text of the target wrong answer to obtain guiding keywords; Extracting words from the target wrong answer indication dialogue text to obtain indication keywords; Extracting words from the answer dialogue text of the target wrong answer to obtain answer keywords; The similarity between the target wrong answer and each error cause is calculated according to the guiding keywords, the indicating keywords and the answer keywords, and the error cause with the greatest similarity is taken as the final error cause of the target wrong answer.
5. The method for generating wrong question annotation data according to claim 1, It is characterized in that The step of adjusting the correction model based on all correction results to obtain an optimized correction model includes: Scoring each of the correction results to obtain a correction score; Determine whether the average of all the correction scores is greater than the correction score threshold; If yes, the correction model is used as the optimized correction model; Otherwise, the correction rules in the correction model are adjusted, and the process returns to the step of correcting the target wrong answers by using the correction model to obtain the correction result of each target wrong answer.
6. The method for generating wrong question marking data according to claim 5, It is characterized in that The step of adjusting the correction rules in the correction model includes: Acquire an adjustment action for adjusting the correction rule according to the correction rule in the correction model; Calculate the action reward value of the correction model by using the action reward value formula; The action reward value formula is: ; in, represents the action reward value of the correction model, represents the correction rules of the correction model, represents the adjustment action, represents the correction rules after executing the adjustment action, Indicates the adjustment action under the adjusted correction rules. represents the learning rate, represents the discount factor, Indicates reward; Determine whether the action reward value is greater than a preset reward value; If so, adjust the action according to the , adjusting the correction rules; Otherwise, the adjustment action is re-acquired, and the process returns to the step of calculating the action reward value of the correction model by using the action reward value formula.
7. The method for generating wrong question annotation data according to claim 1, It is characterized in that The target wrong questions are marked based on the student files, all target wrong answers, all final wrong reasons, and all final correction results to obtain multiple wrong question marking data of the target wrong questions, including: For each of the target incorrect answers, the final error cause corresponding to the target incorrect answer, the final correction result corresponding to the target incorrect answer, the target incorrect answer, the student file, the correct analytical answer to the target wrong question, and the source of the target wrong question are integrated into one piece of data to obtain one piece of incorrect question marking data for the target wrong question.
8. A terminal device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the method for generating wrong question marking data as described in any one of claims 1 to 7 is implemented.
