Intelligent tutoring system and method using knowledge tracking model based on transformer neural network

The integration of a Rasch Model-based Embedding Layer and Ability Predictor with regularization techniques addresses the challenges of cost, stability, and interpretability in transformer neural network-based knowledge tracking models, enhancing the prediction of learner knowledge states and reflecting concept relationships in large-scale intelligent tutoring systems.

WO2024205236A1PCT designated stage expired Publication Date: 2024-10-03CLASSTING INC

Patent Information

Application Number
PCT/KR2024/003877
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-31
Filing Date
2024-03-27
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

Existing knowledge tracking models based on transformer neural networks face challenges with high costs, stability issues, interpretability, and the inability to reflect precedence relationships between concepts, particularly when scaled for large intelligent tutoring systems.

Method used

The implementation of a Rasch Model-based Embedding Layer, an Ability Predictor, and two regularization techniques to reduce costs, enhance stability, and improve interpretability, while accurately predicting learner knowledge states by reflecting sequential relationships between concepts.

Benefits of technology

This approach effectively lowers costs, increases stability, and enhances interpretability, enabling more accurate prediction of learner knowledge states and reflecting sequential relationships between concepts in large-scale intelligent tutoring systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2024003877_03102024_PF_FP_ABST
    Figure KR2024003877_03102024_PF_FP_ABST
Patent Text Reader

Abstract

An intelligent tutoring system using a knowledge tracking model based on a transformer neural network according to an embodiment of the present invention comprises: a knowledge state estimation unit for, on the basis of a past learning history of a learner, estimating a knowledge state of the learner by using a Rasch model-based embedding layer; and a correct or incorrect answer prediction unit for, on the basis of the estimated knowledge state, predicting a correct or incorrect answer of a question to be solved in the future.
Need to check novelty before this filing date? Find Prior Art

Description

Intelligent tutoring system and method using a knowledge tracking model based on a transformer neural network

[0001] Embodiments of the present invention relate to an intelligent tutoring system and method, and more particularly, to an intelligent tutoring system and method using a knowledge tracking model based on a transformer neural network.

[0002] With the recent proliferation of the Internet and electronic devices across various fields, the educational environment is also rapidly changing. In particular, the development of diverse educational media has given learners a wider range of learning options. Among these, Internet-based educational services have become a key teaching and learning tool due to their ability to overcome time and space constraints and offer low-cost education.

[0003] These online education services, incorporating various models of artificial intelligence, can now provide more efficient learning content by predicting the probability of a user's correct answer to a random question, something that was previously impossible in offline education environments.

[0004] Various artificial neural network models, such as RNN, LSTM, bidirectional LSTM, and transformer, have been proposed to predict the probability of a user's correct answer to a given problem. However, these existing artificial neural network models have problems in that they cannot predict results with sufficient accuracy because the layers are too thin to obtain the desired inference results or they do not use input data optimized for tracking user knowledge.

[0005] In particular, the Transformer model has begun to attract attention as a user knowledge tracking model because it has the advantage of being very fast in learning speed and superior in performance to RNN by creating an encoder-decoder structure using only attention rather than an RNN structure. However, there is a lack of research on optimizing the Transformer model for learning content.

[0006] For example, while Transformer neural network-based knowledge tracking models have demonstrated promising performance, their cost is prohibitive for large-scale ITS applications. Furthermore, knowledge tracking models have raised concerns about stability, interpretability, and the ability to reflect causal relationships between concepts. While attempts have been made to mitigate these issues, these methods have been limited in their applicability to Transformer neural network-based models.

[0007] Related prior art includes Korean Patent Publication No. 10-2021-0141419 (Title of invention: Artificial intelligence learning-based user knowledge tracking system and its operating method, Publication date: November 23, 2021).

[0008] One embodiment of the present invention provides an intelligent tutoring system and method using a transformer neural network-based knowledge tracking model that can more accurately predict a learner's knowledge state by reflecting the causal relationship between concepts and reducing the cost while increasing stability and interpretability suitable for large-scale ITS by utilizing a Rasch model-based embedding layer, an ability predictor, and two regularization techniques.

[0009] The problems to be solved by the present invention are not limited to the problem(s) mentioned above, and other problems not mentioned will be clearly understood by those skilled in the art from the description below.

[0010] The intelligent tutoring system using the transformer neural network-based knowledge tracking model of the present invention may include a knowledge state estimation unit that estimates the learner's knowledge state using a Rasch model-based embedding layer based on the learner's past learning history, including items and whether the items were answered correctly or incorrectly; and a correct or incorrect answer prediction unit that predicts correct or incorrect answers for items to be solved in the future based on the estimated knowledge state.

[0011] The above knowledge state estimation unit receives the learner's past learning history through the Rasch model-based embedding layer, obtains an embedding vector including the knowledge component (KC) information and difficulty information of the item through learning of the Rasch model-based embedding layer based on the input past learning history, and estimates the learner's knowledge state by utilizing an ability prediction model (Ability Predictor) based on the obtained embedding vector.

[0012] The above embedding vector includes an embedding vector x for a question q and an embedding vector y for an interaction (q, a), and the Rasch model-based embedding layer uses the embedding vector x as a question embedding such that x = c c + β q ·d c , and the embedding vector y is an interaction embedding, y = e (c,a) + β q· f (c,a) can be expressed as

[0013] Here, c c is a vector containing information about KC c related to item q, and β q is a learnable scalar containing information on the difficulty of item q, and d c is a vector representing the variance of items related to KC c, and e(c,a) is a vector containing information about KC c and whether the answer is correct or incorrect a related to item q, and f (c,a) is a vector representing the variance of the items related to KC c and whether the answer is correct or incorrect.

