A knowledge tracking method and system based on human-in-the-loop

Through a human-in-the-loop knowledge tracking method, combined with simple and effective models and manual teacher evaluation, the problems of deep learning model complexity and prediction errors are solved, and the accuracy and reliability of knowledge tracking are improved, making it suitable for educational applications.

CN117744783BActive Publication Date: 2024-08-27JINAN UNIVERSITY +1
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410126412.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-29
Publication Date
2024-08-27
Estimated Expiration
2044-01-29

AI Technical Summary

Technical Problem

Existing knowledge tracking models based on deep learning are complex and costly to train, and prediction errors are difficult to eliminate, affecting the effectiveness of educational applications.

Method used

A knowledge tracking method based on human-in-the-loop is proposed. By constructing a simple and effective knowledge tracking model, combined with the secondary correction of artificial teachers, the accuracy of the prediction results is improved. The problem encoder, knowledge acquisition module and prediction function layer are used to calculate Confidence scores and perform human evaluation on low-confidence samples.

Benefits of technology

It improves the prediction accuracy and reliability of the knowledge tracking model, reduces prediction errors in educational applications, and enhances the applicability of the model in real environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117744783B
    Figure CN117744783B
Patent Text Reader

Abstract

The present invention discloses a knowledge tracking method and system based on human in the loop, comprising the following steps: constructing a knowledge tracking model based on a student's question set, and predicting the student's performance based on the knowledge tracking model; calculating the confidence score of the knowledge tracking model for each prediction result; and performing a second correction by an artificial teacher for samples with a confidence score lower than a preset threshold to achieve knowledge tracking. The method proposed in the present invention can model the student's question sequence information and improve the accuracy of the joint prediction results of the knowledge tracking model and the artificial teacher. The proposed system can promote the deployment of the knowledge tracking model in educational applications.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of knowledge tracing, and in particular relates to a knowledge tracing method and system based on human-in-the-loop. Background Art

[0002] In recent years, the popularity of online teaching has increased significantly worldwide. The widespread popularity of online education has led to a large amount of exercise information and data available for knowledge tracing research. As online teaching continues to develop, the large amount of exercise data generated by students provides a valuable opportunity to enhance knowledge tracing methods and contribute to the advancement of personalized and adaptive learning experiences.

[0003] The knowledge tracking task is to track the learner's knowledge status and predict the learner's future performance based on the interaction records generated by the learner in past learning activities. It is one of the key research areas in online education. Figure 1 An illustrative example of knowledge tracking is shown. When a student encounters a new question, the present invention needs to estimate the probability of answering the fifth question correctly based on the correctness of the first four questions. The student's mastery of the knowledge points determines his ability to answer questions correctly. It should be noted that a question may be associated with one or more knowledge points.

[0004] The existing popular knowledge tracing methods are mainly divided into two types: machine learning and deep learning. Machine learning-based methods have attracted public attention because they provide low-cost predictions of student performance in large-scale online learning, thereby helping teachers detect students' learning status or provide personalized suggestions for students. The earliest machine learning-based method can be traced back to 1995, when Corbett and Anderson first introduced the concept of knowledge tracing. They used hidden Markov models (HMM) to model the learner's knowledge status and used Bayesian networks to model the learner's learning process. This method is called Bayesian Knowledge Tracing (BKT). The context guessing and sliding models proposed by Baker et al. in 2008 increased the complexity of Bayesian knowledge tracing by adding regression steps and feature generation, and showed positive gains compared with the original Bayesian knowledge tracing in internal validation tests.

[0005] Recently, a large number of knowledge tracing studies have proposed deep learning-based knowledge tracing models (DLKT) to further simulate students' learning process and achieve better results. In 2015, deep knowledge tracing (DKT) first introduced deep learning into knowledge tracing, using recurrent neural networks (RNN) or long short-term memory (LSTM) to model the learner's knowledge state. Compared with the hidden Markov model in BKT, RNN and LSTM have high-dimensional and continuous potential state representations, which enables DKT to more accurately capture the learner's knowledge state changes. In 2017, Zhang et al. proposed the Dynamic Key-Value Memory Networks (DKVMN), which mainly developed two memory networks to capture the potential relationship between knowledge concepts and dynamically estimate the student's knowledge state. In 2019, Nakagawa et al. used graph neural networks (GNN) to obtain the relationship dependency between knowledge concepts. At the same time, Pandey and Karypis proposed a model based on attention mechanism to capture the long-term dependencies between students' learning interactions and future questions. Later, Ghosh et al. further proposed a monotonic self-attention mechanism to enhance the original self-attention network by considering the exponential decay of context-aware distance.

