Factorization Models for Forecasting Student Performance

Nguyen Thai-Nghe, Tomás Horváth, Lars Schmidt-Thieme

Introduction

Predicting Student Performance (PSP) is a critical task in educational data mining, focused on determining whether a student will correctly answer a specific exercise. Traditionally, this has been treated as a classification or regression problem. However, learning is inherently sequential; as students practice, their knowledge accumulates and their performance ideally improves.

While Matrix Factorization (MF) techniques—the technology behind recommendation systems like Netflix—have been applied to PSP by treating students as 'users' and tasks as 'items,' these models often ignore the temporal dimension. They treat every interaction as an independent event, failing to account for the 'learning curve.' This paper aims to bridge this gap by incorporating temporal effects directly into the factorization process using tensors.

Methodology: Tensor Factorization

The authors propose a novel approach based on Three-Mode Tensor Factorization. While a standard matrix has two dimensions (Student × Task), a tensor adds a third: Time. This allows the model to capture the evolution of a student's knowledge.

Conceptual framework for predicting student performance using tensor factorization.

Two primary models were developed:

  • TFMAF (Tensor Factorization - Moving Average Forecasting): This model uses a moving average of a student's previous performances within a specific 'history length' ($L$). It combines the latent factors of the student and the task with a temporal component to predict the next outcome.
  • TFF (Tensor Factorization Forecasting): An evolution of TFMAF that incorporates the latent factors of the previously solved tasks in the sequence. This acknowledges that performance on a new task is influenced by the specific skills exercised in the recent past.

Both models incorporate 'Biased Terms' to account for general student proficiency and task difficulty, and are optimized using Stochastic Gradient Descent (SGD) to minimize Root Mean Squared Error (RMSE).

Datasets and Experimental Setup

The study utilized two massive real-world datasets from the KDD Cup 2010 challenge: Algebra 2008-2009 (~8.9 million training instances) and Bridge to Algebra 2008-2009 (~20 million training instances). These datasets track interactions between students and an intelligent tutoring system, where the target variable is the 'Correct First Attempt' (CFA).

Key Insights: Learning as a Trajectory

A key insight of this research is that student performance data is not just a sparse matrix; it is a trajectory. Visualizing the data reveals a clear upward trend in performance as students progress through problem sequences, justifying the use of forecasting techniques.

Performance trend in the Bridge to Algebra dataset.

One of the primary advantages of factorization is its ability to encode implicit latent factors, such as 'slip' (making a mistake despite knowing the answer) and 'guess' (getting the answer right without knowing it), without requiring explicit metadata. The effectiveness of simple moving average techniques within the tensor framework suggests that even basic temporal awareness significantly boosts model performance in educational contexts.

Results and Performance

The proposed tensor models consistently outperformed both traditional baselines and standard Matrix Factorization:

  • Accuracy: On the Algebra dataset, the TFF model achieved an RMSE of 0.30159, outperforming standard Knowledge Tracing (0.30561) and MF (~0.315). Similar gains were observed on the Bridge dataset, where TFF hit an RMSE of 0.28700.
  • Computational Trade-off: While TFF is more accurate, it is computationally expensive. Training TFF on the Algebra dataset took roughly 15 hours, compared to just 16 minutes for standard MF. However, this is often acceptable in educational settings where models do not require instantaneous updates.

Conclusion and Future Work

By combining recommendation system techniques with time-series forecasting, the authors successfully captured the sequential nature of learning. Future work will explore more sophisticated forecasting methods, such as Holt-Winters exponential smoothing, to better capture complex learning trends and personalize the 'history length' for different types of learners.

Summary updated

BibTeX
@inproceedings{thainghe2011factorization,
  author = {Nguyen Thai-Nghe and Tomás Horváth and Lars Schmidt-Thieme},
  title = {{Factorization Models for Forecasting Student Performance}},
  booktitle = {EDM},
  year = {2011},
}
Figure