[0014] The above-mentioned incorrect answer prediction unit can perform a correct or incorrect answer prediction for the above question based on the calculation result of the above-mentioned Ability Predictor.

[0015] The above Ability Predictor can perform a prediction of the correct or incorrect answer for the corresponding item at time t+1 through an operation based on a transformer neural network layer for one embedding vector generated during a continuous time interval from time 1 to t (where t is a natural number greater than 1) that has passed through the Rasch model-based embedding layer.

[0016] The above knowledge state estimation unit is a transformer neural network layer, and receives one Question Embedding generated during a continuous time interval from time 1 to t that passes through a Rasch model-based embedding layer with a query, a key, and a value, and outputs a Question Embedding with added context information through learning based on the input Question Embedding; And an Interaction Encoder that inputs one Interaction Embedding generated during a continuous time interval from time 1 to t that passes through a Rasch model-based embedding layer with query, key, and value as an input of a transformer neural network layer, and outputs an Interaction Embedding with added context information through learning based on the input Interaction Embedding, and the Ability Predictor can input a Question Embedding and an Interaction Embedding with added context information from the Question Encoder and the Interaction Encoder, respectively, and output a learner's ability vector (indicating a mastery level value for the KC of the corresponding item).

[0017] The above Ability Predictor is a transformer neural network layer, which receives Question Embeddings that passed through the Question Encoder as query and key, Interaction Embeddings that passed through the Interaction Encoder as value, and the learner's latent knowledge vector h t A knowledge retriever that outputs the learner's latent knowledge vector h; and a feed-forward neural network (FFNN). tInput the ability vector θ t It may include an Ability Net that outputs .

[0018] The above incorrect answer prediction section is q for the question to be solved at time t+1. t+1 In this case, the response to the question (whether correct or incorrect) can be predicted using the following function.

[0019]

[0020] Here, Silver KC c t+1 The learner's ability (KC c in the learner's ability vector) t+1 ) represents the corresponding element, is question q t+1 As a difficulty value, it represents the difficulty parameter learned through the embedding layer based on the Rasch model.

[0021] In an intelligent tutoring method using a knowledge tracking model based on a transformer neural network of the present invention, a step of estimating the learner's knowledge state using a Rasch model-based embedding layer based on the learner's past learning history, which includes items and whether the items are answered correctly or incorrectly, by a knowledge state estimation unit of the intelligent tutoring system; And a step of predicting correct or incorrect answers for questions to be solved in the future based on the estimated knowledge state by the correct or incorrect answer prediction unit of the intelligent tutoring system, and a step of estimating the learner's knowledge state by utilizing an ability prediction model (Ability Predictor) based on the acquired embedding vector, a step of receiving, through a Question Encoder, a Question Embedding generated during a continuous time interval from time 1 to t that passes through a Rasch model-based embedding layer with a query, a key, and a value as an input to a transformer neural network layer, and outputting a Question Embedding with added context information through learning based on the input Question Embedding;And through the Interaction Encoder, a transformer neural network layer, a step of inputting one Interaction Embedding generated during a continuous time interval from time 1 to t that passes through a Rasch model-based embedding layer as a query, a key, and a value, and outputting an Interaction Embedding with added context information through learning based on the input Interaction Embedding, wherein the Ability Predictor is a transformer neural network layer, and inputs the Question Embedding that passes through the Question Encoder as a query and a key, and inputs the Interaction Embedding that passes through the Interaction Encoder as a value, and the learner's latent knowledge vector h; t A knowledge retriever that outputs the learner's latent knowledge vector h; and a feed-forward neural network (FFNN). t Input the learner's ability vector (Ability vector, representing the mastery level value of the KC of the corresponding item) θ t It may include an Ability Net that outputs .

[0022] The step of performing the above correct or incorrect answer prediction may include a step of performing the correct or incorrect answer prediction for the corresponding item at time t+1 based on the calculation result of the ability prediction model (Ability Predictor) that performs calculation based on a transformer neural network layer on one embedding vector generated during a continuous time interval from time 1 to t (where t is a natural number greater than 1) that passed through the Rasch model-based embedding layer.

[0023] According to one embodiment of the present invention, by utilizing a Rasch Model-based Embedding Layer, an Ability Predictor, and two regularization techniques, the cost is reduced while stability and interpretability are increased to be suitable for large-scale ITS, and the causal relationship between concepts is reflected to more accurately predict the learner's knowledge state.

[0024] FIG. 1 is a block diagram illustrating the overall configuration of an intelligent tutoring system using a knowledge tracking model based on a transformer neural network according to one embodiment of the present invention.

[0025] Figure 2 is a block diagram illustrating the detailed configuration of the knowledge status estimation unit of Figure 1.

[0026] Figure 3 is a block diagram illustrating the detailed configuration of the correct answer prediction unit of Figure 1.

[0027] FIG. 4 is a block diagram briefly illustrating the training and inference process of a knowledge tracking model according to one embodiment of the present invention.

[0028] FIG. 5 is a block diagram schematically illustrating the training and inference process of a knowledge tracking model according to another embodiment of the present invention.

[0029] FIGS. 6 and 7 are flowcharts illustrating an intelligent tutoring method using a knowledge tracking model based on a transformer neural network according to one embodiment of the present invention.

[0030] The advantages and / or features of the present invention, and the methods for achieving them, will become clearer with reference to the embodiments described in detail below together with the accompanying drawings. However, the present invention is not limited to the embodiments disclosed below, but may be implemented in various different forms. These embodiments are provided only to ensure that the disclosure of the present invention is complete and to fully inform those skilled in the art of the scope of the invention, and the present invention is defined only by the scope of the claims. Like reference numerals refer to like elements throughout the specification.

