Introduction
In Educational Data Mining (EDM), predicting student performance is a foundational task. Traditionally, researchers have treated this as a regression problem, aiming to predict a continuous score and evaluating models using Root Mean Squared Error (RMSE). However, this approach often clashes with the reality of educational data, which is frequently binary (e.g., a student either solves a problem or they do not). This paper proposes reframing student performance prediction as either a classification task using Hinge loss or a ranking task using Bayesian Personalized Ranking (BPR).
Methodology: Matrix Factorization
The authors leverage Matrix Factorization (MF), a technique widely successful in recommender systems. By mapping students ($s$) and problems ($p$) into a shared $k$-dimensional latent feature space, the predicted performance is calculated as the dot product of their respective vectors: $\hat{y}_{sp} := \mathbf{s} \cdot \mathbf{p}^T$.
Two primary optimization frameworks are explored:
- Classification with Smooth Hinge Loss: Optimized for binary outcomes ($+1$ for success, $-1$ for failure), this loss function is better suited for the "pass/fail" nature of many educational datasets than standard squared error.
- Ranking with Bayesian Personalized Ranking (BPR): This method optimizes for the Area Under the ROC Curve (AUC). It treats the problem as a ranking task, learning to distinguish which problems a student is more likely to solve correctly.
Datasets
The study utilizes two large-scale datasets from the KDD Cup 2010 Challenge: Algebra 2008-2009 (8.9 million interactions) and Bridge to Algebra 2008-2009 (20 million interactions). The target variable is "Correct First Attempt" (CFA), a binary indicator of success.
Key Results
Classification Performance
The experiments demonstrate that choosing a loss function aligned with the data type is critical. When evaluated on Hinge Loss, the Matrix Factorization model optimized specifically for classification consistently outperformed the traditional RMSE-based approach.
Ranking and the Importance of Negative Data
In the ranking context, the authors found that the definition of the training set is paramount. Specifically, models that explicitly contrast "solved" problems against "failed" problems ($BPR^{+/-}$) significantly outperformed those that only compared solved problems against all others ($BPR^+$), including unobserved tasks.
The results indicate that while including unobserved tasks ($BPR^{+/-/?}$) provides a slight benefit, the most significant performance gain comes from distinguishing between a student's failure and a lack of interaction.
Conclusion
This research highlights that the "default" choice of RMSE in EDM is often suboptimal for binary performance data. By adopting classification and ranking objectives through Matrix Factorization, models can achieve higher precision. These techniques offer a powerful way to model student-task interactions even without extensive metadata, providing a robust foundation for personalized learning systems. Future work may involve addressing the "cold start" problem for new students and integrating these methods with temporal models like Knowledge Tracing.
Summary updated