[0006] However, the modeling method of knowledge tracking models based on deep learning is becoming increasingly complex, and the model architecture is large, with many parameters and high training costs. At the same time, potential prediction errors generated by knowledge tracking models are inevitable and difficult to eliminate. These errors may mislead teachers and students and interfere with students' reasonable learning process. In order to promote the application of knowledge tracking models in real educational environments, it is crucial to ensure the high-quality predictions they generate. Summary of the invention

[0007] In view of the shortcomings of the existing technology, the present invention proposes a knowledge tracking method and system based on human-in-the-loop. The method can model the sequence information of students' questions and improve the accuracy of the joint prediction results of the knowledge tracking model and the human teacher. The proposed system can promote the deployment of the knowledge tracking model in educational applications.

[0008] To achieve the above object, the present invention provides the following solutions:

[0009] A knowledge tracking method based on human-in-the-loop includes the following steps:

[0010] constructing a knowledge tracking model based on the student's question set, and predicting the student's performance based on the knowledge tracking model;

[0011] Calculating the confidence score of the knowledge tracking model for each prediction result;

[0012] For samples with confidence scores below the preset threshold, manual teachers will conduct secondary corrections to achieve knowledge tracking.

[0013] Preferably, the knowledge tracking model includes: a question encoder, a knowledge acquisition module and a prediction function layer;

[0014] The question encoder is used to map each student's question-answering interaction into a latent embedding space;

[0015] The knowledge acquisition module is used to model and transfer knowledge of evaluation interactions at each time step using an attention mechanism;

[0016] The prediction function layer is used to estimate the student's performance on future questions based on the established model and the transferred knowledge.

[0017] Preferably, the method for calculating the confidence score of the knowledge tracking model for each prediction result includes:

[0018]

[0019] in, is the trust score, h t+1 is the embedding representation of the predicted topic, h s is the embedding representation of the question with the same label as the predicted label, h c The embedding representation of the closest topic with different labels;

[0020] The method of calculating the confidence score of each prediction result of the knowledge tracking model also includes:

[0021] Think of the posterior probability as a confidence score.

[0022] Preferably, for samples whose confidence scores are lower than a preset threshold, the method of performing a second manual teacher correction includes:

[0023] The confidence threshold φ obtained through training is used to divide the set D of all predictions of n students’ performance into two subsets, where D m is the subset of samples with confidence scores higher than φ, D f is the subset of samples whose confidence score is less than φ;

[0024] D m The prediction result is expressed as Pm ;

[0025] D f The exercises in are re-evaluated by a human teacher, and the corresponding re-evaluation results are denoted as P f ;

[0026] P m and P f Merge into the final result P.

[0027] The present invention also provides a knowledge tracking system based on human-in-the-loop, comprising: a construction module, a calculation module and a correction module;

[0028] The construction module is used to construct a knowledge tracking model based on the student's question set, and predict the student's performance based on the knowledge tracking model;

[0029] The calculation module is used to calculate the confidence score of the knowledge tracking model for each prediction result;

[0030] The correction module is used to perform secondary correction by a human teacher on samples whose confidence scores are lower than a preset threshold, thereby realizing knowledge tracking.

[0031] Preferably, the knowledge tracking model includes: a question encoder, a knowledge acquisition module and a prediction function layer;

[0032] The question encoder is used to map each student's question-answering interaction into a latent embedding space;

[0033] The knowledge acquisition module is used to model and transfer knowledge of evaluation interactions at each time step using an attention mechanism;

[0034] The prediction function layer is used to estimate the student's performance on future questions based on the established model and the transferred knowledge.

[0035] Preferably, the process of calculating the confidence score of the knowledge tracking model for each prediction result includes:

[0036]

[0037] in, is the trust score, h t+1 is the embedding representation of the predicted topic, h s is the embedding representation of the question with the same label as the predicted label, h c The embedding representation of the closest topic with different labels;

[0038] The process of calculating the confidence score of each prediction result of the knowledge tracking model also includes:

[0039] Think of the posterior probability as a confidence score.

[0040] Preferably, for samples whose confidence scores are lower than a preset threshold, the process of performing a second manual teacher correction includes:

[0041] The confidence threshold φ obtained through training is used to divide the set D of all predictions of n students’ performance into two subsets, where D m is the subset of samples with confidence scores higher than φ, D f is the subset of samples whose confidence score is less than φ;

[0042] D m The prediction result is expressed as P m ;

[0043] D f The exercises in are re-evaluated by a human teacher, and the corresponding re-evaluation results are denoted as P f ;

[0044] P m and P f Merge into the final result P.

[0045] Compared with the prior art, the present invention has the following beneficial effects:

[0046] The present invention discloses a knowledge tracing method and system based on human-in-the-loop, which mainly consists of three parts: (1) model prediction: a simple and effective knowledge tracing model is developed in the system to improve the accuracy of predicting student performance; (2) confidence estimation: the confidence score of the knowledge tracing model for each prediction result is calculated to measure the reliability of the prediction result; (3) human-in-the-loop: samples with low confidence are manually corrected for the second time to improve the overall prediction quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the technical solution of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0048] Figure 1 It is a schematic diagram of the knowledge tracking problem in the prior art;

