Next Article in Journal
A PTM-Based Framework for Enhanced User Requirement Classification in Product Design
Previous Article in Journal
Plato’s Shadows in the Digital Cave: Controlling Cultural Bias in Generative AI
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Research on Knowledge Tracing-Based Classroom Network Characteristic Learning Engagement and Temporal-Spatial Feature Fusion

by
Zhaoyu Shou
1,2,
Yihong Li
1,
Dongxu Li
1,*,
Jianwen Mo
1 and
Huibing Zhang
3
1
School of Information and Communication, Guilin University of Electronic Science Technology, Guilin 541004, China
2
Guangxi Wireless Broadband Communication and Signal Processing Key Laboratory, Guilin University of Electronic Technology, Guilin 541004, China
3
School of Computer and Information Security, Guilin University of Electronic Technology, Guilin 541004, China
*
Author to whom correspondence should be addressed.
Electronics 2024, 13(8), 1454; https://doi.org/10.3390/electronics13081454
Submission received: 14 March 2024 / Revised: 4 April 2024 / Accepted: 9 April 2024 / Published: 11 April 2024

Abstract

:
To accurately assess students’ cognitive state of knowledge points in the learning process within the smart classroom, a knowledge tracing (KT) model based on classroom network characteristic learning engagement and temporal-spatial feature fusion (CL-TSKT) is proposed. First, a classroom network is constructed based on the information of the student ID, seating relationship, student–student interaction, head-up or head-down state, and classroom network characteristics obtained from a smart classroom video. Second, a learning engagement model is established by utilizing the student–student interactions, head-up or head-down state, and classroom network characteristics. Finally, according to the learning engagement model and the knowledge point test data, a parallel temporal attention GRU network is proposed. It is utilized to extract the temporal features of the knowledge points and learning engagement. They are fused to obtain the knowledge point-learning engagement temporal characteristics and their associated attributes. Meanwhile, a CNN is used to extract the knowledge point-knowledge point spatial features. We consider the associative properties of knowledge point-knowledge points from a spatial perspective and fuse the knowledge point-knowledge point spatial features with the knowledge point-learning engagement temporal features. To accurately characterize the cognitive state of the knowledge points and provide effective support for teachers’ accurate and sustainable interventions for learners in the teaching and learning process, this paper conducts extensive experiments on four real datasets. The CL-TSKT model in this paper shows superior performance in all four evaluation metrics, compared with the state-of-the-art KT models.

1. Introduction

In today’s competitive educational environment, it is critical to improve students’ learning outcomes. The cognitive state, on the other hand, is one of the most important indicators of a student’s learning effectiveness. Teachers analyze students’ cognitive states. This helps to understand how students respond to the content and format of the classroom and optimize the classroom format for improved student learning outcomes. It also provides individualized intervention approaches for different students. Meanwhile, a large number of researchers have analyzed students’ cognitive states in terms of the KT models. Janssen et al. [1] proposed an item response theory (IRT) that describes a student’s cognitive state as a one-dimensional competence value. The cognitive states of students were also modeled in combination with the difficulty and differentiation of the test questions. Li et al. [2] proposed a knowledge relation rank enhanced heterogeneous learning interaction model. Graph convolutional networks (GCNs) are used to capture the complex interactions between exercises and knowledge points.
However, existing knowledge tracing (KT) models were limited to tracking and predicting student performance based on test data from students on online education platforms. At the same time, offline teaching methods are still the mainstay of current education methods, and there is a correlation between students’ cognitive states and multiple factors in smart classrooms. These factors include learning engagement, interactions between students, and the environment in which they are located [3,4]. Therefore, existing knowledge tracing models, when applied to complex smart classroom environments, will expose the limitations of single-dimensional data analysis. Characterizing students’ cognitive states by comprehensively considering their learning engagement characteristics in smart classroom environments can lead to better understanding and facilitate their learning process.
Learning engagement reflects the degree of students’ attention and participation in a learning task. To some extent, it reflects the state of student learning [5]. Hu et al. [6] constructed a classroom video database based on noninvasive classroom video. They used YOLOV5 to analyze and assess student behavior and gauge students’ learning engagement in the classroom. At the same time, students are easily influenced by the students around them in the classroom learning process, and this implicit impact is often reflected in students’ classroom learning statuses and academic performance. Lu et al. [7] found that there was a significant effect from students’ seating choices on classroom learning engagement. Putnik et al. [8] found that there was also a significant correlation between student learning outcomes and social network structure characteristics. Xiang et al. [9] proposed a method for evaluating students’ attention based on emotional evolution and viral transmission. It showed that students’ attention in the spatial dimension of the classroom was affected by a different area of negative and positive emotions. Rijsewijk et al. [10] analyzed the helping relationships among students. It was found that there was an association between academic achievement and the unbalanced distribution of classroom helping relationships. Gutierrez et al. [11] found that effective seating arrangements promoted social interaction and classroom participation. Li et al. [12] proposed a one-of-a-kind model of emotion transmission determined by students’ facial expressions. It showed that there was student-to-student propagation of learning emotions in the classroom network, thereby affecting individual learning.
In summary, students’ cognitive states in smart classrooms are influenced by multiple factors and difficult to accurately characterize. This paper is based on classroom network characteristic learning engagement and knowledge point test data. A knowledge tracing model based on classroom network characteristic learning engagement and temporal-spatial feature fusion (CL-TSKT) is proposed. a parallel temporal attention GRU network is proposed. It is utilized to extract the temporal features of knowledge points and learning engagement. They are fused to obtain the knowledge point-learning engagement temporal characteristics and their associated attributes. Meanwhile, a CNN is used to extract the knowledge point-knowledge point spatial features. We consider the associative properties of knowledge point-knowledge points from a spatial perspective and fuse the knowledge point-knowledge point spatial feature with the knowledge point-learning engagement temporal feature, achieving accurate characterization of learners’ cognitive states in smart classrooms.
This paper consists of the following main contributions:
  • For accurately assessing student learning engagement in smart classrooms, a learning engagement model utilizing student–student interactions, student head-up states, and classroom network characteristics is proposed.
  • A temporal-spatial feature fusion algorithm is proposed. A parallel temporal attention GRU network is designed which is utilized to extract the temporal features of knowledge points and learning engagement. They are fused to obtain the knowledge point-learning engagement temporal characteristics and their associated attributes. Meanwhile, a CNN is used to extract the knowledge point-knowledge point spatial features. We consider the associative properties of knowledge point-knowledge points from a spatial perspective and fuse the knowledge point-knowledge point spatial features with the knowledge point-learning engagement temporal features. To maintain the integrity of the characterization information, the model incorporates classroom network characteristic learning engagement and knowledge point test data to analyze the cognitive states. It avoids the limitations of single-dimensional data analysis and can more accurately characterize learners’ cognitive states.
  • Extensive experiments are conducted on four real datasets. They show that the CL-TSKT model proposed in this paper has advantages over the state-of-the-art knowledge tracing algorithms.
The remainder of the paper is organized as follows. Section 2, “Related Works”, describes the research on knowledge tracing. Section 3, “Problem Definitions”, describes the algorithm-related definitions and calculations. Section 4, “CL-TSKT Model”, describes the CL-TSKT model’s architecture in detail. Section 5, “Analysis of Experiments and Experimental Results”, provides a comparative analysis of the experimental results to evaluate the performance of the algorithm. Finally, Section 6, “Conclusions and Future Work” is a summary and outlook of the work.

2. Related Work

