Academic Performance Estimation with Attention-based Graph Convolutional Networks

Qian Hu, Huzefa Rangwala

TL;DR

Predicting student grades is crucial for academic advising, but traditional machine learning models ignore the complex, web-like prerequisite structures of university degrees. This paper introduces an Attention-based Graph Convolutional Network (ACGN) that models a student's course history as a graph to predict future grades. Not only does it outperform existing methods, but its attention mechanism also highlights exactly which past courses are dragging a student down, making its predictions highly interpretable for academic advisors.

What Problem Does This Paper Address?

Universities want to identify at-risk students early to improve retention and graduation rates (which currently sit around 80% and 60% respectively in the US). To do this, institutions need accurate models to predict how a student will perform in future courses based on their past grades.

Historically, researchers used static models (like linear regression or matrix factorization) or sequential models (like LSTMs). However, university degree programs aren't just simple sequences; they are complex, flexible networks of prerequisites and co-requisites. A student's knowledge state depends on a web of prior classes. Furthermore, if an AI system flags a student as "at-risk," academic advisors need to know why in order to intervene effectively. Traditional black-box models fail to provide this crucial interpretability, making it hard for stakeholders to trust the system.

Methods

The authors propose an Attention-based Graph Convolutional Network (ACGN) to capture the non-linear evolution of a student's knowledge. Here is how the architecture works:

  • Graph Construction: Instead of treating a student's transcript as a flat vector, the model builds a personalized graph for each student. Nodes represent prior courses taken, and node features are the grades received. Edges connect courses taken in one semester to courses taken in the subsequent semester.
  • Graph Convolutional Network (GCN): Multiple GCN layers aggregate information from neighboring nodes. The first layer looks at the immediate past semester, the second layer looks two semesters back, and so on. This creates a graph-level embedding that represents the student's current, holistic knowledge state.
  • Attention Mechanism: This is the interpretability engine. Before making a final prediction for a target course, an attention layer assigns weights to the embeddings of prior courses. It learns which historical courses are actually relevant to the target course.
  • Prediction: The weighted embeddings are pooled and passed through a multi-layer perceptron (MLP) to predict the final grade.

Datasets

The model was trained and evaluated on a massive, proprietary real-world dataset from George Mason University, covering Fall 2009 to Spring 2018.

  • The study focuses on the five largest majors: Computer Science (CS), Electrical and Computer Engineering (ECE), Biology (BIOL), Psychology (PSYC), and Civil Engineering (CEIE).
  • The evaluation simulates real-world deployment by training on historical data and testing on the two most recent semesters (Fall 2017 and Spring 2018). Each test set contains over 21,000 students and roughly 190,000+ individual grade records.

Key Insights and Ideas

  • Architecture should match reality: The more closely a model's architecture mimics the actual structure of a degree program, the better it performs. Graph models generally beat sequential models, which in turn beat static models.
  • Major structure dictates model choice: The graph model excelled in majors with deep, complex prerequisite chains (like Computer Science). However, in majors with "shallower" prerequisite structures (like Civil Engineering), simpler sequential models (LSTMs) actually performed slightly better, proving that graph complexity isn't always necessary if the underlying data isn't highly networked.
  • Attention equals explainability: The attention mechanism successfully acts as an automated diagnostic tool. In the paper's case studies, the model accurately flagged students who were going to fail a target course specifically because they had skipped a vital prerequisite or barely passed a foundational math class several semesters prior.

Key Results

  • Grade Prediction Accuracy: ACGN achieved the lowest Mean Absolute Error (MAE) in 8 out of the 10 evaluated major/semester combinations, outperforming baselines like Matrix Factorization, LSTMs, and MLPs. For example, in the CS Fall 2017 dataset, ACGN achieved an MAE of 0.540, compared to the LSTM's 0.582.
  • Tick Accuracy: The paper uses "Percentage of Tick Accuracy" (PTA) to measure how many letter-grade steps (e.g., B to B+ is one tick) the prediction is off by. ACGN consistently achieved the highest exact-match accuracy (PTA0), beating the worst baseline by up to 13%.
  • At-Risk Detection: Identifying students who will score below a 2.0 (C grade) is notoriously difficult due to class imbalance. ACGN and LSTM dominated this task. In the CS Fall 2017 dataset, ACGN achieved an F1-score of 0.516 for at-risk detection, vastly outperforming static models (e.g., Matrix Factorization at 0.385).

Limitations and Future Work

The authors do not include a dedicated "Limitations" section, but the results reveal a clear constraint: the GCN approach is most beneficial for academic programs with highly complex, deep prerequisite structures. For programs with flatter hierarchies, the added computational complexity of a graph network does not yield better results than a standard LSTM.

While the authors don't explicitly outline future work, the natural next step implied by their research is integrating this interpretable model into live, student-facing advising dashboards to test its real-world impact on graduation and retention rates.

Summary updated

BibTeX
@inproceedings{hu2019academic,
  author = {Qian Hu and Huzefa Rangwala},
  title = {{Academic Performance Estimation with Attention-based Graph Convolutional Networks}},
  booktitle = {EDM},
  year = {2019},
  url = {https://openreview.net/forum?id=V_OKMS81zC},
}

Loading related content...

Figure