[0049] Figure 2 A schematic diagram of a knowledge tracking method based on human-in-the-loop in an embodiment of the present invention;

[0050] Figure 3 It is an overall framework diagram of the knowledge tracking model in an embodiment of the present invention;

[0051] Figure 4 A schematic diagram of the influence of different confidence scores on different teacher participation rates in an embodiment of the present invention;

[0052] Figure 5 A schematic diagram of the relationship between the total evaluation cost and the overall prediction performance of the present invention in an embodiment of the present invention;

[0053] Figure 6 It is a specific implementation flow chart in an embodiment of the present invention. DETAILED DESCRIPTION

[0054] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0055] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0056] The goal of the knowledge tracking task is to give a student's interactive information of answering questions at t moments in chronological order. The probability p of whether a student will answer question q correctly is a collection of * Specifically, s j is an ordered four-tuple, namely where q j , r j and t j Represents a specific question, a set of relevant knowledge points for the question, the student's answer, and a timestamp. The answer information is represented by r j ∈{0, 1}, where 1 represents the correct answer and 0 otherwise. In addition, the binary adjacency matrix Usually called the Q matrix, it represents the relationship between the question and the knowledge point. The Q matrix consists of 0 and 1, where each unit R ij Represents question q i Does it cover knowledge point c? j If the question q i Need to use knowledge concept c j To solve, then a specific cell R in the matrix ij =1. On the contrary, R ij =0.

[0057] In this context, the knowledge tracking method can be constructed as a probabilistic model, represented as a mapping function based on a deep neural network. To predict students’ future performance:

[0058] Embodiment 1

[0059] like Figure 2 As shown, the present invention provides a knowledge tracking method based on human-in-the-loop, comprising the following steps:

[0060] Based on the students’ question sets, a knowledge tracking model is constructed, and based on the knowledge tracking model, the students’ performance is predicted;

[0061] Calculate the confidence score of the knowledge tracking model for each prediction result;

[0062] For samples with confidence scores below the preset threshold, manual teachers will conduct secondary corrections to achieve knowledge tracking.

[0063] In this embodiment, firstly, a knowledge tracking model QRAKT with a simple architecture but good effect is designed. The model structure mainly includes the following modules: question encoder, knowledge acquisition module and prediction function layer. The overall model architecture is as follows Figure 3 shown.

[0064] The question encoder is the embedding module of the model, which is responsible for mapping each student's question-answering interaction to a latent embedding space. In the question bank of educational scenarios, the number of questions usually far exceeds the number of knowledge points. For example, in the open source Algebra2005 dataset related to the knowledge tracking field, the number of questions is more than 1,500 times the number of knowledge points. Due to the sparsity of data, most existing studies adopt index modeling of knowledge points instead of focusing on the questions themselves. This modeling method ignores the differences between questions covering the same knowledge point. Therefore, the design goal of the question encoder is to improve the existing knowledge tracking model by capturing the intrinsic relationship between questions and knowledge points in more detail. First, the initial embedding of questions and knowledge points is obtained by training two independent latent representation matrices.

[0065] q t =W q ·q t ;c t =W c ·c t ;

[0066] in, and Q and C represent the total number of questions and knowledge points in dataset D, respectively. d is the embedding dimension for model training, and · is a standard matrix or vector multiplication.

[0067] In order to enhance the problem representation, we choose to combine the problem embedding with its related knowledge point embedding to obtain a more accurate representation. Specifically, the problem q at time t will be constructed as:

[0068]

[0069]

[0070] in, and are trainable parameters. For identification problem q t The indicator function of the knowledge points contained in .

[0071] The interactive embedding of the student's past completed exercises is represented as a combination of the question and its corresponding correct or incorrect answer. The correct or incorrect information of the student's answer is represented as a feature vector and concatenate it to the problem embedding x t Then, it is fed through a fully connected neural network (Feed Forward Network, FFN) with ReLU activation function:

[0072]

[0073] in, and is a trainable parameter.

[0074] The knowledge acquisition module uses the attention mechanism to model the evaluation interaction and transfer knowledge at each time step. Compared with recurrent neural networks and memory neural networks, the attention mechanism has shown higher flexibility and better performance in various tasks, and has been effectively applied in the field of knowledge tracking. Most knowledge tracking models using attention mechanisms use absolute position encoding to store the position information of the student's question sequence, such as sine-cosine function encoding or learnable position encoding. Although these methods have achieved good results, in the context of knowledge tracking tasks, the historical interaction information that students rely on when solving problems may be limited to the most recent time window. For example, if a student has completed a hundred exercises in the past, the current level of knowledge mastery may be mainly reflected in the most recent ten to twenty exercises. Therefore, it is recommended to integrate relative position encoding into the knowledge tracking model to enhance its effectiveness. By giving more attention to the most recent question-solving interactions, rather than treating all past answer records equally.