The KT model is designed to measure a student’s level of knowledge based on the student’s historical interactions. Existing KT models are mainly categorized into statistics-based and deep learning-based models. De et al. [13,14,15,16] proposed different DINA models based on students’ test situations and knowledge point correlation matrices, and they modeled the students’ cognitive states as state vectors of multidimensional knowledge points. Statistics-based KT models could make predictions interpretable. However, students’ cognitive abilities could not be assessed dynamically, and the accuracy of the predictions was low. With the rapid development of deep learning, and to address the low predictive accuracy of traditional KT models and the inability to adaptively predict students’ cognitive states, a seminal model, the KT model (DKT), was proposed by Piech et al. [17], based on recurrent neural networks (RNNs). As the first demonstration of the effectiveness and potential of deep learning for KT tasks, it solved the problem that traditional models could not learn the characteristics of knowledge relationships autonomously. Ghosh et al. [18] used exponential decay and the context-aware relative distance to compute the attention weights and enhance model feature extraction. Better prediction performance than that of the DKT model was obtained. To address the problem of weak modeling of knowledge point relationships, Yang et al. [19] proposed a novel quantitative relationship neural network for the explainable cognitive diagnosis model (QRCDM). It used explicit and implicit correlations between exercises and corresponding knowledge concepts to calculate student errors and guesses. Sequence modeling KT models took the lead in analyzing students’ knowledge states from test data and have achieved some success in the KT field. However, the limitations of single-dimensional data analysis have led a large number of researchers to consider adding data features outside of the test data so as to improve the model prediction performance.
Therefore, Xiao et al. [20] proposed a knowledge tracing model based on multi-feature fusion (KTMFF). It combined features such as the practice texts and test consumption time, and it fused multiple features using a multi-head self-attention mechanism. Liu et al. [21], by incorporating the relationship between students’ knowledge states, knowledge concepts, and exercises, modeled students’ cognitive responses using a log-linear model. Huang et al. [22] proposed a knowledge tracing model based on temporal and causal enhancement. Meanwhile, a causal self-attention mechanism based on the theory of front-door adjustment was introduced to enhance the interaction representation. It effectively incorporated interval and response features into the model. Text-aware KT models took into account textual content and analyzed the tiers of difficulty, which was effective in increasing the accuracy of predicting student performance. However, because of the lack of uniformity between datasets and the difficulty of marking up text, it was not widely available for use.
To address the interpretability of KT models and the presence of student forgetfulness, Jiang et al. [23] applied Markov blankets to the KT model. The method used Markov blankets of the target variable as a subset of the features, and interpretable machine learning techniques were applied to the KT model to improve the interpretability of the models. Lee et al. [24] proposed a KT model where contrastive learning reveals semantic similarity. To address the issue of their under-consideration, Im et al. [25] proposed the Forgetting-Aware Linear Bias (FoLiBi) and applied it to the KT model based on a contrastive learning framework (CL4KT). For the heterogeneity of course knowledge structures and the sparseness of interaction records, Ni et al. [26] proposed the learner–question interaction-based heterogeneous graph neural network (HHSKT) model and enhanced modeling by using hierarchical heterogeneous knowledge structures and short-term memory. It obtained the effects of different sequences of practice interactions on learners’ knowledge states. Forgetting-aware KT models took into account the presence of learning forgetting behaviors in students. However, it made inferences based primarily on students’ practiced responses to the questions, and the reality of the knowledge state is often complex and ambiguous. Therefore, considering forgetting behavior in a single-answer situation would lack reliability.
With the rapid development of graph neural networks and their progress in spatial information feature extraction, Wu et al. [27] proposed a KT model based on session graphs, and the gated graph neural network was utilized to obtain the students’ knowledge state from the session graphs. To address the problem that existing KT models ignore the correlation between multiple knowledge concepts in exercise, Huang et al. [28] proposed neural Turing machine-based skill-aware knowledge tracing (NSKT). It modeled students’ states of knowledge more accurately by capturing potential correlations between knowledge concepts in the exercises. For the inability of most knowledge tracing methods to capture coarse-grained inter-type associations, Zhao et al. [29] proposed a graph-enhanced multi-activity KT (GMKT) model. It modeled student cognition by jointly learning a fine-grained recurrent memory-enhanced model of student knowledge and a coarse-grained graph neural network. Graph-based KT models could be effective in learning knowledge point-knowledge points and knowledge point-exercise representations, and it has achieved some success in the extraction of spatial feature information. However, graph networks are constructed on the premise that connections between data need to be made in advance and preconstructed at the time of input. Thus, the scope of use was limited.
Based on the above analysis of KT models, this paper provides an overview of the relevant research models, as shown in Table 1.
In summary, to address the difficulty of existing KT models in characterizing the cognitive states of students in smart classrooms, this paper is based on classroom network characteristic learning engagement and knowledge point test data. For comprehensive consideration of students’ learning engagement as influenced by the students around them while learning in the smart classroom, a parallel temporal attention GRU network is proposed. It is utilized to extract the temporal features of knowledge points and learning engagement. They are fused to obtain the knowledge point-learning engagement temporal characteristics and their associated attributes. Meanwhile, a CNN is used to extract the knowledge point-knowledge point spatial features. We consider the associative properties of knowledge point-knowledge points from a spatial perspective and fuse the knowledge point-knowledge point spatial features with the knowledge point-learning engagement temporal features, achieving accurate knowledge tracing.

3. Problem Definitions

3.1. Symbol Definition

Based on the course data, the set of learners of a course is represents by U = { u 1 , u 2 , , u n } . Here, n is the number of learners. The set of knowledge points of the course is represents by K P = { k p 1 , k p 2 , k p i , k p k } , where k p i represents the i th knowledge points (KPs), with a total of k knowledge points. The test set for the course is represents by E = { e 1 , e 2 , , e m } , with a total of m test questions. The inclusion relationship between the test questions and the knowledge points is represented by the matrix Q = ( q j k ) R m × κ , in which q j k { 0 , 1 } indicates whether test question e j contains the knowledge point k p k . The test record for the learner u i is recorded as X i = { x 1 , x 2 , , x m } R m .

3.2. Modeling Learning Engagement Based on Classroom Network Characteristics

3.2.1. Learning Engagement

In smart classrooms, students’ head-up learning attention states usually correspond to their engagement while learning. A higher head-up rate would be more reflective of students being attentive and engaged in the classroom. Therefore, in a smart classroom, the students’ heads-up learning states are monitored through the video surveillance system, and through correlation analysis with learning engagement, teachers can better observe and assess students’ learning states. Based on the analytical model proposed by Shou et al. [30] for assessing learners’ head posture in smart classroom videos, the head-up rate of learner u i during the duration of learning k knowledge points is obtained by
L u i k = t m
Here, m represents the number of image frames extracted within the knowledge point, and t represents the number of head-up frames. In this paper, the learner head-up rate obtained from the head posture assessment model is used as the learning engagement in smart classrooms.

3.2.2. Learning Engagement Based on Classroom Network Characteristics

