Knowledge relation evolution knowledge tracking method based on dynamic graph neural network

By constructing time-aware features of students, questions, and knowledge points using dynamic graph neural networks, the problem of knowledge transfer errors in traditional knowledge tracing methods is solved, enabling accurate tracking of students' knowledge status and improving learning efficiency.

CN121303301AActive Publication Date: 2026-01-09CHINA UNIV OF MINING & TECH
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202511870217.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-12
Publication Date
2026-01-09
Estimated Expiration
2045-12-12

AI Technical Summary

Technical Problem

Traditional knowledge tracing methods statically model the relationship network of knowledge points, ignoring the dynamic changes in knowledge relationships. This leads to erroneous knowledge transfer and accumulated errors, making it impossible to accurately track students' knowledge status.

Method used

A dynamic graph neural network-based approach is used to construct the graph structure for each historical moment, extract the time-aware features of the current moment, and update the student's knowledge status through the knowledge status calculation module. This simulates the changes in the knowledge point relationship network and accurately calculates the direction of knowledge transfer.

Benefits of technology

It enables accurate tracking of students' knowledge status, avoids erroneous assessments in traditional methods, and improves the accuracy of knowledge transfer and learning efficiency in the learning process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121303301A_ABST
    Figure CN121303301A_ABST
Patent Text Reader

Abstract

The invention relates to a knowledge relation evolution knowledge tracking method based on a dynamic graph neural network, belongs to the technical field of knowledge tracking, and solves the problem that the knowledge state cannot be accurately tracked in the prior art. The method comprises the following steps: constructing a graph structure based on students, questions and knowledge points at each historical moment; constructing and training a dynamic graph neural network, wherein the dynamic graph neural network comprises a feature extraction module, a prediction module and a knowledge state calculation module; a feature extraction module is adopted to obtain time perception features of the current student, the current question and the current knowledge point; inputting the time perception characteristics of the current student and the current question and the knowledge state of the current student on the current knowledge point into a prediction module to predict the probability of correct answering; and inputting the time perception characteristics of the current student, the current question and the current knowledge point and the interaction result of the current student answering the current question into a knowledge state calculation module to update the knowledge state of the current student. And accurate tracking of the knowledge state of the student is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of knowledge tracing technology, and in particular to a knowledge relationship evolution tracing method based on dynamic graph neural networks. Background Technology

[0002] Artificial intelligence-based intelligent teaching and tutoring systems have been widely applied in online education, continuously driving the intelligentization of online education. Knowledge tracking, as a crucial technology in intelligent teaching and tutoring systems, helps educators understand students' learning progress and knowledge mastery, thereby providing personalized learning guidance. The main task of knowledge tracking is to assess students' evolving knowledge status—that is, their level of knowledge mastery—based on their historical answer sequences, thereby predicting future learning performance.

[0003] In the field of smart education, as students progress through learning, their knowledge relationship networks constantly change. This is mainly reflected in the following ways: students incorporate newly learned knowledge points into their networks and reshape the relationships between previously weakly grasped knowledge points and other knowledge points. Simultaneously, influenced by the knowledge transfer effect in educational psychology, the learning benefits of a particular knowledge point will transfer to related knowledge points, and the direction of this knowledge transfer is constrained by the knowledge relationship network. Traditional knowledge tracing methods statically model the knowledge point relationship network. This static assumption ignores the dynamic nature of knowledge relationships, leading to erroneous knowledge transfer, especially in long-term learning sequences where cumulative errors occur, failing to accurately track students' knowledge status. Summary of the Invention

[0004] Based on the above analysis, the embodiments of the present invention aim to provide a knowledge relationship evolution knowledge tracking method based on dynamic graph neural networks, in order to solve the problem that existing methods cannot accurately track students' knowledge status.

[0005] On one hand, embodiments of the present invention provide a knowledge relationship evolution tracking method based on dynamic graph neural networks, including the following steps: Construct a graph structure for each historical moment based on the students, questions, and corresponding knowledge points for each question; A trained dynamic graph neural network is obtained by constructing and training the dynamic graph neural network, which includes a feature extraction module, a prediction module, and a knowledge state calculation module. Based on the graph structure of historical moments, the feature extraction module is used to obtain the time-aware features of the current student, the current question, and the current knowledge point at the current moment. The prediction module is input into the time-aware characteristics of the current student and the current question, as well as the current student's knowledge status on the current knowledge point, to predict the probability that the current student will answer the current question correctly. The knowledge state calculation module inputs the time-aware features of the current student, the current question, and the current knowledge point, as well as the interaction result of the current student's answer to the current question, into the knowledge state calculation module. The knowledge state calculation module updates the current student's knowledge state based on the knowledge point relationship matrix.