[0031] In addition, in order to efficiently explain the technical components that make up the present invention, the preferred embodiments of the present invention to be implemented below omit, as much as possible, the system functional components that are already provided in each system functional component or that are commonly provided in the technical field to which the present invention belongs, and focus on explaining the functional components that must be additionally provided for the present invention. If a person having ordinary skill in the technical field to which the present invention belongs, among the functional components that are not illustrated below and are omitted, the functions of the components that have been used in the past will be easily understood, and the relationship between the omitted components as described above and the components added for the present invention will also be clearly understood.

[0032] Additionally, in the following description, terms such as "transmission," "communication," "sending," "receiving," or similar meanings of signals or information encompass not only the direct transmission of signals or information from one component to another, but also transmission via another component. In particular, "transmitting" or "sending" a signal or information to one component indicates the final destination of the signal or information, not the direct destination. This also applies to "receiving" a signal or information.

[0033] Before describing embodiments of the present invention, the terms 'learning activities' and 'learning of artificial intelligence models' used throughout the specification will be briefly explained.

[0034] 'Learning history' refers to problem-solving history.

[0035] 'Learning of an AI model' refers to the process of updating the model's parameters by calculating the loss function using the predicted results of the training data and the labels of the training data.

[0036] Hereinafter, embodiments of the present invention will be described in detail with reference to the attached drawings.

[0037] FIG. 1 is a block diagram showing the overall configuration of an intelligent tutoring system using a knowledge tracking model based on a transformer neural network according to one embodiment of the present invention, FIG. 2 is a block diagram showing the detailed configuration of a knowledge status estimation unit (110) of FIG. 1, and FIG. 3 is a block diagram showing the detailed configuration of a correct / incorrect answer prediction unit (120) of FIG. 1.

[0038] Referring to FIGS. 1 to 3, an intelligent tutoring system (ITS) (100) using a knowledge tracking model based on a transformer neural network according to one embodiment of the present invention may be configured to include a knowledge status estimation unit (110), a correct / incorrect answer prediction unit (120), and a control unit (130).

[0039] The above knowledge state estimation unit (110) can estimate the learner's knowledge state using a Rasch model-based embedding layer based on the learner's past learning activities.

[0040] Here, the knowledge state refers to the Mastery Level (mainly a value of 0 to 1, expressing information on various KCs in radar form) for each KC (knowledge element). To estimate the learner's knowledge state, the knowledge state estimation unit (110) may include an input unit (210), a learning unit (220), and an estimation unit (230).

[0041] The above input unit (210) can receive the learner's past learning history through the Rash model-based embedding layer. Here, the learner's past learning history is X = {(q1,c1,a1), ..., (q t ,c t ,a t )} can be expressed as q t is the question solved at time t, and c t is q t It is a knowledge component (KC) related to a t indicates whether the answer to the question is correct or incorrect (1 if correct, 0 if incorrect).

[0042] The above learning unit (220) can obtain an embedding vector including knowledge component (KC) information and difficulty information of an item through learning (learning of an artificial intelligence model) of the Rasch model-based embedding layer based on the input past learning history. Here, the difficulty information refers to the value β trained in the Rasch model-based embedding layer.

[0043] The above estimation unit (230) can estimate the learner's knowledge status by utilizing an ability prediction model (Ability Predictor) based on the acquired embedding vector. Here, the embedding vector can include an embedding vector x for an item q and an embedding vector y for an interaction (q, a).

[0044] In one embodiment, the Rasch model-based embedding layer defines the embedding vector x as a question embedding such that x = c c + β q ·d c , and the embedding vector y is an interaction embedding, y = e (c,a) + β q ·f (c,a) can be expressed as

[0045] Here, c c is a vector containing information about KC c related to item q, and β q is a learnable scalar containing information on the difficulty of item q, and d c is a vector representing the variance of items related to KC c. Also, e (c,a) is a vector containing information about KC c and whether the answer is correct or incorrect a related to item q, and f (c,a) is a vector representing the variance of the items related to KC c and whether the answer is correct or incorrect.

[0046] In one embodiment, the Ability Predictor may perform an operation based on a transformer neural network layer on the embedding vector from time 1 to t (where t is a natural number greater than 1) that has passed through the Rasch model-based embedding layer. Through this operation, the knowledge state can be estimated.

[0047] Meanwhile, the knowledge state estimation unit (110) may include a question encoder (310) and an interaction encoder (320) as transformer neural network layers, as illustrated in FIG. 3.

[0048] The above Question Encoder (310) receives Question Embedding from time 1 to t that has passed through the 2-1 Rasch model-based embedding layer as an input for a query, a key, and a value, and can output Question Embedding with added context information through an operation based on the input Question Embedding.

[0049] The above Interaction Encoder (320) receives Interaction Embedding from time 1 to t that has passed through the 2-1 Rasch model-based embedding layer as query, key, and value, and can output Interaction Embedding with added context information through an operation based on the input Interaction Embedding.

[0050] Accordingly, the Ability Predictor can receive Question Embedding and Interaction Embedding with added context information from the Question Encoder (310) and Interaction Encoder (320), respectively, and output the learner's ability vector (indicating the mastery level value for the KC of the corresponding question).

[0051] The above Ability Predictor may further include a Knowledge Retriever as a transformer neural network layer, although not shown in the drawing, and an Ability Net as a feed-forward-neural-network (FFNN).