[0075] Specifically, for questions i and t in the student interaction sequence, where 1≤i<t, two position encoding vectors are used: and Used to store the relative position information between the two questions.K and pos V It is integrated into the original scaled dot product attention formula for calculation.

[0076]

[0077]

[0078]

[0079] It is worth noting that these vector representations are not only related to one attention head, but also shared among multiple attention heads. At the same time, consider pruning the relative position encoding, with the ultimate goal of limiting the maximum relative position to a fixed value k. The benefit is that in actual operation, pos K and pos V The generation of does not depend on a specific interaction length, which gives the knowledge tracing model better generalization ability.

[0080]

[0081]

[0082] clip(ti,k)=max(0,min(ti,k));

[0083] The final relative position is expressed as and

[0084] The prediction function layer estimates the student's performance on future questions. Based on the representations learned by the above modules, the prediction layer uses the extracted features and patterns to estimate the student's performance. Specifically, the output of the upper module passes through another feed-forward neural network (FFN) to generate the final prediction probability:

[0085] o t+1 =ReLU(W3·[h t , x t+1 ]+b3);

[0086] p t+1 =σ(W5·ReLU(W4·o t+1 +b4)+b5);

[0087] in, b5 is a trainable parameter, b5 is a scalar, and σ(·) represents the Sigmoid activation function.

[0088] In addition, in order to further explore the relationship between questions and knowledge points, consider modeling it as the similarity between the two. Specifically, the inner product of the vectors is used to estimate the implicit similarity between questions and knowledge points in the embedding space:

[0089]

[0090] Among them, the Sigmoid activation function σ(·) is responsible for converting the inner product value into similarity

[0091] The goal of model training is to minimize the negative log-likelihood of the student answer sequence observed under the model, and use the cross entropy objective function to minimize the empirical loss on the training data:

[0092]

[0093] In addition, the local similarity between the question and the knowledge point is approached by the cross entropy objective function:

[0094]

[0095] Finally, the overall objective function of the model is defined as a linear combination of two loss functions:

[0096]

[0097] Among them, λ is a hyperparameter that controls the proportion of the relationship between questions and knowledge points in the overall training objective.

[0098] In this embodiment, how to evaluate the quality of the prediction results provided by the knowledge tracking model is a key part. A common confidence estimation method is to regard the posterior probability as a confidence score. In actual operation, for the prediction results of the knowledge tracking model, a standard β is usually set to measure the reliability of the prediction results. The smaller the distance from the standard β, the lower the reliability of the prediction results generated by the knowledge tracking model.

[0099]

[0100] Among them, β is a hyperparameter, which represents the uncertainty boundary of the model prediction results.

[0101] In addition, the method of detecting confidence by calculating the trust score (TrustScore) is also applied in the system. The trust score is a metric to measure the reliability of the prediction, and its accuracy is based on the distance between the target data and its nearest data in the training data. The idea behind it is that when the predicted data is closer to the nearest training data with the same label and farther away from the nearest training data with different labels, the reliability of the prediction is higher. Specifically in this system, it is calculated as follows:

[0102] Given a set of question vector representations and their labels in the training set {(h1, r1),...,(h t , r t )} and the vector representation h of the predicted question t+1 (This vector represents the vector representation of the question in the corresponding model after passing through the question encoder and knowledge acquisition module) and its predicted label The questions in the training set are represented as the set Collect the representations in the training data that have the same label as the predicted label, which is reflected as a set:

[0103]

[0104] Trust Score Calculated as the embedded target representation h of the predicted title t+1 The two data representations h in the training data s and h c The ratio of the Euclidean distance d(·) between:

[0105]

[0106] Among them, h s is the embedding representation of the question with the same label as the predicted label, h c The nearest embedding representation of topics with different labels:

[0107]

[0108]

[0109] From the formula, we can see that the higher the trust score, the higher the confidence of the model prediction.

[0110] In this embodiment, human-in-the-loop is a method that uses the complementarity of human and machine intelligence to improve the performance of intelligent models with the help of human cognition. Human experts participate in the process of machine learning, provide domain expertise and judgment, correct model errors, and optimize the model's prediction results. Through human-machine collaboration, the shortcomings of intelligent models in complex tasks can be compensated, and the accuracy and interpretability of the model can be improved. Introducing human-in-the-loop in the deployment of knowledge tracking models can effectively solve the problem of possible prediction errors in knowledge tracking models, improve the prediction quality of the model, and provide more accurate and reasonable guidance for teachers and students.

