Next Article in Journal
Who Fails and Why: Student Trajectories and Early Prediction of Performance in an Introductory Programming Course
Previous Article in Journal
Innovative Feed Solutions for Paracentrotus lividus (Lamarck, 1816) Farming: Exploiting Fish and Vegetable By-Products for Sustainable Aquaculture
Previous Article in Special Issue
Bigger Isn’t Always Better: Choosing the Right Size Large Language Model for Locally Hosted School Settings
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Academic Trajectory Graphs for Temporal Modelling of Student Academic Progression

by
Ghaidaa Ali Ahmed
1,
José Luis Ávila-Jiménez
2,*,
Mohammed Ibrahim Al-Twijri
3 and
Sebastián Ventura
1,*
1
Department of Computer Science and Artificial Intelligence, University of Córdoba, 14014 Córdoba, Spain
2
Department of Electronic and Computers Engineering, University of Córdoba, 14014 Córdoba, Spain
3
Faculty of Computing and Information Technology, King Abdulaziz University, Jeddah 21589, Saudi Arabia
*
Authors to whom correspondence should be addressed.
Appl. Sci. 2026, 16(11), 5642; https://doi.org/10.3390/app16115642
Submission received: 4 May 2026 / Revised: 25 May 2026 / Accepted: 30 May 2026 / Published: 4 June 2026
(This article belongs to the Special Issue Innovative Applications of Artificial Intelligence in Education)

Abstract

Accurate prediction of student success is important for improving retention and supporting academic decision-making. This study investigates the use of Graph Neural Networks (GNNs) for modelling academic progression across 13 university faculties, focusing on how structured trajectory representations can capture temporal and relational dependencies in student records. Conventional machine learning approaches frequently rely on aggregated tabular indicators, which may obscure the temporal ordering and relational structure of academic trajectories. We propose a graph-based representation, termed the Academic Trajectory Graph (ATG), which encodes semester-to-semester course transitions and temporal relationships between enrollments. To evaluate its effectiveness, graph-based approaches (DGCNN, GCN, and node2vec-based embeddings) are compared with conventional machine learning models trained on aggregated tabular indicators. Experimental results show that aggregated academic indicators provide strong predictive performance, confirming the importance of cumulative progression signals. Among the graph-based approaches, DGCNN achieved the most consistent performance across faculties, reaching AUC values up to 0.988, accuracy up to 0.945, and F1-scores above 0.94 in several faculties. Although traditional tabular models generally achieved the strongest overall predictive performance, the ATG preserves temporal and relational information that is not captured by flat feature vectors, enabling trajectory-level analysis of academic pathways. The results indicate that graph-based trajectory modelling may provide additional structural insights in faculties exhibiting heterogeneous academic progression patterns, while offering competitive predictive performance. These findings highlight both the potential and the limitations of graph-based approaches for modelling structured educational data, suggesting that their effectiveness depends on the structural diversity of the underlying academic domain.

1. Introduction

In higher education, understanding student academic progression is an important institutional challenge. Universities seek to analyse academic pathways and identify factors associated with different academic outcomes in order to improve advising strategies and student support. Predicting student success has therefore become an important research topic in educational data mining and learning analytics, as it enables institutions to analyse progression patterns and better understand factors related to academic performance and retention. Recent OECD reports indicate that student attrition and delayed completion remain significant challenges in tertiary education systems across OECD countries [1].
Academic programs typically consist of sequences of courses taken across multiple semesters. However, most predictive approaches treat student records as independent observations summarised as aggregated indicators such as grades, number of completed courses, or cumulative performance measures. While informative, these indicators ignore the structural and temporal nature of academic progression. Students do not simply accumulate credits: they follow pathways, repeat courses, change workload across semesters, and combine subjects in ways that may influence later outcomes. These trajectory patterns may contain predictive information that is not captured by flat feature vectors. Since student achievement in prior semesters may impact future enrollment decisions, prerequisite completion, course repetition, and workload distribution, academic advancement is intrinsically sequential. However, the ability of standard tabular models to clearly describe course sequencing and semester-to-semester transitions is limited since they summarise academic history into fixed-length feature vectors. As a result, significant developmental trends that could influence future academic results may go unnoticed.
Graph-based modelling offers a natural representation for such structured educational data. Graph Neural Networks (GNNs) are capable of learning from relational dependencies and sequential interactions and have been successfully applied to domains involving complex structured data [2,3]. Graph-based models can simultaneously capture temporal transitions and relational dependencies within academic trajectories, unlike sequential approaches such as RNNs or LSTMs, which primarily model linear ordered sequences. GNNs provide a flexible representation framework for modelling academic progression because student development frequently involves irregular pathways, repeated courses, co-enrollment relationships, and varied enrollment patterns. In the educational context, students and courses form an interconnected system in which relationships between successive enrollments can influence later performance. Modelling these relationships may therefore provide additional predictive signal beyond conventional tabular representations.
In this work, we introduce the Academic Trajectory Graph (ATG), a graph-based representation designed to capture semester-to-semester course transitions and temporal relationships between enrollments within academic records. Rather than focusing solely on final academic indicators, the ATG models how students progress through the curriculum. In contrast to traditional graph-based educational representations that generally depend on static student-course relationships, the proposed ATG integrates temporal progression directly into the graph construction process. Unlike prior educational graph representations based on static bipartite student-course interactions, the ATG explicitly models semester-to-semester transitions as directed relational structures, enabling the representation of progression dynamics within a unified graph framework. This trajectory-aware representation allows learning models to capture dynamic academic pathways across semesters and evaluate whether relational progression patterns provide predictive information beyond conventional tabular features. We evaluate whether this structure provides useful predictive information for student success prediction and analyse the types of academic pathways associated with different outcomes.
This paper is structured as follows. We first review prior work on student success prediction and educational data mining. Next, we describe the dataset, the proposed ATG, and the graph-based predictive modelling framework. We then present the experimental setup and evaluation methodology, followed by an analysis of the experimental results and their implications for academic analytics and student support.

2. Related Work

Recommendation systems have garnered significant interest in educational environments due to their potential to support academic decision-making, improve student satisfaction, and optimise enrollment strategies. Data mining and artificial intelligence approaches have shown promise in assisting students with course selection and academic planning [4]. These systems are closely related to student success prediction, as both research areas aim to model academic progression, enrollment behaviour, and trajectory patterns across semesters.
In the broader field of Educational Data Mining, predictive analytics is commonly used to support early academic guidance and intervention policies. In many institutional settings, student performance prediction has traditionally been formulated as a supervised learning problem over tabular data, where each student is represented through aggregated academic and demographic attributes such as GPA history, credit load, and enrollment information. Classical machine learning models, including logistic regression, decision trees, random forests, and multilayer perceptrons, have demonstrated strong performance in this context due to the structured nature of educational records [5]. However, these approaches typically treat observations as independent samples and compress a student’s academic history into fixed-length feature vectors, which may obscure temporal dependencies, progression dynamics across semesters, and relationships between courses. As a result, trajectory-level patterns associated with academic outcomes may remain difficult to capture using conventional tabular representations.
The following section reviews representative approaches to course recommendation and student success prediction in educational data mining and learning analytics.
In [6], the C2C (Course to Choose) group recommendation model is introduced, utilising students’ collective interests and group characteristics to generate individual recommendations. In addition, the work of [7] designs a personalised online education platform that enhances course recommendation accuracy and efficiency by improving collaborative filtering through an enhanced algorithm, offering pre-recorded and interactive live teaching options. [8] implemented sequential pattern mining to identify course sequences followed by high-achieving students, considering factors such as enrollment percentages, time to graduation, and course requirements. A similar approach was adopted in [9], recommending courses based on predicted learning outcomes for each student. These recommendation-oriented approaches highlight the importance of modelling academic progression and enrollment behaviour. However, many of them focus primarily on recommendation accuracy rather than explicitly representing the structural evolution of academic trajectories across semesters.
Deep learning has been widely used in recommendation systems. For example, in [10], the authors introduce a novel deep neural network method for e-learning platforms, effectively combining synchronous sequences and heterogeneous features to improve the accuracy of course recommendations amidst a surge in online educational resources.
The UniNet method [11], for instance, employs deep learning to advise on course order, combination, and quantity. Ref. [12] focused on aligning course recommendations with students’ backgrounds and preferences, particularly considering their best-performing courses. Clustering algorithms have also been utilised to group students for similarity-based recommendations, as in [13]. Graph representation has been previously used in recommendation systems in educational contexts. For example, ref.  [14] proposes a method for developing a recommendation system for e-learning, utilising a knowledge model that combines ontology and a two-layer knowledge graph (Rela-KG) to enhance student access to online learning resources in IT courses.
Graph-based approaches attempt to address the limitations of tabular models by representing educational data as relational structures. In such representations, students, courses, and semesters are interconnected entities rather than independent records. Learning outcomes may therefore depend not only on individual attributes but also on course ordering and progression pathways across semesters. These relational and temporal dependencies are difficult to capture through aggregated tabular features because they require modelling interactions and transitions over time. Recent work on temporal graph learning and dynamic relational modelling further suggests that graph-based representations may provide useful mechanisms for capturing evolving dependencies in sequential systems [15,16].
In addition, Graph Neural Networks have been used in educational recommendation scenarios; for example, in [17], the authors prepared a Top-N personalised Recommendation with Graph Neural Networks (TP-GNN) in the Massive Open Online Course (MOOCs) as a solution to tackle this problem. It explored two different aggregate functions to handle the user’s sequence neighbours, then used an attention mechanism to generate the final item representations. Furthermore, ref. [18] proposed the Meta-Relationship Course Recommendation (MRCRec) to enrich the expression of relational information, which focused on complex semantic information of multi-entity relationships and entity association. It constructed a two-graph structure called the multi-entity relational self-symmetric meta-path (MSMP) and associative relational self-symmetric meta-graph (ASMG), which are referred to as meta-relationship (MR).
Additionally, in this domain, GNNs have been extensively used for predicting student performance. In [19], the authors propose a novel pipeline for student performance prediction based on multi-topology graph neural networks (MTGNNs). This work designed an MTGNN module for semi-supervised node classification, where each node represents a student and its label corresponds to the student’s performance. This work demonstrated the effectiveness of GNNs in handling complex educational data and providing accurate predictions.
Finally, the work of [20] arranged a grade prediction model based on a graph neural network. This model was applied to the Ningbo Xiaoshi High School dataset and achieved high accuracy in predicting the grades of senior high school students. This study illustrated how GNNs managed educational data and generated accurate predictions.
Previous studies have already demonstrated the potential of graph-based learning for modelling relational educational data and student performance prediction. Therefore, the objective of this work is to investigate how a temporally structured student-level representation performs across heterogeneous real-world curricula, compared with strong tabular baselines.
In this work, ATG models academic progression as a directed temporal graph that captures semester-level course transitions within a unified relational structure. Rather than introducing a fundamentally new graph-learning paradigm, the proposed representation aims to preserve the sequential structure of academic progression and evaluate whether trajectory-aware relational information provides complementary insights beyond conventional tabular representations across heterogeneous curricular settings.