[0052] The above Knowledge Retriever receives Question Embedding that passed through Question Encoder as query and key, Interaction Embedding that passed through Interaction Encoder as value, and learner's latent knowledge vector h t can be printed.

[0053] The above Ability Net is the learner's latent knowledge vector h t It can input and output the ability vector θt.

[0054] The above-mentioned incorrect answer prediction unit (120) can predict correct or incorrect answers for questions to be answered in the future based on the estimated knowledge status. To this end, the above-mentioned incorrect answer prediction unit (120) can apply the estimated knowledge status to an ability prediction model (Ability Predictor) to predict correct or incorrect answers for the questions.

[0055] According to one embodiment, the correct answer prediction unit (120) may perform a correct answer prediction for the corresponding item at time t+1 based on the operation result (knowledge state vector θ) of the Ability Predictor. The correct answer prediction for the corresponding item at time t+1 may also be performed by utilizing a response function together with the knowledge state vector θ.

[0056] That is, the above-mentioned incorrect answer prediction unit (120) predicts that the question to be solved at time t+1 is q t+1 In this case, the response to the question (whether correct or incorrect) can be predicted using the following function.

[0057]

[0058] Here, Silver KC c t+1 The learner's ability (KC c in the learner's ability vector) t+1 ) represents the corresponding element, is question qt+1 As a difficulty value, it represents a difficulty parameter learned (learned by an artificial intelligence model) through the embedding layer based on the Rasch model.

[0059] The above-mentioned incorrect answer prediction unit (120) obtains the Ability vector θ by passing through the Ability Net. t About,

[0060]

[0061] Add as a regularization term, and the loss function at time t By adding a regularization term ( ) to increase stability, ) can be defined as follows.

[0062]

[0063] Here, λ r , λ ω1 , λ ω2 is a hyper-parameter.

[0064] The above-mentioned incorrect answer prediction unit (120) is a normalization term for reflecting the causal relationship between concepts in the above-mentioned transformer neural network-based knowledge tracking model. ) can be defined as follows.

[0065]

[0066] Here, is a hyper-parameter, If the responses (correctness) at time t1 and t2 are the same, it is 1, otherwise it is 0, and c1 is a prerequisite of c2.

[0067] The above-mentioned incorrect answer prediction unit (120) applies the regularization terms defined as above to finally obtain the following loss function ( ) is defined, and by using this to learn the knowledge tracking model based on the transformer neural network (learning of the artificial intelligence model), the stability of the model can be increased, and the prediction accuracy of the learner's knowledge status can be improved by reflecting the causal relationship between concepts.

[0068]

[0069] Here, , and BCE stands for Binary Cross Entropy.

[0070] The control unit (130) can control the overall operation of the intelligent tutoring system (100) using the knowledge tracking model based on a transformer neural network according to one embodiment of the present invention, i.e., the knowledge state estimation unit (110), the correct or incorrect answer prediction unit (120), etc. The control unit (130) can be implemented by functionally including some or all of the components such as the knowledge state estimation unit (110), the correct or incorrect answer prediction unit (120), etc. That is, the control unit (130) can perform some functions of the components, or alternatively, can perform all functions of the components.

[0071] The control unit (130) controls the overall operation of the system (100) and may include a processor such as a CPU. The control unit (130) may control other components included in the system (100) to perform operations corresponding to user input received through the input / output unit. Here, the processor may process commands within the computing device, and such commands may include commands stored in a memory or storage device to display graphic information for providing a GUI (Graphical User Interface) on an external input / output device, such as a display connected to a high-speed interface. In another embodiment, multiple processors and / or multiple buses may be used together with multiple memories and memory types as appropriate. Additionally, the processor may be implemented as a chipset formed by chips including multiple independent analog and / or digital processors.

[0072] FIG. 4 is a block diagram briefly illustrating the training and inference process of a knowledge tracking model according to one embodiment of the present invention.

[0073] First, referring to i) of Fig. 4, the training process of the knowledge tracking model is explained as follows.

[0074] That is, in 410, the Rasch Model-based Embedding Layer can input the learner's past learning history and output an embedding vector that includes the knowledge component (KC) information and difficulty information of the item through learning of the artificial intelligence model.

[0075] Next, at 420, the Ability Predictor can perform an operation based on a transformer neural network layer on the embedding vector from time 1 to t (where t is a natural number greater than 1) that has passed through the Rasch model-based embedding layer.

[0076] To this end, the Ability Predictor uses a transformer neural network layer (Knowledge Retriever) to retrieve the learner's latent knowledge vector h t , and output the learner's latent knowledge vector h through FFNN (Ability Net). t Ability vector θ is input t can be printed.

[0077] Next, at 430, the response function can perform a correct or incorrect answer prediction for the question at time t+1 based on the operation result of the Ability Predictor. That is, the response function can predict the question to be solved at time t+1 as q t+1 If so, the response to that question (whether it is the final correct answer or not) can be predicted.

[0078] Next, in 440, the loss function can improve the stability of the model by learning a knowledge tracking model based on a transformer neural network (learning an artificial intelligence model) and improve the prediction accuracy of the learner's knowledge status by reflecting the causal relationship between concepts.

[0079] Meanwhile, the inference process of the knowledge tracking model is explained with reference to ii) of Fig. 4 as follows.

[0080] That is, in 410, the Rasch Model-based Embedding Layer can input the learner's past learning history and output an embedding vector that includes the knowledge component (KC) information and difficulty information of the item through learning of the artificial intelligence model.

