A construction method, a question setting method and a question setting system of an AIGC-based examination examination question setting model

By constructing an AIGC-based assessment and exam question generation model, the problem of poor targeting in traditional large language models is solved. It generates new question stems and question types that match the content of the textbook database, achieving efficient and diversified exam question generation, reducing the burden on teachers and improving the quality of assessment.

CN118861289BActive Publication Date: 2026-11-24JINGCHENG JIAYU TECH (SHANGHAI) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410890181.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-04
Publication Date
2026-11-24
Estimated Expiration
2044-07-04

AI Technical Summary

Technical Problem

In existing technologies, traditional large language models used for exam assessments have poor targeting, require large amounts of computing power and raw data, and are difficult to generate highly relevant test questions for specific groups or assessment needs.

Method used

We construct an AIGC-based assessment and examination question generation model. By building an initial training library, training a question stem generation model, and a question generation model, we generate new question stems and question types that match the content of the textbook library. We also generate new question stem terms based on the content of the textbook library, enriching the diversity and novelty of the questions.

Benefits of technology

It enables the generation of highly relevant test questions that match the content of the textbook database with a limited amount of data, reducing the burden of question creation for teachers, avoiding students repeating questions, and improving the assessment effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118861289B_ABST
    Figure CN118861289B_ABST
Patent Text Reader

Abstract

This application provides a method for constructing an AIGC-based assessment and examination question generation model, a question generation method, and a question generation system. The method for constructing an AIGC-based assessment and examination question generation model includes: S1, constructing an initial training library; S2, preprocessing the initial training library to construct a question stem training library; S3, training a question stem generation model; S4, training a question generation model; and S5, combining the question stem generation model and the question generation model to form the assessment and examination question generation model. This method can train a targeted assessment and examination question generation model based on limited data. On the one hand, the question stem generation model in the assessment and examination question generation model can generate accurate and logically sound question stems for existing questions, enriching the diversity and variability of the question stems. On the other hand, the question generation model can generate different and rich question types based on the same question stem, ensuring the diversity and novelty of question types. Therefore, with the limited data volume of the existing question bank, by combining data from the textbook library to construct an assessment and examination question generation model, it can automatically generate highly relevant test questions for specific groups or specific assessment needs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of intelligent generative model technology, and in particular to a method for constructing an AIGC-based examination question generation model, a question generation method, and a question generation system. Background Technology

[0002] In the process of school teaching, teachers need to conduct regular examinations and assessments based on students' abilities and the teaching progress. The questions used in these examinations are often written by the teachers themselves, or they can be past exam questions.

[0003] However, creating new test questions significantly increases teachers' workload, causing them to waste energy on testing students rather than on actual teaching. Furthermore, the varying levels of skill among teachers in creating test questions often result in tests that fail to achieve their optimal testing objectives. Using past exam questions, on the other hand, presents challenges due to the limited number of questions, hindering repeated assessments. Students can also preview or practice past questions, gaining prior knowledge of the answers and making it impossible to accurately assess their understanding of the material.

[0004] In existing technologies, in order to reduce the burden of teachers in creating questions, a question bank is constructed, and questions in the question bank can be intelligently combined to complete the test questions for assessing students. At the same time, it avoids the test questions being completely identical to those in previous years, thus having a certain degree of randomness.

[0005] However, the aforementioned technologies suffer from two main drawbacks. First, the randomness of the questions heavily depends on the richness of the question bank, requiring continuous and long-term updates to ensure the effectiveness and diversity of the system's question generation. Second, the question generation process also relies on teachers' pre-planning of the knowledge points and question types.

[0006] With the development of the Chat-GPT large language model, the Chat-GPT large language model, built on massive amounts of data, can automatically generate test questions according to specific needs. However, the versatility and fit of the large language model require massive amounts of data as support. Currently, the datasets for large language models are very extensive and diverse, resulting in highly versatile questions automatically generated by the large language model, meaning that it can automatically generate entirely new questions and question types. This makes it difficult for teachers to automatically generate highly relevant test questions for specific groups (e.g., junior high school students) or assessment needs (e.g., tests on the mastery of knowledge points at a certain stage). Training the large language model to achieve the above functions requires a massive amount of questions in this situation to meet the above needs. Summary of the Invention

[0007] The purpose of this application is to address the problems of poor targeting and high computational and raw data requirements of traditional large language models used in examinations. Therefore, this application provides a method for constructing an examination question generation model based on AIGC, a question generation method, and a question generation system. This model can be trained with limited data to generate targeted examination questions. On one hand, the question stem generation model in the examination question generation model can generate accurate and logically sound question stems for existing questions, enriching the diversity and variability of the question stems. On the other hand, the question generation model can generate different and rich question types based on the same question stem, ensuring the diversity and novelty of question types. Thus, with the limited data in the existing question bank, and by combining data from the textbook database, an examination question generation model can be constructed that can automatically generate highly relevant test questions for specific groups or specific assessment needs.

