Efficient Feature Embeddings for Student Classification with Variational Auto-encoders

Severin Klingler, Rafael Wampfler, Tanja Käser, Barbara Solenthaler, Markus H. Gross

Introduction

In Educational Data Mining (EDM), researchers often face a "data paradox": digital learning platforms generate vast amounts of unlabeled interaction logs, but the labels of interest—such as learning disabilities or engagement levels—are scarce, expensive, and time-consuming to collect. Standard supervised learning struggles with these small, imbalanced datasets, and traditional feature engineering is labor-intensive. This paper introduces a semi-supervised learning pipeline that uses Variational Auto-encoders (VAEs) to automatically learn compact mathematical representations (embeddings) from unlabeled data, making classification significantly more effective even with few labeled examples.

Methodology

The proposed semi-supervised pipeline consists of three main stages: unsupervised feature learning, feature selection, and supervised classification.

The semi-supervised classification pipeline, illustrating the transition from unsupervised feature learning on unlabeled data to supervised classification on labeled data.

Unsupervised Feature Learning

The core of the approach involves training a VAE on a large unlabeled dataset. The researchers compared two distinct architectures:

  • S-SAE (Simple): A standard fully connected VAE.
  • CNN-SAE (Advanced): An asymmetric architecture where the encoder uses 1D convolutions to capture local statistics in student snapshots, and the decoder uses Long Short-Term Memory (LSTM) units to reconstruct the temporal sequence of student actions.
Comparison of the Simple student auto-encoder (S-SAE) and the CNN student auto-encoder (CNN-SAE) architectures.

Feature Selection and Classification

Not all latent dimensions are equally useful. The authors use the Kullback-Leibler (KL) divergence of each latent dimension as a proxy for informativeness, retaining only the dimensions that deviate most from the prior distribution. Finally, the trained encoder transforms small labeled datasets into these embeddings, which are then used to train standard classifiers (Logistic Regression, Naive Bayes, SVM).

Experimental Setup

The study utilized data from Calcularis, an intelligent tutoring system for mathematical learning.

  • Unlabeled Dataset: Interaction logs from 7,229 children used for VAE training.
  • Labeled Datasets: A balanced set of 83 participants (50/50 split for dyscalculia) and an imbalanced set of 155 children (5% dyscalculia prevalence).
  • Features: 50-dimensional snapshots representing timing and response data across five mathematical tasks.

Key Results

The asymmetric CNN-SAE architecture significantly outperformed the simple fully connected version, suggesting that while convolutions are effective for snapshot feature extraction, recurrent layers are better suited for reconstructing temporal learning processes.

  • Performance Gains: On the imbalanced dataset, CNN-SAE embeddings improved the Area Under the Curve (AUC) for Logistic Regression by 28% compared to raw features. On the balanced set, the improvement was 7.5%.
  • Robustness: The VAE approach consistently outperformed traditional techniques like PCA and remained effective even when the training set was reduced to just 10% of the available labeled data.
  • Handling Imbalance: The pipeline proved much more robust to the 5% prevalence rate in the imbalanced set, where traditional SVMs often failed by predicting only the majority class.

Conclusion

This work demonstrates that deep generative models can effectively overcome the "small data" bottleneck in education by leveraging large-scale unlabeled interaction data. By automatically learning predictive behavioral markers, the VAE-based pipeline outperforms expert-optimized features. Future research will focus on handling missing data and improving the interpretability of the learned latent dimensions to better understand the specific student behaviors they represent.

Summary updated

BibTeX
@inproceedings{klingler2017efficient,
  author = {Severin Klingler and Rafael Wampfler and Tanja Käser and Barbara Solenthaler and Markus H. Gross},
  title = {{Efficient Feature Embeddings for Student Classification with Variational Auto-encoders}},
  booktitle = {EDM},
  year = {2017},
}
Figure