[0081] Next, at 420, the Ability Predictor can perform an operation based on a transformer neural network layer on the embedding vector from time 1 to t (where t is a natural number greater than 1) that has passed through the Rasch model-based embedding layer.

[0082] To this end, the Ability Predictor uses a transformer neural network layer (Knowledge Retriever) to retrieve the learner's latent knowledge vector h t , and output the learner's latent knowledge vector h through FFNN (Ability Net). t Ability vector θ is input t can be printed.

[0083] Next, at 430, the response function can perform a correct or incorrect answer prediction for the question at time t+1 based on the operation result of the Ability Predictor. That is, the response function can predict the question to be solved at time t+1 as q t+1 If so, the response to that question (whether it is the final correct answer or not) can be predicted.

[0084] In this way, referring to Figure 4, the process of ‘predicting whether the answer is correct or not’ corresponds to inference, and the process of learning the artificial intelligence model through calculating the loss function corresponds to training.

[0085]

[0086] FIG. 5 is a block diagram schematically illustrating the training and inference process of a knowledge tracking model according to another embodiment of the present invention. For reference, reference numerals 510 to 540 in FIG. 5 may be included in the knowledge status estimation unit (110) of FIG. 1, and reference numeral 550 may be included in the correct / incorrect answer prediction unit (120) of FIG. 1.

[0087] Before explaining this embodiment, the problems of the existing transformer neural network-based knowledge tracking model will first be explained, and a method for solving these existing problems will be examined in detail with reference to FIG. 5.

[0088] 1. Existing problems

[0089] The primary purpose of using knowledge tracking models in Intelligent Tutoring Systems (ITS) is to represent a learner's current knowledge status based on their past learning (problem-solving) history. While Transformer neural network-based knowledge tracking models have demonstrated promising performance, their application to large-scale ITSs faces significant cost constraints. Furthermore, existing knowledge tracking models have been criticized for their stability, interpretability, and inability to reflect conceptual causality. While attempts have been made to mitigate these issues, these methods are not applicable to Transformer neural network-based models.

[0090] 1-1. Cost issues of existing transformer neural network-based knowledge tracking models

[0091] Existing transformer neural network-based knowledge tracking models receive as input information about the question for which they want to predict whether the answer is correct or incorrect, along with past problem-solving history.

[0092] In more detail, the Target Question is received together as input to the Knowledge Retriever Layer and Question Encoder Layer. In this case, in order to express the radar form representing the knowledge state of all ITS users, the knowledge tracking model must predict the probability of correct or incorrect answers for all users and all questions. Therefore, the cost for this is It becomes.

[0093] Here N U is the total number of users existing in ITS, N Q is the total number of items in the ITS, S is the length of the past learning history that is input to the knowledge tracking model, and H is the dimensionality of the embedding vector.

[0094] For comparison, the cost for the same task of DKT, the most basic knowledge tracking model based on recurrent neural networks, is That is, it is very cost-inefficient to utilize a knowledge tracking model based on a transformer neural network in a large-scale ITS with a very large number of students and items.

[0095] 1-2. Stability Issues of the Knowledge Tracking Model

[0096] There are stability issues, such as the phenomenon in which the learner's knowledge state predicted by the model fluctuates excessively over time, and the phenomenon in which the learner's knowledge state decreases even when the question is answered correctly, or increases even when the question is answered incorrectly.

[0097] Although techniques exist to mitigate this phenomenon in the DKT model, these methods are dependent on the DKT model and cannot be directly applied to models based on transformer neural networks.

[0098] 1-3. Interpretability issues of knowledge tracking models

[0099] While past KT models (IRT, PFA, BKT, etc.) possess strong interpretability, their small capacity hinders high performance. Deep learning-based KT models offer high performance, but the latent knowledge states they infer are difficult to interpret.

[0100] A method was proposed to extend IRT to provide interpretability to the deep learning-based KT model, but this has the limitation of being structured dependent on the DKVMN model.

[0101] 1-4. The problem of predicting knowledge states that do not correspond to the chronological order of concepts.

[0102] There is a problem where knowledge states can be predicted without considering the causal relationships between knowledge elements (KCs). For example, the following knowledge state can be observed: "Addition of four-digit numbers" can be solved only if one understands "addition of three-digit numbers." However, sometimes, without considering this relationship, the model predicts a high level of understanding of "addition of four-digit numbers" despite a low level of understanding of "addition of three-digit numbers." In this case, the model's predicted knowledge state lacks persuasiveness to the user.

[0103] There is a study that introduces a regularization technique to guide the learning of a knowledge tracking model based on the relationship between KCs, but this technique is dependent on the DKT model.

[0104] 2. Solution

[0105] In this embodiment, we propose a knowledge tracking model based on a transformer neural network that considers the causal relationship between concepts while reducing cost and increasing stability and interpretability to be suitable for large-scale ITS.

[0106] To address the issues raised in Section 1 above, this embodiment utilizes a Rasch Model-based Embedding Layer, an Ability Predictor, and two regularization techniques. A detailed description of each is provided below.

[0107] 2-1. Rasch Model-based Embedding Layer

[0108] In 510 of Fig. 5, Rasch Model-based Embedding is an embedding technique with proven effectiveness, which can obtain an embedding vector including KC information and difficulty information of an item with an efficient number of parameters.

[0109] The embedding vector x for an item q can be expressed as follows. That is, x = c using three terms: a KC embedding vector containing information about KC related to item q, a vector expressing the variance of items related to KC, and a learnable scalar containing information about the difficulty of item q. c + β q· d c can be expressed as

[0110] Similarly, the embedding vector y for Interaction(q,a) can be computed as follows.