[0008] This application provides a method for constructing an AIGC-based assessment and examination question generation model, including:

[0009] S1. Construct an initial training library; the initial training library includes an existing question bank and a textbook library.

[0010] Retrieve existing question content and store it in the existing question bank, where the question content includes multiple-choice questions and open-ended questions;

[0011] Acquire teaching content, categorize the teaching content into knowledge categories, and store it in the textbook database;

[0012] S2. Preprocess the initial training library to construct a question stem training library, which includes a question stem database and a knowledge term database.

[0013] Extract question stems from the existing question bank data in the initial training database to construct the first question stem terminology; store the first question stem terminology in the question stem database; wherein, the first question stem terminology includes known conditions and solution results;

[0014] Entity extraction is performed on the existing question bank data in the initial training library to obtain the first knowledge term, and the first knowledge term is labeled with the corresponding question type tag;

[0015] Entity extraction is performed on the data in the textbook database of the initial training database to obtain the second knowledge term, and the corresponding knowledge category label is marked on the second knowledge term;

[0016] Store the first knowledge term and the second knowledge term into the knowledge term database;

[0017] S3, Training the question stem generation model;

[0018] Based on the data in the question stem training library, a question stem generation model that connects knowledge terms with question stem terms is obtained through training, and a second question stem term is generated through the question stem generation model; wherein, the second question stem term includes known conditions and solution results;

[0019] S4. Train the question generation model;

[0020] Based on the question stem database and the existing question bank in the initial training database, a question generation model is obtained through training; the question generation model is able to generate assessment questions based on the second question stem terms, and the question types of the assessment questions generated by the question generation model are the same as those in the question content.

[0021] S5. Combine the question stem generation model and the question generation model to form the examination question generation model.

[0022] Using the above technical solution, the question stem generation model can generate new second question stem entries based on the first question stem entries in the question stem database and the knowledge entries in the knowledge entry database. Through this step, it can generate new second question stem entries corresponding to the content in the textbook database based on the existing question bank data and the textbook database content in the initial training database. On the one hand, it ensures that the content of the second question stem entries matches the content in the textbook database, ensuring that the final generated questions conform to the scope of the textbook database. On the other hand, it overcomes the limitation of the number of first question stem entries in the existing question bank, and can continuously generate new second question stem entries, avoiding the repetition of questions with the same question stem, and ensuring that the final generated questions can achieve the best assessment effect.

[0023] Furthermore, the question generation model is trained separately, enabling it to generate different question types based on the input second question stem terms. This greatly enriches the variety and flexibility of the question types generated by the assessment and examination model, ensuring that the assessment questions generated by the model remain fresh over a long period.

[0024] In some embodiments, the existing question content in step S1 can be obtained from a database of questions from previous years, as well as from verified questions generated by the question generation model.

[0025] The multiple-choice question type includes the question, answer, solution steps, and distractors; the open-ended question type includes the question, answer, and solution steps.

[0026] In some embodiments, the extraction step of the first stem term in step S2 is as follows:

[0027] Based on natural language processing technology, extraction rules are set for the multiple-choice question type and the answer question type respectively; extraction is performed only on the questions and answers to obtain the first question stem terminology;

[0028] Additionally, the first question stem terminology is extracted manually from the existing question content;

[0029] Furthermore, the proportion of the first question stem terms extracted manually in the question stem database is greater than 20%.

[0030] By adopting the above technical solution, natural language processing technology can quickly obtain a large number of first-stem terms from the existing question bank, thereby obtaining rich data on first-stem terms. This allows the question stem generation model to grasp the generation rules of question stem terms from the rich data. At the same time, accurate first-stem terms can be extracted from the existing question bank manually, so that the question stem generation model can be optimized based on accurate first-stem terms, thereby improving the fitting degree of the question stem generation model.

[0031] In some embodiments, the construction steps of the knowledge term base in step S2 are as follows:

[0032] Based on the syntactic analysis technology of natural language processing, entity words in the problem-solving steps are extracted and formed into the first knowledge term;

[0033] Construct a knowledge graph of the teaching materials, identify knowledge points in the teaching material database based on the relationships and rules of the knowledge graph, and extract the second knowledge term;

[0034] The second knowledge term is stored in the knowledge term database;