[0111] Since the knowledge tracking model cannot achieve zero error, and a well-trained artificial teacher can avoid errors with a high probability, the artificial teacher can re-evaluate the unreliable exercise evaluation results obtained to avoid model prediction errors and achieve a higher overall accuracy. Specifically, after calculating the confidence score, a confidence threshold φ is predefined to divide all the prediction sets D of n student performances into two subsets: D m is a subset of samples with confidence higher than φ, D f is the subset of samples with confidence scores less than φ:

[0112]

[0113]

[0114] D f =D\D m ;

[0115] D m The prediction result is denoted as P m . D f The exercises in need to be re-evaluated by a human teacher, and the corresponding re-evaluation results are denoted as P f Finally, P m and P f Merge into the final result P. In order to balance the evaluation cost f c The prediction quality of the result P is determined by minimizing the human cost:

[0116] f c (c m , c f , D m , D f )=c m ×|D m |+c f ×|D f |;

[0117] Accuracy(P)≥acc must be satisfied;

[0118] Among them, c m and c f Denote the set D m and D f The evaluation cost of the calculation. In addition, the accuracy of the final prediction result P needs to be higher than the set accuracy acc to meet the requirements of real-world educational scenarios.

[0119] Embodiment 2

[0120] The present invention also provides a knowledge tracking system based on human-in-the-loop, comprising: a construction module, a calculation module and a correction module;

[0121] The construction module is used to construct a knowledge tracking model based on the student's question set, and predict the student's performance based on the knowledge tracking model;

[0122] The calculation module is used to calculate the confidence score of the knowledge tracking model for each prediction result;

[0123] The correction module is used to perform secondary correction by a human teacher on samples whose confidence scores are lower than a preset threshold, thereby realizing knowledge tracking.

[0124] In this embodiment, the knowledge tracking model includes: a question encoder, a knowledge acquisition module and a prediction function layer;

[0125] The question encoder is used to map each student's question-answering interaction into a latent embedding space;

[0126] The knowledge acquisition module is used to model and transfer knowledge of evaluation interactions at each time step using an attention mechanism;

[0127] The prediction function layer is used to estimate the student's performance on future questions based on the established model and the transferred knowledge.

[0128] In this embodiment, the process of calculating the confidence score of each prediction result of the knowledge tracking model includes:

[0129]

[0130] in, is the trust score, h t+1 is the embedding representation of the predicted topic, h s is the embedding representation of the question with the same label as the predicted label, h c is the representation of the closest topic embedding with different labels.

[0131] In this embodiment, for samples whose confidence scores are lower than a preset threshold, the process of performing a second manual teacher correction includes:

[0132] A confidence threshold φ is defined in advance, and the set D of all predictions of n students’ performance is divided into two subsets, where D m is the subset of samples with confidence scores higher than φ, D f is the subset of samples whose confidence score is less than φ;

[0133] D m The prediction result is expressed as P m ;

[0134] D f The exercises in are re-evaluated by a human teacher, and the corresponding re-evaluation results are denoted as P f ;

[0135] P m and P f Merge into the final result P.

[0136] Embodiment 3

[0137] The present invention is evaluated through a series of experiments. First, the proposed knowledge tracking model QRAKT is evaluated in the student performance prediction task. Second, in order to ensure the reliability of the confidence score predicted by the model, the correlation between the confidence estimate and the accuracy of the proposed method is explored. Finally, empirical experiments are conducted to verify the effectiveness of the present invention in educational scenarios.

[0138] Some popular knowledge tracing models in the current field are used to evaluate the performance of the knowledge tracing model of the present invention in predicting student performance tasks.

[0139] In order to comprehensively and systematically evaluate the performance, five of the most popular and classic deep knowledge tracing (DLKT) models are selected as benchmark models for comparison.

[0140] Specifically, deep temporal models: Deep temporal models such as long short-term memory (LSTM) and gated recurrent unit (GRU) are used to capture chronological interaction sequences. The following are the specific models selected for experimental evaluation:

[0141] -DKT: This model uses LSTM to model the student’s learning process to estimate their future performance.

[0142] -DKT+: An improved version of DKT to address reconstruction and inconsistent prediction issues.

[0143] -DKT-F: An extended version of DKT used to model students' forgetting behavior.

[0144] -KQN: A recurrent neural network (RNN)-based architecture that extracts the relationship representation between students’ learning abilities and knowledge concept components to predict their performance.

[0145] -qDKT: A variation of the DKT that simulates students' responses to individual questions over a period of time.

[0146] Specifically, the memory enhancement model: through external memory iterative update, the potential relationship between modeled knowledge points is clearly defined. The following is the specific model selected for experimental evaluation:

[0147] -DKVMN: It combines a static matrix to store the relationship between knowledge concepts and a dynamic matrix to track the students' knowledge status.

[0148] -SKVMN: combines DKVMN and LSTM, using the HopLSTM layer to capture the temporal dependencies of the exercises.

[0149] -DeepIRT: Combines DKVMN with Item Response Theory (IRT) to enhance the interpretability of DKVMN’s prediction output.