[0111] y = e (c,a) + β q· f (c,a)

[0112] The difficulty parameter β learned through the corresponding layer can be used as the difficulty value in the response function of IRT when predicting correct or incorrect answers, which will be introduced in Section 2-2 below.

[0113] 2-2. Ability Predictor

[0114] The proposed model goes through the following process when making a prediction at time t+1.

[0115]

[0116] At 520 in Fig. 5, the Question Encoder is a transformer neural network layer that receives Question Embeddings from time 1 to t, which have passed through the Rasch Model-based Embedding Layer of 2-1 as query, key, and value. At this time, the Question Encoder can include an attention mask m in its input, and can operate similarly below. The Question Encoder outputs Question Embeddings with added contextual information.

[0117]

[0118] At 530 in Fig. 5, the Interaction Encoder is a transformer neural network layer that receives the Interaction Embedding from time 1 to t, which has passed through the Rasch Model-based Embedding Layer of 2-1 as query, key, and value. At this time, the Interaction Encoder can include the attention mask m in the input, and can operate similarly below. The Interaction Encoder outputs the Interaction Embedding with added contextual information.

[0119]

[0120] In 540 of Fig. 5, the Ability Predictor is an extended structure of the Knowledge Retriever in the existing transformer neural network-based knowledge tracking model, and is composed of the following two elements.

[0121]

[0122] The Knowledge Retriever is a transformer neural network layer that receives Question Embeddings that passed through the Question Encoder as query and key, and Interaction Embeddings that passed through the Interaction Encoder as value. m is an attention mask. The Knowledge Retriever calculates the learner's latent knowledge vector h. t Prints out.

[0123]

[0124] Ability Net is a Feed-Forward-Neural-Network (FFNN) that learns the learner's latent knowledge vector h t , Ability Vector θ t Outputs the vector θ tEach element represents a mastery level value for the corresponding KC.

[0125] In 550 of Figure 5, if the problem to be solved at time t+1 is q t+1 In this case, the response to the question is predicted by the following function.

[0126]

[0127] This has the same form as the response function of 1 parameter logistic (1PL)-IRT.

[0128] Here, Silver KC c t+1 The learner's ability (KC c in the learner's ability vector) t+1 ) represents the corresponding element, is question q t+1 As a difficulty value, it represents a difficulty parameter learned through the embedding layer based on the Rasch model.

[0129] Regarding the prediction of whether the final answer is correct or not, the response function of 1 parameter logistic (1PL)-IRT is used to determine the item q. t+1 You can predict the probability of getting it right.

[0130] 2-2-1. Solving the Cost Problem

[0131] Existing transformer neural network-based methods go through the following process when making predictions at t+1.

[0132]

[0133]

[0134]

[0135]

[0136] The Prediction Layer is a Multi-Layer Perceptron (MLP), h t and It takes as input the concatenated vector and determines whether the final answer is correct or not. Outputs.

[0137] In the existing transformer neural network-based knowledge tracking model as above, x is used as input for the Question Encoder, Knowledge Retriever, and Prediction Layer. t+1 Because it requires information, inefficiency occurs in terms of cost.

[0138] To solve this problem, in one embodiment of the present invention, x t The input range is modified by using only the information up to . Accordingly, the cost of expressing the knowledge state of all ITS users is O(N) compared to the existing transformer neural network-based models. U * N Q * (S 2 In H + H), O(N U * (S 2 H + N Q It is lowered to H)).

[0139] 2-2-2. Solving Interpretation Problems

[0140] In one embodiment of the present invention, the problem of insufficient interpretability in knowledge tracking models can be addressed by utilizing IRT, a method known for its high interpretability. The specific method is as follows.

[0141] Question q t+1 A function to predict the response to

[0142]

[0143] at, , Since this is a scalar form, the results have high interpretability. For example, If the value of KC c is large, t+1 It has a high level of understanding of If the value of is large, question q t+1It can be intuitively interpreted that the difficulty level is high.

[0144] 2-3. Application of training techniques (normalization) to increase stability and reflect the causal relationship between concepts.

[0145] A typical loss function learned by a knowledge tracking model is as follows:

[0146]

[0147] Here, BCE stands for Binary Cross Entropy.

[0148] In one embodiment of the present invention, the following normalization technique is applied to increase the stability of the model and to more accurately predict the learner's knowledge status by reflecting the causal relationship between concepts.

[0149] 2-3-1. Normalization for increased stability

[0150] The phenomenon of the learner's knowledge state predicted by the model fluctuating excessively over time can be alleviated by adding the following two terms as regularization terms to the learner's Ability Vector obtained through the Ability Net.

[0151]

[0152] The phenomenon in which the learner's knowledge decreases even when the problem is correct, or increases even when the problem is incorrect. The reason is that learning is done only with the loss function. This phenomenon occurs when the loss function at time t can be alleviated by adding a regularization term. Therefore, the regularization term to increase stability can be defined as follows.

[0153]

[0154] Here, λ r , λ ω1 , λ ω2 is a hyper-parameter.

[0155] 2-3-2. Normalization to reflect the causal relationship between concepts

[0156]

[0157] Here, is a hyper-parameter, represents 1 if the responses (correctness) at time t1 and t2 are the same, otherwise it represents 0, and c1 is a prerequisite of c2.

[0158] This type of regularization has proven effective in a recurrent neural network-based knowledge tracking model, and this is the first time it has been applied to a transformer neural network-based knowledge tracking model. Therefore, the final loss function for training the proposed model is as follows.

[0159]