[0035] When storing the first knowledge term, first check whether there is a second knowledge term with similar entities in the knowledge term library; if there is, mark the question type tag corresponding to the first term on the corresponding similar second knowledge term; if there is no, store the first knowledge term in the knowledge term library.

[0036] By employing the above technical solution, a large number of knowledge terms can be obtained from textbook databases and existing question banks, along with corresponding question type tags and knowledge section tags. This enables the assessment and examination question generation model trained based on the knowledge term database to generate corresponding question types and knowledge sections according to requirements, ensuring that the assessment questions generated by the model meet the needs of targeted testing. Furthermore, identical knowledge term content in textbook databases and existing question banks can be removed, thereby reducing data storage requirements and simplifying the size of the assessment and examination question generation model.

[0037] In some embodiments, step S3 includes:

[0038] In the question database, at least some of the first question entries extracted manually are set as the test set;

[0039] The remaining first question stem entries in the question stem database, as well as the data in the knowledge entry database, are used as the training set;

[0040] The training set is input into the machine learning model for training, and the test set is used for evaluation and validation.

[0041] The training of the question generation model is complete when the machine learning model can perfectly fit the requirements.

[0042] In some embodiments, step S4 includes:

[0043] The question generation model includes a multiple-choice question generation model, which is used to generate multiple-choice questions based on the keywords in the question stem.

[0044] The multiple-choice question generation model includes a main body generation module and a distractor generation module;

[0045] The main body generation module is obtained by training a machine learning model based on the data in the question stem database in the question stem training library, as well as the data of questions, answers and solution steps of the selection question type in the existing question bank.

[0046] The distractor generation module generates the distractor data based on the questions, answers, and distractor data of the multiple-choice question type in the existing question bank.

[0047] The multiple-choice question generation model generates the question, answer, and solution process of the multiple-choice question type through the main generation module based on the question stem terms; the distractor generation module generates distractors of the multiple-choice question type based on the question and answer generated by the main generation module.

[0048] By adopting the above technical solution, the multiple-choice question generation model can first generate the questions, answers, and solutions of the multiple-choice question type through the main generation module, ensuring the accuracy of the questions, answers, and solutions; then, through a separate distractor generation module, it can ensure that the distractors of the multiple-choice question type are similar to the answers, thereby satisfying the distractor effect; on the other hand, it can avoid the similar distractors being equivalent to the answers, which would cause the distractors to also be correct options, thus ensuring the accuracy and rigor of the multiple-choice question generation.

[0049] In some embodiments, step S4 includes:

[0050] The question generation model includes a problem-solving question generation model, which is used to generate the problem-solving question type based on the question stem keywords.

[0051] The problem-solving generation model is obtained by training a machine learning model based on the data in the question stem database in the question stem training library and the data of the problem-solving question types in the existing question bank.

[0052] The problem-solving generation model can generate the problem-solving question type based on the input question stem terms. The generated problem-solving question type includes the question, the answer, and the solution steps.

[0053] In some embodiments, the verification process for questions generated by the question generation model includes:

[0054] The questions generated by the question generation model are calculated manually or by other large language models to verify their accuracy. Incorrect questions and answers are extracted, converted into question stem entries, and stored in the incorrect question bank. Correct questions, answers, and solution steps are stored in the existing question bank.

[0055] The second question stem terminology of the question stem generation model is verified by humans or other large language models to determine whether it is correct, and incorrect second question stem terms are stored in the error question bank.

[0056] The question generation model is optimized based on the data in the incorrect question database.

[0057] By adopting the above technical solution, the data in the incorrect question bank can be dynamically updated, thereby enabling the question stem generation model to be continuously optimized and improved. In the long-term use, this can greatly improve the effectiveness of the question stem generation model in generating second question stem entries.

[0058] This application also provides a question-generating method using an AIGC-based assessment and examination question-generating model, including:

[0059] An AIGC-based assessment and examination question generation model is constructed using the construction method described in any of the above embodiments;

[0060] Input the knowledge points, question types, and number of questions to be tested into the AIGC-based assessment and exam question generation model; the AIGC-based assessment and exam question generation model will automatically generate the corresponding number and types of questions.

[0061] By adopting the above technical solution, new question types and new question stems can be generated quickly and accurately based on existing question content and teaching content. Moreover, the assessment questions can match the needs of actual teaching content, greatly reducing the burden of teachers in creating questions and avoiding the problem of students encountering the same questions in multiple tests, which leads to a decline in assessment and examination effectiveness.

[0062] This application also provides a question generation system based on the AIGC assessment exam question generation model, including an input module, a generation module, and an output module;

[0063] The input module is used to input knowledge points, question types, and quantities into the generation module;