3. Materials and Methods

The proposed approach represents each student’s trajectory as a directed graph using the ATG representation, facilitating the analysis of both individual and group academic behaviour. Building on this foundation, this work introduces three graph-based approaches for analysing academic progression patterns: DGCNN, which focuses on hierarchical structural extraction; GCN, which incorporates attention mechanisms to weight relational neighbourhood information; and a random-walk-based approach using node2vec embeddings to capture global structural similarities among trajectories. These models generate embedded representations of each student’s ATG, which are subsequently processed through a fully connected neural network to predict the likelihood of success for a given academic trajectory.
This Section begins by detailing the construction of the ATG student and outlining the data and relationships between the subjects it encapsulates. Subsequently, the internal structures and characteristics of the proposed models are explored, highlighting their features and underlying mechanisms.

3.1. Graph Construction

ATGs are constructed from semester-wise course data, enabling the encapsulation of both the temporal sequence and the interconnections among the courses taken by a student. A separate ATG is constructed for each individual student. The data for each student are sorted chronologically by semester in order to arrange the courses in the order they were taken. The sorted data is divided by unique semester dates to segregate the courses into individual semesters. An iteration is performed over each student’s semesters. For each pair of consecutive semesters, we identify the courses taken in each semester. Figure 1 illustrates an example ATG where nodes correspond to course instances and edges capture transitions between consecutive semesters.
A directed edge is created between every pair of courses where the source course is from the current semester, and the target course is from the next semester. This process effectively models the transition of a student from one course to another between consecutive semesters. The resulting graph for each student is a temporal network in which nodes correspond to courses and directed edges represent the sequential order of courses across semesters.
Each course instance is represented as a distinct node for a specific semester, so the same course taken in different semesters appears as distinct nodes in the graph.
Each edge from course A to course B signifies that the course A was taken in a semester before course B. By constructing the graph in this manner, we maintain the chronological progression of a student’s academic journey.
Although courses belonging to the same semester become implicitly related through shared transitions toward subsequent semesters, the current ATG implementation does not explicitly incorporate intra-semester co-enrollment edges.
The current ATG formulation intentionally focuses on modelling semester-level temporal transitions through a relatively simple directed graph structure. More complex edge semantics, such as weighted prerequisite dependencies or grade-aware relationships, are left for future extensions of the framework.
Each node i is associated with a feature vector x i . Course node features are numeric descriptors derived from institutional metadata, including credit hours and timetable-related weights (day-of-week and time-of-day indicators when available). In addition, a single student node is included per graph and is represented using structural summary features such as the number of enrollments, the number of unique courses, and the number of observed semesters. To enable processing with homogeneous GNN libraries, student and course nodes are embedded in a common feature space by padding missing attributes with zeros, yielding a feature matrix X R N × F . The selected node attributes were intentionally kept relatively simple in order to evaluate the contribution of the trajectory-aware graph structure itself, rather than relying on extensive feature engineering.
Only information available up to semester t is used as input. No grades, cumulative GPA, or performance indicators from any future semester are included in the node features. This prevents information leakage during training and evaluation.
A collection of ATGs is produced during the graph-building process, one for each student. These graphs serve as the foundational data structures for our deep learning models that predict student performance based on their academic trajectory. The prediction task consists of estimating the success label ( G P A > 4 ) from the observed academic trajectory. The graph is constructed using only records available up to t, while the label is defined from the final GPA at program completion. The process of constructing the ATG is shown in Algorithm 1.
Algorithm 1 Student ATG Creation
1:
procedure CreateGraph( s t u d e n t _ d a t a )
2:
       s o u r c e s [ ]
3:
       t a r g e t s [ ]
4:
       s t d _ d a t a s o r t ( s t u d e n t _ d a t a ) by s e m e s t e r _ d a t e
5:
       s e m e s t e r s u n i q u e _ e l e m e n t s ( s t d _ d a t a [ s e m e s t e r _ d a t e ] )
6:
       c u r r e n t _ s e m e s t e r f i r s t _ e l e m e n t ( s e m e s t e r s )
7:
      for each n e x t _ s e m e s t e r in s e m e s t e r s starting from second element do
8:
             c o u r s e s _ s e m e s t e r s t d _ d a t a [ s e m e s t e r _ d a t e = c u r r e n t _ s e m e s t e r ]
9:
             c o u r s e s _ n e x t _ s e m s t d _ d a t a [ s e m e s t e r _ d a t e = n e x t _ s e m e s t e r ]
10:
            for each c o u r s e in c o u r s e s _ s e m e s t e r  do
11:
                  for each c o u r s e _ n e x t in c o u r s e s _ n e x t _ s e m  do
12:
                         s o u r c e s . a p p e n d ( c o u r s e )
13:
                         t a r g e t s . a p p e n d ( c o u r s e _ n e x t )
14:
                  end for
15:
            end for
16:
             c u r r e n t _ s e m e s t e r n e x t _ s e m e s t e r
17:
      end for
18:
      return  d i r e c t e d _ g r a p h ( s o u r c e s , t a r g e t s )
19:
end procedure

3.2. Tabular Feature Representation

In addition to the graph-based representation, we construct a conventional tabular representation of each student’s academic history in order to compare relational and non-relational modelling approaches. For each student, records from all semesters up to time t are aggregated into a fixed-length feature vector.
The tabular representation summarises academic progression using cumulative and temporal indicators, including the number of enrolled courses, accumulated credits, semester index, and performance-related measures. This representation corresponds to the standard formulation in educational data mining, where each student is treated as an independent instance described by aggregated academic attributes.
Unlike the Academic Trajectory Graph, this representation does not explicitly preserve the relationships between courses or the ordering of transitions between semesters. It therefore serves as a baseline to evaluate whether modelling academic trajectories as relational structures provides additional predictive information beyond aggregated features.

3.3. DGCNN Model

