Introduction
Choosing the right courses is a high-stakes balancing act for university students. While personal interest is a primary driver, understanding potential performance is crucial for maintaining a healthy GPA and optimizing the learning experience. Traditional grade prediction models often focus on "calendar terms"—predicting grades for all students in a specific semester like Fall 2023. However, this approach overlooks the fact that a freshman in their first semester and a senior in their last semester face vastly different challenges, even within the same calendar year.
This paper introduces a machine learning framework that specializes in program terms (e.g., a student's 3rd semester) rather than calendar dates. By focusing on where a student is in their academic journey, the model better accounts for the specific sequence and difficulty progression of a degree program.
Methods
The researchers proposed two primary models to handle the complexity of student-course data:
- Factorization Machines (FM): Unlike standard linear regression, which examines features individually, FM captures "2-way interactions." It models how a specific type of student interacts with a specific type of course, rather than just looking at student GPA and course difficulty in isolation.
- LSTM-FM: This hybrid model employs a Bidirectional Long Short-Term Memory (Bi-LSTM) network to process a student's historical sequence of grades. This "memory" of past performance is then integrated into an interaction layer along with current student and course attributes.
Features are categorized into four groups: static student/course data (e.g., major, discipline), dynamic student data (e.g., cumulative GPA, academic load), dynamic course data (e.g., instructor ID, previous cohort grade distribution), and interaction features (e.g., timing of the course relative to peers).
Dataset and Experimental Setup
The study utilized a real-world dataset from an autonomous university in Singapore, spanning four consecutive cohorts (2011–2014) within a single degree program. The dataset included 618 students, 691 courses, and 19,655 "dyads" (individual student-course grade instances). The university's 12-point grading scale (A+ to F) was mapped to a 0.0–4.3 numeric scale for regression analysis.
Key Results and Insights
The performance was evaluated using Mean Absolute Error (MAE). The best-performing FM model achieved an MAE of 0.425, meaning predictions were typically within one "step" of the actual grade (e.g., the difference between a B and a B+).
Key findings include:
- Program Term Superiority: Training models based on the student's journey (e.g., Term 3) provides a more consistent data distribution than calendar-based training.
- Interaction Power: FM models consistently outperformed linear regression, confirming that grade prediction relies heavily on the synergy between student profiles and course characteristics.
- Error Stabilization: As shown in the results, prediction error was highest in the first two terms due to a lack of historical data but stabilized by Term 5 as more student history became available.
- Cold Start Robustness: The models remained accurate for new courses by leveraging the course's discipline and level.
Conclusion
While the model performs well, challenges remain in predicting grades for brand-new students (Term 1) due to the absence of academic history. Future work aims to incorporate Natural Language Processing (NLP) for course descriptions and Knowledge Graphs to model prerequisite relationships, further refining the accuracy of next-term predictions.
Summary updated