[0150] Specifically, the model based on adversarial learning: using adversarial technology to generate perturbations to improve the generalization ability of the model. The following are the specific models selected for experimental evaluation:

[0151] -ATKT: Enhances generalization ability by adversarially perturbing the student interaction sequence and modeling it through an attention-based LSTM model.

[0152] Specifically, the graph-based model: The interaction between students and questions and the knowledge association between questions and knowledge points constitute a three-part graph, and graph-based techniques are applied to aggregate the above relationships. The following is the specific model selected for experimental evaluation:

[0153] -GKT: Use graph structures to model and predict student response performance.

[0154] Specifically, the attention-based model captures the dependencies between students’ interactive information through the attention mechanism and its variants. The following is the specific model selected for the experimental evaluation:

[0155] -SAKT: Uses self-attention mechanism to determine the relevance of historical interactions and future performance.

[0156] -SAINT: A Transformer-based knowledge tracking model that encodes question information in the encoder and answer information in the decoder.

[0157] -AKT: Uses a monotonic attention mechanism with exponential decay to measure the context-dependent relative distance between exercises and answers.

[0158] The experiment uses two key indicators to evaluate the effectiveness of the model of the present invention: AUC (Area Under Curve) and Accuracy. Higher AUC and Accuracy indicate that the model has stronger predictive ability. The results are shown in Table 1 below, reporting the mean and standard deviation of the five-fold cross-validation results on the open source dataset, where the best model is in bold and the second-best model is underlined. The proposed knowledge tracking model QRAKT outperforms all other models in three different datasets. This means that QRAKT is good at capturing relevant information contained in large-scale real-world learner response datasets.

[0159] Table 1

[0160]

[0161] Secondly, the correlation between the confidence estimation and the accuracy performance of the proposed invention is explored.Based on the results of the task of predicting student performance, two models, AKT and qDKT, are included in the comparative experiment of the present invention because of their unique advantages and features that contribute to effective prediction.

[0162] In order to obtain analyzable experimental results, artificial teachers are simulated considering the complexity of real education scenarios and the different professional levels of teachers. For simplicity, two levels of artificial teachers are set in the simulation, including senior teachers and intermediate teachers. Senior and intermediate teachers can achieve 95% and 90% question correction accuracy respectively.

[0163] Down Figure 4 The effect of different confidence scores on different teacher participation rates and the different overall prediction performance in terms of accuracy on the three datasets are shown. The model prediction result ratio indicates the proportion of the total number of questions in the dataset that are predicted using the model. Figure 4 It can be seen that: (1) when only the prediction results of the knowledge tracking model are used (the participation rate of the artificial teacher is 0%), the accuracy results are relatively low in all data sets, which indicates that there are errors in the prediction of the knowledge tracking model; (2) as the participation rate of the artificial teacher in the present invention increases, the overall accuracy shows an upward trend on all data sets, and the improvement rate of the model of the present invention is higher than that of the other two benchmark models. When the prediction results of the artificial teacher and the knowledge tracking model are combined, the accuracy can exceed the teacher's correction accuracy on the Algebra2005 and XES3G5M data sets. This shows that the present invention has the potential to achieve better results at a lower cost without the need to fully utilize artificial teachers to correct test questions.

[0164] Finally, the relationship between the total evaluation cost and the overall prediction performance of the present invention is further analyzed.

[0165] For cost measurement, the prediction costs of the model, senior teachers, and intermediate teachers on a single question are set to 0.01, 5, and 1, respectively. This design concept is based on the fact that the cost of model training should be significantly lower than the labor cost in practical applications. At the same time, the cost of hiring a senior teacher should also exceed the cost of an intermediate teacher. The sum of the costs of each interactive prediction is then further calculated as an auxiliary evaluation indicator.

[0166] Down Figure 5 The present invention balances cost and accuracy on three data sets. The following conclusions can be drawn from the figure: (1) When simulating the prediction of student performance by artificial teachers on the Algebra2005 and XES3G5M data sets, there are some inflection points in the figure, indicating that the combination of the knowledge tracking model and artificial teachers can achieve or even exceed the correction accuracy of artificial teachers at a lower cost than pure artificial teachers. This shows that the joint prediction ability of artificial teachers and knowledge tracking models can simultaneously control costs and improve accuracy. (2) For the overall prediction results with an accuracy threshold ranging from 0.70 to 1.00 and a step size of 0.05, QRAKT always achieves the lowest evaluation cost, while the costs of AKT and qDKT are relatively high. (3) When the minimum accuracy requirement is less than 95%, it is more cost-effective to use intermediate teachers. If you tend to generate more accurate results, you can hire more senior teachers to obtain better student prediction performance. This shows that the system of the present invention is flexible to adapt to various real educational scenarios.