[0064] The generation module is configured to construct an AIGC-based assessment and examination question generation model using the construction method described in any of the above embodiments;

[0065] The generation module is used to output the results generated by the generation module.

[0066] Using the above technical solution, teachers can directly input knowledge points, question types, and quantities into the question generation system. The system can quickly and accurately generate new question types and question stems based on existing question content and teaching content. Furthermore, the assessment questions can match the needs of actual teaching content, greatly reducing the burden of question generation for teachers and avoiding the problem of students encountering the same questions in multiple tests, which leads to a decline in assessment and examination effectiveness. Attached Figure Description

[0067] Figure 1 This is a schematic diagram illustrating the steps of constructing an AIGC-based assessment and examination question generation model according to an embodiment of this application. Detailed Implementation

[0068] The following specific embodiments illustrate the implementation of this application. Those skilled in the art can easily understand other advantages and effects of this application from the content disclosed in this specification. Although the description of this application will be presented in conjunction with some embodiments, this does not mean that the features of this application are limited to this embodiment. On the contrary, the purpose of describing the application in conjunction with embodiments is to cover other options or modifications that may be derived based on the claims of this application. To provide a thorough understanding of this application, many specific details will be included in the following description. This application may also be implemented without using these details. Furthermore, to avoid confusion or obscuring the focus of this application, some specific details will be omitted in the description. It should be noted that, unless otherwise specified, the embodiments and features in the embodiments of this application can be combined with each other.

[0069] It should be noted that in this specification, similar reference numerals and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0070] In the description of this application, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.

[0071] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection between two components. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.

[0072] In the description of this application, it should be understood that "electrical connection" can be understood as physical contact and electrical conduction between components; it can also be understood as the form of connection between different components in a circuit structure through physical lines that can transmit electrical signals, such as copper foil or wires on a printed circuit board (PCB). "Coupled through..." can be understood as electrical conduction through indirect coupling. Indirect coupling can be understood as contactless coupling. Those skilled in the art will understand that coupling refers to a phenomenon where there is close cooperation and mutual influence between the inputs and outputs of two or more circuit elements or electrical networks, and energy is transferred from one side to the other through interaction. To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be further described in detail below with reference to the accompanying drawings.

[0073] Example 1:

[0074] Please see Figure 1 , Figure 1 This is a schematic diagram illustrating the steps of constructing an AIGC-based assessment and examination question generation model according to an embodiment of this application.

[0075] like Figure 1 As shown in the embodiment of this application, a method for constructing an assessment and examination question generation model based on AIGC is provided, including:

[0076] S1. Construct the initial training library; the initial training library includes the existing question bank and textbook library.

[0077] Retrieve existing question content and store it in the existing question bank. The question content includes multiple-choice questions and open-ended questions.

[0078] Acquire teaching content, categorize the content into knowledge categories, and store it in the textbook database;

[0079] S2. Preprocess the initial training library to construct a question training library, which includes a question database and a knowledge term database.

[0080] Extract question stems from the existing question bank in the initial training database to construct the first question stem terminology; store the first question stem terminology in the question stem database; wherein, the first question stem terminology includes the known conditions and the solution results;

[0081] Entity extraction is performed on the existing question bank data in the initial training library to obtain the first knowledge term, and the first knowledge term is labeled with the corresponding question type tag;

[0082] Entity extraction is performed on the data in the textbook database of the initial training database to obtain the second knowledge term, and the corresponding knowledge category label is marked on the second knowledge term;

[0083] Store the first and second knowledge terms into the knowledge term database;

[0084] S3, Training the question stem generation model;

[0085] Based on the data in the question stem training library, a question stem generation model is obtained through training to connect knowledge terms with question stem terms, and a second question stem term is generated through the question stem generation model; the second question stem term includes known conditions and solution results;

[0086] S4. Train the question generation model;

[0087] Based on the existing question bank in the question stem database and the initial training database, a question generation model is obtained through training; this enables the question generation model to generate assessment questions based on the second question stem terms, and the question types generated by the question generation model are the same as those in the question content.

[0088] S5 combines the question stem generation model and the question generation model to form the examination question-setting model.

[0089] The question stem generation model can generate new second question stem terms based on the first question stem term in the question stem database and the knowledge term terms in the knowledge term database. Through this step, it can generate new second question stem terms corresponding to the content in the textbook database based on the existing question bank data and the textbook database content in the initial training database. On the one hand, it ensures that the content of the second question stem terms matches the content in the textbook database, ensuring that the final generated questions conform to the scope of the textbook database. On the other hand, it overcomes the limitation of the number of first question stem terms in the existing question bank, and can continuously generate new second question stem terms, avoiding the repetition of questions with the same question stem, and ensuring that the final generated questions can achieve the best assessment effect.