[0160] The devices described above may be implemented as hardware components, software components, and / or a combination of hardware components and software components. For example, the devices and components described in the embodiments may be implemented using one or more general-purpose computers or special-purpose computers, such as, for example, a processor, a controller, an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable array (FPA), a programmable logic unit (PLU), a microprocessor, or any other device capable of executing instructions and responding to them. The processing device may execute an operating system (OS) and one or more software applications running on the operating system. The processing device may also access, store, manipulate, process, and generate data in response to the execution of the software. For ease of understanding, the processing device is sometimes described as being used singly; however, those skilled in the art will appreciate that the processing device may include multiple processing elements and / or multiple types of processing elements. For example, the processing device may include multiple processors, or one processor and one controller. Additionally, other processing configurations, such as parallel processors, are also possible.

[0161] Software may include a computer program, code, instructions, or a combination of one or more of these, which may configure a processing device to perform a desired operation or may, independently or collectively, command the processing device. The software and / or data may be permanently or temporarily embodied in any type of machine, component, physical device, virtual equipment, computer storage medium or device, or transmitted signal wave, for interpretation by the processing device or for providing instructions or data to the processing device. The software may also be distributed over networked computer systems and stored or executed in a distributed manner. The software and data may be stored on one or more computer-readable recording media.

[0162]

[0163] FIGS. 6 and 7 are flowcharts illustrating an intelligent tutoring method using a knowledge tracking model based on a transformer neural network according to one embodiment of the present invention.

[0164] The intelligent tutoring method using the knowledge tracking model based on the transformer neural network described herein can be performed by the intelligent tutoring system (100) of FIG. 1. The intelligent tutoring method using the knowledge tracking model based on the transformer neural network described above is merely one embodiment of the present invention, and various steps may be added as described below as needed, and the steps described below may also be implemented by changing the order, so the present invention is not limited to each step and the order described below.

[0165] First, referring to FIG. 1 and FIG. 6, in step (610), the knowledge state estimation unit (110) of the intelligent tutoring system (100) can estimate the learner's knowledge state using a Rasch Model-based embedding layer based on the learner's past learning history.

[0166] Next, in step (620), the correct answer prediction unit (120) of the intelligent tutoring system (100) can predict correct or incorrect answers for questions to be solved in the future based on the estimated knowledge status.

[0167] The above step (620) is described in more detail with reference to FIG. 7 as follows.

[0168] That is, in step (710), the correct answer prediction unit (120) of the intelligent tutoring system (100) can apply the estimated knowledge state to the ability prediction model (Ability Predictor).

[0169] Thereafter, in step (720), the Ability Predictor can perform an operation based on a transformer neural network layer on the embedding vector from time 1 to t that has passed through the Rasch model-based embedding layer.

[0170] Thereafter, in step (730), based on the operation result of the Ability Predictor, a prediction of the correct or incorrect answer for the question can be performed at time t+1.

[0171]

[0172] The method according to the embodiment may be implemented in the form of program commands that can be executed through various computer means and recorded on a computer-readable medium. The computer-readable medium may include program commands, data files, data structures, etc., alone or in combination. The program commands recorded on the medium may be those specially designed and configured for the embodiment or may be those known and available to those skilled in the art of computer software. Examples of the computer-readable recording medium include magnetic media such as hard disks, floppy disks, and magnetic tapes, optical media such as CDROMs and DVDs, magneto-optical media such as floptical disks, and hardware devices specially configured to store and execute program commands, such as ROMs, RAMs, and flash memories. Examples of the program commands include not only machine language codes generated by a compiler, but also high-level language codes that can be executed by a computer using an interpreter, etc. The hardware devices described above may be configured to operate as one or more software modules to perform the operations of the embodiment, and vice versa.

[0173] Although the embodiments described above have been described by way of limited examples and drawings, those skilled in the art will appreciate that various modifications and variations can be made based on the above description. For example, appropriate results can still be achieved even if the described techniques are performed in a different order than described, and / or components of the described systems, structures, devices, circuits, etc. are combined or combined in a different manner than described, or are replaced or substituted with other components or equivalents.

[0174] Therefore, other implementations, other embodiments, and equivalents to the claims also fall within the scope of the claims set forth below.

[0175] The present invention relates to an intelligent tutoring system and method using a knowledge tracking model based on a transformer neural network that estimates a learner's knowledge state using a Rasch model-based embedding layer based on the learner's past learning history and predicts correct or incorrect answers for questions to be solved in the future based on the estimated knowledge state.

Claims

1. A knowledge state estimation unit that estimates the learner's knowledge state using a Rasch Model-based embedding layer based on the learner's past learning history, including the questions and whether the questions were answered correctly or incorrectly; and An intelligent tutoring system using a knowledge tracking model based on a transformer neural network, characterized in that it includes an incorrect answer prediction unit that predicts correct or incorrect answers for questions to be solved in the future based on the estimated knowledge status.

2. In paragraph 1, The above knowledge status estimation unit An intelligent tutoring system using a knowledge tracking model based on a transformer neural network, characterized in that the learner's past learning history is input through the Rasch model-based embedding layer, an embedding vector including knowledge component (KC) information and difficulty information of an item is obtained through learning of the Rasch model-based embedding layer based on the input past learning history, and the learner's knowledge status is estimated using an ability prediction model based on the obtained embedding vector.