[0167] Through scientific analysis and experimental verification, it can be found that the present invention can achieve cost control while improving the accuracy of overall prediction.

[0168] The specific flow chart is as follows Figure 6 As shown:

[0169] To evaluate the effectiveness of the proposed invention, it is implemented on three public datasets that are widely used in existing studies.

[0170] "Algebra 2005-2006" (Algebra2005 for short) is an open source dataset provided by the KDD Cup 2010 EDM Challenge, which contains answers to junior high school algebra questions by 13-14 year old students. Students need to complete various exercises to determine their proficiency in related knowledge points. The dataset contains 884,098 test records, 4,712 students, 173,113 questions, and 112 knowledge points.

[0171] "XES3G5M" is a large-scale open source dataset that collects rich learning interaction auxiliary information through a Chinese online mathematics learning platform, including 7,652 questions and 865 knowledge points, as well as 5,549,635 question-solving records from 18,066 students. This dataset not only has the most knowledge points in the field of mathematics, but also contains the richest contextual information, including knowledge point relationships, question types, question text content, and student response timestamps.

[0172] "Ednet" is one of the largest publicly available datasets in the field of knowledge tracking, collecting 131,441,538 learning records from the Korean AI English tutoring system Santa, covering the exercise answering process of 784,309 students preparing for the TOEFL listening and reading exams.

[0173] During the experiment, in order to avoid the difference in results due to different sample sizes of the data sets, 10,000 student interaction sequences were randomly sampled in each data set for evaluation. The sampling times were ten times, and the experimental results were statistically the average results of the ten samplings.

[0174] The specific implementation process is as follows:

[0175] The dataset is preprocessed and divided into prediction set, validation set and training set with a ratio of 20%, 20% and 60%.

[0176] The deep knowledge tracking model designed in the present invention is trained using the training set and the validation set to improve the accuracy of student performance.

[0177] After the model training is completed, the confidence scores of all prediction results are calculated on the prediction set to detect the reliability of the prediction results.

[0178] For samples with lower confidence, they are regarded as unreliable samples and assigned to manual teachers for secondary correction.

[0179] The embodiments described above are only descriptions of the preferred embodiments of the present invention and are not intended to limit the scope of the present invention. Without departing from the design spirit of the present invention, various modifications and improvements made to the technical solutions of the present invention by ordinary technicians in this field should all fall within the protection scope determined by the claims of the present invention.

Claims

1. A knowledge tracking method based on human-in-the-loop, characterized in that: The following steps are involved: constructing a knowledge tracking model based on the student's question set, and predicting the student's performance based on the knowledge tracking model; Calculating the confidence score of the knowledge tracking model for each prediction result; For samples with confidence scores below the preset threshold, manual teachers will conduct secondary corrections to achieve knowledge tracking; The knowledge tracking model includes: a question encoder, a knowledge acquisition module and a prediction function layer; The question encoder is used to map each student's question-answering interaction into a latent embedding space; The knowledge acquisition module is used to model and transfer knowledge of evaluation interactions at each time step using an attention mechanism; The prediction function layer is used to estimate the student's performance on future questions based on the established model and the transferred knowledge; The question encoder is the embedding module of the model, which is responsible for mapping each student's question-answering interaction into a latent embedding space. The design goal of the question encoder is to improve the existing knowledge tracking model by capturing the intrinsic relationship between questions and knowledge points. First, the initial embeddings of questions and knowledge points are obtained by training two independent latent representation matrices. q t =W q ·q t ;c t =W c ·c t ; in, and Q and C represent the total number of questions and knowledge points in the dataset D, respectively; d is the embedding dimension for model training, and · is a standard matrix or vector multiplication; We choose to combine the question embedding with the related knowledge point embedding to obtain a more accurate representation; specifically, the question q at time t will be constructed as: in, and is a trainable parameter; For identification problem q t The indicator function of the knowledge points contained in ; The interactive embedding of the student's past completed exercises is represented as a combination of the question and the corresponding correct or incorrect answer; the correct or incorrect information of the student's answer is represented as a feature vector and connected to the problem embedding x t On; subsequently, it is fed through a fully connected neural network FFN with a ReLU activation function: in, and is a trainable parameter; The knowledge acquisition module uses the attention mechanism to model the evaluation interaction and transfer knowledge at each time step; integrates relative position encoding into the knowledge tracking model; and gives more importance to the most recent question-solving interaction instead of treating all past answer records equally; Specifically, for questions i and t in the student interaction sequence, where 1≤i<t, two position encoding vectors are used: and Used to store the relative position information between the two questions; then pos K and pos V It is integrated into the original scaled dot product attention formula for calculation; These vector representations are not only related to one attention head, but also shared among multiple attention heads. At the same time, considering pruning the relative position encoding, the ultimate goal is to limit the maximum relative position to a fixed value k. In actual operation, pos K and pos V The generation of does not depend on a specific interaction length, which gives the knowledge tracking model better generalization ability; clip(ti,k)=max(0,min(ti,k)); The final relative position is expressed as and The prediction function layer estimates the student's performance on future questions. Based on the learned representation, the prediction layer uses the extracted features and patterns to estimate the student's performance. Specifically, the output of the upper module passes through another feed-forward neural network FFN to generate the final prediction probability: <h2 style=";text-align:left;direction:ltr">o<h2 style=";text-align:left;direction:ltr"> t+1 <h2 style=";text-align:left;direction:ltr"> =ReLU(W3·[h<h2 style=";text-align:left;direction:ltr"> t <h2 style=";text-align:left;direction:ltr"> ,x<h2 style=";text-align:left;direction:ltr"> t+1 <h2 style=";text-align:left;direction:ltr"> ]+b3); p t+1 =σ(W5·ReLU(W4·o t+1 +b4)+b5): in, b5 is a trainable parameter, b5 is a scalar, and σ(·) represents the Sigmoid activation function; It is modeled as the similarity between the two; specifically, the inner product of the vectors is used to estimate the implicit similarity between the question and the knowledge point in the embedding space: Among them, the Sigmoid activation function σ(·) is responsible for converting the inner product value into similarity The goal of model training is to minimize the negative log-likelihood of the student answer sequence observed under the model, and use the cross entropy objective function to minimize the empirical loss on the training data: In addition, the local similarity between the question and the knowledge point is approached by the cross entropy objective function: Finally, the overall objective function of the model is defined as a linear combination of two loss functions: Among them, bit is a hyperparameter that controls the proportion of the relationship between the problem and the knowledge point in the overall training target.