[0090] Furthermore, the question generation model is trained separately, enabling it to generate different question types based on the input second question stem terms. This greatly enriches the variety and flexibility of the questions generated by the assessment model, ensuring that the assessment questions generated by the model remain fresh over a long period.

[0091] In one implementation, the existing question content in step S1 can be obtained from a database of questions from previous years, or from verified questions generated by a question generation model.

[0092] Multiple-choice questions include the question, answer, solution steps, and distractors; open-ended questions include the question, answer, and solution steps. The database of past exam questions can include questions from previous years' exams and previously tested questions.

[0093] In other alternative implementations, the existing question content can also be obtained from external teaching materials or publicly available questions online, thereby enriching the data of the existing question content.

[0094] In one implementation, the content of the existing question bank corresponds to the teaching content in the textbook bank, or it can be understood that the questions in the existing question bank are related to the teaching content.

[0095] In one implementation, the extraction steps for the first stem term in step S2 are as follows:

[0096] Based on natural language processing technology, extraction rules were set for multiple-choice questions and open-ended questions respectively; only questions and answers were extracted to obtain the first question stem terminology;

[0097] Additionally, the first stem keywords are extracted from the existing question content manually;

[0098] Furthermore, the first set of keywords extracted manually account for more than 20% of the keywords in the question stem database.

[0099] Among them, natural language processing technology can quickly obtain a large number of first-stage question stem terms from the existing question bank, thereby obtaining rich data on first-stage question stem terms, so that the question stem generation model can grasp the generation rules of question stem terms from the rich data; at the same time, accurate first-stage question stem terms can be extracted from the existing question bank manually, so that the question stem generation model can be optimized based on accurate first-stage question stem terms, thereby improving the fitting degree of the question stem generation model.

[0100] It's important to note that multiple-choice questions typically consist of a question and several options. Therefore, extraction rules can be tailored to the characteristics of multiple-choice questions. For example, look for keywords indicating the question, such as "which of the following" or "which of the following items?". Extract the text following these keywords up to the appearance of the options as the question stem. Identify keywords or symbols indicating options, such as "A.", "B.", "C.", "D.", etc., and extract the text following each option symbol until the next option symbol is encountered or the question ends. Search for keywords indicating the correct answer, such as "the correct answer is" or "the correct answer is," and extract the options indicated by these keywords as the answer.

[0101] Furthermore, the extraction rules for multiple-choice questions and the extraction rules for answer questions can be set and arranged according to the common rules and characteristics of the question bank. Specifically, this application does not impose any restrictions.

[0102] In one use case, when existing question content does not conform to the extraction rules of natural language processing technology, the unextractable question content is marked and stored in a manual extraction database. Based on this, question content requiring manual extraction is randomly selected from the existing question bank and stored in the manual extraction database. This ensures that the number of questions in the manual extraction database accounts for more than 20% of the existing question bank. This also ensures that the proportion of manually extracted first-stem terms in the question stem database is greater than 20%.

[0103] In one implementation, the steps for constructing the knowledge term base in step S2 are as follows:

[0104] Using syntactic analysis techniques based on natural language processing, entity words are extracted from the problem-solving steps and formed into first knowledge entries;

[0105] Construct a knowledge graph of the textbook, identify knowledge points in the textbook database based on the relationships and rules of the knowledge graph, and extract secondary knowledge terms;

[0106] Store the second knowledge term in the knowledge term database;

[0107] When storing the first knowledge term, first check if there is a second knowledge term with a similar entity in the knowledge term library; if there is, mark the question type tag corresponding to the first term on the corresponding similar second knowledge term; if there is no, store the first knowledge term in the knowledge term library.

[0108] This involves extracting a large number of knowledge terms from textbook and existing question banks, along with corresponding question type and knowledge section tags. This allows the assessment and testing model trained on the knowledge term database to generate the appropriate question types and knowledge sections, ensuring that the generated questions meet the needs of targeted testing. Furthermore, identical knowledge terms in the textbook and existing question banks can be removed, reducing data storage requirements and simplifying the size of the assessment and testing model.

[0109] It should be noted that the problem-solving steps are quite complex and disorganized, making it difficult to systematically extract knowledge terms in batches, and the amount of data involved in the problem-solving steps is often not high. Therefore, syntactic analysis techniques based on natural language processing can be used for extraction. In contrast, the teaching content in textbook databases has often been organized and structured by teachers, forming an existing knowledge framework. This makes it easier to construct a knowledge graph on top of the existing knowledge framework, and then use the knowledge graph to achieve efficient extraction of data from the textbook database.