[0006] Based on a further improvement of the above method, the feature extraction module includes: The sequence generation module is used to generate the historical question sequence and historical knowledge point sequence corresponding to the current student at the current moment, as well as the historical student sequence corresponding to the current question, based on the graph structure of historical moments. The student representation module is used to perform feature encoding and feature aggregation on the historical question sequence corresponding to the current student to obtain the current student's time-aware features. The problem representation module is used to perform feature encoding and feature aggregation on the historical student sequence corresponding to the current problem to obtain the time-aware features of the current problem; The knowledge point representation module is used to encode and aggregate the features of the historical knowledge point sequence corresponding to the current student and the current knowledge point to obtain the time-aware features of the current knowledge point.

[0007] Based on a further improvement of the above method, the knowledge point representation module includes: The basic feature extraction module is used to extract the basic features of historical knowledge point sequences and the basic features of the current knowledge point. The feature encoding module is used to encode the basic features of the historical knowledge point sequence and the basic features of the current knowledge point to obtain the encoded features of the historical knowledge point sequence and the encoded features of the current knowledge point. The second aggregation module is used to aggregate the encoding features of historical knowledge point sequences and the encoding features of current knowledge points using an attention mechanism based on a gated time decay kernel function to obtain the time-aware features of the current knowledge point.

[0008] Based on further improvements to the above method, the second aggregation module obtains the time-aware features corresponding to the current knowledge point in the following manner: ; ; ; ; in, This represents the encoded feature at time j in the sequence of historical knowledge points. This represents the encoding features of the current knowledge point. This represents the attention mechanism. This represents the Softmax function. Indicates average pooling. This represents the Sigmoid function. , and These are learnable parameters. This represents the gated time decay kernel function, where the current time is the t-th time. This indicates the time-awareness characteristics of the current knowledge point. Let represent the context vector output by the attention mechanism at time j. The context vectors output by the attention mechanism from time 1 to time t-1 together constitute . The superscript T indicates transpose, and d indicates... Dimensions.

[0009] Based on a further improvement of the above method, the knowledge state calculation module includes a knowledge relationship calculation module and a knowledge state update module; The knowledge relationship calculation module is used to obtain the knowledge relationship matrix of the current knowledge point based on the time-aware features of the current student and the current knowledge point. The knowledge state update module is used to calculate the knowledge state of the current student after answering the current question, based on the time-aware characteristics of the current student and the current question, as well as the knowledge relationship matrix of the current knowledge point.

[0010] Based on a further improvement of the above method, the knowledge relationship calculation module obtains the knowledge relationship matrix of the current knowledge point in the following manner: Input the time-aware features of the current student and the current knowledge point into the multilayer perceptron to obtain the embedding features of the current knowledge point; Obtain the encoding features of each knowledge point; A masking matrix is ​​generated based on the current students' historical answer data; The knowledge relationship matrix of the current knowledge point is obtained based on the embedding features of the current knowledge point, the encoding features of each knowledge point, and the masking matrix.

[0011] Based on the above method, a further improvement is made to obtain the knowledge point relationship matrix of the current knowledge point using the following formula: ; ; in, This represents the embedding features of the current knowledge point. A matrix representing the encoded features of all knowledge points. The dimension representing the encoded features of each knowledge point. Represents the masking matrix. This represents batch matrix multiplication. Represents the Hadamard product. This represents the ReLU activation function. This represents the knowledge point relationship matrix for the current knowledge point. Indicates an intermediate variable.

[0012] Based on a further improvement of the above method, the knowledge state update module obtains the knowledge state of the current student after answering the current question in the following way: Calculate the amount of knowledge change of the current student on the current knowledge point after answering the current question based on the time perception characteristics of the current student and the current question, as well as the interaction results between the current student and the current question; Based on the knowledge point relationship matrix of the current knowledge point and the amount of knowledge change on the current knowledge point, the knowledge transfer calculation is performed to obtain the overall change in the student's knowledge state after answering the current question. Based on the overall change in the student's knowledge state before answering the current question and after answering the current question, we obtain the student's knowledge state after answering the current question.

[0013] Based on a further improvement of the above method, the student representation module includes: The basic feature extraction module is used to extract basic features from historical problem sequences. The feature encoding module is used to encode the basic features of the historical problem sequence to obtain the encoded features of the historical problem sequence; The first aggregation module is used to aggregate the encoded features of historical problem sequences using gated loop units to obtain the current student's time perception features.

[0014] Based on further improvements to the above methods, the fundamental characteristics of historical problem sequences include sequence time characteristics; The feature encoding module obtains the encoded features of the sequence time features in the following way: ; ; ; ; in, Encoded features representing the temporal characteristics of a sequence. This represents the ReLU activation function. , , Represents the weight parameters. , , Indicates bias. This represents the time latent feature of the short-term and long-term effects at time j. The time feature at time j in the sequence time feature is represented by the time latent features of the long and short effects from time 1 to time t-1. , This represents the time threshold, where the current time is the t-th time.