In this work, a Deep Graph Convolutional Neural Network (DGCNN) [21] is employed to learn structural representations from graph-structured academic trajectories. DGCNN is particularly suitable for modelling relational educational data because it can capture structural dependencies and progression patterns within the proposed Academic Trajectory Graph (ATG). Figure 2 illustrates the overall architecture of the proposed framework.
Let A denote the adjacency matrix of the graph and X the node-feature matrix. A graph convolutional layer can be expressed as
H = F ( D 1 2 A D 1 2 X W )
where D is the degree matrix, W represents the learnable weights, and F is the activation function. The model stacks four graph convolutional layers, allowing node representations to iteratively aggregate structural information from neighbouring nodes and progressively learn higher-level trajectory patterns.
After the graph convolution operations, a SortPooling layer [22] is applied to transform graphs with variable numbers of nodes into fixed-size representations suitable for subsequent convolutional processing. The SortPooling operation retains the most informative node representations and produces a fixed-size matrix for each graph, enabling the extraction of both local and global structural patterns.
Following the graph convolution and SortPooling operations, the resulting graph representations are processed using stacked 1D convolutional and pooling layers to extract local structural features and reduce dimensionality. These operations also help preserve permutation invariance with respect to node ordering in the graph representation.
The extracted representations are subsequently flattened and passed through a Dense layer with 128 units and a rectified linear unit (ReLU) activation function. A dropout layer is employed as a regularisation mechanism to reduce overfitting. The final classification layer consists of a Dense layer with a sigmoid activation function [23], producing the probability that a student belongs to the “good” academic performance category, defined as achieving a GPA greater than 4.
The fully connected classification layers are shared across all three proposed graph-based models, while the primary distinction between them lies in the mechanism used to generate the ATG embeddings.

3.4. Graph Convolutional Network (GCN) Model

In the second model, Graph Convolutional Networks (GCNs) [24] are employed.
Consider an ATG characterised by an adjacency matrix A and a node feature matrix X, where each node signifies a course instance (a course undertaken in a particular semester) and each directed edge denotes a temporal transition between successive semesters. A standard GCN layer enhances node representations by aggregating information from adjacent nodes. According to the commonly utilised normalised formulation, the node embedding propagation at layer l can be articulated as
H ( l + 1 ) = σ ( D ˜ 1 2 A ˜ D ˜ 1 2 H ( l ) W ( l ) ) ,
In the ATG, neighbouring nodes correspond to courses taken in adjacent semesters. Therefore, the convolution operation propagates information along the temporal dimension of the academic trajectory. After multiple layers, each node representation encodes not only the course itself but also its context within the student’s prior academic progression. After the convolutional layers, node-level embeddings are obtained. These embeddings are aggregated using a graph-level pooling operation to obtain a trajectory-level representation of the student.
The output of GCNs is a graph-level embedding matrix that encodes information about a student’s knowledge and skills acquired in prior courses. The knowledge acquired from different prior courses has different importance for the target course.
An attention mechanism is incorporated to account for the heterogeneous influence of prior courses within academic trajectories. Since not all previously completed courses contribute equally to future academic performance, the attention layer allows the model to assign different importance weights to neighbouring node representations during trajectory encoding. The attention scores are computed using a learnable function obtained through an MLP, as defined in Equations (3) and 4, where α i represents the attention weight associated with node representation h i .
e i = A T T ( h i )
α i = exp ( e i ) k = 1 N exp ( e k )
Finally, the graph embeddings are weighted by attention scores to form a weighted graph embedding matrix Z (Equation (5)), and the pooling layer adapts the weighted graph embedding matrix into a latent vector v.
Z = α 1 z 1 α i z i α N z N
The embedding vector v is processed by a fully connected neural network, similar to the previous model, which classifies based on features extracted by the preceding layers. The proposed model architecture is shown in Figure 3.

3.5. Random Walks Model

The third proposed approach is based on random walks over the ATG structure to capture global relational patterns within academic trajectories (Figure 4). The embedding generation process is inspired by Graph2Vec [25] and employs Node2Vec [26] to learn low-dimensional node representations from stochastic graph exploration.
In this framework, random walks are performed over the directed ATG structure to generate sequences of connected nodes representing local trajectory contexts. Node2Vec then learns embeddings by modelling co-occurrence relationships between nodes that appear in similar walk contexts, enabling the representation of structural similarities between academic pathways.
The resulting node embeddings are aggregated to obtain a graph-level representation for each student trajectory.
The generated graph embeddings are subsequently processed using the same fully connected classification network employed in the previous models to predict student academic performance.

4. Experimental Setup

4.1. Datasets

This study used datasets including student, course, and teacher features to investigate the factors. This data is applied to the three previously described models. The data was sourced from a subset of students at King Abdul Aziz University in Saudi Arabia as part of a research study examining the correlation between student attributes and academic achievement [27].
The datasets, collected from the university’s system, encompass different faculties, each with varying numbers of students. The data collection was designed to capture information on demographics, academic behaviours, and family backgrounds of both students and teachers. This data can be leveraged to explore the relationship between student characteristics and academic performance.
Since there are 13 departments in this university, 13 datasets were used for the experiments: Faculty of Arts and Humanities, Faculty of Business Rabeg, Faculty of Communication and Media, Faculty of Computing and Information Technology Rabeg, Faculty of Designs and Arts, Faculty of Economics and Administration, Faculty of Engineering, Faculty of Engineering Rabeg, Faculty of Home Economics, Faculty of Information Technology, Faculty of Law, Faculty of Sciences, and Faculty of Sciences and Arts Rabeg.
Each dataset contained a variety of fields about the departments, courses, and students. The number of instances varied across faculties, with the highest being 192,595 for the Faculty of Arts and Humanities and the lowest being 6426 for the Faculty of Engineering Rabeg. Each instance in the dataset represents a specific course taken by a student during a particular semester. Initially collected in numerical, character, and string formats, the data is subsequently converted to integers for further analysis.
Table 1 summarises the main characteristics of the datasets, including the class distribution across faculties. The reported success rates reveal heterogeneous distributions of academic outcomes across curricular settings, which were intentionally preserved in order to evaluate the proposed models under realistic institutional conditions. To ensure methodological consistency across all datasets, missing or incomplete records were removed during preprocessing, and the same preprocessing, feature engineering, and evaluation pipeline was applied across all faculties.
The institutional grading system follows a bounded GPA scale ranging from 0 to 5, where a GPA of 4.0 corresponds to a high academic standing (approximately equivalent to a B+/A− grade level). Therefore, the success label does not represent graduation or completion, but rather sustained high academic performance. The selected threshold was used as a consistent and interpretable criterion across faculties in order to distinguish between different levels of academic achievement within a unified prediction setting.
The proportion of successful students varies substantially across faculties, ranging from approximately 25% to nearly 90%. This variability reflects differences in grading practices, cohort characteristics, and curriculum difficulty, and motivates the use of class-imbalance-robust evaluation metrics such as balanced accuracy, MCC, and PR-AUC To ensure methodological consistency across all datasets, missing or incomplete academic records were removed during preprocessing. In addition, the same preprocessing, feature engineering, and evaluation pipeline was applied across all faculties to reduce institutional variability and maintain comparability between curricular settings.
We formulate the task as a binary classification problem rather than GPA regression in order to distinguish different levels of academic performance while maintaining a simplified and interpretable prediction setting for academic progression analysis.
The tests have been carried out using 10-fold cross-validation across all datasets. To prevent information leakage, cross-validation is performed at the student level. All records for a given student were assigned to a single fold, ensuring that no student appeared in both the training and testing sets within a given iteration. For each faculty dataset, a 10-fold cross-validation procedure is applied. Furthermore, a new model instance is initialised for every fold and trained from scratch. No parameters were carried over between folds, and all preprocessing steps were fitted using only the training partition and subsequently applied to the corresponding test partition.

4.2. Performance Metrics

In this work, several classification metrics were used to evaluate model performance under both balanced and imbalanced class distributions. The primary metrics included accuracy, precision, recall, F1-score, balanced accuracy, Matthews Correlation Coefficient (MCC), ROC-AUC, and PR-AUC. The inclusion of MCC, balanced accuracy, ROC-AUC, and PR-AUC was intended to provide a more robust evaluation in faculties exhibiting heterogeneous class distributions, where accuracy and F1-score alone may produce overly optimistic interpretations.
Accuracy measures the proportion of correctly classified instances:
Accuracy = T P + T N T P + T N + F P + F N
Precision and recall are defined as follows:
Precision = T P T P + F P
Recall = T P T P + F N
The F1-score corresponds to the harmonic mean of precision and recall:
F 1 = 2 × Precision × Recall Precision + Recall
Balanced accuracy compensates for class imbalance by averaging recall across both classes:
Balanced Accuracy = 1 2 T P T P + F N + T N T N + F P
The Matthews Correlation Coefficient (MCC) provides a robust single-score evaluation by considering all entries of the confusion matrix:
MCC = T P × T N F P × F N ( T P + F P ) ( T P + F N ) ( T N + F P ) ( T N + F N )
In addition, ROC-AUC and PR-AUC were used to evaluate discriminative performance independently of a fixed decision threshold:
AUC = 0 1 T P R ( F P R ) d ( F P R )
PR - AUC = 0 1 Precision ( Recall ) d ( Recall )
Collectively, these metrics provide a comprehensive evaluation framework for assessing predictive performance under heterogeneous class distributions and varying decision thresholds. In particular, balanced accuracy, MCC, and PR-AUC help reduce the risk of misleading performance estimates in faculties exhibiting substantial class imbalance.

4.3. Parameter Setup

