Jointly Predicting Courses and Grades Using a Transformer-Based Model introduces TRACE (TRansformer for Academic Course-grade Estimation), a model designed to predict both the specific courses a student will take and the grades they will earn in an upcoming semester. By treating course selection and academic performance as a joint task, the model accounts for the concurrent nature of a student's course load, which traditional sequential models often overlook.
Addressing Course Concurrency
Existing predictive models in learning analytics frequently treat academic history as a simple, linear sequence. This approach fails to capture the reality that students take multiple courses simultaneously within a single semester, where the combination of courses can influence performance. TRACE addresses this by using semester-level positional encodings. By assigning the same temporal vector to all courses taken within the same term, the model enforces a permutation-invariant representation that reflects the unordered nature of concurrent enrollments while maintaining the temporal order of semesters.
Joint Prediction Architecture
The model uses a Transformer architecture to perform multi-task learning, predicting course sets and grades simultaneously. The author, Paul Savala, notes that this joint approach forces the model to learn more meaningful course representations, similar to how auxiliary tasks improve performance in natural language processing models like BERT. The model utilizes a custom loss function that combines Kullback-Leibler (KL) divergence for course-set prediction and Mean Squared Error (MSE) for grade regression. This design avoids the order artifacts that can occur when using standard token-level cross-entropy for set-valued predictions.
Performance and Results
Trained on ten years of institutional data from over 5,000 students, the TRACE model demonstrated significant improvements in predictive accuracy. The research reports that the joint prediction model reduced mean absolute error by nearly 50% compared to an identical architecture that predicted grades alone. The model also outperformed traditional LSTM-based sequential models and graph neural network-based approaches. These results suggest that incorporating course-set prediction as an auxiliary task is a critical factor in improving the quality of grade predictions.
Practical Considerations
The model is designed to be interpretable and adaptable, allowing institutions to retrain and recalibrate it for new environments. By using label-encoded course names and majors, the model learns latent representations without requiring manual feature engineering, such as identifying prerequisites or course difficulty levels. While the model shows promise for early detection systems in higher education, the author notes that the primary goal of the joint prediction task is to improve the model's internal representation of student academic history rather than to serve as a course recommendation tool for students.
Comments (0)
to join the discussion
No comments yet
Be the first to share your thoughts!