[0110] Therefore, this embodiment uses a combination of knowledge graph construction and syntactic analysis techniques for entity extraction. On the one hand, this ensures the accuracy and completeness of entity extraction; on the other hand, it avoids the waste and consumption of computing resources and reduces the cost and time of building the knowledge entry database.

[0111] In one implementation, a syntactic analyzer (such as Stanford Parser or spaCy) can be used to perform syntactic analysis on the text of the problem-solving steps. This allows the analysis to obtain information such as dependency relations and part-of-speech tagging of the problem-solving steps.

[0112] Based on syntactic analysis, Named Entity Recognition (NER) technology is used to identify entity words in text. Entities may include formulas, technical terms, concepts, time, dates, numbers, etc.

[0113] Furthermore, key entities are extracted. Based on the results of syntactic structure and entity recognition, entity words closely related to the problem-solving steps are selected, including key concepts, theorems, formulas, or problem-solving techniques mentioned in the problem-solving process.

[0114] Finally, the extracted key entity terms are organized and combined to form an ordered list of first-order knowledge terms.

[0115] In one implementation, step S3 includes:

[0116] In the question stem database, the first question stem terms, which are at least partially extracted manually, are set as the test set;

[0117] The remaining first question stem terms in the question stem database, as well as the data in the knowledge term database, are used as the training set;

[0118] The training set is input into the machine learning model for training, and the test set is used for evaluation and validation.

[0119] The training of the question generation model is complete when the machine learning model can perfectly fit the requirements.

[0120] It's important to note that from a machine learning model perspective, the total amount of data in the question stem database is relatively small. Therefore, overfitting is prone to occur during model training, leading to poor generalization ability of the question stem generation model. However, the question stem generation model itself is used to generate question stems, and the question stem is the most crucial part, requiring high accuracy. Therefore, even with overfitting, the question stem generation model can effectively generate question stems from knowledge entries in the initial training database. On the other hand, exam question-setting models often test knowledge points within the textbook database. Therefore, even if the question stem generation model has poor generalization ability with data outside the initial training database, it will not affect the normal use of the exam question-setting model; in fact, it can improve the accuracy of the question stem generation model.

[0121] In one implementation, step S4 includes:

[0122] The question generation model includes a multiple-choice question generation model, which is used to generate multiple-choice questions based on the keywords in the question stem.

[0123] The multiple-choice question generation model includes a main question generation module and a distractor question generation module;

[0124] The main body generation module is obtained by training a machine learning model based on the data in the question stem database of the question stem training library, as well as the data of questions, answers and solution steps of the selected question types in the existing question bank.

[0125] The distractor generation module generates data based on the questions, answers, and distractors of the selected question type in the existing question bank;

[0126] The multiple-choice question generation model generates the question, answer, and solution process for the multiple-choice question type through the main generation module based on the question stem keywords; the distractor generation module generates distractors for the multiple-choice question type based on the question and answer generated by the main generation module.

[0127] By adopting the above technical solution, the multiple-choice question generation model can first generate the questions, answers, and solutions of the multiple-choice question type through the main generation module, ensuring the accuracy of the questions, answers, and solutions; then, through a separate distractor generation module, it can ensure that the distractors of the multiple-choice question type are similar to the answers, thereby satisfying the distractor effect; on the other hand, it can avoid the similar distractors being equivalent to the answers, which would cause the distractors to also be correct options, thus ensuring the accuracy and rigor of the multiple-choice question generation.

[0128] In one implementation, step S4 includes:

[0129] The question generation model includes a problem-solving question generation model, which is used to generate problem-solving questions based on the keywords in the question stem.

[0130] The problem-solving generation model is obtained by training a machine learning model based on the data in the problem stem training library and the problem-solving question types in the existing question bank.

[0131] The problem-solving generation model can generate problem-solving questions based on the input question stem terms. The generated problem-solving questions include the question, the answer, and the solution steps.

[0132] In one implementation, the verification process for questions generated by the question generation model includes:

[0133] Questions generated by human or other large language model calculation models are used to verify their accuracy. Incorrect questions and answers are extracted, converted into question stem entries, and stored in the incorrect question bank. Correct questions, answers, and solution steps are stored in the existing question bank.

[0134] The second question stem entries generated by the question stem generation model are verified by humans or other large language models to determine whether they are correct, and incorrect second question stem entries are stored in the wrong question bank;

[0135] The question generation model is optimized based on data from the incorrect question database.