2. The human-in-the-loop knowledge tracking method according to claim 1 is characterized in that: The method of calculating the confidence score of each prediction result of the knowledge tracking model includes: in, is the trust score, h t+1 is the embedding representation of the predicted topic, h s is the embedding representation of the question with the same label as the predicted label, h c The embedding representation of the closest topic with different labels; The method of calculating the confidence score of each prediction result of the knowledge tracking model also includes: Think of the posterior probability as a confidence score.

3. The human-in-the-loop knowledge tracking method according to claim 1, characterized in that: For samples whose confidence scores are lower than the preset threshold, the methods for performing secondary correction by human teachers include: The confidence threshold φ obtained through training is used to divide the set D of all predictions of n students’ performance into two subsets, where D m is the subset of samples with confidence scores higher than φ, D f is the subset of samples whose confidence score is less than φ; D m The prediction result is expressed as P m ; D f The exercises in are re-evaluated by a human teacher, and the corresponding re-evaluation results are denoted as P f ; P m and P f Merge into the final result P.

4. A knowledge tracking system based on human in the loop, characterized in that include: Construction module, calculation module and correction module; The construction module is used to construct a knowledge tracking model based on the student's question set, and predict the student's performance based on the knowledge tracking model; The calculation module is used to calculate the confidence score of the knowledge tracking model for each prediction result; The correction module is used to perform secondary correction by a human teacher on samples whose confidence scores are lower than a preset threshold, thereby realizing knowledge tracking.

5. The human-in-the-loop knowledge tracking system according to claim 4, characterized in that: The knowledge tracking model includes: a question encoder, a knowledge acquisition module and a prediction function layer; The question encoder is used to map each student's question-answering interaction into a latent embedding space; The knowledge acquisition module is used to model and transfer knowledge of evaluation interactions at each time step using an attention mechanism; The prediction function layer is used to estimate the student's performance on future questions based on the established model and the transferred knowledge.

6. The human-in-the-loop knowledge tracking system according to claim 4, characterized in that: The process of calculating the confidence score of each prediction result of the knowledge tracking model includes: in, is the trust score, h t+1 is the embedding representation of the predicted topic, h s is the embedding representation of the question with the same label as the predicted label, h c The embedding representation of the closest topic with different labels; The process of calculating the confidence score of each prediction result of the knowledge tracking model also includes: Think of the posterior probability as a confidence score.

7. The human-in-the-loop knowledge tracking system according to claim 4, characterized in that: For samples whose confidence scores are lower than the preset threshold, the process of manual teacher secondary correction includes: The confidence threshold φ obtained through training is used to divide the set D of all predictions of n students’ performance into two subsets, where D m is the subset of samples with confidence scores higher than φ, D f is the subset of samples whose confidence score is less than φ; D m The prediction result is expressed as P m ; D f The exercises in are re-evaluated by a human teacher, and the corresponding re-evaluation results are denoted as P f ; P m and P f Merge into the final result P.

Citation Information

Cited By

  • Test question accomplishment cognition hierarchy intelligent labeling method and system based on multi-dimensional tensor

    CN122346689A

  • Intelligent marking method and system for test literacy cognitive hierarchy based on multi-dimensional tensor

    CN122346689B