The hyperparameter tuning process involved adjusting the number of neurons, activation functions, dropout rates, and optimisation settings for each model. The final hyperparameter configuration was selected through preliminary exploratory experiments aimed at obtaining stable training behaviour across faculties while maintaining manageable computational cost. To ensure comparability between curricular settings, the same hyperparameter configuration was applied across all faculties.
All neural network-based models were optimised using the Adam optimiser [28] with a learning rate of 0.001 and binary cross-entropy loss. Model selection was performed using early stopping based on validation loss, restoring the best weights obtained during training. Training was carried out using mini-batches of size 50 for graph-based models and 32 for tabular neural networks, with a validation split of 10% within each cross-validation fold.
The fully connected classification network shared across the proposed graph-based approaches consisted of dense layers with ReLU activations [29], dropout regularisation, and a final sigmoid output layer [23] producing the probability associated with the binary academic success label.
For the Deep Graph Convolutional Neural Network (DGCNN), the graph convolutional block used four convolutional layers with sizes [32, 32, 32, 1], followed by a SortPooling layer with k = 35 nodes and two 1D convolutional layers with 16 and 32 filters, respectively. The resulting representations were processed through dense layers with dropout regularisation. The model was trained for up to 150 epochs using early stopping with patience 10.
The attention-based graph convolution model employed two graph attention layers with 32 hidden units and four attention heads per layer, ELU activation functions, and dropout regularisation. Node embeddings were aggregated through mean pooling to obtain graph-level trajectory representations, which were subsequently classified using the shared fully connected network. The model was trained for up to 150 epochs with early stopping (patience 20).
For the random walk baseline, node embeddings were generated using a node2vec strategy with random walks of length 8 and five walks per node. A skip-gram Word2Vec model was trained with an embedding dimension of 128 and a context window size of 10. Graph-level embeddings were obtained by averaging node embeddings within each trajectory graph and subsequently processed using a multilayer perceptron with dropout regularisation and sigmoid output classification. The model was trained using Adam optimisation with early stopping.
All preprocessing, graph construction, and embedding generation procedures were recomputed independently inside each cross-validation fold using only training students and subsequently applied to the corresponding test students, ensuring a fully leakage-free evaluation protocol.
All source code used to construct the Academic Trajectory Graph, train the models, and reproduce the experiments is publicly available in an open repository [30].

4.4. Tabular Machine Learning Baselines

To provide a fair comparison with non-graph approaches, we constructed a student-level tabular representation derived from the same academic records used to build the ATGs. For each student, historical features were aggregated across all semesters prior to the last observed semester in order to avoid information leakage. The extracted attributes included the number of completed courses, the number of attended semesters, ratios of passed and failed courses, historical average grade, attempted and passed credits, and available demographic and admission information (e.g., age, high-school GPA, admission year, and program). The prediction label is defined from the final cumulative GPA, while features were computed only from preceding academic history.
The tabular baselines and the graph-based models, therefore, use different representations of the same underlying academic history. While the tabular models operate on aggregated descriptors summarising cumulative student performance, the graph-based approaches use the ATG. Consequently, the comparison evaluates different representational paradigms rather than identical feature spaces.
Prior to model training, numerical attributes were standardised using z-score normalisation, and categorical attributes were encoded using one-hot encoding. All preprocessing operations were fit exclusively on the training split within each fold and then applied to the corresponding test split.
We evaluated several conventional baselines, including Logistic Regression (max iterations = 2000), a linear Support Vector Machine with probabilistic outputs, and a Random Forest classifier with 500 trees. In addition, a multilayer perceptron (MLP) is implemented as a neural network baseline. The MLP consisted of three fully connected layers of 32 neurons with ReLU activation followed by a 1024-unit dense layer, each regularised with dropout (rate 0.2), and a sigmoid output layer. The network is trained using the Adam optimiser (learning rate 0.0005), binary cross-entropy loss, batch size 32, and 150 training epochs.
All tabular baselines were evaluated using the same 10-fold student-level cross-validation protocol as the graph-based models. Hyperparameter tuning for the traditional machine learning baselines was conducted under the same validation strategy and experimental conditions adopted for the proposed graph-based approaches in order to ensure fair comparison across all evaluated models.

5. Results and Discussion

All models were evaluated using student-level 10-fold cross-validation across the 13 faculties. Results are reported as the mean ± standard deviation and include accuracy, AUC, F1-score, balanced accuracy, MCC, and PR-AUC. These metrics were selected to provide a robust evaluation under potential class imbalance.
Table 2, Table 3 and Table 4 present the detailed performance of the graph-based models for each faculty. Overall, DGCNN achieved the strongest and most consistent performance among the graph-based approaches across most faculties, whereas GCN showed higher variability and noticeably weaker results in several cases. Random Walks/node2vec exhibited moderate performance but with substantial variability across faculties. To complement the descriptive comparison of predictive metrics, a statistical comparison based on Friedman and Nemenyi tests is presented in Section 5.1 to assess whether the observed differences between models are statistically significant across faculties.
Performance variability across faculties is observed for all models, suggesting that the predictive difficulty depends on faculty-specific characteristics (e.g., cohort size, class balance, and curriculum structure). In particular, Engineering yields lower performance for multiple approaches, indicating that this faculty may present more challenging or less separable patterns under the current feature representation. Some faculties also exhibit relatively large standard deviations across cross-validation folds, particularly for MCC and balanced metrics. This behaviour is more pronounced in faculties with smaller cohort sizes and stronger class imbalance, where small changes in the train/test partition can substantially affect the learned decision boundaries. Consequently, faculty-level results should be interpreted cautiously, and the main conclusions of the study are based on the overall behaviour observed across faculties and the aggregated statistical analysis. These results reinforce the importance of using imbalance-aware metrics when evaluating predictive performance across heterogeneous curricular settings.
A plausible explanation is that the usefulness of graph-based learning depends on the structural diversity of academic pathways within each faculty. Graph neural networks rely on neighborhood message passing to learn discriminative representations; when many students follow highly standardized curricula with nearly identical semester-by-semester course sequences, their local trajectory subgraphs become structurally similar and provide limited additional signal beyond aggregated performance indicators. Conversely, in faculties with more elective flexibility and heterogeneous progression patterns, the ATG captures richer relational variation (e.g., alternative course orders, repeated courses, and different temporal course transitions patterns), which can provide additional discriminative information.
In addition, several faculties also exhibit substantial class imbalance, which affects the interpretation of some performance metrics. In highly imbalanced cases such as Home Economics, some models achieve very high recall while simultaneously obtaining low MCC and balanced accuracy values, indicating a tendency toward majority-class prediction behaviour.
The baseline results (Table 5) show that traditional models achieve strong predictive performance across most metrics, indicating that aggregated academic indicators, particularly those related to cumulative academic progression, capture a substantial portion of the predictive signal.
Academic success prediction is strongly influenced by prior academic performance. Consequently, models based on aggregated tabular features achieve high predictive accuracy. Indicators such as completed credits, course load, and historical performance summarise the student’s accumulated academic state and are naturally correlated with final outcomes. For this reason, the strong performance of Logistic Regression, Support Vector Machines, Random Forests, and multilayer perceptrons is expected and does not contradict the usefulness of the proposed representation.
However, aggregated representations remove structural information contained in academic records. When student histories are converted into fixed-length feature vectors, the ordering of courses, semester-to-semester transitions, course repetitions, and, in general, temporal relationships are not preserved. Students with similar cumulative statistics may therefore follow substantially different academic pathways. These structural properties cannot be analysed using flat tabular representations even when predictive performance is high. While this does not necessarily translate into large improvements in predictive accuracy, it enables the analysis of trajectory-level patterns that are not accessible through aggregated representations.
The ATG is specifically designed to capture this missing structural and temporal information, enabling the modelling of academic progression beyond static summaries. The ATG preserves the progression of the curriculum and allows learning algorithms to capture relational dependencies between successive enrollments by representing courses as temporally connected nodes. Rather than describing only the student’s academic state, the representation describes the student’s academic progression. The graph-based models, therefore, exploit a complementary source of information to that used by conventional tabular predictors.
This distinction clarifies the interpretation of the experimental results. The ATG complements tabular predictors by modelling aspects of academic structure that cannot be represented through aggregated features. While cumulative performance is highly predictive of final success, understanding how students progress through a curriculum requires modelling course sequences and transitions. The ATG enables the identification of pathway patterns, atypical progressions, and sequential variations in academic pathways, which are not accessible from flat feature vectors.
The benefit of the representation depends on the diversity of academic trajectories. In curricula where most students follow nearly identical course sequences, the relational structure adds limited predictive information beyond accumulated performance, and tabular models may be sufficient. Conversely, in programs with flexible enrollment choices, varied course combinations, or frequent course repetition, trajectory structure becomes more informative and graph-based modelling becomes more valuable.
The main contribution of this work lies in providing a structured representation that enables the analysis of sequential and relational patterns in real-world data. The ATG provides a reusable, structured framework for analysing academic pathways while maintaining competitive predictive performance. Beyond final outcome prediction, the representation provides a structured framework for analysing academic progression patterns and trajectory variability, offering potential value for educational analytics and curriculum-level analysis.
Despite these advantages, the proposed approach also presents limitations. When curricula follow highly standardised and nearly identical course sequences, most students share very similar structural patterns. In such settings, the relational structure provides limited additional information beyond aggregated performance indicators, and simpler tabular models may already capture the dominant predictive signals. Therefore, the benefit of the ATG representation depends on the diversity of academic trajectories present in the dataset.
In addition, graph construction and graph-based learning introduce higher computational complexity than conventional tabular approaches, particularly when processing large-scale academic records and multiple trajectory graphs. Although the proposed framework remained computationally feasible for the evaluated faculties, scalability may become more challenging in larger institutional settings or when incorporating richer relational information. Furthermore, the experiments were conducted using datasets from a single institutional environment. Additional external validation across universities with different curricular structures and academic regulations would be necessary to further assess the generalizability of the proposed representation.