3. In paragraph 2, The above embedding vector includes an embedding vector x for item q and an embedding vector y for interaction (q, a), The above Rash model-based embedding layer The above embedding vector x is a question embedding, x = c c + β q· d c , and the embedding vector y is an interaction embedding, y = e (c,a) + β q· f (c,a) An intelligent tutoring system using a knowledge tracking model based on a transformer neural network characterized by being expressed as . Here, c c is a vector containing information about KC c related to item q, and β q is a learnable scalar containing information on the difficulty of item q, and d c is a vector representing the variance of items related to KC c, and e (c,a) is a vector containing information about KC c and whether the answer is correct or incorrect a related to item q, and f (c,a) is a vector representing the variance of the items related to KC c and whether the answer is correct or incorrect.

4. In paragraph 2, The above incorrect answer prediction section An intelligent tutoring system using a knowledge tracking model based on a transformer neural network, characterized in that it performs a prediction of correct or incorrect answers to the above question based on the calculation results of the above Ability Predictor.

5. In paragraph 4, The above Ability Predictor is An intelligent tutoring system using a knowledge tracking model based on a transformer neural network, characterized in that it performs a prediction of the correct or incorrect answer for the corresponding item at time t+1 through an operation based on a transformer neural network layer for one embedding vector generated during a continuous time interval from time 1 to t (where t is a natural number greater than 1) that has passed through the above Rasch model-based embedding layer.

6. In paragraph 5, The above knowledge status estimation unit A Question Encoder that inputs one Question Embedding generated during a continuous time interval from time 1 to t that passes through a Rasch model-based embedding layer with a query, a key, and a value as a transformer neural network layer, and outputs a Question Embedding with added context information through learning based on the input Question Embedding; and It includes an Interaction Encoder that inputs one Interaction Embedding generated during a continuous time interval from time 1 to t that passes through a Rasch model-based embedding layer with query, key, and value as a transformer neural network layer, and outputs an Interaction Embedding with added contextual information through learning based on the input Interaction Embedding. The above Ability Predictor is An intelligent tutoring system using a knowledge tracking model based on a transformer neural network, characterized in that it receives Question Embedding and Interaction Embedding with added context information from the Question Encoder and Interaction Encoder, respectively, and outputs a learner's ability vector (indicating a mastery level value for the KC of the corresponding question).

7. In paragraph 6, The above Ability Predictor is As a transformer neural network layer, it receives Question Embedding that passed through the Question Encoder as query and key, Interaction Embedding that passed through the Interaction Encoder as value, and learner's latent knowledge vector h t Knowledge Retriever that outputs; and With FFNN (Feed-Forward-Neural-Network), the learner's latent knowledge vector h t Input the ability vector θ t An intelligent tutoring system using a knowledge tracking model based on a transformer neural network, characterized in that it includes an ability net that outputs .

8. In paragraph 7, The above incorrect answer prediction section The problem to be solved at time t+1 is q t+1 An intelligent tutoring system using a knowledge tracking model based on a transformer neural network, characterized in that the response to the question (whether the answer is correct or incorrect) is predicted using the following function. Here, Silver KC c t+1 The learner's ability (KC c in the learner's ability vector) t+1 ) represents the corresponding element, is question q t+1 As a difficulty value, it represents the difficulty parameter learned through the embedding layer based on the Rasch model.

9. In an intelligent tutoring method using a knowledge tracking model based on a transformer neural network, A step of estimating the learner's knowledge state using a Rasch Model-based embedding layer based on the learner's past learning history, including the question and whether the question was answered correctly or incorrectly, by the knowledge state estimation unit of the intelligent tutoring system; and The step of predicting the correct or incorrect answer of a question to be solved in the future based on the estimated knowledge state is included in the step of predicting the correct or incorrect answer of the question to be solved in the future based on the estimated knowledge state. The step of estimating the learner's knowledge status by using the ability prediction model (Ability Predictor) based on the above-obtained embedding vector is as follows. A step of inputting one Question Embedding generated during a continuous time interval from time 1 to t, which passes through a Rasch model-based embedding layer with a query, a key, and a value through a transformer neural network layer through a Question Encoder, and outputting a Question Embedding with added context information through learning based on the input Question Embedding; and It includes a step of inputting one Interaction Embedding generated during a continuous time interval from time 1 to t that passes through a Rasch model-based embedding layer with query, key, and value through a transformer neural network layer through an Interaction Encoder, and outputting an Interaction Embedding with added context information through learning based on the input Interaction Embedding. The above Ability Predictor is As a transformer neural network layer, it receives Question Embedding that passed through the Question Encoder as query and key, Interaction Embedding that passed through the Interaction Encoder as value, and learner's latent knowledge vector h t Knowledge Retriever that outputs; and With FFNN (Feed-Forward-Neural-Network), the learner's latent knowledge vector h t Input the learner's ability vector (Ability vector, representing the mastery level value of the KC of the corresponding item) θ t An intelligent tutoring method using a knowledge tracking model based on a transformer neural network, characterized in that it includes an ability net that outputs .

10. In paragraph 9, The steps for performing the above incorrect answer prediction are A step of predicting the correct or incorrect answer for the question at time t+1 based on the result of the operation of the ability prediction model (Ability Predictor) that performs an operation based on a transformer neural network layer for one embedding vector generated during a continuous time interval from time 1 to t (where t is a natural number greater than 1) that has passed through the embedding layer based on the above Rasch model. An intelligent tutoring method using a knowledge tracking model based on a transformer neural network, characterized in that it includes:

Citation Information

Patent Citations

  • A system for tracking user knowledge based on artificial intelligence learning and method thereof

    KR102213478B1

  • Intelligent tutoring system and method using knowledge tracing model based on transformer neural network

    KR102623059B1

  • Emergency Forced Door Opener

    KR102663163B1

Cited By

  • Hierarchical attention cognition diagnosis method based on knowledge association and abnormal behavior mixing

    CN119514591A