In a smart classroom, it is easier for students with seats near each other to interact socially and influence each other’s learning [31]. Therefore, the first step is to construct an empowered and undirected network G U R = ( U , E U R ) of seating relationships in a single classroom based on the students’ classroom seating relationships. Here, U represents the set of student nodes, E U R represents the set of edges, the purple circle represents a student, and the black circles represent the empty positions in the class. This is shown in Figure 1.
Second, in social networks, degree refers to the sum of the connected edges of the nodes in the network. The greater the degree of a node, the higher the degree centrality of the node, the more important the node is in the network, and at the same time, the greater the influence on the nodes with which the node has existing connections [32]. The degree of centrality D C u i of nodes based on the constructed single-classroom empowered undirected network of seating relationships is obtained as shown in the following equation:
D C u i = k u i N 1
Meanwhile, in social networks, the frequency of interaction between nodes is also an important factor which reflects the mutual influence between their nodes. The higher the frequency of interaction, the higher the similarity between nodes [33]. Therefore, the frequency of inter-node interactions is high. Their learning engagement during classroom learning will be similar and more influenced by it. This paper obtains the frequency of inter-node interactions I n s u i , u j based on classroom video monitoring, and the interaction frequency is normalized as shown in Equation (3):
I n t e r u i , u j = 1 m I n s u i , u j
Then, the nearest neighbor nodes around a node are selected as learning influence factors based on the Nearest Neighbor Effective Distance Criterion (NEDC) [12]. The solid box nodes in Figure 2 indicate the NEDC range’s nearest neighbor nodes that have a learning influence on the node. Here, the arrow in Figure 2 represents the direction of the student facing the blackboard.
Finally, considering the degree of centrality of students in the classroom network, the Euclidean distance between students, and the frequency of interactions between students, we calculate the side weights  between students in a single classroom network. Thus, the specific formulation of the network G U R = ( U , E U R ) of empowered and undirected seating relationships for a single classroom is given in the following equation:
E d g e u i , u j = D C u i + I n t e r u i , u j + d u i , u j U = { u 0 , u 1 , , u n t } , n t = s t u d e n t   o n   a t t e n d a n c e E U R = { ( u i , u j ) , E d g e u i , u j | u i , u j N E D C   r a n g e }
Here, d u i , u j is the weight corresponding to the edge ( u i , u j ) . This is specified as the inverse 1 ( x i x j ) 2 + ( y i y j ) 2 of the Euclidean distance between the u i and u j seat coordinates ( x i , y i ) , ( x j , y j ) . The Euclidean distance directly calculates the straight-line distance between two points in a two-dimensional space. This straight-line distance is in line with the public’s most intuitive understanding of distance, and this calculation is quite intuitive and easy to understand.
Based on a single-classroom network G U R = ( U , E U R ) , the learner u i combines the knowledge points k , learning engagement L u j k of the nearest neighbor influence nodes, and the inter-node edge weights E d g e u i , u j within the lecture time. For the learners u i , the learning engagement N e t u i k , based on the classroom network characteristics, is calculated as shown in the following equation:
N e t u i k = 1 n t + 1 [ j = 1 u j E u i R n t ( L u j k E d g e u i , u j ) + L u i k ] where   E u i R = { ( u i , u j ) , E u i , u j | u j u 0 N E D C , n t = n u m b e r   o f   N E D C   r a n g e s ,   j n t }
Here, E u i R represents the set of nodes and edge weights within the nearest neighbor influence of the learner u i , n t represents the number of nearest neighbor influencing nodes, and L u i k represents its own learning involvement.

4. CL-TSKT Model

The CL-TSKT model architecture is shown in Figure 3. There are two main sections: a knowledge point and learning engagement temporal feature extraction module based on parallel temporal attention GRU networks and a CNN-based knowledge point-knowledge point spatial feature extraction module.
The knowledge point test sequences and the corresponding classroom network characteristics of learning engagement are feature coded and fed into a parallel temporal attention GRU network. This is utilized to extract the temporal features of knowledge points and learning engagement. They are fused to obtain the knowledge point-learning engagement temporal characteristics and their associated attributes. Meanwhile, the CNN is used to extract the knowledge point-knowledge point spatial features. Considering the associative properties of knowledge point-knowledge points from a spatial perspective, the knowledge point-knowledge point spatial feature is fused with the knowledge point-learning engagement temporal feature. Finally, the fused temporal-spatial feature tensor is input into the fully connected layer for nonlinear mapping, and the knowledge tracing results (KTRs) of students’ temporal knowledge points are obtained.

4.1. Temporal Attention-Based GRU Feature Tracking

4.1.1. GRU Feature Tracking

Gated recurrent unit structures (GRUs) are variants of RNNs. They are mainly used for modeling time series data. They can effectively mitigate gradient disappearance and explosion during the training process compared with RNNs, and the effect is better than that of an RNN [34]. The GRU structure is shown in Figure 4.
In this paper, the student’s record of questions is divided into sequences at intervals of a fixed length. If the student’s record of questions is less than the length l , then the made up value is zero. At the same time, the student test sequences are one-hot coded before being entered into the GRUs. For example, the one-hot coding of the data for a particular sequence of knowledge test questions is x . The specific expression is shown in Equation (6):
x = ( e 1 e 2 e i e l ) = [ 0 1 0 0 1 0 0 0 1 1 1 0 0 1 1 0 ] l × ( k × 2 )
Here, e i represents the vector of test questions with a serial number i taken by the learner in relation to the knowledge point, 0 represents that the test question does not relate to the knowledge point corresponding to this subscript, and 1 represents that it relates to the knowledge point corresponding to this subscript.
Meanwhile, the classroom network characteristic learning engagement input code N e t corresponding to the sequence of knowledge point test questions is
N e t = ( n e t 1 n e t 2 n e t i n e t l ) = [ 0.6 0.7 0.5 0.8 ] l × 1
Here, n e t i represents the classroom network characteristic learning engagement within the learning duration of the learner engaging with the test question with the serial number i for the knowledge point involved.
According to the characteristic coding of the above data. the input data are subjected to temporal feature extraction using a GRU. Here, the reset gate r u i and update gate z u i realize the selective forgetting of the previous moment information and selectively memorize the current moment information as the current moment output. The calculation is shown in Equation (8):
r u i = S i g m o i d ( W r × [ h u i 1 , x u i ] ) z u i = S i g m o i d ( W z × [ h u i 1 , x u i ] )
The information r u i after the reset gate, the input information x u i , and the information h u i 1 from the previous moment are concatenated, and the output is updated to obtain the updated feature vector h ˜ u i as shown in Equation (9):
h ˜ u i = Tanh ( W × [ r u i × h u i 1 , x u i ] )
Finally, the feature information after passing through forgetting and memorizing is selectively summed and fused to obtain the output state vector h u i as shown in Equation (10):
h u i = ( 1 z u i ) × h u i 1 + z u i × h ˜ u i
The feature tensor h u Q and h u N e t are obtained by tracking both the knowledge point test data features and the classroom network characteristics of the learning engagement features using the parallel temporal attention GRU network.

4.1.2. Temporal Attention Mechanism

In time series data prediction tasks, adding an attention mechanism helps the neural network model to focus on the information in the input that is more critical to the task at hand. It can effectively alleviate the problem of the GRU’s loss of capture of long sequence information and insufficient extraction of short sequence feature information, and it improves the model’s performance and robustness [35]. Therefore, a temporal attention mechanism is proposed in this paper to reassign weights to the temporal knowledge points and learning engagement features output from the GRUs. This can better extract the feature information related to the current knowledge point and improve the model prediction accuracy.
The temporal knowledge point feature vector h u Q output from the GRU is calculated by the temporal attention mechanism as shown in Equation (11):
H Q = relu ( h u Q Softmax ( e l u ( h u Q × W Q ) , dim = 1 ) )
In this case, the visualization of the temporal attention mechanism to reassign weights to the temporal knowledge point test data feature information is shown in Figure 5.
The learning engagement feature vector h u N e t output from the GRU is calculated by the temporal attention mechanism as shown in Equation (12):
H N e t = relu ( h u N e t Softmax ( e l u ( h u N e t × W N e t ) , dim = 1 ) )
Similarly, the visualization of the temporal attention mechanism to reassign weights to the temporal classroom network characteristic learning engagement feature information is shown in Figure 6.
Finally, the temporal feature H Q of the knowledge points is fused with the temporal feature H N e t of learning engagement to improve the information richness of the temporal characteristics. Thus, the knowledge point-learning engagement time feature tensor T is obtained. The calculation is shown in Equation (13):
T = H Q + H N e t