[0015] Compared with existing technologies, this invention constructs a graph structure for each historical moment, extracts the temporal perception features of the current student, question, and knowledge point based on the graph structure of the historical moment, and then predicts the probability of the current student correctly answering the current question based on the temporal perception features of the current student and the current question, as well as the current student's knowledge state on the current knowledge point. After the current student answers the current question, the temporal perception features of the current student, the current question, and the current knowledge point, as well as the interaction result of the current student's answer to the current question, are input into the knowledge state calculation module. This updates the current student's knowledge state based on the knowledge point relationship matrix, simulates the changes in the knowledge point relationship network during the student's learning process, and thus determines the direction of knowledge transfer during the student's learning process. This accurately calculates the student's knowledge state and avoids the problem of incorrect knowledge transfer caused by traditional knowledge tracing modeling with static graph structures, which leads to incorrect assessment of the student's knowledge state. This achieves accurate tracking of the student's knowledge state.

[0016] In this invention, the above-described technical solutions can be combined with each other to achieve more preferred combinations. Other features and advantages of this invention will be set forth in the following description, and some advantages may become apparent from the description or be learned by practicing the invention. The objects and other advantages of this invention can be realized and obtained from what is particularly pointed out in the description and drawings. Attached Figure Description

[0017] The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Throughout the drawings, the same reference numerals denote the same parts. Figure 1 This is a flowchart of a knowledge relationship evolution knowledge tracking method based on dynamic graph neural networks, according to an embodiment of the present invention. Detailed Implementation

[0018] Preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings, which form part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not intended to limit the scope of the present invention.

[0019] A specific embodiment of the present invention discloses a knowledge relationship evolution knowledge tracking method based on dynamic graph neural networks, such as... Figure 1 As shown, it includes the following steps: Construct a graph structure for each historical moment based on the students, questions, and corresponding knowledge points for each question; A trained dynamic graph neural network is obtained by constructing and training the dynamic graph neural network, which includes a feature extraction module, a prediction module, and a knowledge state calculation module. Based on the graph structure of historical moments, the feature extraction module is used to obtain the time-aware features of the current student, the current question, and the current knowledge point at the current moment. The prediction module is input into the time-aware characteristics of the current student and the current question, as well as the current student's knowledge status on the current knowledge point, to predict the probability that the current student will answer the current question correctly. The knowledge state calculation module inputs the time-aware features of the current student, the current question, and the current knowledge point, as well as the interaction result of the current student's answer to the current question, into the knowledge state calculation module. The knowledge state calculation module updates the current student's knowledge state based on the knowledge point relationship matrix.

[0020] It should be noted that the current knowledge point is the knowledge point corresponding to the current question.

[0021] Compared with existing technologies, the knowledge relationship evolution knowledge tracking method based on dynamic graph neural networks provided in this embodiment constructs a graph structure for each historical moment. Based on the graph structure of historical moments, it extracts the time-aware features of the current student, question, and knowledge point at the current moment. Then, based on the time-aware features of the current student and the current question, as well as the current student's knowledge state on the current knowledge point, it predicts the probability that the current student will correctly answer the current question. After the current student answers the current question, the time-aware features of the current student, the current question, and the current knowledge point, as well as the interaction result of the current student's answer to the current question, are input into the knowledge state calculation module. This updates the current student's knowledge state based on the knowledge point relationship matrix, simulates the changes in the knowledge point relationship network during the student's learning process, and thus determines the direction of knowledge transfer during the student's learning process. It accurately calculates the student's knowledge state and avoids the problem of incorrect knowledge transfer caused by traditional knowledge tracking modeling with static graph structures, which leads to incorrect assessment of the student's knowledge state. This achieves accurate tracking of the student's knowledge state.

[0022] It should be noted that after the current student answers the current question, the current student's knowledge status is updated, which is used as the input for the prediction module before the student answers the question next time.

