A method for intelligently generating practice test papers
By dynamically obtaining user feedback and building an engagement model, GCN-LSTM and MCTS algorithms are used to adjust test questions, solving the problem of test paper mismatch in the existing technology, realizing personalized and intelligent test paper generation, and enhancing the learning effect. and learning experience.
Patent Information
- Application Number
- CN202210515435.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-12
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2042-05-12
AI Technical Summary
In the existing technology, the test paper questions are unilaterally selected by the teacher or the system, lacking student participation and feedback, and cannot be adaptively adjusted. As a result, the generated test paper does not match the student's knowledge level, and cannot effectively diagnose and improve learning.
By dynamically obtaining user participation and preference feedback information, we build user participation models and reward models, and use graph convolution-long short-term memory network (GCN-LSTM) and Monte Carlo tree search (MCTS) algorithms to adjust test question planning in real time. Strategies for generating personalized practice test papers.
It achieves a match between the content of the test paper and the student's zone of proximal development, provides an adaptive and intelligent practice experience, enhances the learning effect, and reduces the teacher's burden of setting questions.
Smart Images

Figure CN114925182B
Abstract
Description
Technical Field
[0001] The invention belongs to the field of educational information technology, and in particular relates to a method for intelligently generating a practice test paper. Background Art
[0002] The accumulation of massive digital question bank resources, on the one hand, provides rich materials for teachers' teaching and students' practice, and on the other hand, it also raises a great challenge, that is, how to use the test questions of massive question bank resources to automatically generate practice test papers suitable for students' knowledge level. In existing research and practice, the automatic generation of test papers has received widespread attention, but there are closely related problems that need to be solved urgently: the first problem is that the test paper questions are unilaterally selected by teachers and systems, lacking the participation and feedback of the test subjects, and thus lacking the grasp of their preferences and the zone of proximal development. The second problem is that the questions cannot be changed and adjusted after the test paper is generated, and there is a lack of personalized adaptive practice plans; the third problem is that the generated test paper lacks effective matching with the student's zone of proximal development, and cannot play the role of diagnosis, consolidation and improvement. Therefore, it is urgent for students to increase interaction when practicing tests, feedback their actual personal preferences, grasp the stage of the student's zone of proximal development, and adaptively and intelligently recommend corresponding test questions in real time, so that the practice test paper can play the role of diagnosing, consolidating and promoting students' learning and reducing the burden of teachers setting questions. Summary of the invention
[0003] In view of the above-mentioned existing problems, the purpose of the present invention is to provide a method for intelligently generating practice test papers, including: dynamically obtaining user participation and preference feedback information; converting feedback information into reward values, and updating the user reward model; extracting the characteristic information of the test questions corresponding to the reward model, searching for test questions based on the characteristic information, and using them as the next question to be generated; adjusting and updating the planning strategy, pushing test questions to users, and realizing the intelligent generation of practice test papers. The present invention can be used to intelligently and adaptively generate practice test papers based on interaction with users, dynamically optimize and adjust test questions, and achieve matching of test paper content with the examinee's zone of proximal development. In short, compared with the prior art, the present invention provides a new solution for the intelligent generation of practice test papers.
[0004] The object of the present invention is achieved in that:
[0005] A method for intelligently generating a practice test paper, wherein the intelligent generation of the practice test paper is performed according to the following steps:
[0006] Step 1: After completing a question on the practice test paper, collect and observe user feedback;
[0007] Step 2: Build a user engagement model based on user behavior;
[0008] Step 3: Convert the user rating feedback and participation feedback in steps 1 and 2 into user reward value;
[0009] Step 4: Establish and update the user reward model based on the reward and user status in step 3;
[0010] Step 5: According to the user reward model updated in step 4, adjust the next question in the planning strategy;
[0011] Step 6, according to the questions adjusted by the planning strategy in step 5, continue to execute steps 1-5 until the dynamic generation constraints are met, thereby realizing the intelligent generation of practice test papers.
[0012] The user feedback described in step 1 specifically includes scores reflecting topic preferences and scores reflecting learning participation, where participation is expressed in three types: increase, unchanged, and decrease.
[0013] Constructing the engagement model described in step 2 includes the following steps:
[0014] a. In each session, each user action is taken as a node, and the transition probability between actions is represented by edge. The specific value is calculated according to the Markov Chain Model to construct a directed and weighted action graph;
[0015] b. The directed and weighted action graph of each session is converted into a graph embedding vector through the graph convolutional network (GCN). All graph embedding vectors form a sequence and are input into the Long Short-Term Memory Network (LSTM) in sequence. Then, the Softmax layer is applied to realize the final hidden state output of LSTM, thereby completing the construction of the graph convolution-long short-term memory network (GCN-LSTM) engagement model.
[0016] The reward value described in step 3 specifically includes:
[0017] The user can score a completed test question, and the specific score is directly converted into a reward value;
[0018] The user engagement is calculated through the graph convolution-long short-term memory network, i.e., the GCN-LSTM engagement model, and when its value increases, it is converted into a reward value of +1;
[0019] The user engagement is calculated through the graph convolution-long short-term memory network, i.e., the GCN-LSTM engagement model, and its value is converted into a reward value of 0 when it remains unchanged;
[0020] The user engagement is calculated through the graph convolution-long short-term memory network, namely the GCN-LSTM engagement model, and when its value decreases, it is converted into a reward value of 0.
[0021] Step 4 describes the establishment and update of the user reward model, specifically including:
[0022] a. The user reward model R(s,x) is a formal description of the reward for test question x under state s. Its specific rewards include question sequence preference and question transfer preference, that is, R(s,x) = R s (x)+R t (s,x), where the user's topic sequence preference reward R s (x) = φ s (u)·θ s (x), where θ s (x) is the eigenvector representation of question x, φ s (u) represents the weight vector of the user's preference for the topic; the user's topic transfer preference reward The tested question sequence is (x1,x2,…,x k-1 ), the user switches to the kth new question x k The reward is R t , x k-1 The probability of having an impact on the topic transfer reward is 1 / i, r t (x k-1 ,x k )=φ t (u)·θ t (x k-1 ,x k ) indicates that the user has completed question x k-1 Answer the test questions later k The reward here is θ t It is the topic x k-1 and x k The transformed eigenvector representation, φ t A weight vector representing the user's preference for topic conversion;
[0023] b, User test paper question sequence preference weight φ s and test item conversion preference φ t In the initial stage, the specific parameter calculation formula is calculated based on user data. and where z s is the number of user's preferred topics, z t is the number of title conversions retrieved, nbins s is the percentile description of the question characteristics, (nbins s ) 2 is the number of transformation descriptions of the topic features;
[0024] c, the user starts from the k-1th test question x k-1 Go to question k x k When the formal description parameter of the user reward model is updated according to user feedback, and The weight of the model update is defined as and v k Complete the test x k The reward value after Is the reward received k The reward value increment after is the average reward, expressed by φ s and φ t The calculation realizes the dynamic update of the user reward model based on user feedback.
[0025] The next question in the adjustment planning strategy described in step 5 includes establishing the question planning strategy and adjusting the planning strategy, specifically:
[0026] a, in the weight vector φ s and φ t Based on the calculation, the Monte Carlo Tree Search (MCTS) heuristic algorithm is used to select a set of test questions from the question bank according to the feature value of the question to form a question plan with the maximum reward. Each step of selecting a question set is a simulation calculation of R s and R t Then a subset of questions with the largest reward is formed, and each time only the first question in the question set is selected as the next question to be generated in the test paper;
[0027] b, Based on the user feedback at each step, φ in the user reward model update s and φ t Dynamic changes are achieved, ensuring that the planning strategy is automatically adjusted to the user's actual level based on each calculation step.
[0028] The dynamically generated constraints described in step 6 specifically include setting a maximum number of questions on the practice test paper or running out of resources in the question bank.
[0029] Compared with the prior art, the present invention provides a new solution for the intelligent generation method of practice test papers, and has the following beneficial technical effects:
[0030] First, the present invention provides the first method for intelligently generating test papers based on the combination of user participation and reinforcement learning technology;
[0031] Second, the present invention constructs the first user engagement prediction model based on learning action graphs, namely graph convolution-long short-term memory network GCN-LSTM, and the effect is excellent;
[0032] Third, the reward model based on user participation and preference feedback in learning proposed by the present invention achieves consistency between the test content and the user's zone of proximal development in the interaction;
[0033] Fourthly, the planning strategy based on long-term reward value proposed in the present invention realizes situationalization and adaptive dynamic adjustment of practice test questions. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 A flow chart of the intelligent generation method of the practice test paper of the present invention;
[0035] Figure 2 It is a schematic diagram of the graph convolution-long short-term memory network GCN-LSTM participation model of the present invention;
[0036] Figure 3 A schematic diagram showing the comparison of the effect indicators of the GCN-LSTM participation model of the present invention;
[0037] Figure 4 A schematic diagram of a user reward model update program of the present invention;
[0038] Figure 5 A schematic diagram of the topic planning strategy adjustment program of the present invention;
[0039] Figure 6 It is a schematic diagram of the overall process of the present invention;
[0040] Figure 7 It is a schematic diagram for comparing reward effect indicators of the present invention. DETAILED DESCRIPTION
[0041] The specific implementation modes of the present invention are described in detail below in conjunction with the accompanying drawings, but it should be understood that the protection scope of the present invention is not limited by the specific implementation modes.
[0042] Example
[0043] The overall method flow of this embodiment is shown in the attached Figure 1 , which performs intelligent generation of practice test papers according to the following steps:
[0044] Step 1, after completing a question on the practice test paper, collect and observe user feedback, including scores reflecting user test question preferences and user learning participation. In this embodiment, participation is generally divided into increasing type and unchanged / decreasing type, that is, integrated into two types.
[0045] Step 2: User engagement is described by an engagement model, which is constructed by the following steps:
[0046] a. In each session, each operation action of the user is taken as a node. In this embodiment, there are ten types of learning actions, including preview, review, guidance, knowledge diagnosis, learning path, learning report, wrong question book, weak point analysis, practice, and answer. The transition probability between actions is represented by edge. The specific value is calculated according to the Markov Chain Model to construct a directed and weighted action graph;
[0047] b. Each action graph of session t-1, t, and t+1 is converted into a graph embedding vector through a graph convolutional network (GCN). All graph embedding vectors form a sequence and are input into a Long Short-Term Memory Network (LSTM) in sequence. Then, the Softmax layer is applied to realize the final hidden state output h of the LSTM. t-1 、h t 、h t+1 , thus completing the construction of the graph convolution-long short-term memory network GCN-LSTM participation model. For the specific implementation of the graph convolution-long short-term memory network GCN-LSTM participation model, please refer to the attached Figure 2 The performance comparison between this embodiment and the related methods Static GCN and Activity LSTM is shown in the attached figure. Figure 3 , showing that the graph convolution-long short-term memory network GCN-LSTM participation model described in the present invention has the best effect.
[0048] Step 3: Based on the user feedback and model in steps 1 and 2, score the completed test question and directly convert the user score into a reward value. At the same time, observe the graph convolution-long short-term memory network GCN-LSTM engagement model to calculate the user engagement. When it increases, the result is converted into a reward value of +1, and when the user engagement decreases or remains unchanged, the result is converted into a reward value of 0.
[0049] Step 4: Based on the rewards and user status in step 3, the user reward model is established and updated. Figure 4 ,include:
[0050] a. The user reward model R(s,x) is a formal description of the reward for test question x under state s. Its specific rewards include question sequence preference and question transfer preference, that is, R(s,x) = R s (x)+R t(s,x), where the user's topic sequence preference reward R s (x) = φ s (u)·θ s (x), where θ s (x) is the eigenvector representation of question x, φ s (u) represents the weight vector of the user's preference for the topic; the user's topic transfer preference reward The tested question sequence is (x1,x2,…,x k-1 ), the user switches to the kth new question x k The reward is R t , x k-1 The probability of having an impact on the topic transfer reward is 1 / i, r t (x k-1 ,x k )=φ t (u)·θ t (x k-1 ,x k ) indicates that the user has completed question x k-1 Answer the test questions later k The reward here is θ t It is the topic x k-1 and x k The transformed eigenvector representation, φ t A weight vector representing the user's preference for topic conversion;
[0051] b, User test paper question sequence preference weight φ s and the test switching preference φ t In the initial stage, the specific parameter calculation formula is calculated based on user data. and In this embodiment, z s Defined as 10, it indicates the number of user's preferred topics, z t Defined as 10, indicating the number of title conversions retrieved, nbins s is the percentile description of the question characteristics, (nbins s ) 2 is the number of transformation descriptions of the topic features;
[0052] c, the user starts from the k-1th test question x k-1 Go to kth track x k The formal description of updating the user reward model based on user feedback is and The weight of the model update is defined as and v k Complete the test x k The reward value after Is the reward received k The reward value increment after is the average reward, expressed by φ s and φ t The calculation realizes the dynamic update of the user reward model based on user feedback.
[0053] Step 5: According to the user reward model updated in step 4, adjust the next question in the planning strategy, including planning strategy and planning strategy adjustment. The program diagram of this embodiment is shown in the attached Figure 5 ,include:
[0054] a, in the weight vector φ s and φ t Based on the calculation, the Monte Carlo Tree Search (MCTS) heuristic algorithm is used to select a set of test questions from the question bank according to the feature value of the question to form a question plan with the maximum reward. Each step of selecting a question set is a simulation calculation of R s and R t Then a subset of questions with the largest reward is formed, and each time only the first question in the question set is selected as the next question to be generated in the test paper;
[0055] b, φ in the user reward model update based on user feedback s and φ t Dynamic changes are achieved, ensuring that the planning strategy is automatically adjusted to the user's actual level based on each calculation step.
[0056] Step 6: Continue to execute steps 1-5 according to the questions adjusted by the planning strategy until the dynamic generation constraints are met to realize the intelligent generation of the practice test paper. The specific dynamic generation constraints include the set maximum number of questions or the exhaustion of resources in the question bank. In the embodiment, q=10 is set as the number of test paper questions. For the overall program of the practice test paper question generation implementation, please refer to the attached Figure 6 For a performance comparison between this embodiment and the related baseline strategies Random and Greedy, see the attached Figure 7 , which shows that the reward index of the method proposed in this invention is optimal.
[0057] The above is only a specific implementation of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical solution and inventive concept of the present invention within the scope disclosed by the present invention, which are all included in the protection scope of the present invention.
Claims
1. A method for intelligently generating a practice test paper, characterized in that: Follow the steps below to create a practice test paper intelligently: Step 1: After completing a question on the practice test paper, collect and observe user feedback; Step 2: Build a user engagement model based on user behavior; Step 3: Convert the user rating feedback and participation feedback in steps 1 and 2 into user reward value; Step 4: Establish and update the user reward model based on the reward and user status in step 3; Step 5: According to the user reward model updated in step 4, adjust the next question in the planning strategy; Step 6, according to the questions adjusted by the planning strategy in step 5, continue to execute steps 1-5 until the dynamic generation constraints are met, and the intelligent generation of the practice test paper is realized; wherein: The user feedback in step 1 specifically includes scores reflecting topic preferences and learning participation, where participation is expressed in three types: increase, unchanged, and decrease; Constructing the user engagement model described in step 2 includes the following steps: a. In each session, each user action is taken as a node, and the transition probability between actions is represented by edge. The specific value is calculated according to the Markov Chain Model to construct a directed and weighted action graph; b. The directed and weighted action graph of each session is converted into a graph embedding vector through the graph convolutional network (GCN). All graph embedding vectors form a sequence and are input into the Long Short-Term Memory Network (LSTM) in sequence. Then, the Softmax layer is applied to realize the final hidden state output of LSTM, thus completing the construction of the graph convolution-long short-term memory network (GCN-LSTM) engagement model. The reward value described in step 3 specifically includes: The user can score a completed test question, and the specific score is directly converted into a reward value; The user engagement is calculated through the graph convolution-long short-term memory network, i.e., the GCN-LSTM engagement model, and when its value increases, it is converted into a reward value of +1; The user engagement is calculated through the graph convolution-long short-term memory network, i.e., the GCN-LSTM engagement model, and its value is converted into a reward value of 0 when it remains unchanged; The user engagement is calculated through the graph convolution-long short-term memory network, i.e., the GCN-LSTM engagement model, and when its value decreases, it is also converted into a reward value of 0; Step 4 describes the establishment and update of the user reward model, specifically including: a. The user reward model R(s,x) is a formal description of the reward for test question x under state s. Its specific rewards include question sequence preference and question transfer preference, that is, R(s,x)=Rs(x)+Rt(s,x), where the user's question sequence preference reward Rs(x)=φs(u)·θs(x), where θs(x) is the feature vector representation of question x, and φs(u) represents the weight vector of the user's preference for the question; the user's question transfer preference reward The sequence of tested questions is (x1, x2, …, xk-1). The reward for the user switching to the kth new question xk is Rt, x k-1 The probability of having an impact on the topic transfer reward is 1 / i, r t (x k-1 ,x k )=φt(u)·θt(x k-1 ,x k ) indicates that the user has completed question x k-1 Answer the test questions later k The reward is θt, where θt is the question x k-1 and x k The transformed feature vector represents,φt represents the weight vector of the user's preference for question transformation; b. The user's test paper question sequence preference weight φs and question conversion preference φt are calculated based on user data in the initial stage. The specific parameter calculation formula is and Where zs is the number of user's preferred topics, zt is the number of searched topic conversions, and nbins s is the percentile description of the question characteristics, (nbins s ) 2 is the number of transformation descriptions of the topic features; c, the user starts from the k-1th test question x k-1 Go to question k x k When the formal description parameter of the user reward model is updated according to user feedback, and The weight of the model update is defined as and v k Complete the test x k The reward value after Is the reward received k The reward value increment after is the average reward value, which is calculated through φs and φt to dynamically update the user reward model based on user feedback; The next question in the adjustment planning strategy described in step 5 includes establishing the question planning strategy and adjusting the planning strategy, specifically: a. Based on the calculation of weight vectors φs and φt, the Monte Carlo Tree Search (MCTS) heuristic algorithm is used to select a set of test questions from the question bank according to the feature values of the questions to form a question plan with the maximum reward. Each step of selecting a set of test questions is to simulate the calculation of Rs and Rt to form a subset of questions with the maximum reward, and each time only the first question in the set of questions is selected as the next question to be generated in the test paper; b. Based on the user feedback at each step, φs and φt in the user reward model update are dynamically changed, ensuring that the planning strategy is automatically adjusted to adapt to the user's actual level based on each step of calculation.
2. The method for intelligently generating a practice test paper according to claim 1, characterized in that: The dynamically generated constraints described in step 6 specifically include setting a maximum number of questions on the practice test paper or running out of resources in the question bank.