4.2. CNN-Based Spatial Feature Extraction

Temporal attention-based GRU networks have been effective at extracting features from temporal data. However, when facing large datasets and time series data that are too long, the ability of the model to extract features decreases. This results in poor prediction performance. This paper is based on one-hot encoded student knowledge point test sequences x , using a CNN for spatial feature extraction of knowledge point time series test data. The connections and variations between successive knowledge points can be accessed through the CNN. To further enhance the model feature extraction capability and improve the prediction accuracy, the operation is expressed in the following equation:
S 1 = C o n v l d ( x , kernel _ size = 3 ) S 2 = M a x P o o l l d ( S 1 , stride = 2 ) S 3 = U p s a m p l e ( S 2 , scale _ factor = 2 ) S = L i n e a r ( t r a n s p o s e ( S 3 , ( 1 , 2 ) ) )
In this paper, based on the one-hot coding matrix x of the knowledge point test data, spatial feature extraction of the knowledge point-knowledge points is performed using a CNN. The CNN-based spatial feature extraction visualization process is shown in Figure 7.
Finally, this paper fully considers the attributes that link knowledge points to learning engagement, fusing the knowledge point-learning engagement temporal feature  and knowledge point-knowledge point spatial feature S to enhance the correlation feature information between neighboring knowledge points, and thereby obtaining the final temporal-spatial feature vector T S :
T S = T + S

4.3. Nonlinear Mapping Based on Fully Connected Layers

The fully connected layer mainly takes the input data for feature extraction by linear transformation of the weight matrix. It converts the raw data into a higher-level representation, leading to better fitting of the training data by learning the complex nonlinear relationships between the input data. This enables the network to accurately classify and regress predictions for the input data [36]. This paper uses a single fully connected layer for nonlinear mapping, which is formulated as follows:
p = S i g m o i d ( W 1 × TS + b 1 )
Here, p represents the model prediction, W 1 represents the trainable weight matrix of the fully connected layer, b 1 represents the trainable bias of the fully connected layer, and T S represents the temporal-spatial eigenvectors.
The output layer targets the real answer situation of the learner. The model parameters are iteratively updated using the cross-entropy loss function, which is shown in Equation (17):
L o s s = x l j X p l j P [ x l j log ( p l j ) + ( 1 x l j ) log ( 1 p l j ) ]
Here, x i j represents the actual answers to the j knowledge points involved in the exercise l , and p i j represents the model’s predicted value of the j knowledge points involved in the exercise question l .
Meanwhile, this paper takes the answer time as an interval. We synthesize the mastery of knowledge points in each answering moment and calculate the cognitive ability of the students as shown in Equation (18):
y = 1 k i = 1 k p l i
Here, y represents the student’s overall cognitive ability at the time of the test l , k represents the number of knowledge points included in the course, and p i j represents the diagnostic result for the knowledge point i at the exercise l in the model’s prediction of the value p .
Algorithm 1 illustrates the basic steps of CL-TSKT:
Algorithm 1 CL-TSKT algorithm
Input: 
G U R = ( U , E U R ) = seat relationship network in smart classroom; U = set of students; E U R = the set of edges with influential nodes; x = a matrix of student answer records with fixed length per row, which has the shape  l × ( k × 2 ) ; L u k = student learning engagement during knowledge point k learning time; T = max epoch.
Output: 
p = the set of predicted answer records; y = the cognitive diagnosis results.
         1:
Initialize learning rate and hyperparameter randomly;
         2:
For  u 1   to   U  do;
         3:
According to the student’s learning engagement L u k and weights obtained by calculating the Euclidean distance, student–student interaction, and degree centrality to the nearest neighboring influence nodes E u R is defined in Equations (2)–(4);
         4:
Combine the network structure E u R to obtain the classroom network characteristic learning engagement, which is defined in Equation (5);
         5:
According to the matrix of test questions x , obtain the corresponding sequence of the classroom network characteristic learning engagement N e t , which has the shape l × 1 ;
         6:
end;
         7:
for  e p o c h 1   t o   T  do // The dataset contains the number of students;
         8:
h u Q G R U ( x [ n ] ) // Track sequence state using GRU;
         9:
h u N e t G R U ( N e t [ n ] ) ;
         10:
// Reassign weights to feature information using temporal attention;
         11:
H Q r e l u ( h u Q Softmax ( e l u ( h u Q × W Q ) , dim = 1 ) ) ;
         12:
H N e t relu ( h u N e t Softmax ( e l u ( h u N e t × W N e t ) , dim = 1 ) ) ;
         13:
T H Q + H N ; // Sum the feature tensor;
         14:
S C N N ( x [ n ] ) ;
         15:
T S T + S ;
         16:
p S i g m o i d ( W 1 × T S + b 1 ) ; // Nonlinear mapping output uses fully connected layer;
         17:
y 1 k i = 1 k p l i ;
         18:
// Update hyperparameters using cross-entropy loss function;
         19:
L o s s i L o s s i x i j X p i j P [ x i j log ( p i j ) + ( 1 x i j ) log ( 1 p i j ) ] ;
         20:
end;
         21:
Return p , y .

5. Analysis of Experiments and Experimental Results

5.1. Datasets

To validate the performance of the proposed CL-TSKT model, four sets of experiments on real datasets were conducted, namely the Assistment0910, ASSISTChall [37], and Eedi [38] datasets and the Smart Classroom Dataset (SCD). The Assistment0910 and ASSISTTChall datasets were collected by the ASSISTments online tutoring system. The Eedi dataset was released by the NeuralPS2020 Education Challenge and contains a total of four sections. The SCD is an offline smart classroom dataset consisting of historical behavioral data of students who took the C programming course in 2022.
The Assistment0910, ASSISTChall, and Eedi datasets do not contain information about learners’ classroom networks. In order to ensure the wholeness of the model, the dataset was preprocessed in this paper. To minimize the impact on the datasets, the learning engagement information component was supplemented with a value of zero in all three datasets. The statistics for the four datasets are shown in Table 2.

5.2. Evaluation Metrics and Baseline Modeling

To evaluate the performance of the CL-TSKT model proposed in this paper, the AUC, ACC, MAE, and RMSE were used as evaluation metrics. Among them, the MAE and RMSE are a measure of the difference between the predicted probabilities and the actual labels, and they can reveal more subtle differences in the performance of the model, especially under different thresholds, which can effectively assess the model’s ability to handle uncertainty.
The five baseline models for the comparison are shown in Table 3.

5.3. Experimental Environment and Model Parameters

The experimental environment of this paper is shown in Table 4.
In the CL-TSKT cognitive diagnostic model, the learning rate was set to 0.001, the input feature sequence length l was set to 100, the number of one-sided GRU layers was set to 1, the hidden layer embedding dimensionality was set to 200, the CNN convolutional kernel size was set to 3, and the batch size of the model was set to 64. The gradient descent optimization was carried out using the Adam optimizer.

5.4. Results