[0023] In practice, student responses are represented as quintuples. ,in Represents the student index. Indicates the problem index. This indicates the index of the knowledge points corresponding to the question. This represents the student's answer; 1 indicates a correct answer, and 0 indicates an incorrect answer. This represents the timestamp of the interaction. A graph structure is constructed for each historical moment based on the student, question, and corresponding knowledge point. All historical moment answer data form a dynamic graph structure. This dynamic graph structure has three types of nodes: student, question, and knowledge point. When a student answers a question, an edge is created between the student and the question, and an edge is created between the answered question and its associated knowledge point. Each node has an initial feature (student nodes contain the student's index, question nodes contain both the question and knowledge point indices, and knowledge point nodes contain the knowledge point index). The s-th student node is represented as... The q-th problem node is represented as The k-th knowledge point node is represented as The initial feature dimension of the node is Each interaction edge has an initial feature (the initial feature of the edge contains information about whether the student's answer is correct). The initial feature of the interaction edge between the s-th student and the q-th question is represented as follows: , dimension .

[0024] In practice, the initial knowledge state of the s-th student is represented as a randomly initialized matrix. The knowledge state corresponding to the kth knowledge point is ,in The dimension representing the knowledge state, K represents the number of knowledge points.

[0025] The constructed dynamic graph neural network includes a feature extraction module, a prediction module, and a knowledge state calculation module. The dynamic graph neural network is trained to obtain a trained dynamic graph neural network.

[0026] The interaction edges between student nodes and question nodes can only be determined after the student answers the question. Knowledge tracking obtains the student's knowledge status based on their historical answering behavior, thereby predicting the student's future answering performance. In implementation, firstly, based on the graph structure of historical moments, a feature extraction module is used to obtain the time-aware features of the current student, the current question, and the current knowledge point at the current moment.

[0027] Specifically, the feature extraction module includes: The sequence generation module is used to generate the historical question sequence and historical knowledge point sequence corresponding to the current student at the current moment, as well as the historical student sequence corresponding to the current question, based on the graph structure of historical moments. The student representation module is used to perform feature encoding and feature aggregation on the historical question sequence corresponding to the current student to obtain the current student's time-aware features. The problem representation module is used to perform feature encoding and feature aggregation on the historical student sequence corresponding to the current problem to obtain the time-aware features of the current problem; The knowledge point representation module is used to encode and aggregate the features of the historical knowledge point sequence corresponding to the current student and the current knowledge point to obtain the time-aware features of the current knowledge point.

[0028] For the current student (e.g., the s-th student), extract all the question nodes that have interacted with this student and whose interaction timestamps are less than the current time (the t-th time) from the historical graph structure, forming the historical question sequence corresponding to this student at the current time. Generate a sequence of historical knowledge points based on the knowledge points corresponding to each question in the historical question sequence. .

[0029] For the current question (the q-th question) node, extract all student nodes that have interacted with this question from the historical graph structure, and whose interaction timestamps are less than the current time. This constitutes the historical student sequence corresponding to this question at the current time. .

[0030] The current knowledge point (the kth knowledge point) is the knowledge point corresponding to the current question (the qth question).

[0031] During implementation, a maximum sequence length can be set, for example, to 200. If the maximum sequence length is set to 200, sequences shorter than 200 are padded with 0, and sequences longer than 200 only select the closest interactive node in time, thus unifying the sequence length.

[0032] Based on the obtained sequence, time-aware features of the current student, current question, and current knowledge point are generated.

[0033] Specifically, for the current student, the time perception features of the current student are obtained by feature encoding and feature aggregation of the corresponding historical question sequence.

[0034] Specifically, the student representation module includes: The basic feature extraction module is used to extract basic features from historical problem sequences. The feature encoding module is used to encode the basic features of the historical problem sequence to obtain the encoded features of the historical problem sequence; The first aggregation module is used to aggregate the encoded features of historical problem sequences using gated loop units to obtain the current student's time perception features.

[0035] Specifically, the basic characteristics of historical problem sequences include sequence node characteristics, sequence edge characteristics, sequence time characteristics, and sequence structure characteristics.

[0036] Sequence node features It is a feature sequence composed of the initial features of each problem node in the historical problem sequence.

[0037] Sequence edge features It is a feature sequence consisting of the initial features of the interaction between the current student and each problem node in the historical problem sequence.

[0038] Time features of sequences It is a feature sequence consisting of the time interval between the timestamp of the interaction between the current student and each question node in the historical question sequence and the current moment.

[0039] Considering that current students may have answered the same questions repeatedly in the past, sequence structure features are introduced. Set the position of the repeated practice in the historical problem sequence to 1, and the others to 0. For example: the current problem is... The students' history answer sequence is as follows The corresponding sequence structure feature is (1,0,1,0).

[0040] After obtaining the sequence node features, sequence edge features, sequence time features, and sequence structure features, these sequence features are encoded to obtain the encoded features. In practice, the encoding process can use a linear function. The specific calculation process is as follows: ; ; ; in, Encoded features representing the characteristics of sequence nodes Encoded features representing sequence edge features Encoded features representing sequence structure characteristics , , Represents the weight parameters. , , Indicates bias.

[0041] Considering the different effects produced by long and short time periods, the temporal features of the sequence are encoded using the following formula: ; ; ; ; in, Encoded features representing the temporal characteristics of a sequence. This represents the ReLU activation function. , , Represents the weight parameters. , , Indicates bias. This represents the time latent feature of the short-term and long-term effects at time j. The time feature at time j in the sequence time feature is represented by the time latent features of the long and short effects from time 1 to time t-1. , This represents the time threshold, used to separate long and short time effects, with the current time being the t-th time.

[0042] Then, gated recurrent units are used to aggregate the encoded features of historical question sequences to obtain the current student's time-perceived features. .

[0043] During implementation, considering that students not only show sensitivity to repetitive questions during practice, but also to previously learned knowledge points, the sequence structure characteristics of historical knowledge points were incorporated. Also included in the aggregation process. Historical knowledge point sequence structure characteristics. See below.

[0044] That is, the sequence data input to the gated recurrent unit includes , , , and

[0045] The current time and the student's time perception characteristics obtained through the gated loop unit are represented as follows: .

[0046] In implementation, the problem representation module has a similar structure to the student representation module. It extracts basic features from the historical student sequence (including sequence node features, sequence edge features, sequence time features, and sequence structure features), encodes these basic features to obtain the encoded features of the historical student sequence, and aggregates these encoded features using a gated recurrent unit to obtain the time-aware features of the current problem. The difference between the problem representation module and the student representation module lies in the fact that the data input to the gated loop unit does not include the knowledge point sequence structure features. That is, the sequence data input to the gated loop unit of the problem representation module includes the encoded features of the sequence node features. Encoding features of sequence edge features Encoding features of sequence structure Encoding features of sequence time features .

[0047] Specifically, the knowledge point representation module includes: The basic feature extraction module is used to extract the basic features of historical knowledge point sequences and the basic features of the current knowledge point. The feature encoding module is used to encode the basic features of the historical knowledge point sequence and the basic features of the current knowledge point to obtain the encoded features of the historical knowledge point sequence and the encoded features of the current knowledge point. The second aggregation module is used to aggregate the encoding features of historical knowledge point sequences and the encoding features of current knowledge points using an attention mechanism based on a gated time decay kernel function to obtain the time-aware features of the current knowledge point.

[0048] During implementation, the basic feature extraction module of the knowledge point representation module extracts the basic features of the historical knowledge point sequence in the same way as the basic feature extraction module of the student representation module, including sequence node features. Sequence edge features and sequence structure features The sequence edge features of the knowledge point representation module are the same as those of the student representation module.

[0049] In addition, the basic extraction module of the knowledge point representation module also extracts the basic features of the current knowledge point. The basic features of the current knowledge point include the initial features and sequence structure features. Among them, the sequence structure features are used to indicate whether the current student has learned the current knowledge point; if they have, it is 1, and if not, it is 0.

[0050] The feature encoding module of the knowledge point representation module also uses linear functions to encode the basic features: ; ; ; ; ; ; ; Encoded features representing the characteristics of sequence nodes Encoded features representing sequence edge features Encoded features representing sequence structure characteristics , , and Represents the weight parameters. , , and Indicates bias. This represents the encoding features of the current knowledge point. This represents the initial characteristics of the current knowledge point. This represents the sequence structure features of the current knowledge point. The encoded features representing the initial features of the current knowledge point. Encoding features that represent the sequence structure features of the current knowledge point.

[0051] It should be noted that the sequence structure features of the current knowledge point include information on whether the current student has studied the current knowledge point.

[0052] Encoded features representing the characteristics of sequence nodes Encoded features representing sequence edge features The encoding features representing the structural characteristics of a sequence constitute the encoding features of a sequence of historical knowledge points. .

[0053] After obtaining the encoded features, an attention mechanism based on the gated time decay kernel function is used to obtain the time-aware features of the current knowledge point.

[0054] Specifically, the encoded features of the current knowledge point are used as the query in the attention mechanism, and the encoded features of each moment in the historical knowledge point sequence are used as the key and value of the attention mechanism. To enhance the influence of the local time window on knowledge points, this application introduces a gated time decay kernel function into the attention mechanism.

[0055] Specifically, the second aggregation module obtains the time-aware features corresponding to the knowledge points in the following way: ; ; ; ; in, This represents the encoded feature at time j in the sequence of historical knowledge points. This represents the encoding features of the current knowledge point. This represents the attention mechanism. This represents the Softmax function. Indicates average pooling. This represents the Sigmoid function. , and These are learnable parameters. This represents the gated time decay kernel function, where the current time is the t-th time. This indicates the time-awareness characteristics of the current knowledge point. Let represent the context vector output by the attention mechanism at time j. The context vectors output by the attention mechanism from time 1 to time t-1 together constitute . d represents Dimensions.

[0056] Encoding characteristics of historical knowledge point sequences In the example, the encoding feature at time j is: .

[0057] Among them, parameters , and These are used to control the steepness of the function's descent, determine the time boundary of the local window, and adjust the decay capability of time, respectively.

[0058] By introducing a gated time decay kernel function, the learning pattern of knowledge points being more likely to be generated within a local short time window during the student's learning process is simulated, thereby improving the accuracy of knowledge relationship construction.

[0059] Specifically, the knowledge state calculation module includes a knowledge relationship calculation module and a knowledge state update module; the knowledge relationship calculation module is used to obtain the knowledge relationship matrix of the current knowledge point based on the time-aware features of the current student and the current knowledge point; The knowledge status update module is used to calculate the knowledge status of the current student after answering the current question, based on the time-aware characteristics of the current student and the current question, as well as the knowledge relationship matrix of the current knowledge point.

[0060] To achieve more accurate knowledge tracking, it's necessary to calculate the impact of a student's change in the current knowledge point's state on other knowledge points, i.e., the knowledge relationship matrix of the current knowledge point. This allows for the construction of a personalized knowledge point relationship network for each student, modeling the changes in these relationships after each question. Based on these knowledge point relationships, the knowledge gained after each question is mapped to a change in the overall knowledge state.

[0061] Specifically, the knowledge relationship calculation module obtains the knowledge relationship matrix of the current knowledge point in the following way: Input the time-aware features of the current student and the current knowledge point into the multilayer perceptron to obtain the embedding features of the current knowledge point; Obtain the encoding features of each knowledge point; A masking matrix is ​​generated based on the current students' historical answer data; The knowledge relationship matrix of the current knowledge point is obtained based on the embedding features of the current knowledge point, the encoding features of each knowledge point, and the masking matrix.

[0062] Intuitively, students' recent learning status influences their understanding of knowledge points. Therefore, the temporal perception features of knowledge points are added to the temporal perception features of student nodes, and the resulting data is processed through a multilayer perceptron to obtain the embedding features of the knowledge concepts. The specific calculation process is as follows: ; in, This indicates the embedded features of the current knowledge point. This indicates the current time perception characteristics of students. This indicates the time-awareness characteristics of the current knowledge point. and The weight parameters represent the multilayer perceptron. and This represents the bias of the multilayer perceptron. This represents the Tanh activation function.

[0063] During implementation, the initial features of all knowledge points are encoded to obtain the encoded features, represented as follows: In implementation, a linear encoder can be used to encode the initial features of all knowledge points. This can be represented as: ; in, This represents the initial feature matrix of all knowledge points. The encoding feature matrix representing all knowledge points. and These represent the weight parameters and bias of the linear encoder, respectively.

[0064] A scaled dot product is performed on the embedded features of the current knowledge point and the encoded features of all knowledge points to represent the association between the current knowledge point and other knowledge points. This is expressed as: ; in, This represents the embedding features of the current knowledge point. This represents batch matrix multiplication. The dimension representing the encoded features of each knowledge point. This represents the ReLU activation function. It indicates the relationship between the current knowledge point and other knowledge points.

[0065] Meanwhile, to mask the connections between knowledge points that students have not yet encountered, a masking matrix is ​​generated by removing duplicate knowledge points from the students' historical practice sequences. This function operates on the relationships between the current knowledge point and other knowledge points, outputting a personalized knowledge point relationship matrix for the student at that time step. This indicates the number of knowledge points. It is represented as: ; in, Represents the Hadamard product. This represents the knowledge point relationship matrix for the current knowledge point.

[0066] After calculating the personalized knowledge point relationship matrix at the current moment, the knowledge state of the current student after answering the current question is obtained based on the time perception characteristics of the current student and the current question, as well as the knowledge relationship matrix of the current knowledge points.

[0067] Specifically, the knowledge status update module obtains the current student's knowledge status after answering the current question in the following way: Calculate the amount of knowledge change of the current student on the current knowledge point after answering the current question based on the time perception characteristics of the current student and the current question, as well as the interaction results between the current student and the current question; Based on the knowledge point relationship matrix of the current knowledge point and the amount of knowledge change on the current knowledge point, the knowledge transfer calculation is performed to obtain the overall change in the student's knowledge state after answering the current question. Based on the overall change in the student's knowledge state before answering the current question and after answering the current question, we obtain the student's knowledge state after answering the current question.

[0068] Specifically, the knowledge status calculation module calculates the change in a student's knowledge of the current knowledge point after answering the current question using the following method: ; ; ; ; in, This indicates the amount of knowledge change a student has made regarding the current knowledge point. Represents the embedding features of the current student. Represents the embedding features of the current problem. This represents the initial characteristics of the interaction edge between the current student and the current question (including information on whether the student answered the question correctly). The encoded features representing the interaction edges between the current student and the current question. , , and Represents the weight parameters. , , and Indicates bias.

[0069] The knowledge students acquire through practice not only changes their mastery of the current knowledge point but also transfers to related knowledge concepts. This knowledge transfer path is determined by the student's personalized dynamic knowledge relationship matrix. Therefore, based on the knowledge point relationship matrix of the current knowledge point and the amount of knowledge change at the current knowledge point, knowledge transfer calculations can be performed to obtain the amount of knowledge change the student has across all knowledge points after answering the current question.

[0070] Specifically, it is expressed as follows: ; Obtain the overall change in knowledge state Then, by adding this information to the student's knowledge state before answering the current question, we can obtain the student's knowledge state after answering the current question, thus enabling precise tracking of the student's knowledge state.

[0071] During implementation, based on students' knowledge status, it can be found which knowledge points students are not proficient in, and then targeted exercises can be given to improve students' learning efficiency and state.

[0072] In practice, in order to obtain a well-trained dynamic graph neural network and achieve accurate knowledge state assessment and tracking, the dynamic graph neural network also includes a prediction module, which is used to predict the probability of a student correctly answering the current question based on the time-aware characteristics of the student and the question, as well as the student's knowledge state before answering the question.

[0073] Specifically, the prediction module includes: The encoding layer is used to encode the time-aware features of students and questions respectively to obtain the embedded features of students and questions; Multilayer perceptrons are used to predict the probability that a student will answer the current question correctly, based on the embedded features of the student and the question, as well as the student's knowledge state of the current knowledge point before answering the current question.

[0074] In implementation, the encoding layer can use a linear encoder to encode the time-aware features of the current student and the current question to obtain the embedded features of the student and the question. , .

[0075] Since knowledge status can accurately reflect students' mastery of knowledge concepts, the prediction process incorporates students' knowledge status of the knowledge points involved in the question before answering it. The data is then concatenated with the embedded features of the student and question nodes as input to the multilayer perceptron, and the output is the predicted probability of the student answering the question correctly. The specific calculation process is as follows: ; ; in, This indicates a splicing operation. This represents the Sigmoid function. This represents the predicted probability that the current student has correctly answered the current question, as output by the prediction module. and Represents the weight parameters. and Indicates bias.

[0076] In practice, when training the constructed dynamic graph neural network, multiple students' answer data can be collected to construct a training sample set. The dynamic graph neural network is then trained based on this training sample set. During implementation, the parameters of the dynamic graph neural network are updated by minimizing the cross-entropy loss between the prediction probability of the prediction module and the student's actual answer. After training converges, the trained dynamic graph neural network is obtained.

[0077] In implementation, the constructed training sample set includes each student's answer data over a period of time, constructing a graph structure corresponding to each time step, with each training sample represented as a quintuple. For each sample, the feature extraction module generates the historical question sequence and historical knowledge point sequence corresponding to the student node, as well as the historical student sequence corresponding to the question node, based on the graph structure of that historical time step. This yields the time-aware features of the student, question, and knowledge point. The prediction module then predicts the probability of the student answering the question correctly, and the knowledge state calculation module updates the student's knowledge state after the student answers. The loss is calculated based on the prediction results and the actual answer results, and the parameters of the dynamic graph neural network are updated based on the loss.

[0078] Those skilled in the art will understand that all or part of the processes of the methods described in the above embodiments can be implemented by a computer program instructing related hardware, and the program can be stored in a computer-readable storage medium. The computer-readable storage medium may be a disk, optical disk, read-only memory, or random access memory, etc.

[0079] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in the present invention should be included within the scope of protection of the present invention.

Claims

1. A knowledge relation evolution knowledge tracking method based on a dynamic graph neural network, characterized in that, The method comprises the following steps: constructing a graph structure of each historical moment based on students, questions and knowledge points corresponding to the questions of each historical moment; constructing and training a dynamic graph neural network to obtain a trained dynamic graph neural network, the trained dynamic graph neural network comprising a feature extraction module, a prediction module and a knowledge state calculation module; obtaining time-aware features of a current student, a current question and a current knowledge point at a current moment based on the graph structure of the historical moment by using the feature extraction module; inputting the time-aware features of the current student and the current question and a knowledge state of the current student on the current knowledge point into the prediction module to predict a probability of the current student correctly answering the current question; inputting the time-aware features of the current student, the current question and the current knowledge point and an interaction result of the current student answering the current question into the knowledge state calculation module, and the knowledge state calculation module updating the knowledge state of the current student based on a knowledge point relationship matrix.

2. The knowledge relation evolution knowledge tracking method based on a dynamic graph neural network according to claim 1, characterized in that, The feature extraction module comprises: a sequence generation module configured to generate a historical question sequence and a historical knowledge point sequence corresponding to a current student at a current moment and a historical student sequence corresponding to a current question based on the graph structure of the historical moment; a student representation module configured to encode and aggregate features of the historical question sequence corresponding to the current student to obtain time-aware features of the current student; a question representation module configured to encode and aggregate features of the historical student sequence corresponding to the current question to obtain time-aware features of the current question; a knowledge point representation module configured to encode and aggregate features of the historical knowledge point sequence corresponding to the current student and the current knowledge point to obtain time-aware features of the current knowledge point.

3. The knowledge relation evolution knowledge tracking method based on a dynamic graph neural network according to claim 2, characterized in that, The knowledge point representation module comprises: a basic feature extraction module configured to extract basic features of the historical knowledge point sequence and basic features of the current knowledge point; a feature encoding module configured to encode the basic features of the historical knowledge point sequence and the basic features of the current knowledge point to obtain encoded features of the historical knowledge point sequence and encoded features of the current knowledge point; a second aggregation module configured to aggregate the encoded features of the historical knowledge point sequence and the encoded features of the current knowledge point by using an attention mechanism based on a gated time decay kernel function to obtain time-aware features of the current knowledge point.

4. The knowledge relation evolution knowledge tracking method based on a dynamic graph neural network according to claim 3, characterized in that, The second aggregation module obtains the time-aware features corresponding to the current knowledge point in the following manner: ; ; ; ; wherein, denotes the encoding feature of the jth time point in the history knowledge point sequence, denotes the encoding feature of the current knowledge point, denotes the attention mechanism, denotes the Softmax function, denotes the average pooling, denotes the Sigmoid function, , and is a learnable parameter, denotes the gating time decay kernel function, the current time point is the tth time point, denotes the time-aware feature of the current knowledge point, denotes the context vector output by the attention mechanism at the jth time point, the context vectors output by the attention mechanisms at the 1st to the t-1th time points jointly constitute , the superscript T denotes transposition, d denotes the dimension of 5. The knowledge relation evolution knowledge tracking method based on a dynamic graph neural network according to claim 1, characterized in that, The knowledge state calculation module comprises a knowledge relationship calculation module and a knowledge state updating module; the knowledge relationship calculation module is configured to obtain a knowledge relationship matrix of the current knowledge point based on the time-aware features of the current student and the current knowledge point; the knowledge state updating module is configured to calculate a knowledge state of the current student after answering the current question based on the time-aware features of the current student and the current question and the knowledge relationship matrix of the current knowledge point.

6. The knowledge relation evolution knowledge tracking method based on a dynamic graph neural network according to claim 5, characterized in that, The knowledge relationship calculation module obtains the knowledge relationship matrix of the current knowledge point in the following manner: inputting the time-aware features of the current student and the current knowledge point into a multi-layer perception machine to obtain embedding features of the current knowledge point; obtaining encoded features of each knowledge point; generating a mask matrix based on historical answering data of the current student; The knowledge relationship matrix of the current knowledge point is obtained based on the embedding feature of the current knowledge point, the encoding feature of each knowledge point, and the mask matrix.

7. The knowledge relation evolution knowledge tracking method based on a dynamic graph neural network according to claim 6, characterized in that, The following formula is used to obtain the knowledge point relationship matrix of the current knowledge point: ; ; wherein, represents an embedding feature of the current knowledge point, represents a matrix of encoding features of all knowledge points, represents a dimension of the encoding feature of each knowledge point, represents a masking matrix, represents a batch matrix multiplication, represents a Hadamard product, represents a Relu activation function, represents a knowledge point relationship matrix of the current knowledge point, represents an intermediate variable.

8. The knowledge relation evolution knowledge tracking method based on a dynamic graph neural network according to claim 5, characterized in that, The knowledge state updating module obtains the knowledge state of the current student after answering the current question in the following manner: According to the time perception feature of the current student and the current question and the interaction result of the current student and the current question, the knowledge change amount of the current student on the current knowledge point after answering the current question is calculated; Based on the knowledge point relationship matrix of the current knowledge point and the knowledge change amount on the current knowledge point, the knowledge transfer calculation is performed to obtain the overall change amount of the knowledge state of the current student after answering the current question; Based on the knowledge state of the current student before answering the current question and the overall change amount of the knowledge state after answering the current question, the knowledge state of the current student after answering the current question is obtained.

9. The knowledge relation evolution knowledge tracking method based on a dynamic graph neural network according to claim 2, characterized in that, The student representation module comprises: a basic feature extraction module configured to extract basic features of the historical question sequence; a feature encoding module configured to encode the basic features of the historical question sequence to obtain encoding features of the historical question sequence; a first aggregation module configured to aggregate the encoding features of the historical question sequence using a gated recurrent unit to obtain the time perception feature of the current student.

10. The knowledge relation evolution knowledge tracking method based on a dynamic graph neural network according to claim 9, characterized in that, The basic features of the historical question sequence include sequence time features; The feature encoding module obtains the encoding features of the sequence time features in the following manner: ; ; ; ; wherein, denotes an encoding feature representing sequence time features, denotes a Relu activation function, denotes a weight parameter, denotes a bias, denotes a long-short effect time hidden feature at the jth time point, denotes a time feature at the jth time point in the sequence time features, and the long-short effect time hidden features at the 1st to the t-1th time points collectively constitute , denotes a time threshold, and the current time point is the tth time point.​​​​

Citation Information

Patent Citations

  • Cognitive diagnosis method and system based on learning behaviors

    CN113283488A

  • Interactive knowledge tracking method based on graph neural network

    CN115329096A

  • Knowledge tracking method based on knowledge space

    CN117371528A

  • Deep knowledge tracking method based on graph neural network

    CN119272862A

  • Multi-modal knowledge question and answer retrieval method and system for specific professional field

    CN119621921A