Learner profiling method and system based on deep knowledge-project joint tracking
Through the deep knowledge-project joint tracking method, the deep knowledge-project joint tracking network is trained, the learner portrait and the project status are updated, which solves the problems in the existing technology of being unable to adapt to the dynamic question platform and the hidden status being uninterpretable, and achieves more accurate Learner ability assessment and response prediction.
Patent Information
- Application Number
- CN202111216016.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-19
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2041-10-19
AI Technical Summary
Existing deep knowledge tracking methods cannot be applied on learning platforms where questions are dynamically added, and the hidden states of traditional knowledge tracking algorithms cannot be explained, making it impossible to accurately assess learners' comprehensive abilities.
Adopting a method based on deep knowledge-project joint tracking, by obtaining learners' cognitive data sets on different knowledge components, training the deep knowledge-project joint tracking network, using recurrent neural networks to update learner portraits and project status, and optimize course knowledge The component weight matrix and network parameters enable dynamic updating of learner portraits and adjustment of project status.
It overcomes the limitations of traditional knowledge tracking algorithms, provides a more scientific and accurate assessment of learner abilities, is suitable for a learning platform with a dynamic project library, and improves the accuracy of predicting learners' answer results and the effect of learning path recommendations.
Smart Images

Figure CN113989080B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of computer technology, and specifically relates to a learner profiling method on an online education platform and an application thereof. Background Art
[0002] User profiling, that is, the labeling of user information, abstracts the overall picture of the user after collecting and analyzing data on the user's main information such as static attributes, social attributes, behavioral attributes, etc., which is used as a basic method to support big data applications such as personalized recommendations.
[0003] Online education mainly refers to online learning systems such as massive open online courses (MOOCs); in addition, there are some auxiliary teaching platforms, such as the Pinti A platform, etc. With the vigorous development of online learning systems on the Internet, more and more learners are willing to learn through the Internet. Building excellent user portraits (referred to as learner portraits in this invention) for learners on online education platforms can support additional services of online education platforms, such as learner answer prediction, comprehensive ability incentive ranking, learning path recommendation, etc.
[0004] Knowledge tracing technology (KT) is dedicated to acquiring the knowledge status of learners and can be used as a way to acquire learner portraits. The Deep Learning Model is a classic knowledge tracing method, represented by Deep Knowledge Tracing (DKT). It uses a neural network with a "memory" function, namely a recurrent neural network (RNN), to simulate the learner's learning process, thereby achieving good prediction results. The advantage of this model is that the recurrent neural network is easy to train and easy to achieve good model prediction results; although there are many variants of the deep knowledge tracing method, which have improved the prediction performance to varying degrees, the model needs to be consistent with the question bank during training when it is applied, and cannot be applied to learning platforms where questions are dynamically added. Summary of the invention
[0005] The purpose of the present invention is to solve the problems existing in the prior art and provide a learner profiling method based on deep knowledge-project joint tracking.
[0006] To achieve the above objectives, the present invention intends to adopt the following technical solutions:
[0007] In a first aspect, the present invention provides a learner profiling method based on deep knowledge-project joint tracking, which comprises the following steps:
[0008] S1. Obtain a cognitive dataset of learners on different knowledge components (KC) on an online education platform. The cognitive dataset consists of time series of different learners. In each time series, a time series node is used to record the items learned by the learner at different time nodes and the answers to each knowledge component in the item.
[0009] S2. Based on the time series in the cognitive data set and the course knowledge component weight matrix representing the correlation coefficients between different knowledge components in the course, the initialized deep knowledge-project joint tracking network is trained, and the course knowledge component weight matrix and network parameters are optimized by minimizing the loss function to obtain the trained deep knowledge-project joint tracking network;
[0010] The deep knowledge-project joint tracking network uses a recurrent neural network to iterate the input time series node by node. Each round of iteration contains two parts of input and one output. The first part of the input is the learner portrait, project status and knowledge component information associated with the project before the update in the current time series node. The second part of the input is the coupling vector of the knowledge component information associated with the project in the current time series node and the learner's answer feedback. The original learner portrait is erased and updated according to the learner's answer situation, and the project status is updated based on the updated learner portrait. The output is the updated learner portrait and project status.
[0011] S3. Input the current time series recorded by the target learner on the platform into the trained deep knowledge-item joint tracking network to obtain the current learner profile of the target learner.
[0012] As a preferred embodiment of the first aspect, the time series of a single learner in the cognitive data set includes a plurality of time series nodes D1, D2, ..., D N , where N is the total number of learning activities of learners on the platform corresponding to the sequence, and the time series node D t The learning activity data x in the form of a tuple corresponding to time t is recorded in t =(q t ,y t ), where q t The encoding of the associated knowledge components within the project involved in the learning activity, y t ∈{0,1} represents the learner's answer to the item, 0 represents an incorrect answer and 1 represents a correct answer.
[0013] As a preferred embodiment of the first aspect, in the deep knowledge-project joint tracking network, for the time series node D tWhen iterating, the learner profile is updated as follows:
[0014]
[0015] in, They are The i-th column vector of and Respectively represent the learner passing through the time series node D t Learner portraits before and after the learning activities in the update; t and a t Based on the actual answer situation of learners t The erasure vector and addition vector of the knowledge concepts associated with the project are calculated as follows:
[0016] e t =Sigmoid(E T v t +b e )
[0017] a t =Tanh(D T v t +b a ) T
[0018] Among them, v t For time series node D t The coupled encoding vector of the learner’s actual answer and the item-related knowledge component, v t =[q t ,y t ] T W, W is the weight parameter matrix, E and b e is for the erase vector e t The weight parameter matrix and bias parameter matrix of D and b a is for adding vector a t The weight parameter matrix and bias parameter matrix of w t (i) is the learner at the time series node D t The weight vector w on t The calculation formula for the i-th element in is where k t Represents a time series node D t One-hot encoded vectors of the associated knowledge components within the involved items;
[0019] For time series node D t When iterating, passing through the time series node D t The updated project status is:
[0020]
[0021] Among them, C1, C2 and C3 are three weight parameter matrices related to project status update, b c is the deviation parameter vector associated with the project status update.
[0022] As a preferred embodiment of the first aspect, during the training process of the deep knowledge-project joint tracking network, the optimization parameters include the course knowledge component weight matrix, the weight parameter matrix and the deviation parameter matrix.
[0023] As a preferred embodiment of the first aspect, the loss function adopts a cross entropy loss, which is in the form of:
[0024]
[0025] Among them, p t For time series node D t The prediction of learner answer results based on learner portrait is expressed as:
[0026]
[0027] Among them, the parameters W1 and W2 are two weight parameter matrices in the deep knowledge-project joint tracking network, b1 and b2 are two bias parameter matrices in the deep knowledge-project joint tracking network; r t is the weight vector w t , learner portrait And the project status matrix H t The vector composed of the dot product of Where Q is the number of knowledge components contained in the courses associated with the project.
[0028] In a second aspect, the present invention provides a method for predicting learner answer results in an online learning platform. The method first obtains the current learner portrait of the target learner according to the learner portrait method described in any scheme of the first aspect, and then predicts the target learner's answer result p for a specified item based on the learner portrait. t :
[0029]
[0030] Among them, the parameters W1 and W2 are two weight parameter matrices in the deep knowledge-project joint tracking network, b1 and b2 are two bias parameter matrices in the deep knowledge-project joint tracking network; r t is the weight vector w t , learner portrait And the project status matrix H t The vector composed of the dot product of Where Q is the number of knowledge components contained in the course associated with the specified project.
[0031] In a third aspect, the present invention provides a learning path recommendation method in an online learning platform, comprising:
[0032] First, the current learner portrait of the target learner is obtained according to the learner portrait method described in any one of claims 1 to 5;
[0033] Then, take each knowledge component that the target learner can currently choose for the next step of learning as a learning node, and select all distance values from the entire learning node set EB Less than the set threshold Learning Node Constitute a candidate learning node set ES, where Represents candidate learning nodes and the coupling encoding vector v t The vector similarity of Represents the project status H t and learner portraits The Euclidean distance between
[0034] Finally, the initial learning path distance matrix DL is obtained based on the candidate learning node set ES. The i-th column in DL represents the candidate learning node The learning path distance to all candidate learning nodes in ES Jaccsim represents Jaccard similarity; after Gaussian blurring DL, the update matrix DL is obtained. u , and with the project heat matrix and the random number matrix κ B Combined to obtain the recommendation probability of each learning node in ES Mean represents the average operation of the elements in the matrix; a learning path recommendation list is formed by sorting each learning node in ES according to the recommendation probability p.
[0035] In a fourth aspect, the present invention provides a learner profiling system based on deep knowledge-project joint tracking, which corresponds to the learner profiling method of the first aspect, and includes:
[0036] Dataset acquisition module: used to acquire cognitive datasets of learners on different knowledge components on the online education platform. The cognitive datasets consist of time series of different learners. In each time series, the time series nodes are used to record the items learned by the learner at different time nodes and the answers to each knowledge component in the item.
[0037] Network training module: used for training the initialized deep knowledge-project joint tracking network based on the time series in the cognitive data set and the course knowledge component weight matrix representing the correlation coefficients between different knowledge components in the course, optimizing the course knowledge component weight matrix and network parameters by minimizing the loss function, and obtaining the trained deep knowledge-project joint tracking network;
[0038] The deep knowledge-project joint tracking network uses a recurrent neural network to iterate the input time series node by node. Each round of iteration contains two parts of input and one output. The first part of the input is the learner portrait, project status and knowledge component information associated with the project before the update in the current time series node. The second part of the input is the coupling vector of the knowledge component information associated with the project in the current time series node and the learner's answer feedback. The original learner portrait is erased and updated according to the learner's answer situation, and the project status is updated based on the updated learner portrait. The output is the updated learner portrait and project status.
[0039] Learner portrait module: used to input the current time series recorded by the target learner on the platform into the trained deep knowledge-project joint tracking network to obtain the current learner portrait of the target learner.
[0040] In a fifth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the learner profiling method described in any one of the schemes in the first aspect or the learner answer result prediction method in the online learning platform described in the second aspect or the learning path recommendation method in the online learning platform described in the third aspect is implemented.
[0041] In a sixth aspect, the present invention provides a computer device, comprising a memory and a processor;
[0042] The memory is used to store computer programs;
[0043] The processor is used to implement the learner profiling method described in any scheme of the first aspect, the learner answer result prediction method in the online learning platform described in the second aspect, or the learning path recommendation method in the online learning platform described in the third aspect when executing the computer program.
[0044] In general, the above technical solution conceived by the present invention has the following beneficial effects compared with the prior art:
[0045] The present invention constructs an integrated framework of knowledge tracking and course concept map, which avoids the behavior of using simple score addition as ability indicator at both the course level and the comprehensive level, and avoids the inaccurate evaluation caused by the partial loss of learning activity data. In addition, the deep knowledge-project tracking algorithm in the present invention divides the knowledge state by knowledge points, which overcomes the unexplainable nature of the hidden state of the traditional knowledge tracking algorithm, making the ability of each knowledge point visible; at the same time, because the present invention embeds the project state in the model, it overcomes the disadvantage that the traditional knowledge tracking algorithm can only be applied to a fixed set of projects; and the inline state of the course knowledge point is integrated in the model to further improve the accuracy of ability evaluation; the present invention can more scientifically and accurately evaluate the comprehensive ability of learners and provide better interpretability.
[0046] The deep knowledge-item joint tracking network model provided by the present invention has the characteristics of traditional deep knowledge tracking methods. It utilizes the "memory" characteristics of a long short-term memory-like network structure when processing time series data, and inherits the implicit characteristics in the learner's answer sequence. It conforms to the learner's learning rules when answering questions based on knowledge components. The obtained parameter values are more in line with the learner's learning rules and are more suitable for obtaining learner portraits with good application performance. Therefore, it can also make more accurate predictions of learner answer results.
[0047] The deep knowledge-project joint tracking network model provided by the present invention calculates the probability of a learner's correct answer to a certain project in the t time series based on the updated value of the learner's knowledge state after the last learning activity, the latest state of the project state, and the project-related knowledge components. It conforms to the learner's learning process, that is, it can truly simulate the dependency between the previous and subsequent learning states in the learning process to a certain extent.
[0048] The deep knowledge-project joint tracking network model provided by the present invention can, during operation, update the project status based on the learner's knowledge status and actual answer situation, so that the project status can continuously approach the optimal state, thereby enabling the deep knowledge-project joint tracking network model to be applied to a dynamic learning platform with an expanding project library.
[0049] The deep knowledge-project joint tracking network provided by the present invention can be used to calculate the overall comprehensive ability evaluation value of the learner based on the course concept map. Through the course relationship in the course concept map, it is possible to obtain a relatively complete learner portrait even when some course learning activity data is missing, thereby better adapting to the different scenarios of learning activities for learners with different ability states. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1It is a schematic diagram of the steps of the learner profiling method based on deep knowledge-project joint tracking of the present invention;
[0051] Figure 2 is an updated schematic diagram of the learner profiling method in the present invention;
[0052] Figure 3 It is a schematic diagram of a single-layer model structure of a deep knowledge-project joint tracking network according to an embodiment of the present invention. DETAILED DESCRIPTION
[0053] In order to make the above-mentioned purpose, features and advantages of the present invention more obvious and easy to understand, the specific implementation mode of the present invention is described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below. The technical features in each embodiment of the present invention can be combined accordingly without conflicting with each other.
[0054] Before describing in detail, several concepts mentioned in the present invention are defined as follows:
[0055] The online education platform in the present invention refers to a platform for learners to study courses online through the network. The courses learned by learners are composed of a series of projects. Projects are the basic units for learners to learn and answer questions on the platform. The common form is a question that learners need to answer. Of course, the form of such questions is not limited. It can be a question that can be answered directly on the platform, or it can be a question that requires offline experiments and then submitting homework materials (for example, experimental project classes allow learners to implement a small project and write reports and submit codes to the platform for correction). A single project can contain a single knowledge component or multiple knowledge components. Each knowledge component is equivalent to a knowledge concept. The knowledge components contained in the project are called project-related knowledge components. After the learner's answer to the project is judged right or wrong, it is regarded as the learner's answer to the project. A learner's study of a single project is regarded as a learning activity.
[0056] In a preferred embodiment of the present invention, a learner profiling method based on deep knowledge-project joint tracking is provided, which includes the following steps:
[0057] S1. Obtain a cognitive dataset of learners on different knowledge components on an online education platform, where the cognitive dataset consists of a series of time series of different learners. Each time series records the history of a learner's learning process on the platform. The time series consists of a series of time series nodes. Each time series node corresponds to the project learned by the learner at a specific time node on the platform and the answers to each knowledge component in the project. Therefore, the entire time series records the projects learned by the learner at different time nodes and the answers to each knowledge component in the project through the time series nodes.
[0058] As a specific implementation of this embodiment, the time series of a single learner in the above cognitive data set can be represented by multiple time series nodes D1, D2, ..., D N , where N is the total number of learning activities of learners on the platform corresponding to the time series, and the time series node D t The learning activity data x in the form of a tuple corresponding to time t is recorded in t =(q t ,y t ), where q t The encoding of the associated knowledge components within the project involved in the learning activity, y t ∈{0,1} represents the learner's answer to the item, 0 represents an incorrect answer, and 1 represents a correct answer. It should be noted that the total number of learning activities may be different for different learners, so the value of N above needs to be determined according to the actual situation.
[0059] S2. Based on the time series in the above cognitive dataset and the course knowledge component weight matrix (course knowledge component key matrix) representing the correlation coefficients between different knowledge components in the course, the initialized deep knowledge-project joint tracking network is trained, and the course knowledge component weight matrix and network parameters are optimized by minimizing the loss function to obtain the trained deep knowledge-project joint tracking network.
[0060] Among them, the deep knowledge-project joint tracking network is the core of the present invention to realize the learner user portrait, such as Figure 2 As shown, it is based on the fact that the above-collected learner learning activity data, i.e., time series, can be input into the deep knowledge-project joint tracking network to update the original learner user profile. The deep knowledge-project joint tracking network uses a recurrent neural network to iterate the input time series node by node, that is, for an input time series, the model needs to use the learning activity data in the node after each time series node to update the learner profile.
[0061] like Figure 3As shown, a schematic diagram of the single-layer model structure of the deep knowledge-project joint tracking network in the present invention is shown. The iteration of each time series node is realized through this layer of network. Each round of iteration contains two parts of input and one output. The first part of the input is the learner portrait, project status and project-related knowledge component information before the update in the current time series node. The second part of the input is the coupling vector of the project-related knowledge component information in the current time series node and the learner's answer feedback. The two parts of the input are respectively input into the network layer in the form of embedding vectors (distinguished by embedding vector A and embedding vector B). The original learner portrait is erased and updated according to the learner's answer situation. At the same time, the project status is updated based on the updated learner portrait, and the output is the updated learner portrait and project status.
[0062] For the sake of convenience, the current time of an iteration is recorded as t below, so the node D in the deep knowledge-item joint tracking network that is related to the current time series t The corresponding model basic parameter groups include:
[0063] The original learner portrait corresponding to time t, that is, after the time series node D t Learner profile before learning activities in the update;
[0064] H t : The original state vector corresponding to time t, that is, the state vector passing through the time series node D t The project status before the update;
[0065] The new learner portrait corresponding to time t, that is, after the time series node D t Updated learner profiles for learning activities in
[0066] H t+1 : The new state vector corresponding to time t, that is, the state vector after the time series node D t Updated project status;
[0067] k t : The time series node D corresponding to time t t One-hot encoded vectors of the associated knowledge components within the involved items;
[0068] v t : The time series node D corresponding to time t t The actual answer situation of learners on t and project-related knowledge components q t The coupling encoding vector of .
[0069] In this deep knowledge-item joint tracking network, for the time series node D tWhen iterating, you need to update the learner portrait and project status at the same time. The update method of the learner portrait is:
[0070]
[0071] Right now:
[0072] in, They are The i-th column vector of and Respectively represent the learner passing through the time series node D t Learner portraits before and after the learning activities in the update; t and a t Based on the actual answer situation of learners t The erasure vector and addition vector of the knowledge concept associated with the project are obtained by erasing the vector e t and add vector a t The model can perform corresponding erasure and update operations on the original learner portrait according to the actual situation of the learner's answer to obtain a new learner portrait. t and add vector a t The calculation formula is as follows:
[0073] e t =Sigmoid(E T v t +b e )
[0074] a t =Tanh(D T v t +b a ) T
[0075] Among them, E and b e is for the erase vector e t The weight parameter matrix and bias parameter matrix of D and b a is for adding vector a t The weight parameter matrix and bias parameter matrix of the function Sigmoid and Tanh are as follows: where z i Represents the independent variable of the input function. t For time series node D t The coupled encoding vector of the learner’s actual answer and the item-related knowledge component, v t The calculation formula is expressed as:
[0076] v t =[q t,y t ] T W
[0077] Where: W is the weight parameter matrix;
[0078] w t (i) is the learner at the time series node D t The weight vector w on t The calculation formula for the i-th element in is:
[0079]
[0080] where k t Represents a time series node D t One-hot encoded vectors of the associated knowledge components within the involved items;
[0081] In addition, for the time series node D t When iterating, passing through the time series node D t The updated project status is:
[0082]
[0083] Among them, C1, C2 and C3 are three weight parameter matrices related to project status update, b c is the deviation parameter vector associated with the project status update.
[0084] The deep knowledge-project joint tracking network needs to be initialized to assign values to various parameters before network training. The parameters that need to be initialized include various weight parameter matrices and bias parameter matrices in the network. In addition, the weight matrix of the course knowledge component also needs to be initialized. Each course on the platform contains different knowledge components, so its weight matrix is also different and needs to be set separately. The course knowledge component weight matrix internally links the relationship between the knowledge components in the course. It is a static parameter matrix during the use of the model. The optimal value can be obtained during model training. This matrix is used to represent the relationship weights between the knowledge components associated with the current project. At the same time, in order to realize subsequent network training, it is also necessary to set the training parameters of the network training, which can be set specifically according to the selected training method. For example Figure 3 As shown in the figure, as a specific implementation of this embodiment, the vector k of the deep knowledge-item joint tracking network t The input dimension is set to Q dimension; the vector v of the deep knowledge-item joint tracking network tThe input dimension is set to Q+1 dimension; the output dimension is set to a scalar, and the number of tracking network layers is set to m; the number of network training is epoch, and the size of each training batch in each epoch is batch_size. Of course, this setting is only an example given in this embodiment, and the parameter values of deep knowledge-project joint tracking can also be set according to the specific data of the cognitive data set. In the subsequent training process of the deep knowledge-project joint tracking network, the parameters to be optimized include the course knowledge component weight matrix, the weight parameter matrix, and the bias parameter matrix.
[0085] The above learner portrait reflects the learner's mastery of the associated knowledge components in the project. Therefore, in the training process of the above deep knowledge-project joint tracking network, the optimization goal is to accurately predict whether the learner can correctly answer the specified project based on the learner user portrait. Therefore, the deep knowledge-project joint tracking network can construct a loss function based on the predicted value of whether the learner can correctly answer the project calculated by the deep knowledge-project joint tracking model and the actual answer result of the learner in the learning activity data.
[0086] The network training method belongs to the existing technology, which can realize model prediction in a small batch of data in the training set, compare the predicted value obtained by the model with the actual value of the learner's project answer in the current time series in the data set, and obtain the loss function of the current deep knowledge-project joint tracking network model. The independent variables of the loss function include the course knowledge component weight matrix, each weight parameter matrix and each bias parameter matrix of the deep knowledge-project joint tracking network. By minimizing the loss function of the deep knowledge-project joint tracking network model corresponding to the current time series, the optimized values of the course knowledge component weight matrix, each weight parameter matrix and each bias parameter matrix are obtained; traverse all time series batches in the training data set, and continuously optimize the course knowledge component weight matrix, each weight parameter matrix and each bias parameter matrix in this process to obtain the optimal parameter values of the deep knowledge-project joint tracking network model.
[0087] As a specific implementation of this embodiment, the loss function of this embodiment is based on p t and t The standard cross entropy loss is:
[0088]
[0089] Among them, p t For time series node D t The prediction of learner answer results based on learner portraits, p t The expression is:
[0090]
[0091] Among them, the parameters W1 and W2 are two weight parameter matrices in the deep knowledge-project joint tracking network, b1 and b2 are two bias parameter matrices in the deep knowledge-project joint tracking network; r t is the weight vector w t , learner portrait And the project status matrix H t The vector composed of the dot product of is expressed as:
[0092]
[0093] Where Q is the number of knowledge components contained in the courses associated with the project.
[0094] As a specific implementation method of this embodiment, this embodiment can use the stochastic gradient descent method to minimize the loss function of the deep knowledge-project joint tracking network model corresponding to the current time series, and obtain the optimized value of each weight parameter matrix and the optimized value of the bias parameter matrix. Specifically, according to the mean of the loss function on the batch time series, the number of nodes in each batch is N, and the partial derivatives of any weight w and bias b are obtained to obtain the gradients dw and db, which are respectively:
[0095]
[0096] The updated weight parameter matrix w* and bias parameter matrix b* of the long short-term memory neural network model are:
[0097]
[0098] Among them, λ is the learning rate of the model, which changes with the degree of model training, following the Adam training method.
[0099] Of course, the stochastic gradient descent method is only an example of a network training method. The weight parameter matrix and the bias parameter matrix can also be updated according to the batch gradient descent method, the mini-batch gradient descent method, the momentum method, RMSprop, and Adagrad, and can be adjusted accordingly according to the calculation needs.
[0100] S3. After the above-mentioned deep knowledge-project joint tracking network is trained, for any target learner, the current time series recorded by the target learner on the platform can be input into the trained deep knowledge-project joint tracking network to obtain the current learner portrait of the target learner.
[0101] It can be seen that the above-mentioned learner user portrait method of the present invention can receive learning behavior data from a learner, extract learner information and project information in the learning behavior data, including learner identity, project representation, learner answer results, and original learner portrait; and then pass the extracted information through the deep knowledge-project joint tracking network to update the learner portrait of the learner in real time.
[0102] The learner portrait obtained by the learner portrait method based on deep knowledge-project joint tracking can be used to reflect the learner's mastery of the knowledge components in the project. In the present invention, a course concept map can be combined to obtain an indicator AS that can largely reflect the learner's comprehensive mastery of knowledge concepts. The specific calculation process of the learner S's overall comprehensive ability AS is as follows:
[0103] AS(S)=∑max(A(i),A(extend(i))).
[0104] Among them, A(i) is the comprehensive ability evaluation result of the learner in course i, which is represented by a special vector k with all elements being 1. t As input, it is passed into the deep knowledge-item joint tracking network after the above training, and the predicted value of the answer result is taken as A(i); A(extend(i)) is the comprehensive ability evaluation of the learner in the advanced course of course i. AS can largely reflect the learner's comprehensive knowledge concept mastery in the entire course map.
[0105] Since the learner profile reflects the learner's mastery of knowledge, the aforementioned deep knowledge-project joint tracking network can track each time series node D t Output the learner's answer prediction p based on the learner's profile t Therefore, in another embodiment of the present invention, after obtaining the learner portrait using the learner portrait method based on deep knowledge-project joint tracking given in the above embodiment, it is also possible to predict the learner's answer results in the online learning platform. In this embodiment, the learner answer result prediction method in the online learning platform needs to first obtain the current learner portrait of the target learner according to the learner portrait method in the above embodiment, and then predict the target learner's answer result p for the specified project based on the learner portrait. t :
[0106]
[0107] Among them, the parameters W1 and W2 are two weight parameter matrices in the deep knowledge-project joint tracking network, b1 and b2 are two bias parameter matrices in the deep knowledge-project joint tracking network; r tis the weight vector w t , learner portrait And the project status matrix H t The vector composed of the dot product of Where Q is the number of knowledge components contained in the course associated with the specified project.
[0108] In order to further demonstrate the specific effects of the above-mentioned user portrait method and the learner answer result prediction method in the online learning platform in the present invention, they are tested through corresponding data sets. Table 1 shows the prediction results of learner answering situation generated by the learner portrait method based on deep knowledge-project joint tracking and the prediction results of learner answering situation by the prior art method. As shown in Table 1, experiments were conducted on four data sets, and corresponding predictions were made with cognitive data of four sub-data sets, namely Synthetic-5, ASSISTments2009, ASSISTments2015, and Statics 2011, among which BKT represents the Bayesian knowledge tracking method, BKT+ represents the best experimental results of the Bayesian knowledge tracking method variant, DKT represents the deep knowledge tracking method, MANN represents the memory-enhanced neural network, and DKIAT represents the learner portrait based on deep knowledge-project joint tracking of the present invention. The measurement index of the experimental results is Area Under Curve (AUC), which is defined as the area under the ROC curve and the coordinate axis. It can be seen from the table that the prediction results of the technical solution of the embodiment of the present invention are better than the prediction results of the prior art solution. Table 1: Prediction results of learner answering based on learner portraits and existing technology methods based on deep knowledge-project joint tracking
[0109]
[0110] It can be seen that the integrated framework of knowledge tracking and concept graph constructed by the present invention avoids the inaccurate user portrait caused by the partial loss of learning data. In addition, the deep knowledge-project joint tracking network in the present invention overcomes the unexplainable nature of the hidden state of the traditional knowledge tracking algorithm, and integrates the inline state of the course knowledge points in the model to further improve the accuracy of generating learner portraits. The present invention overcomes the disadvantage that the traditional knowledge tracking algorithm can only be applied to a fixed set of projects, and can be applied to the application scenario of the learning platform with dynamically increasing projects.
[0111] In another embodiment of the present invention, the learner portrait obtained by the learner portrait method based on deep knowledge-project joint tracking can also be used to recommend learning paths for learners. In this embodiment, the learning path recommendation method in the online learning platform specifically includes the following steps:
[0112] First, the current learner portrait of the target learner is obtained according to the learner portrait method in the above embodiment.
[0113] Then, take each knowledge component that the target learner can currently choose for the next step of learning as a learning node, and select all distance values from the entire learning node set EB Less than the set threshold Learning Node The candidate learning node set ES is formed and expressed as follows:
[0114]
[0115] Among them, setting the threshold is a preset distance value, and the specific value can be optimized according to the actual situation; The calculation formula is as follows:
[0116]
[0117] Where: Represents candidate learning nodes and the coupling encoding vector v t The vector similarity of Represents the project status H t and learner portraits The Euclidean distance between .
[0118] It should be noted that the set of all learning nodes EB is the set of all knowledge components that the current target learner can use for the next step of learning, which depends on the course he / she is studying.
[0119] Finally, the initial learning path distance matrix DL is obtained based on the candidate learning node set ES. The i-th column in DL represents the candidate learning node The learning path distance DL(i) of all candidate learning nodes in ES is calculated as:
[0120]
[0121] Where: Jaccsim represents the Jaccard similarity.
[0122] After Gaussian blurring DL, the updated matrix DL is obtained u (DL u The dimension is the number of learning metadata in ES, that is, the number of candidate learning nodes in ES), and is related to the project heat matrix and the random number matrix κ B Combined with the recommendation probability p of each learning node in ES, the calculation formula is as follows:
[0123]
[0124] Where: mean represents the average operation of the elements in the matrix; the project heat matrix A matrix consisting of the citation heat of each project related to the candidate knowledge component in the online education platform;
[0125] Therefore, after sorting the learning nodes in ES in descending order according to the recommendation probability p, a learning path recommendation list is formed.
[0126] In another embodiment of the present invention, a learner portrait system based on deep knowledge-project joint tracking is also provided, and the system includes:
[0127] Dataset acquisition module: used to acquire cognitive datasets of learners on different knowledge components on the online education platform. The cognitive datasets consist of time series of different learners. In each time series, the time series nodes are used to record the items learned by the learner at different time nodes and the answers to each knowledge component in the item.
[0128] Network training module: used for training the initialized deep knowledge-project joint tracking network based on the time series in the cognitive data set and the course knowledge component weight matrix representing the correlation coefficients between different knowledge components in the course, optimizing the course knowledge component weight matrix and network parameters by minimizing the loss function, and obtaining the trained deep knowledge-project joint tracking network;
[0129] The deep knowledge-project joint tracking network uses a recurrent neural network to iterate the input time series node by node. Each round of iteration contains two parts of input and one output. The first part of the input is the learner portrait, project status and knowledge component information associated with the project before the update in the current time series node. The second part of the input is the coupling vector of the knowledge component information associated with the project in the current time series node and the learner's answer feedback. The original learner portrait is erased and updated according to the learner's answer situation, and the project status is updated based on the updated learner portrait. The output is the updated learner portrait and project status.
[0130] Learner portrait module: used to input the current time series recorded by the target learner on the platform into the trained deep knowledge-project joint tracking network to obtain the current learner portrait of the target learner.
[0131] The modules in the above-mentioned learner portrait system respectively correspond to S1 to S3 of the above-mentioned embodiments, so the specific implementation methods thereof can also refer to the above-mentioned embodiments, which will not be described in detail.
[0132] It should be noted that, according to the embodiments disclosed in the present invention, the specific implementation functions of various modules in the above-mentioned learner portrait system can be implemented by a written computer software program, and the computer program contains program codes for executing corresponding methods.
[0133] In another embodiment of the present invention, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the learner profiling method shown in the above embodiment is implemented.
[0134] In another embodiment of the present invention, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method for predicting learner answer results in an online learning platform as shown in the above embodiment is implemented.
[0135] In another embodiment of the present invention, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the learning path recommendation method in the online learning platform as shown in the above embodiment is implemented.
[0136] In another embodiment of the present invention, a computer device is provided, which includes a memory and a processor;
[0137] The memory is used to store computer programs;
[0138] The processor is used to implement the learner profiling method shown in the above embodiment when executing the computer program.
[0139] In another embodiment of the present invention, a computer device is provided, which includes a memory and a processor;
[0140] The memory is used to store computer programs;
[0141] The processor is used to implement the method for predicting learner answer results in the online learning platform as shown in the above embodiment when executing the computer program.
[0142] In another embodiment of the present invention, a computer device is provided, which includes a memory and a processor;
[0143] The memory is used to store computer programs;
[0144] The processor is used to implement the learning path recommendation method in the online learning platform as shown in the above embodiment when executing the computer program.
[0145] It is understandable that the above storage medium may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk storage. Optionally, the memory may also be at least one storage device located away from the above processor.
[0146] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0147] It should be noted that the computer device can be any physical machine with a GPU, a CPU, and a smart network card slot, including personal computers (PCs) and servers.
[0148] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A learner profiling method based on deep knowledge-project joint tracking, characterized in that: The following steps are involved: S1. Obtain a cognitive dataset of learners on different knowledge components on an online education platform, wherein the cognitive dataset consists of time series of different learners, and each time series records the items learned by the learner at different time nodes and the answers to each knowledge component of the item through time series nodes; S2. Based on the time series in the cognitive data set and the course knowledge component weight matrix representing the correlation coefficients between different knowledge components in the course, the initialized deep knowledge-project joint tracking network is trained, and the course knowledge component weight matrix and network parameters are optimized by minimizing the loss function to obtain the trained deep knowledge-project joint tracking network; The deep knowledge-project joint tracking network uses a recurrent neural network to iterate the input time series node by node. Each round of iteration contains two parts of input and one output. The first part of the input is the learner portrait, project status and knowledge component information associated with the project before the update in the current time series node. The second part of the input is the coupling vector of the knowledge component information associated with the project in the current time series node and the learner's answer feedback. The original learner portrait is erased and updated according to the learner's answer situation, and the project status is updated based on the updated learner portrait. The output is the updated learner portrait and project status. S3, input the current time series recorded by the target learner on the platform into the trained deep knowledge-project joint tracking network to obtain the current learner portrait of the target learner; The time series of a single learner in the cognitive dataset includes multiple time series nodes D1, D2, ..., D N , where N is the total number of learning activities of learners on the platform corresponding to the sequence, and the time series node D t The learning activity data x in the form of a tuple corresponding to time t is recorded in t =(q t ,y t ), where q t The encoding of the associated knowledge components within the project involved in the learning activity, y t ∈{0, 1} represents the learner's answer to the item, 0 represents an incorrect answer, and 1 represents a correct answer; In the deep knowledge-project joint tracking network, for the time series node D t When iterating, the learner profile is updated as follows: in, They are The i-th column vector of and Respectively represent the learner passing through the time series node D t Learner portraits before and after the learning activities in the update; t and a t Based on the actual answer situation of learners t The erasure vector and addition vector of the knowledge concepts associated with the project are calculated as follows: e t =Sigmoid(E T v t +b e ) a t =Fish(D) T v t +b a ) T Among them, v t For time series node D t The coupled encoding vector of the learner’s actual answer and the item-related knowledge component, v t =[q t ,y t ] T W, W is the weight parameter matrix, E and b e is for the erase vector e t The weight parameter matrix and bias parameter matrix of D and b a is for adding vector a t The weight parameter matrix and bias parameter matrix of w t (i) is the learner at the time series node D t The weight vector w on t The calculation formula for the i-th element in is where k t Represents a time series node D t One-hot encoded vectors of the associated knowledge components within the involved items; For time series node D t When iterating, passing through the time series node D t The updated project status is: Among them, C1, C2 and C3 are three weight parameter matrices related to project status update, b c is the deviation parameter vector associated with the project status update; The loss function adopts cross entropy loss, which is in the form of: Among them, p t For time series node D t The prediction of learner answer results based on learner portrait is expressed as: Among them, the parameters W1 and W2 are two weight parameter matrices in the deep knowledge-project joint tracking network, b1 and b2 are two bias parameter matrices in the deep knowledge-project joint tracking network; r t is the weight vector w t , learner portrait And the project status matrix H t The vector composed of the dot product of Where Q is the number of knowledge components contained in the courses associated with the project.
2. A learner profiling method based on deep knowledge-project joint tracking according to claim 1, characterized in that: During the training process of the deep knowledge-project joint tracking network, the optimization parameters include the course knowledge component weight matrix, the weight parameter matrix and the bias parameter matrix.
3. A method for predicting learner answer results in an online learning platform, characterized in that: The learner portrait method according to claim 1 or 2 obtains the current learner portrait of the target learner, and then predicts the target learner's answer result p for the specified item based on the learner portrait. t : Among them, the parameters W1 and W2 are two weight parameter matrices in the deep knowledge-project joint tracking network, b1 and b2 are two bias parameter matrices in the deep knowledge-project joint tracking network; r t is the weight vector w t , learner portrait And the project status matrix H t The vector composed of the dot product of Where Q is the number of knowledge components contained in the course associated with the specified project.
4. A learning path recommendation method in an online learning platform, characterized in that: include: First, the current learner portrait of the target learner is obtained according to the learner portrait method described in claim 1 or 2; Then, take each knowledge component that the target learner can currently choose for the next step of learning as a learning node, and select all distance values from the entire learning node set EB Less than the set threshold Learning Node Constitute a candidate learning node set ES, where Represents candidate learning nodes and the coupling encoding vector v t The vector similarity of Represents the project status H t and learner portraits The Euclidean distance between Finally, the initial learning path distance matrix DL is obtained based on the candidate learning node set ES. The i-th column in DL represents the candidate learning node The learning path distance to all candidate learning nodes in ES Jaccsim represents Jaccard similarity; after Gaussian blurring DL, the update matrix DL is obtained. u , and with the project heat matrix Combined with the random number matrix KB, the recommendation probability of each learning node in ES is obtained Mean represents the average operation of the elements in the matrix; a learning path recommendation list is formed by sorting each learning node in ES according to the recommendation probability p.
5. A learner profiling system based on deep knowledge-project joint tracking, characterized in that: include: Dataset acquisition module: used to acquire cognitive datasets of learners on different knowledge components on the online education platform. The cognitive datasets consist of time series of different learners. In each time series, the time series nodes are used to record the items learned by the learner at different time nodes and the answers to each knowledge component in the item. Network training module: used for training the initialized deep knowledge-project joint tracking network based on the time series in the cognitive data set and the course knowledge component weight matrix representing the correlation coefficients between different knowledge components in the course, optimizing the course knowledge component weight matrix and network parameters by minimizing the loss function, and obtaining the trained deep knowledge-project joint tracking network; The deep knowledge-project joint tracking network uses a recurrent neural network to iterate the input time series node by node. Each round of iteration contains two parts of input and one output. The first part of the input is the learner portrait, project status and knowledge component information associated with the project before the update in the current time series node. The second part of the input is the coupling vector of the knowledge component information associated with the project in the current time series node and the learner's answer feedback. The original learner portrait is erased and updated according to the learner's answer situation, and the project status is updated based on the updated learner portrait. The output is the updated learner portrait and project status. Learner portrait module: used to input the current time series recorded by the target learner on the platform into the trained deep knowledge-project joint tracking network to obtain the current learner portrait of the target learner; The time series of a single learner in the cognitive dataset includes multiple time series nodes D1, D2, ..., D N , where N is the total number of learning activities of learners on the platform corresponding to the sequence, and the time series node D t The learning activity data x in the form of a tuple corresponding to time t is recorded in t =(q t ,y t ), where q t The encoding of the associated knowledge components within the project involved in the learning activity, y t ∈{0, 1} represents the learner's answer to the item, 0 represents an incorrect answer, and 1 represents a correct answer; In the deep knowledge-project joint tracking network, for the time series node D t When iterating, the learner profile is updated as follows: in, They are The i-th column vector of and Respectively represent the learner passing through the time series node D t Learner portraits before and after the learning activities in the update; t and a t are the erasure vector and addition vector based on the learner's actual answer yt and the project-related knowledge concept, respectively. The calculation formula is: e t =Sigmoid(E T v t +b e ) a t =Fish(D) T v t +b a ) T Among them, v t For time series node D t The coupled encoding vector of the learner’s actual answer and the item-related knowledge component, v t =[q t ,y t ] T W, W is the weight parameter matrix, E and b e is for the erase vector e t The weight parameter matrix and bias parameter matrix of D and b a is for adding vector a t The weight parameter matrix and bias parameter matrix of w t (i) is the learner at the time series node D t The weight vector w on t The calculation formula for the i-th element in is where k t Represents a time series node D t One-hot encoded vectors of the associated knowledge components within the involved items; For time series node D t When iterating, passing through the time series node D t The updated project status is: Among them, C1, C2 and C3 are three weight parameter matrices related to project status update, b c is the deviation parameter vector associated with the project status update; The loss function adopts cross entropy loss, which is in the form of: Among them, p t For time series node D t The prediction of learner answer results based on learner portrait is expressed as: Among them, the parameters W1 and W2 are two weight parameter matrices in the deep knowledge-project joint tracking network, b1 and b2 are two bias parameter matrices in the deep knowledge-project joint tracking network; r t is the weight vector w t , learner portrait And the project status matrix H t The vector composed of the dot product of Where Q is the number of knowledge components contained in the courses associated with the project.
6. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, which, when executed by the processor, implements the learner profiling method according to claim 1 or 2, the learner answer result prediction method in the online learning platform according to claim 3, or the learning path recommendation method in the online learning platform according to claim 4.
7. A computer device, characterized in that: including memory and processor; The memory is used to store computer programs; The processor is used to implement the learner profiling method according to claim 1 or 2, the learner answer result prediction method in the online learning platform according to claim 3, or the learning path recommendation method in the online learning platform according to claim 4 when executing the computer program.