The ROC curves for each model on the Assistment0910, ASSISTChall, Eedi, and SCD datasets are shown in Figure 8. The ROC curves for each model facing the online dataset using only the knowledge test question features are shown in Figure 8a–c. The analysis yielded that the AUC values of the CL-TSKT model using the knowledge point test features in the public dataset were all better than those of the baseline model. Figure 8d represents the diagnostic performance of the model on the SCD. The experimental results show that the CL-TSKT model incorporating learners’ classroom network characteristic learning engagement demonstrated better performance.
The performance metrics of the CL-TSKT model on the Assistment0910, ASSISTChall, Eedi, and SCD datasets versus the other baseline models are shown in Table 5 and analyzed below.
(1)
The method proposed in this paper achieved the best performance on all four datasets. The evaluation metrics were all better than those of the baseline model on the SCD. It is shown that integrating classroom network characteristic learning engagement in smart classrooms can characterize students’ cognitive states more accurately.
(2)
Compared with the RNN-based DKT model and AKT + Forgetting based on contextual attention mechanism, CL-TSKT showed significant improvement. It proved the superiority of computing accumulation and forgetting based on GRU dynamic gate control.
(3)
CL4KT mainly uses a contrastive learning framework for knowledge tracing, and QRCDM mainly utilizes the α cross-validation idea for feature extraction. CL-TSKT enhances feature extraction by using the temporal attention mechanism, and its obtained results outperformed CL4KT and QRCDM. This proves that the temporal attention mechanism can pay better attention to the important feature information and enhance the model prediction accuracy.
(4)
CL4KT-FoLiBi embedded with the forgetting linear deviation mechanism simulated students’ forgetting behavior, but it ignored that students’ knowledge processes are ambiguous and complex. In contrast, CL-TSKT started from the aspect of enhanced feature extraction, adopted a CNN to realize spatial feature extraction, strengthened the model feature extraction ability, and achieved better results.
(5)
In Table 5, the CL-TSKT model shows superior performance on all three online platform datasets and one smart classroom dataset. The distributions and quantities of the four datasets are different, as a demonstration of the greater robustness of the CL-TSKT model.
(6)
The poor performance of the RMSE value for CL-TSKT on the Eedi dataset was due to the high number of knowledge points contained in this dataset.

5.5. Ablation Experiment

5.5.1. Ablation Experiments Based on the CNN’s Spatial Features and Temporal Attention Mechanisms

To verify that the CNN-based spatial features and temporal attention mechanism can effectively enhance the model to capture the learner’s feature information and improve the model’s prediction ability, in this paper, ablation experiments were performed on four datasets, where CL-TSKT-TA represents the model without the addition of the temporal attention mechanism and CL-TSKT-CNN represents the model without adding CNN-based spatial features. The experimental results are shown in Figure 9.
From Figure 9 and the analysis of the experimental results, it can be seen that CL-TSKT outperformed CL-TSKT-TA and CL-TSKT-CNN on all four datasets. This proves that CL-TSKT has better stability and robustness.
Therefore, a temporal attention mechanism was added to the GRU. Meanwhile, adding CNN-based spatial features can enhance the model feature extraction ability. This ensures that the integrity of feature information can more effectively improve the stability and prediction ability of the model.

5.5.2. Ablation Experiments of Classroom Network Characteristic Learning Engagement

To illustrate that incorporating learners’ classroom network characteristic-based learning engagement (CL-TSKT) can lead to better prediction performance in smart classrooms with complex environments, in this paper, ablation experiments were performed on the SCD. The experimental results are shown in Figure 10. TSKT represents the model that did not incorporate the learner’s learning engagement, and the Net part of the input was zero. L-TSKT represents the model that incorporated the individual’s learning engagement and which did not take into account the influence of the surrounding students, and the Net part of the data was obtained directly from the calculation of Equation (1). L-TSKT-ED represents the model that incorporated classroom network Euclidean distance-based learning engagement. This learning engagement only took into account the influence generated by the distance between students, ( E d g e u i , u j = d u i , u j ) in Equation (3) without considering student–student interactions and degree centrality.
The performance metrics of the models on the SCD using different learning engagement are shown in Table 6.
Meanwhile, this paper provides experimental validation of the test data of some students. The results of the comparison of the accuracy of the KT results output from the TSKT, L-TSKT, and L-TSKT-ED models are shown in Table 7.
From the analysis of Figure 10 and Table 6 and Table 7, it can be seen that the CL-TSKT model incorporating classroom network features outperformed the performance results of the models that did not incorporate the learning engagement features or the learner’s learning engagement features and the model based on the classroom network structure of Euclidean distance learning engagement. The overall results suggest that in a smart classroom with multiple learners, a single dimension of exercise characteristics cannot accurately predict student performance. In addition, students’ learning engagement not only depends on themselves but is also influenced by the learning engagement of their immediate neighbors based on the network of seating relationships, the distance between students, and the interactions between students. These influences play a direct role in students’ mastery of knowledge points as they learn them and are ultimately reflected in the results of the knowledge point tests.

5.6. Analysis of Results

To validate the KT results of the knowledge points predicted by the model, this paper used learners’ classroom test scores as the cognitive results for classification validation on the SCD. The KT results of some students’ knowledge points predicted by the CL-TSKT model are shown in Table 8.
To assess the reliability of the KT results predicted by the model, we used a pyramidal hierarchy of cognitive states (remembering, comprehending, applying, analyzing, evaluating, and innovating) based on Bloom’s [39] proposed method. According to the correlation between test scores and cognitive levels proposed in [40,41,42], the learners were graded according to the KT results at intervals of course learning knowledge points of memory: F [ 0 , 40 ) , comprehension: E [ 40 , 65 ) , application: D [ 65 , 80 ) , analysis: C [ 80 , 90 ) , evaluation: B [ 90 , 97 ) , and innovation: A [97,100], here, ‘[ )’ represents a left-closed right-open interval. ‘[ ]’ represents left-closed right-closed interval. The result is shown in Table 9.
Finally, the KT results for these six students were combined with the results in Table 9 and compared to each student’s final test scores for the course, as shown in Table 10.
Classroom tests are effective in assessing students’ cognitive states, which are correlated with student learning outcomes. While students are in an environment of active learning engagement, they are more cognizant of their knowledge, and their assessment scores are relatively higher. According to Table 10, the results predicted by the KT model proposed in this paper corresponded to their test scores. The students with higher assessment scores were basically at a higher level of cognition. This shows that the proposed KT model of cognitive states has good reliability.

5.7. Discussion

Our proposed knowledge tracing model can be used as a complete teaching module of the smart classroom teaching platform to help teachers improve the design of the teaching process and realize personalized education. By observing the students’ knowledge tracking results, teachers can gain a deeper understanding of the students’ current states of knowledge and then adjust their teaching strategies. The students can understand what they have not mastered well based on the knowledge tracking results to clarify their learning goals and improve their learning results.
The above experimental results show that classroom network characteristic learning engagement is of great significance for realizing knowledge tracking in the smart classroom scenario. Similarly, in the field of online education, student learning engagement can be obtained by collecting information such as the frequency and length of interaction between students and knowledge points, which can effectively enhance the model’s tracing of students’ knowledge statuses. Therefore, the model can also be considered for application in online education platforms to track students’ knowledge and provide stronger interpretability for the teaching recommendation system based on the knowledge tracing results.

6. Conclusions and Future Work