5.1. Statistical Analysis

The statistical significance of differences among the evaluated methods is assessed using the Friedman test [31]. The analysis is performed across the 13 faculties using the student-level cross-validation protocol, with AUC as the primary performance indicator and including both the proposed graph-based models and tabular baselines.
The Friedman statistic is 37.57 with a p-value of 1.36 × 10 6 , which is well below the significance level of 0.05 . Consequently, the null hypothesis ( H 0 ) that all models have equivalent performance is rejected, indicating that at least one method differs significantly from the others.
The average ranks obtained by the compared methods were shown in Table 6. Lower rank values indicate better performance. These results show that classical tabular models achieve the best overall predictive performance, while graph-based methods exhibit architecture-dependent performance while still providing structural information not captured by aggregated baselines.
The Nemenyi post hoc test [31] is subsequently applied to determine which pairs of algorithms differ significantly. The results, shown in Figure 5 and Table 7, indicate that SVM and Logistic Regression significantly outperform node2vec (p = 0.0026 and p = 0.0187, respectively) and GCN (p = 0.001 for both). The MLP also significantly outperforms GCN (p = 0.010). In contrast, the differences among the tabular methods themselves are not statistically significant.
Importantly, DGCNN does not significantly differ from the strongest tabular baselines (p > 0.05), although it ranks worse on average. This indicates that while graph-based learning does not consistently improve pointwise classification accuracy, it remains competitive with several traditional machine learning approaches.
Overall, the statistical analysis supports the interpretation that the primary contribution of the proposed approach is representational: the ATG-based models capture relational and temporal information not available in aggregated feature vectors, enabling trajectory-level analysis while maintaining competitive predictive performance.

5.2. Trajectory Diversity Analysis

To evaluate the analytical value of the ATG, we quantified the structural diversity of academic trajectories across faculties. Table 8 summarises several trajectory-level statistics derived directly from the ATG representation.
The results show that most faculties exhibit a very high number of unique trajectory signatures, with normalised trajectory diversity values ranging from 0.88 to 0.99. In addition, the dominant trajectory pattern represents only a very small fraction of students in most faculties. These findings indicate that academic progression is highly heterogeneous rather than concentrated around a small number of fixed curricular pathways.
The average pairwise semester-level Jaccard distance between trajectories is also relatively high across most faculties, reaching values above 0.70 in several cases. This suggests that students frequently differ not only in the courses they complete, but also in the temporal ordering and semester-level organisation of their enrollments.
These observations provide quantitative evidence that the ATG captures substantial structural variability in academic progression. While conventional tabular models achieve stronger predictive performance for final outcome classification, aggregated feature vectors discard this trajectory-level information because they summarise academic history into fixed-length indicators. In contrast, the ATG preserves sequential and relational properties of student progression, enabling structural analyses that are not directly accessible through tabular representations.
The quantitative diversity analysis demonstrates that academic trajectories are highly heterogeneous across faculties. In addition to this global characterisation, the ATG representation also enables a qualitative analysis of individual academic pathways, which is not possible using aggregated tabular features. Figure 6, Figure 7 and Figure 8 show examples of student trajectories represented as graphs.
Figure 6 corresponds to a student with high academic performance. The trajectory shows a relatively coherent sequence of courses across semesters, with consistent progression and stable course load. In contrast, Figure 7 and Figure 8 correspond to students with lower final GPA. Although some courses overlap, their trajectories differ in the early semesters, where course selection and progression patterns diverge.
These examples illustrate that students with similar final outcomes may follow structurally different academic pathways, and conversely, students with superficially similar course sets may differ in the ordering and transitions between semesters. Such structural differences cannot be captured by flat feature vectors, since tabular representations discard ordering and relational dependencies between courses.
Therefore, beyond predictive performance, the ATG provides an interpretable representation of academic progression. This facilitates the identification of trajectory patterns, atypical course sequences, and structural variations in academic pathways, supporting educational analysis and academic advising.

6. Conclusions and Future Work

This study presented a structured representation of Graph Neural Networks (GNNs) for predicting student success across various faculties by introducing the Academic Trajectory Graph (ATG), an approach that explicitly models semester-to-semester temporal course transitions. Rather than focusing solely on predictive accuracy, the proposed framework emphasises the importance of preserving structural and temporal information in academic records.
The tested models leverage the unique capability of GNNs to learn from complex relational structures in educational data, demonstrating strong performance in terms of accuracy, AUC, precision, and recall across most faculties. However, comparison with conventional tabular baselines shows that aggregated academic indicators already provide a strong predictive signal, indicating that the primary contribution of the ATG lies not only in prediction but in representing academic progression as a structured process. The statistical analysis indicates that DGCNN achieved the strongest overall performance among the graph-based approaches, while GCN obtained lower average rankings across faculties.
However, the performance of the models is not uniform across all faculties, emphasising that predicting academic outcomes is not a one-size-fits-all task. Each faculty exhibits distinctive characteristics, challenges, and data distributions that must be considered when designing predictive models. In particular, faculties with more constrained curricula and highly standardised academic pathways show smaller benefits from relational modelling, whereas heterogeneous trajectories provide richer structural information that can be exploited by graph representations. Additionally, some faculties exhibit substantial class imbalance, which may affect model stability and contribute to majority-class prediction behaviour in certain cases. While the proposed approach establishes a structured foundation for analysing academic progression, further refinement and customisation are necessary to address faculty-specific characteristics and improve robustness across diverse academic contexts. The present study does not incorporate imbalance-aware optimisation strategies such as class weighting, focal loss, or resampling techniques. Future work should investigate whether these approaches improve robustness and stability in faculties exhibiting strong class imbalance.
Scalability and faculty-specific biases also present important challenges for future research. As the models are expanded to larger and more diverse datasets, differences in data quality, feature distributions, grading standards, and institutional policies may introduce systematic biases that impact fairness and generalizability. In addition, the present study is based on data from a single institution, which limits the external validity of the reported results despite the heterogeneity observed across the 13 evaluated faculties. Cross-institutional validation will therefore be necessary to assess the robustness and transferability of the proposed representation under different academic structures and educational contexts. Mitigating these issues will require robust normalisation and bias-correction strategies to ensure equitable model performance across academic domains.
Graph-based approaches also introduce higher computational complexity than conventional tabular models due to graph construction, message passing operations, and increased memory requirements during training. This represents an additional trade-off of the proposed representation, where richer structural modelling is obtained at the expense of higher computational cost. Future work should therefore investigate more scalable architectures and optimisation strategies for large-scale educational datasets.
Beyond prediction, the ATG provides a reusable data structure for analysing academic pathways. Because trajectories are explicitly represented, the framework facilitates the study of progression patterns, atypical course sequences, and structural variations in academic pathways, supporting educational analytics, academic advising, and curriculum-level analysis.
Accordingly, course recommendation should be interpreted as a potential downstream application enabled by the predictive framework, and not as a system evaluated within the scope of this study.
Moreover, incorporating dynamic graph structures could enable models to capture temporal evolutions in student interactions and academic behaviours, providing a more realistic representation of the learning environment. Future work will therefore focus not only on improving predictive models but also on leveraging the ATG representation for longitudinal analysis of student progression and curriculum structure. Finally, cross-institutional validation would offer a valuable benchmark for evaluating model transferability and robustness, paving the way for scalable and generalizable student success prediction systems. Future research may also explore temporal graph neural networks and explainable AI techniques to improve the interpretability of trajectory-level predictions and better understand the relational factors associated with academic progression [32,33].

Author Contributions

Conceptualization, J.L.Á.-J., S.V. and G.A.A.; methodology, J.L.Á.-J. and S.V.; software, G.A.A.; validation, G.A.A., J.L.Á.-J. and M.I.A.-T.; formal analysis, G.A.A. and M.I.A.-T.; investigation, G.A.A.; data curation, G.A.A.; writing—original draft preparation, J.L.Á.-J. and G.A.A.; writing—review and editing, J.L.Á.-J., S.V. and G.A.A.; visualization, J.L.Á.-J., G.A.A. and M.I.A.-T.; supervision, S.V.; project administration, S.V. All authors have read and agreed to the published version of the manuscript.

Funding

This work has been supported by the Spanish Ministry of Science, Innovation and Universities, project PID2023-148396NB-I00.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The dataset used in this study are available on request from the corresponding author. The data are not publicly available due to privacy restrictions and institutional regulations.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
ATGAcademic Trajectory Graph
GNNGraph Neural Network
GCNGraph Convolutional Network
DGCNNDeep Graph Convolutional Neural Network
AUCArea Under the Curve
PR-AUCArea Under the Precision–Recall Curve
MCCMatthews Correlation Coefficient
MLPMultilayer Perceptron
SVMSupport Vector Machine

References

  1. OECD. Education at a Glance 2025; OECD Publishing: Paris, France, 2025. [Google Scholar]
  2. Hu, W.; Fey, M.; Zitnik, M.; Dong, Y.; Ren, H.; Liu, B.; Catasta, M.; Leskovec, J. Open graph benchmark: Datasets for machine learning on graphs. Adv. Neural Inf. Process. Syst. 2020, 33, 22118–22133. [Google Scholar]
  3. Thomas, J.M.; Moallemy-Oureh, A.; Beddar-Wiesing, S.; Holzhüter, C. Graph Neural Networks Designed for Different Graph Types: A Survey. arXiv 2023, arXiv:2204.03080. [Google Scholar] [CrossRef]
  4. Cha, S.; Loeser, M.; Seo, K. The Impact of AI-Based Course-Recommender System on Students’ Course-Selection Decision-Making Process. Appl. Sci. 2024, 14, 3672. [Google Scholar] [CrossRef]
  5. Salah Hashim, A.; Akeel Awadh, W.; Khalaf Hamoud, A. Student performance prediction model based on supervised machine learning algorithms. In Proceedings of the IOP Conference Series: Materials Science and Engineering; IOP Publishing: Bristol, UK, 2020; Volume 928, p. 032019. [Google Scholar]
  6. Resnick, P.; Iacovou, N.; Suchak, M.; Bergstrom, P.; Riedl, J. Grouplens: An open architecture for collaborative filtering of netnews. In Proceedings of the 1994 ACM Conference on Computer Supported Cooperative Work; Association for Computing Machinery: New York, NY, USA, 1994; pp. 175–186. [Google Scholar]
  7. Zhu, Q. Network course recommendation system based on double-layer attention mechanism. Sci. Program. 2021, 2021, 7613511. [Google Scholar] [CrossRef]
  8. Wang, R.; Zaïane, O.R. Sequence-Based Approaches to Course Recommender Systems. In Proceedings of the Database and Expert Systems Applications; Hartmann, S., Ma, H., Hameurlain, A., Pernul, G., Wagner, R.R., Eds.; Springer International Publishing: Cham, Switzerland, 2018; pp. 35–50. [Google Scholar]
  9. Nguyen, H.Q.; Pham, T.T.; Vo, V.; Vo, B.; Quan, T. The predictive modeling for learning student results based on sequential rules. Int. J. Innov. Comput. Inf. Control 2018, 14, 2129–2140. [Google Scholar] [CrossRef]
  10. Safarov, F.; Kutlimuratov, A.; Abdusalomov, A.B.; Nasimov, R.; Cho, Y.I. Deep Learning Recommendations of E-Education Based on Clustering and Sequence. Electronics 2023, 12, 809. [Google Scholar] [CrossRef]
  11. Volk, N.A.; Rojas, G.; Vitali, M.V. UniNet: Next Term Course Recommendation using Deep Learning. In Proceedings of the 2020 International Conference on Advanced Computer Science and Information Systems (ICACSIS), Depok, Indonesia, 17–18 October 2020; pp. 377–380. [Google Scholar] [CrossRef]
  12. Britto, J.; Prabhu, S.; Gawali, A.; Jadhav, Y. A Machine Learning Based Approach for Recommending Courses at Graduate Level. In Proceedings of the 2019 International Conference on Smart Systems and Inventive Technology (ICSSIT), Tirunelveli, India, 27–29 November 2019; pp. 117–121. [Google Scholar] [CrossRef]
  13. Sankhe, V.; Shah, J.; Paranjape, T.; Shankarmani, R. Skill Based Course Recommendation System. In Proceedings of the 2020 IEEE International Conference on Computing, Power and Communication Technologies (GUCON), Greater Noida, India, 2–4 October 2020; pp. 573–576. [Google Scholar] [CrossRef]
  14. Nguyen, H.; Truong, D.; Vu, S.; Nguyen, D.; Nguyen, H.; Tran, N. Knowledge Management for Information Querying System in Education via the Combination of Rela-Ops Model and Knowledge Graph. J. Cases Inf. Technol. 2023, 25, 1–17. [Google Scholar] [CrossRef]
  15. Huang, Q.; Chen, J. Enhancing academic performance prediction with temporal graph neural networks. J. Big Data 2024, 11, 52. [Google Scholar] [CrossRef]
  16. Longa, A.; Lachi, V.; Santin, G.; Bianchini, M.; Lepri, B.; Lio, P.; Scarselli, F.; Passerini, A. Graph Neural Networks for Temporal Graphs: State of the Art, Open Challenges, and Opportunities. arXiv 2023, arXiv:2302.01018. [Google Scholar] [CrossRef]
  17. Wang, J.; Xie, H.; Wang, F.L.; Lee, L.K.; Au, O.T.S. Top-N personalized recommendation with graph neural networks in MOOCs. Comput. Educ. Artif. Intell. 2021, 2, 100010. [Google Scholar] [CrossRef]
  18. Hao, P.; Li, Y.; Bai, C. Meta-relationship for course recommendation in MOOCs. Multimed. Syst. 2023, 29, 235–246. [Google Scholar] [CrossRef]
  19. Li, M.; Wang, X.; Wang, Y.; Chen, Y.; Chen, Y. Study-GNN: A Novel Pipeline for Student Performance Prediction Based on Multi-Topology Graph Neural Networks. Sustainability 2022, 14, 7965. [Google Scholar] [CrossRef]
  20. Yu, Y.; Fan, J.; Xian, Y.; Wang, Z. Graph Neural Network for Senior High Student’s Grade Prediction. Appl. Sci. 2022, 12, 3881. [Google Scholar] [CrossRef]
  21. Zhou, Y.; Huo, H.; Hou, Z.; Bu, F. A deep graph convolutional neural network architecture for graph classification. PLoS ONE 2023, 18, e0279604. [Google Scholar] [CrossRef]
  22. Chen, Y.; Gel, Y.R. Topological Pooling on Graphs. arXiv 2023, arXiv:2303.14543. [Google Scholar] [CrossRef]
  23. Pratiwi, H.; Windarto, A.P.; Susliansyah, S.; Aria, R.R.; Susilowati, S.; Rahayu, L.K.; Fitriani, Y.; Merdekawati, A.; Rahadjeng, I.R. Sigmoid activation function in selecting the best model of artificial neural networks. In Proceedings of the Journal of Physics: Conference Series; IOP Publishing: Bristol, UK, 2020; Volume 1471, p. 012010. [Google Scholar]
  24. Hu, Q.; Rangwala, H. Academic performance estimation with attention-based graph convolutional networks. arXiv 2019, arXiv:2001.00632. [Google Scholar] [CrossRef]
  25. Narayanan, A.; Chandramohan, M.; Venkatesan, R.; Chen, L.; Liu, Y.; Jaiswal, S. graph2vec: Learning Distributed Representations of Graphs. arXiv 2017, arXiv:1707.05005. [Google Scholar] [CrossRef]
  26. Johnson, S.J.; Murty, M.R.; Navakanth, I. A Detailed Review on Word Embedding Techniques with Emphasis on Word2Vec. Multimed. Tools Appl. 2024, 83, 37979–38007. [Google Scholar] [CrossRef]
  27. Al-Twijri, M.I.; Luna, J.M.; Herrera, F.; Ventura, S. Course recommendation based on sequences: An evolutionary search of emerging sequential patterns. Cogn. Comput. 2022, 14, 1474–1495. [Google Scholar] [CrossRef]
  28. Kingma, D.P.; Ba, J. Adam: A Method for Stochastic Optimization. In Proceedings of the ICLR (Poster); Bengio, Y., LeCun, Y., Eds.; arXiv: Ithaca, NY, USA, 2015. [Google Scholar]
  29. Schmidhuber, J. Deep learning in neural networks: An overview. Neural Netw. 2015, 61, 85–117. [Google Scholar] [CrossRef]
  30. Avila-Jimenez, J.L. ATG_PeerJ: Academic Trajectory Graph for Student Success Prediction. Code Accompanying the Paper “Academic Trajectory Graphs: A Graph-Based Representation for Student Success Prediction3”. 2026. Available online: https://github.com/jlavilaj/ATG_Implementation/releases/tag/ATG.V.1.1 (accessed on 29 May 2026).
  31. Demšar, J. Statistical comparisons of classifiers over multiple data sets. J. Mach. Learn. Res. 2006, 7, 1–30. [Google Scholar]
  32. Boujmiraz, S.; Darhmaoui, H.; Drissi El Maliani, A. Predicting student performance: A comprehensive review of machine learning, deep learning, and explainable AI approaches. Comput. Educ. Artif. Intell. 2026, 7, 100548. [Google Scholar] [CrossRef]
  33. Tang, J.; Xia, L.; Huang, C. Explainable Spatio-Temporal Graph Neural Networks. In Proceedings of the 32nd ACM International Conference on Information and Knowledge Management; Association for Computing Machinery: New York, NY, USA, 2023; pp. 2432–2441. [Google Scholar] [CrossRef]