[0136] By adopting the above technical solution, the data in the incorrect question bank can be dynamically updated, thereby enabling the question stem generation model to be continuously optimized and improved. In the long-term use, this can greatly improve the effectiveness of the question stem generation model in generating second question stem entries.

[0137] It should be noted that question generation models primarily focus on constructing question types given a given question stem, and on how to present the question stem to serve a purpose of confusing or assessing the candidate. Therefore, it is necessary to consider improving the generalization ability of question generation models to enrich the generation and diversify question types.

[0138] Therefore, in other alternative implementations, in step S4, the question generation model can also construct a question type database based on the existing question bank in the question stem database and the initial training database. This question type database can contain questions covering any knowledge point. This greatly increases the amount of raw data for training the question generation model and improves the diversity of questions generated by the model for the same question stem.

[0139] Furthermore, as the amount of raw data increases, the training cost and time for the question generation model also increase. Therefore, when the question types in the exam are relatively standardized and fixed, training can be performed solely based on data from the question stem database and the existing question bank in the initial training database, thereby reducing the training cost and time for the question generation model.

[0140] Example 2:

[0141] This application also provides a question-generating method using an AIGC-based assessment and examination question-generating model, including:

[0142] An AIGC-based assessment and examination question generation model is constructed using the construction method described in any of the above embodiments.

[0143] Input the knowledge points, question types, and number of questions to be tested into the AIGC-based assessment and exam question generation model; the AIGC-based assessment and exam question generation model will automatically generate the corresponding number and types of questions.

[0144] By adopting the above technical solution, new question types and new question stems can be generated quickly and accurately based on existing question content and teaching content. Moreover, the assessment questions can match the needs of actual teaching content, greatly reducing the burden of teachers in creating questions and avoiding the problem of students encountering the same questions in multiple tests, which leads to a decline in assessment and examination effectiveness.

[0145] In one application scenario, the assessment and testing question generation model can be used to generate questions for the entire textbook library, or to generate targeted questions for a small section of the textbook library, enabling teachers to accurately grasp the teaching progress and evaluate the teaching quality based on the test results.

[0146] Example 3:

[0147] This application also provides a question generation system based on the AIGC assessment exam question generation model, including an input module, a generation module, and an output module;

[0148] The input module is used to input knowledge points, question types, and quantities into the generation module;

[0149] The generation module is configured to construct an AIGC-based assessment and examination question generation model using the construction method described in any of the above embodiments;

[0150] The generation module is used to output the results generated by the generation module.

[0151] Using the above technical solution, teachers can directly input knowledge points, question types, and quantities into the question generation system. The system can quickly and accurately generate new question types and question stems based on existing question content and teaching content. Furthermore, the assessment questions can match the needs of actual teaching content, greatly reducing the burden of question generation for teachers and avoiding the problem of students encountering the same questions in multiple tests, which leads to a decline in assessment and examination effectiveness.

[0152] In one implementation, the question-generating system can be built on a PC or a mobile terminal.

[0153] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A method for constructing an assessment and examination question generation model based on AIGC, characterized in that, include: S1. Construct the initial training library; The initial training library includes existing question banks and textbook libraries; Retrieve existing question content and store it in the existing question bank, where the question content includes multiple-choice questions and open-ended questions; Acquire teaching content, categorize the teaching content into knowledge categories, and store it in the textbook database; S2. Preprocess the initial training library to construct a question stem training library, which includes a question stem database and a knowledge term database. Extract question stems from the existing question bank data in the initial training database to construct the first question stem terminology; store the first question stem terminology in the question stem database; wherein, the first question stem terminology includes known conditions and solution results; Entity extraction is performed on the existing question bank data in the initial training library to obtain the first knowledge term, and the first knowledge term is labeled with the corresponding question type tag; Entity extraction is performed on the data in the textbook database of the initial training database to obtain the second knowledge term, and the corresponding knowledge category label is marked on the second knowledge term; Store the first knowledge term and the second knowledge term into the knowledge term database; S3, Training the question stem generation model; Based on the data in the question stem training library, a question stem generation model that connects knowledge terms with question stem terms is obtained through training, and a second question stem term is generated through the question stem generation model; wherein, the second question stem term includes known conditions and solution results; S4. Train the question generation model; Based on the question stem database and the existing question bank in the initial training database, a question generation model is obtained through training; the question generation model is able to generate assessment questions based on the second question stem terms, and the question types of the assessment questions generated by the question generation model are the same as those in the question content; S5. Combine the question stem generation model and the question generation model to form the examination question generation model.

2. The method for constructing an AIGC-based assessment and examination question generation model as described in claim 1, characterized in that: The methods for obtaining existing question content in step S1 include obtaining it from a database of questions from previous years; The multiple-choice question type includes the question, answer, solution steps, and distractors; the open-ended question type includes the question, answer, and solution steps.

3. The method for constructing an AIGC-based assessment and examination question generation model as described in claim 2, characterized in that: The steps for extracting the first term from the question stem in step S2 are as follows: Based on natural language processing technology, extraction rules are set for the multiple-choice question type and the answer question type respectively; only the questions and answers are extracted to obtain the first question stem terminology; Additionally, the first question stem terminology is extracted manually from the existing question content; Furthermore, the proportion of the first question stem terms extracted manually in the question stem database is greater than 20%.

4. The method for constructing an AIGC-based assessment and examination question generation model as described in claim 2, characterized in that: The steps for constructing the knowledge term base in step S2 are as follows: Based on the syntactic analysis technology of natural language processing, entity words in the problem-solving steps are extracted and formed into the first knowledge term; Construct a knowledge graph of the teaching materials, identify knowledge points in the teaching material database based on the relationships and rules of the knowledge graph, and extract the second knowledge term; The second knowledge term is stored in the knowledge term database; When storing the first knowledge term, first check whether there is a second knowledge term with similar entities in the knowledge term library; If it exists, then mark the question type tag corresponding to the first knowledge term on the corresponding similar second knowledge term; If it does not exist, the first knowledge term will be stored in the knowledge term database.

5. The method for constructing an AIGC-based assessment and examination question generation model as described in claim 3, characterized in that, The steps in step S3 include: In the question stem database, at least some of the first question stem terms extracted manually are set as the test set; The remaining first question stem entries in the question stem database, as well as the data in the knowledge entry database, are used as the training set; The training set is input into the machine learning model for training, and the test set is used for evaluation and validation. The training of the question generation model is complete when the machine learning model can perfectly fit the requirements.

6. The method for constructing an AIGC-based assessment and examination question generation model as described in claim 5, characterized in that, The steps in step S4 include: The question generation model includes a multiple-choice question generation model, which is used to generate multiple-choice questions based on the keywords in the question stem. The multiple-choice question generation model includes a main body generation module and a distractor generation module; The main body generation module is obtained by training a machine learning model based on the data in the question stem database in the question stem training library, as well as the data of questions, answers and solution steps of the selection question type in the existing question bank. The distractor generation module generates the distractor data based on the questions, answers, and distractor data of the multiple-choice question type in the existing question bank. The multiple-choice question generation model generates the question, answer, and solution process of the multiple-choice question type through the main generation module based on the question stem terms; the distractor generation module generates distractors of the multiple-choice question type based on the question and answer generated by the main generation module.

7. The method for constructing an AIGC-based assessment and examination question generation model as described in claim 5, characterized in that, The steps in step S4 include: The question generation model includes a problem-solving question generation model, which is used to generate the problem-solving question type based on the question stem keywords. The problem-solving generation model is obtained by training a machine learning model based on the data in the question stem database in the question stem training library and the data of the problem-solving question types in the existing question bank. The problem-solving generation model can generate the problem-solving question type based on the input question stem terms. The generated problem-solving question type includes the question, the answer, and the solution steps.

8. The method for constructing an AIGC-based assessment and examination question generation model as described in claim 2, characterized in that, The verification process for questions generated by the question generation model includes: The questions generated by the question generation model are calculated manually or by other large language models to verify their accuracy. Incorrect questions and answers are extracted, converted into question stem entries, and stored in the incorrect question bank. Correct questions, answers, and solution steps are stored in the existing question bank. The second question stem terminology of the question stem generation model is verified by humans or other large language models to determine whether it is correct, and incorrect second question stem terms are stored in the error question bank. The question generation model is optimized based on the data in the incorrect question database.

9. A question-generating method using an AIGC-based assessment and examination question-generating model, characterized in that, include: An AIGC-based assessment and examination question generation model is constructed using the construction method described in any one of claims 1 to 8. Input the knowledge points, question types, and number of questions to be tested into the AIGC-based assessment and exam question generation model; the AIGC-based assessment and exam question generation model will automatically generate the corresponding number and types of questions.

10. A question-generating system employing an AIGC-based assessment and examination question-generating model, characterized in that, It includes an input module, a generation module, and an output module; The input module is used to input knowledge points, question types, and quantities into the generation module; The generation module is configured to construct an AIGC-based assessment and examination question generation model using the construction method described in any one of claims 1 to 8; The output module is used to output the results generated by the generation module.

Citation Information

Patent Citations

  • Question automatic generation method and system

    CN115934908A

  • Proposition method, system and equipment and storage medium

    CN117274006A