In this paper, a KT model based on classroom network characteristic learning engagement and temporal-spatial feature fusion (CL-TSKT) was proposed. It aims to address the existence of student–student learning engagement impacts in smart classrooms with complex environments, as well as the existing KT models that are mainly based on knowledge point test data for cognitive state analysis. The experimental results showed that the prediction accuracy of the converged classroom network characteristic learning engagement model (CL-TSKT) was better than that of the counterpart models in the ablation experiment (TSKT, L-TSKT, and CL-TSKT-ED). It was proven that students’ classroom learning engagement can be more accurately captured by fully considering the effects of students’ network characteristics, inter-student distance, and inter-student interactions in the classroom. More importantly, parallel temporal attention GRU networks were proposed for knowledge point-learning engagement temporal feature extraction and CNN-based knowledge point-knowledge point spatial feature extraction. The temporal-spatial feature fusion helped to maintain the integrity of the feature information, which further improved the accuracy of the model prediction. The experimental results in this paper on four real datasets show that the proposed CL-TSKT model exhibited better diagnostic performance compared with the five baseline models (DKT+, AKT + Forgetting, QRCDM, CL4KT, and CL4KT-FoLiBi) under different conditions.
The CL-TSKT model can accurately characterize the cognitive states of students in smart classrooms with complex environments. Meanwhile, the design of the educational platform system can be enhanced. In this paper, students’ learning engagement was accurately characterized by fully considering student–student interaction, inter-student distance, and students’ degree of centrality, combining student knowledge point test data to characterize their cognitive states. It can support teachers in making timely adjustments to student seating during the instructional process and sustainable interventions to improve students’ attitudes and learning engagement, thereby contributing to the effectiveness and enhancement of student learning. This research was applied to offline smart classrooms. Existing image processing techniques applied to a smart classroom in a large scene have problems such as difficulty recognizing students in the back row. Therefore, the classroom network structure data in this study cannot be fully automated, and it is necessary to add a manual proofreading link, which increases the workload by a certain amount.
In future research, the effects of students’ different classroom social relationships on student cognition will be considered so as to achieve a more accurate characterization of students’ cognitive states and to improve the predictive performance of the model. In addition, this paper plans to deploy the algorithm into embedded devices for smart classrooms to provide effective support for teachers’ sustainable interventions for learners in the teaching and learning process and thus sustainably enhance student learning outcomes.

Author Contributions