Figure 1. Example of ATG with subjects from two semesters.
Figure 1. Example of ATG with subjects from two semesters.
Applsci 16 05642 g001
Figure 2. Structure of the proposed model.
Figure 2. Structure of the proposed model.
Applsci 16 05642 g002
Figure 3. Graph Convolutional Network Model.
Figure 3. Graph Convolutional Network Model.
Applsci 16 05642 g003
Figure 4. Random Walks model.
Figure 4. Random Walks model.
Applsci 16 05642 g004
Figure 5. Critical difference diagram obtained from the Nemenyi post hoc test using AUC across the 13 faculties. Models connected by a horizontal bar are not significantly different at α = 0.05 .
Figure 5. Critical difference diagram obtained from the Nemenyi post hoc test using AUC across the 13 faculties. Models connected by a horizontal bar are not significantly different at α = 0.05 .
Applsci 16 05642 g005
Figure 6. Student itinerary example with G P A = 4.12 , classified as good.
Figure 6. Student itinerary example with G P A = 4.12 , classified as good.
Applsci 16 05642 g006
Figure 7. Student itinerary example with G P A = 3.26 , classified as bad.
Figure 7. Student itinerary example with G P A = 3.26 , classified as bad.
Applsci 16 05642 g007
Figure 8. Student itinerary example with G P A = 2.71 , classified as bad.
Figure 8. Student itinerary example with G P A = 2.71 , classified as bad.
Applsci 16 05642 g008
Table 1. Student distribution and success label (GPA > 4 ) across faculties.
Table 1. Student distribution and success label (GPA > 4 ) across faculties.
FacultyStudentsSuccessfulNon-SuccessfulSuccess Rate (%)
Arts and Humanities192,59477,542113,78440.3
Business Rabeg66,12917,00048,76525.7
Communication & Media23,23011,73411,35450.5
Comp. and IT Rabeg73452939435740.0
Design and Arts91307213186579.0
Economics and Admin.106,57255,46950,59152.1
Engineering21,435942011,66244.0
Engineering Rabeg64252242418334.9
Home Economics27,80824,522310488.2
Information Technology15,5369920545664.0
Law46,52334,15912,01873.4
Sciences100,00139,46359,77639.5
Science and Arts46,66414,82231,54432.0
Table 2. Performance of DGCNN (mean ± standard deviation across 10-fold student-level cross-validation).
Table 2. Performance of DGCNN (mean ± standard deviation across 10-fold student-level cross-validation).
FacultyAcc.AUCPrec.Rec.F1Bal. Acc.MCCPR-AUC
Arts and Humanities 0.923 ± 0.041 0.976 ± 0.020 0.906 ± 0.062 0.863 ± 0.101 0.881 ± 0.066 0.908 ± 0.053 0.828 ± 0.091 0.954 ± 0.037
Business Rabeg 0.937 ± 0.015 0.988 ± 0.005 0.927 ± 0.037 0.925 ± 0.025 0.925 ± 0.016 0.935 ± 0.014 0.871 ± 0.030 0.986 ± 0.006
Communication & Media 0.945 ± 0.020 0.986 ± 0.010 0.897 ± 0.044 0.900 ± 0.075 0.896 ± 0.042 0.930 ± 0.036 0.860 ± 0.055 0.973 ± 0.016
Comp. and IT Rabeg 0.784 ± 0.104 0.850 ± 0.110 0.765 ± 0.177 0.767 ± 0.086 0.755 ± 0.099 0.781 ± 0.093 0.575 ± 0.199 0.835 ± 0.113
Design and Arts 0.779 ± 0.066 0.661 ± 0.153 0.819 ± 0.059 0.932 ± 0.089 0.868 ± 0.046 0.562 ± 0.123 0.116 ± 0.243 0.872 ± 0.087
Economics and Admin. 0.945 ± 0.013 0.988 ± 0.007 0.940 ± 0.027 0.959 ± 0.019 0.949 ± 0.012 0.944 ± 0.014 0.890 ± 0.026 0.991 ± 0.005
Engineering 0.657 ± 0.099 0.709 ± 0.090 0.598 ± 0.243 0.562 ± 0.245 0.564 ± 0.222 0.648 ± 0.102 0.310 ± 0.205 0.661 ± 0.094
Engineering Rabeg 0.679 ± 0.112 0.692 ± 0.188 0.607 ± 0.324 0.400 ± 0.225 0.449 ± 0.216 0.616 ± 0.105 0.279 ± 0.249 0.660 ± 0.182
Home Economics 0.883 ± 0.012 0.796 ± 0.071 0.889 ± 0.006 0.991 ± 0.018 0.937 ± 0.008 0.522 ± 0.039 0.078 ± 0.140 0.968 ± 0.016
Information Technology 0.669 ± 0.065 0.718 ± 0.111 0.728 ± 0.083 0.827 ± 0.167 0.760 ± 0.066 0.602 ± 0.096 0.235 ± 0.188 0.834 ± 0.073
Law 0.865 ± 0.042 0.916 ± 0.035 0.906 ± 0.034 0.913 ± 0.042 0.909 ± 0.029 0.819 ± 0.057 0.646 ± 0.109 0.971 ± 0.013
Sciences 0.913 ± 0.025 0.974 ± 0.012 0.895 ± 0.039 0.895 ± 0.037 0.894 ± 0.029 0.910 ± 0.025 0.821 ± 0.050 0.967 ± 0.014
Science and Arts 0.913 ± 0.027 0.973 ± 0.015 0.894 ± 0.060 0.847 ± 0.089 0.865 ± 0.045 0.896 ± 0.039 0.806 ± 0.061 0.948 ± 0.037
Table 3. Performance of GCN (mean ± standard deviation across 10-fold student-level cross-validation).
Table 3. Performance of GCN (mean ± standard deviation across 10-fold student-level cross-validation).
FacultyAcc.AUCPrec.Rec.F1Bal. Acc.MCCPR-AUC
Arts and Humanities 0.676 ± 0.059 0.775 ± 0.039 0.598 ± 0.067 0.770 ± 0.079 0.675 ± 0.037 0.702 ± 0.041 0.405 ± 0.079 0.727 ± 0.053
Business Rabeg 0.940 ± 0.016 0.984 ± 0.010 0.944 ± 0.056 0.831 ± 0.089 0.895 ± 0.047 0.924 ± 0.032 0.863 ± 0.060 0.972 ± 0.014
Communication & Media 0.755 ± 0.129 0.829 ± 0.121 0.722 ± 0.136 0.750 ± 0.196 0.640 ± 0.135 0.668 ± 0.121 0.386 ± 0.250 0.819 ± 0.142
Comp. and IT Rabeg 0.727 ± 0.104 0.827 ± 0.095 0.703 ± 0.153 0.683 ± 0.200 0.639 ± 0.135 0.686 ± 0.126 0.405 ± 0.304 0.827 ± 0.112
Design and Arts 0.791 ± 0.028 0.626 ± 0.161 0.791 ± 0.028 1.000 ± 0.000 0.869 ± 0.029 0.515 ± 0.063 0.018 ± 0.108 0.858 ± 0.073
Economics and Admin. 0.815 ± 0.021 0.876 ± 0.029 0.799 ± 0.022 0.873 ± 0.034 0.840 ± 0.025 0.821 ± 0.029 0.647 ± 0.056 0.873 ± 0.034
Engineering 0.611 ± 0.056 0.722 ± 0.080 0.618 ± 0.164 0.689 ± 0.236 0.651 ± 0.044 0.592 ± 0.069 0.228 ± 0.165 0.698 ± 0.077
Engineering Rabeg 0.686 ± 0.139 0.719 ± 0.205 0.512 ± 0.217 0.700 ± 0.369 0.597 ± 0.138 0.624 ± 0.158 0.271 ± 0.333 0.688 ± 0.176
Home Economics 0.884 ± 0.005 0.776 ± 0.059 0.884 ± 0.005 1.000 ± 0.000 0.938 ± 0.005 0.519 ± 0.044 0.063 ± 0.147 0.962 ± 0.020
Information Technology 0.651 ± 0.026 0.753 ± 0.092 0.656 ± 0.015 0.978 ± 0.039 0.788 ± 0.018 0.512 ± 0.039 0.032 ± 0.107 0.850 ± 0.069
Law 0.648 ± 0.025 0.729 ± 0.114 0.657 ± 0.017 0.962 ± 0.037 0.783 ± 0.021 0.494 ± 0.018 0.021 ± 0.065 0.822 ± 0.083
Sciences 0.684 ± 0.085 0.779 ± 0.078 0.624 ± 0.126 0.734 ± 0.194 0.680 ± 0.078 0.696 ± 0.083 0.407 ± 0.156 0.693 ± 0.111
Science and Arts 0.724 ± 0.051 0.804 ± 0.054 0.544 ± 0.200 0.580 ± 0.325 0.648 ± 0.047 0.730 ± 0.038 0.460 ± 0.095 0.679 ± 0.079
Table 4. Performance of Random Walks/node2vec (mean ± standard deviation across 10-fold student-level cross-validation).
Table 4. Performance of Random Walks/node2vec (mean ± standard deviation across 10-fold student-level cross-validation).
FacultyAcc.AUCPrec.Rec.F1Bal. Acc.MCCPR-AUC
Arts and Humanities 0.786 ± 0.010 0.839 ± 0.011 0.790 ± 0.033 0.673 ± 0.034 0.742 ± 0.016 0.775 ± 0.017 0.548 ± 0.037 0.816 ± 0.015
Business Rabeg 0.798 ± 0.120 0.840 ± 0.149 0.766 ± 0.169 0.783 ± 0.223 0.729 ± 0.102 0.749 ± 0.108 0.522 ± 0.218 0.829 ± 0.164
Communication & Media 0.784 ± 0.109 0.831 ± 0.125 0.763 ± 0.166 0.783 ± 0.223 0.736 ± 0.080 0.760 ± 0.073 0.546 ± 0.147 0.820 ± 0.147
Comp. and IT Rabeg 0.798 ± 0.095 0.684 ± 0.228 0.835 ± 0.071 0.932 ± 0.081 0.864 ± 0.077 0.591 ± 0.177 0.188 ± 0.368 0.880 ± 0.105
Design and Arts 0.860 ± 0.017 0.913 ± 0.017 0.870 ± 0.016 0.867 ± 0.030 0.866 ± 0.020 0.855 ± 0.016 0.713 ± 0.034 0.925 ± 0.014
Economics and Admin. 0.690 ± 0.086 0.742 ± 0.086 0.763 ± 0.156 0.457 ± 0.212 0.637 ± 0.055 0.646 ± 0.069 0.308 ± 0.136 0.718 ± 0.115
Engineering 0.596 ± 0.104 0.598 ± 0.138 0.317 ± 0.328 0.233 ± 0.251 0.433 ± 0.105 0.467 ± 0.094 0.059 ± 0.203 0.565 ± 0.082
Engineering Rabeg 0.860 ± 0.029 0.796 ± 0.096 0.890 ± 0.019 0.962 ± 0.042 0.934 ± 0.009 0.514 ± 0.040 0.031 ± 0.102 0.971 ± 0.012
Home Economics 0.770 ± 0.117 0.821 ± 0.113 0.819 ± 0.097 0.836 ± 0.112 0.819 ± 0.067 0.676 ± 0.126 0.401 ± 0.254 0.891 ± 0.073
Information Technology 0.780 ± 0.045 0.830 ± 0.038 0.837 ± 0.031 0.875 ± 0.043 0.861 ± 0.027 0.677 ± 0.078 0.401 ± 0.139 0.933 ± 0.014
Law 0.726 ± 0.031 0.784 ± 0.034 0.700 ± 0.057 0.594 ± 0.064 0.664 ± 0.036 0.705 ± 0.035 0.409 ± 0.073 0.736 ± 0.048
Sciences 0.774 ± 0.051 0.824 ± 0.037 0.699 ± 0.119 0.593 ± 0.134 0.623 ± 0.081 0.721 ± 0.054 0.454 ± 0.106 0.723 ± 0.067
Science and Arts 0.786 ± 0.045 0.830 ± 0.028 0.714 ± 0.100 0.627 ± 0.084 0.669 ± 0.077 0.752 ± 0.054 0.512 ± 0.108 0.737 ± 0.052
Table 5. Traditional machine learning baselines trained on aggregated tabular features. Reported values are average across the 13 faculties (mean of per-faculty means ± standard deviation across faculties).
Table 5. Traditional machine learning baselines trained on aggregated tabular features. Reported values are average across the 13 faculties (mean of per-faculty means ± standard deviation across faculties).
ModelAUCF1Bal. Acc.MCCPR-AUC
Logistic Regression 0.944 ± 0.086 0.889 ± 0.130 0.877 ± 0.126 0.773 ± 0.235 0.939 ± 0.107
Linear SVM 0.946 ± 0.089 0.900 ± 0.130 0.884 ± 0.145 0.778 ± 0.287 0.942 ± 0.109
Random Forest 0.938 ± 0.097 0.886 ± 0.138 0.876 ± 0.138 0.759 ± 0.270 0.931 ± 0.121
MLP 0.935 ± 0.077 0.865 ± 0.135 0.857 ± 0.130 0.726 ± 0.245 0.930 ± 0.100
Table 6. Average ranks obtained from the Friedman test using AUC across the 13 faculties (lower is better). The Friedman statistic is 37.5667 with a p-value of 1.36 × 10 6 , leading to rejection of the null hypothesis that all models perform equivalently.
Table 6. Average ranks obtained from the Friedman test using AUC across the 13 faculties (lower is better). The Friedman statistic is 37.5667 with a p-value of 1.36 × 10 6 , leading to rejection of the null hypothesis that all models perform equivalently.
ModelAverage Rank
Linear SVM2.153846
Logistic Regression2.615385
MLP3.230769
Random Forest3.615385
DGCNN4.846154
node2vec5.384615
GCN6.153846
Table 7. Significant pairwise differences detected by the Nemenyi post hoc test ( α = 0.05 ).
Table 7. Significant pairwise differences detected by the Nemenyi post hoc test ( α = 0.05 ).
Model AModel Bp-Value
SVMnode2vec0.0026
SVMGCN0.0010
Logistic Regressionnode2vec0.0187
Logistic RegressionGCN0.0010
MLPGCN0.0101
Random ForestGCN0.0436
Table 8. Trajectory diversity statistics across faculties. The results quantify the structural heterogeneity of academic pathways represented by the ATG.
Table 8. Trajectory diversity statistics across faculties. The results quantify the structural heterogeneity of academic pathways represented by the ATG.
FacultyStudentsUnique TrajectoriesNormalised DiversityAvg. Jaccard Distance
Arts and Humanities389238640.9930.760
Business Rabeg141313560.9600.660
Communication & Media4834750.9830.581
Comp. and IT Rabeg1441270.8820.595
Design and Arts1671610.9640.687
Economics and Administration220621710.9840.724
Engineering3653600.9860.724
Engineering Rabeg102950.9310.696
Home Economics6145870.9560.725
Information Technology2842780.9790.654
Law9469150.9670.460
Sciences192819230.9970.739
Science and Arts Rabeg8938060.9030.756
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

Ahmed, G.A.; Ávila-Jiménez, J.L.; Al-Twijri, M.I.; Ventura, S. Academic Trajectory Graphs for Temporal Modelling of Student Academic Progression. Appl. Sci. 2026, 16, 5642. https://doi.org/10.3390/app16115642

AMA Style

Ahmed GA, Ávila-Jiménez JL, Al-Twijri MI, Ventura S. Academic Trajectory Graphs for Temporal Modelling of Student Academic Progression. Applied Sciences. 2026; 16(11):5642. https://doi.org/10.3390/app16115642

Chicago/Turabian Style

Ahmed, Ghaidaa Ali, José Luis Ávila-Jiménez, Mohammed Ibrahim Al-Twijri, and Sebastián Ventura. 2026. "Academic Trajectory Graphs for Temporal Modelling of Student Academic Progression" Applied Sciences 16, no. 11: 5642. https://doi.org/10.3390/app16115642

APA Style

Ahmed, G. A., Ávila-Jiménez, J. L., Al-Twijri, M. I., & Ventura, S. (2026). Academic Trajectory Graphs for Temporal Modelling of Student Academic Progression. Applied Sciences, 16(11), 5642. https://doi.org/10.3390/app16115642

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