Conceptualization, Z.S. and Y.L.; methodology, Y.L.; software, Y.L.; validation, D.L., J.M. and H.Z.; formal analysis, D.L.; investigation, D.L.; resources, Z.S.; data curation, Y.L.; writing—original draft preparation, Y.L.; writing—review and editing, Z.S.; visualization, Y.L.; supervision, Z.S.; project administration, Z.S.; funding acquisition, Z.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by The National Natural Science Foundation of China (62177012, 61967005, and 62267003) and the Project of Guangxi Wireless Broadband Communication and Signal Processing Key Laboratory (GXKL06240107).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The datasets are available at the following links: Assistment0910 (https://edudata.readthedocs.io/en/latest/build/blitz/ASSISTments/ASSISTments2009-2010.html (accessed on 1 March 2024)); ASSISTChall (https://edudata.readthedocs.io/en/latest/build/blitz/ASSISTments/ASSISTments2017.html (accessed on 1 March 2024)); and Eedi (https://eedi.com/projects/neurips-education-challenge (accessed on 1 March 2024)). The SCD dataset will be made available upon reasonable request.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Janssen, R.; Tuerlinckx, F.; Meulders, M.; De Boeck, P. A hierarchical IRT model for criterion-referenced measurement. J. Educ. Behav. Stat. 2000, 25, 285–306. [Google Scholar] [CrossRef]
  2. Li, L.; Wang, Z. Knowledge Relation Rank Enhanced Heterogeneous Learning Interaction Modeling for Neural Graph Forgetting Knowledge Tracing. PLoS ONE 2023, 18, e0295808. [Google Scholar] [CrossRef]
  3. Shi, Y.; Chen, L.; Qu, Z.; Xu, J.; Yang, H.H. Study on the Influencing Factors of Junior High School Students’ Learning Engagement Under the Smart Classroom Environment. In Proceedings of the International Conference on Blended Learning, Hong Kong, China, 17–20 July 2023; Springer Nature: Cham, Switzerland, 2023; pp. 47–58. [Google Scholar]
  4. Jiaming, N. A Study on the Learning Engagement Status and Influencing Factors of University Students in a Smart Classroom Environment: A Case Study of a Smart Classroom at Baise University. 2023. Available online: http://dspace.bu.ac.th/jspui/bitstream/123456789/5178/1/nong_jiam.pdf (accessed on 29 February 2024).
  5. You, W. Research on the relationship between learning engagement and learning completion of online learning students. Int. J. Emerg. Technol. Learn. 2022, 17, 102–117. [Google Scholar] [CrossRef]
  6. Hu, M.; Wei, Y.; Li, M.; Yao, H.; Deng, W.; Tong, M.; Liu, Q. Bimodal learning engagement recognition from videos in the classroom. Sensors 2022, 22, 5932. [Google Scholar] [CrossRef] [PubMed]
  7. Lu, G.; Liu, Q.; Xie, K.; Zhang, C.; He, X.; Shi, Y. Does the Seat Matter? The Influence of Seating Factors and Motivational Factors on Situational Engagement and Satisfaction in the Smart Classroom. Sustainability 2023, 15, 16393. [Google Scholar] [CrossRef]
  8. Putnik, G.; Costa, E.; Alves, C.; Castro, H.; Varela, L.; Shah, V. Analysing the correlation between social network analysis measures and performance of students in social network-based engineering education. Int. J. Technol. Des. Educ. 2016, 26, 413–437. [Google Scholar] [CrossRef]
  9. Xiang, T.; Ji, H.; Sheng, J. Analysis of Spatiotemporal Characteristics of Student Concentration Based on Emotion Evolution. Adv. Comput. Signals Syst. 2023, 7, 89–102. [Google Scholar]
  10. Van Rijsewijk, L.G.M.; Oldenburg, B.; Snijders, T.A.B.; Dijkstra, J.K.; Veenstra, R. A description of classroom help networks, individual network position, and their associations with academic achievement. PLoS ONE 2018, 13, e0208173. [Google Scholar] [CrossRef] [PubMed]
  11. Gutierrez, A. The Effects of Various Classroom Seating Arrangements on English Learners’ Academic Achievement. 2022. Available online: https://neiudc.neiu.edu/uhp-projects/31 (accessed on 12 May 2022).
  12. Li, J.; Shi, D.; Tumnark, P.; Xu, H. A system for real-time intervention in negative emotional contagion in a smart classroom deployed under edge computing service infrastructure. Peer Peer Netw. Appl. 2020, 13, 1706–1719. [Google Scholar] [CrossRef]
  13. De La Torre, J. DINA model and parameter estimation: A didactic. J. Educ. Behav. Stat. 2009, 34, 115–130. [Google Scholar] [CrossRef]
  14. Chiu, C.Y. Statistical refinement of the Q-matrix in cognitive diagnosis. Appl. Psychol. Meas. 2013, 37, 598–618. [Google Scholar] [CrossRef]
  15. Gu, Y.; Xu, G. The sufficient and necessary condition for the identifiability and estimability of the DINA model. Psychometrika 2019, 84, 468–483. [Google Scholar] [CrossRef]
  16. Ma, W.; de la Torre, J. An empirical Q-matrix validation method for the sequential generalized DINA model. Br. J. Math. Stat. Psychol. 2020, 73, 142–163. [Google Scholar] [CrossRef]
  17. Piech, C.; Bassen, J.; Huang, J.; Ganguli, S.; Sahami, M.; Guibas, L.J.; Sohl-Dickstein, J. Deep knowledge tracing. In Proceedings of the 28th International Conference on Neural Information Processing Systems, Montreal, QC, Canada, 7–12 December 2015; Volume 1, pp. 505–513. [Google Scholar]
  18. Ghosh, A.; Heffernan, N.; Lan, A.S. Context-aware attentive knowledge tracing. In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, Online, 6–10 July 2020; pp. 2330–2339. [Google Scholar]
  19. Yang, H.; Qi, T.; Li, J.; Guo, L.; Ren, M.; Zhang, L.; Wang, X. A novel quantitative relationship neural network for explainable cognitive diagnosis model. Knowl. Based Syst. 2022, 250, 109156. [Google Scholar] [CrossRef]
  20. Xiao, Y.; Xiao, R.; Huang, N.; Hu, Y.; Li, H.; Sun, B. Knowledge tracing based on multi-feature fusion. Neural Comput. Appl. 2023, 35, 1819–1833. [Google Scholar] [CrossRef]
  21. Liu, H.; Zhang, T.; Li, F.; Yu, M.; Yu, G. A probabilistic generative model for tracking multi-knowledge concept mastery probability. Front. Comput. Sci. 2024, 18, 183602. [Google Scholar] [CrossRef]
  22. Huang, C.; Wei, H.; Huang, Q.; Jiang, F.; Han, Z.; Huang, X. Learning consistent representations with temporal and causal enhancement for knowledge tracing. Expert Syst. Appl. 2024, 245, 123128. [Google Scholar] [CrossRef]
  23. Jiang, B.; Wei, Y.; Zhang, T.; Zhang, W. Improving the performance and explainability of knowledge tracing via Markov blanket. Inf. Process. Manag. 2024, 61, 103620. [Google Scholar] [CrossRef]
  24. Lee, W.; Chun, J.; Lee, Y.; Park, K.; Park, S. Contrastive learning for knowledge tracing. In Proceedings of the ACM Web Conference, Online, 25–29 April 2022; pp. 2330–2338. [Google Scholar]
  25. Im, Y.; Choi, E.; Kook, H.; Lee, J. Forgetting-aware Linear Bias for Attentive Knowledge Tracing. In Proceedings of the 32nd ACM International Conference on Information and Knowledge Management, Birmingham, UK, 21–25 October 2023; pp. 3958–3962. [Google Scholar]
  26. Ni, Q.; Wei, T.; Zhao, J.; He, L.; Zheng, C. HHSKT: A learner–question interactions based heterogeneous graph neural network model for knowledge tracing. Expert Syst. Appl. 2023, 215, 119334. [Google Scholar] [CrossRef]
  27. Wu, Z.; Huang, L.; Huang, Q.; Huang, C.; Tang, Y. SGKT: Session graph-based knowledge tracing for student performance prediction. Expert Syst. Appl. 2022, 206, 117681. [Google Scholar] [CrossRef]
  28. Huang, Q.; Su, W.; Sun, Y.; Huang, T.; Shi, J. NTM-based skill-aware knowledge tracing for conjunctive skills. Comput. Intell. Neurosci. 2022, 2022, 9153697. [Google Scholar] [CrossRef] [PubMed]
  29. Zhao, S.; Sahebi, S. Graph-Enhanced Multi-Activity Knowledge Tracing. In Proceedings of the Joint European Conference on Machine Learning and Knowledge Discovery in Databases, Turin, Italy, 18–22 September; Springer Nature: Cham, Switzerland, 2023; pp. 529–546. [Google Scholar]
  30. Shou, Z.; Tang, M.; Wen, H.; Liu, J.; Mo, J.; Zhang, H. Key Student Nodes Mining in the In-Class Social Network Based on Combined Weighted GRA-TOPSIS Method. Int. J. Inf. Commun. Technol. Educ. (IJICTE) 2023, 19, 1–19. [Google Scholar] [CrossRef]
  31. Rani, S.; Kumar, M. Influential Node Detection and Ranking with Fusion of Heterogeneous Social Media Information. IEEE Trans. Comput. Soc. Syst. 2022, 10, 1852–1874. [Google Scholar] [CrossRef]
  32. Bloch, F.; Jackson, M.O.; Tebaldi, P. Centrality measures in networks. Soc. Choice Welf. 2023, 61, 413–453. [Google Scholar] [CrossRef]
  33. Shang, Q.; Zhang, B.; Li, H.; Deng, Y. Identifying influential nodes: A new method based on network efficiency of edge weight updating. Chaos Interdiscip. J. Nonlinear Sci. 2021, 31, 033120. [Google Scholar] [CrossRef] [PubMed]
  34. Yamak, P.T.; Yujian, L.; Gadosey, P.K. A comparison between arima, lstm, and gru for time series forecasting. In Proceedings of the 2019 2nd International Conference on Algorithms, Computing and Artificial Intelligence, Sanya, China, 20–22 December 2019; pp. 49–55. [Google Scholar]
  35. Brauwers, G.; Frasincar, F. A general survey on attention mechanisms in deep learning. IEEE Trans. Knowl. Data Eng. 2021, 35, 3279–3298. [Google Scholar] [CrossRef]
  36. Basha, S.S.; Dubey, S.R.; Pulabaigari, V.; Mukherjee, S. Impact of fully connected layers on performance of convolutional neural networks for image classification. Neurocomputing 2020, 378, 112–119. [Google Scholar] [CrossRef]
  37. Feng, M.; Heffernan, N.T. Informing teachers live about student learning: Reporting in the assistment system. Technol. Instr. Cogn. Learn. 2006, 3, 63. [Google Scholar]
  38. Wang, Z.; Lamb, A.; Saveliev, E.; Cameron, P.; Zaykov, J.; Hernandez-Lobato, J.M.; Turner, R.E.; Baraniuk, R.S.; Barton, C.; Peyton, S.; et al. Results and insights from diagnostic questions: The NeurIPS 2020 education challenge. In Proceedings of the NeurIPS 2020 Competition and Demonstration Track, PMLR, Online, 9–12 December 2020; pp. 191–205. [Google Scholar]
  39. Rahayu, A. The analysis of students’ cognitive ability based on assesments of the revised Bloom’s Taxonomy on statistic materials. Eur. J. Multidiscip. Stud. 2018, 3, 80–85. [Google Scholar] [CrossRef]
  40. Nesayan, A.; Amani, M.; Gandomani, R.A. Cognitive profile of children and its relationship with academic performance. Basic Clin. Neurosci. 2019, 10, 165. [Google Scholar] [CrossRef]
  41. Tikhomirova, T.; Malykh, A.; Malykh, S. Predicting academic achievement with cognitive abilities: Cross-sectional study across school education. Behav. Sci. 2020, 10, 158. [Google Scholar] [CrossRef]
  42. Peng, P.; Kievit, R.A. The development of academic achievement and cognitive abilities: A bidirectional perspective. Child Dev. Perspect. 2020, 14, 15–20. [Google Scholar] [CrossRef]
Figure 1. Single classroom seating relationship network.
Figure 1. Single classroom seating relationship network.
Electronics 13 01454 g001
Figure 2. Effective distance of nearest neighbor relationship.
Figure 2. Effective distance of nearest neighbor relationship.
Electronics 13 01454 g002
Figure 3. CL-TSKT model framework diagram.
Figure 3. CL-TSKT model framework diagram.
Electronics 13 01454 g003
Figure 4. Structure of GRU.
Figure 4. Structure of GRU.
Electronics 13 01454 g004
Figure 5. Visualization of the temporal attention mechanism for the weight reassignment of the knowledge point test feature information.
Figure 5. Visualization of the temporal attention mechanism for the weight reassignment of the knowledge point test feature information.
Electronics 13 01454 g005
Figure 6. Visualization of temporal attention mechanism for weight reassignment of classroom network characteristic learning engagement feature information.
Figure 6. Visualization of temporal attention mechanism for weight reassignment of classroom network characteristic learning engagement feature information.
Electronics 13 01454 g006
Figure 7. Visualization of CNN-based spatial feature extraction process.
Figure 7. Visualization of CNN-based spatial feature extraction process.
Electronics 13 01454 g007
Figure 8. ROC curves for the CL-TSKT model and the baseline model on the dataset. (ad) The Assistment0910, ASSISTChall, Eedi, and SCD datasets, respectively.
Figure 8. ROC curves for the CL-TSKT model and the baseline model on the dataset. (ad) The Assistment0910, ASSISTChall, Eedi, and SCD datasets, respectively.
Electronics 13 01454 g008
Figure 9. Performance metrics of CL-TSKT, CL-TSKT-TA, and CL-TSKT-CNN models on four datasets. (ad) The AUC, ACC, MAE, and RMSE values of the models with or without the temporal attention mechanism, respectively.
Figure 9. Performance metrics of CL-TSKT, CL-TSKT-TA, and CL-TSKT-CNN models on four datasets. (ad) The AUC, ACC, MAE, and RMSE values of the models with or without the temporal attention mechanism, respectively.
Electronics 13 01454 g009
Figure 10. Comparison of ROC curves of ablation experiments for the CL-TSKT model on the SCD.
Figure 10. Comparison of ROC curves of ablation experiments for the CL-TSKT model on the SCD.
Electronics 13 01454 g010
Table 1. Summary of relevant research models.
Table 1. Summary of relevant research models.
ModelsPaper NumbersAdvantagesLimitations
Traditional KT models[1,13,14,15,16]Highly interpretableStatic diagnostics, multiple knowledge points difficult to interpret
Sequence modeling KT models[17,18,19]Improved prediction accuracy by fully utilizing test dataSingle-dimensional data analysis, lack of consideration of other factors affecting students’ cognitive states
Text-aware KT models[20,21,22]Full consideration of exercise data, with different levels of difficulty associated with text contentPoor harmonization of datasets and difficulties in text tagging
Forgetting-aware KT models[23,24,25,26]Considering students’ presence of learning forgetting behaviors based on practice answer situationsKnowledge states in reality are often complex and ambiguous, and single-answer situation analysis of forgetting lacks reliability
Graph-based KT models[2,27,28,29]Considering the spatial relationship between knowledge point-knowledge points, automatically acquiring side rights, and updating cognitive abilitiesThe existence of data correlation needs to be pre-assumed, and limited scope of use
Table 2. Dataset statistics.
Table 2. Dataset statistics.
DatasetAssistment0910ASSISTChallEediSCD
Number of learners40491709491858
Number of concepts11010294837
Number of exercises16,000300094845
Number of interactions325,000942,000104,00011,000
Average length80551212195
Engage dataNoNoNoYes
Table 3. Baseline models.
Table 3. Baseline models.
BaselineDescription
DKT+ [17]A recurrent neural network (RNN) is used to track the state of students’ knowledge, and two regularization terms are added to solve the DKT model of the reconstruction and the consistency problem.
AKT + Forgetting [18]Uses attention mechanisms with exponential decay and context-aware relative distance metrics and embeds forgetting linear deviations.
QRCDM [19]A quantitatively interpretable cognitive diagnostic model based on explicit correlations between test questions and knowledge concepts, with implicit correlations between test questions and irrelevant knowledge concepts.
CL4KT [24]A KT model for a contrastive learning framework that reveals semantically similar or dissimilar variables.
CL4KT-FoLiBi [25]A KT model incorporating forgotten linear bias (FoLiBi) into CL4KT.
Table 4. Experimental environments.
Table 4. Experimental environments.
Experimental EnvironmentEnvironment Configuration
Operating SystemsLinux
CPUIntel(R) Xeon(R) Gold 6330H
Video CardsGeForce RTX 3090
RAM32 GB
ROM1T SSD
Programming LanguagesPython 3.7
FrameworkPytorch
Table 5. Performance metrics of all models on the dataset.
Table 5. Performance metrics of all models on the dataset.
DatasetModelAUCACCMAERMSE
Assistment0910DKT+0.8030.7720.2270.477
AKT + Forgetting0.8250.7730.2260.476
QRCDM0.7930.7480.2520.502
CL4KT0.7500.7150.2850.441
CL4KT-FoLiBi0.7510.7120.2870.437
CL-TSKT0.8900.8050.1940.437
ASSISTChallDKT+0.6750.6650.3340.578
AKT + Forgetting0.6710.6730.3260.571
QRCDM0.6530.6190.3810.617
CL4KT0.6580.6410.3580.476
CL4KT-FoLiBi0.6680.6590.3410.468
CL-TSKT0.8910.8090.1900.436
EediDKT+0.6980.6480.3510.593
AKT + Forgetting0.7500.6880.3120.450
QRCDM0.6880.6350.3640.603
CL4KT0.7340.6730.3260.457
CL4KT-FoLiBi0.7660.6980.3010.443
CL-TSKT0.8700.7990.2000.447
SCDDKT+0.7150.7360.2640.514
AKT + Forgetting0.7250.7530.2460.496
QRCDM0.7760.7800.2200.469
CL4KT0.8450.8450.1540.340
CL4KT-FoLiBi0.8250.8340.1650.354
CL-TSKT0.9010.8960.1030.321
Table 6. Comparison of model performance metrics based on different learning engagement.
Table 6. Comparison of model performance metrics based on different learning engagement.
DatasetModelAUCACCMAERMSE
SCDTSKT0.8830.8830.1160.341
L-TSKT0.8930.8860.1130.337
L-TSKT-ED0.8980.8780.1210.348
CL-TSKT0.9010.8960.1030.321
Table 7. Comparison of the accuracies of the TSKT, L-TSKT, and CL-TSKT-ED models.
Table 7. Comparison of the accuracies of the TSKT, L-TSKT, and CL-TSKT-ED models.
IDTSKTL-TSKTL-TSKT-EDCL-TSKT
12389.0%89.1%89.0%89.9%
12792.3%92.4%92.4%93.9%
13488.2%88.3%88.4%92.5%
21489.8%89.7%89.9%92.3%
21677.9%78.3%78.4%84.3%
22486.7%86.7%86.8%92.0%
Table 8. Cognitive abilities of learners within each knowledge point’s lecture time.
Table 8. Cognitive abilities of learners within each knowledge point’s lecture time.
IDkp1kp2kp3kpk−1kpk
1230.8560.7430.6030.7180.766
1270.8010.8010.5190.6310.931
1340.8110.8670.8290.9390.818
2140.8560.8160.5960.6810.749
2160.7880.3650.5650.7940.736
2240.8550.8500.8320.7540.773
Table 9. Learners’ cognitive states within the lecture time of each knowledge point.
Table 9. Learners’ cognitive states within the lecture time of each knowledge point.
IDkp1kp2kp3kpk−1kpk
123CDEDD
127CCEEB
134CCCBC
214CCEDD
216DFEDD
224CCCDD
Table 10. Students’ comprehensive cognitive states and assessment scores.
Table 10. Students’ comprehensive cognitive states and assessment scores.
IDCognitive GradeTest PerformanceTest Grade
123D79D
127D78D
134C82C
214D65D
216E43E
224D80D
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Shou, Z.; Li, Y.; Li, D.; Mo, J.; Zhang, H. Research on Knowledge Tracing-Based Classroom Network Characteristic Learning Engagement and Temporal-Spatial Feature Fusion. Electronics 2024, 13, 1454. https://doi.org/10.3390/electronics13081454

AMA Style

Shou Z, Li Y, Li D, Mo J, Zhang H. Research on Knowledge Tracing-Based Classroom Network Characteristic Learning Engagement and Temporal-Spatial Feature Fusion. Electronics. 2024; 13(8):1454. https://doi.org/10.3390/electronics13081454

Chicago/Turabian Style

Shou, Zhaoyu, Yihong Li, Dongxu Li, Jianwen Mo, and Huibing Zhang. 2024. "Research on Knowledge Tracing-Based Classroom Network Characteristic Learning Engagement and Temporal-Spatial Feature Fusion" Electronics 13, no. 8: 1454. https://doi.org/10.3390/electronics13081454

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop