Evaluating the Explainers: Black-Box Explainable Machine Learning for Student Success Prediction in MOOCs

Vinitra Swamy, Bahar Radmehr, Natasa Krco, Mirko Marras, Tanja Käser

Introduction

In the landscape of Massive Open Online Courses (MOOCs), predicting student success is a critical component for providing timely support and reducing high dropout rates. While deep learning architectures, such as Bidirectional Long Short-Term Memory (BiLSTM) networks, have achieved remarkable accuracy in forecasting student outcomes, they operate as "black boxes." For an educator, a simple prediction of failure is insufficient; understanding the underlying reasons—whether due to poor engagement, lack of regularity, or difficulty with specific materials—is essential for effective intervention. This research evaluates five state-of-the-art explainability (XAI) methods to determine if they provide consistent and pedagogically sound insights into student behavior.

Methodology

The study establishes a comprehensive pipeline to compare five popular instance-based XAI methods, categorized into two primary approaches:

  1. Feature Attribution: This includes LIME (Local Interpretable Model-agnostic Explanations), which uses local linear approximations, and two variants of SHAP (KernelSHAP and PermutationSHAP), which are based on cooperative game theory.
  2. Counterfactual Explanations: This includes CEM (Contrastive Explanation Method), which identifies "pertinent negatives" and "pertinent positives," and DiCE (Diverse Counterfactual Explanations), which seeks the minimal feature changes required to flip a model's prediction.

These methods were applied to BiLSTM models trained on time-series student behavior data. To evaluate the reliability of these explainers, the researchers employed four quantitative metrics: Principal Component Analysis (PCA) for visualization of explanation clusters, Spearman’s Rank Correlation for feature ranking consistency, Jensen-Shannon Distance for distribution similarity, and a novel Prerequisite Validation technique. The latter uses a course’s known pedagogical structure to verify if explainers correctly identify that engagement in a prerequisite week (e.g., Week 4) is a significant predictor for success in a dependent week (e.g., Week 5).

Data and Features

The researchers utilized log data from five MOOCs hosted by EPFL between 2013 and 2015, spanning diverse subjects such as Digital Signal Processing and African Cities. The initial dataset of approximately 76,000 students was refined to 20,000 to focus on those who engaged beyond the initial dropout phase. The models utilized 42 behavioral features per week, categorized into:

  • Regularity: Consistency of study habits.
  • Engagement: Frequency of clicks and views.
  • Control: Video navigation patterns (e.g., pausing, rewinding).
  • Participation: Attendance in quizzes and video sessions.

Key Findings: The "Explainer Effect"

The most significant discovery of the study is the existence of the "Explainer Effect." PCA analysis revealed that explanations clustered more tightly by the XAI method used than by the course content. This suggests that the choice of explainer may impose its own internal logic on the results, potentially overshadowing the actual student data. For example, LIME consistently produced sparse, outlier results that focused almost exclusively on the final weeks of a course, ignoring early-course behavior entirely.

Conversely, KernelSHAP and PermutationSHAP demonstrated high correlation, suggesting a degree of stability within SHAP-based methods. However, the general lack of consensus between LIME, SHAP, and counterfactual methods like DiCE poses a challenge for practitioners: different methods may suggest entirely different reasons for a student's predicted failure.

Results and Performance

The underlying BiLSTM models performed exceptionally well, with Balanced Accuracy (BAC) scores ranging from 90.9% to 97.4% across all five courses. Despite this high predictive power, the XAI methods showed significant quantitative disagreement. Spearman correlations between LIME and other methods were frequently near zero, indicating a total lack of consensus on feature importance rankings. While "Participation" features (such as quiz attempts) were generally flagged as important across the board, the specific weights and temporal importance assigned to these features varied wildly between explainers.

In terms of pedagogical alignment, the explainers were partially successful in detecting prerequisite relationships. They could recognize that behavior in a prerequisite week influenced the following week's success, but they struggled to capture long-term dependencies within the curriculum.

Discussion and Limitations

The study highlights several critical limitations in current XAI applications for education:

  • Architecture Specificity: The findings are based on BiLSTMs; other architectures might interact differently with these explainers.
  • Feature Scope: The reliance on behavioral logs (clicks/time) without including performance data (e.g., midterm scores) may limit the depth of the "story" told by the explainers.
  • The Ground Truth Problem: Without a definitive "correct" explanation for student behavior, it is difficult to validate which XAI method is most accurate.

Conclusion

The research serves as a cautionary tale for the deployment of XAI in educational settings. The choice of an explanation method is not a neutral technical decision; it is a high-stakes choice that can fundamentally alter how educators perceive and intervene in student learning. The authors advocate for a "human-in-the-loop" approach, where educators and pedagogical experts are involved in evaluating the utility and accuracy of these explanations to ensure they align with real-world educational needs.

Summary updated

BibTeX
@inproceedings{swamy2022evaluating,
  author = {Vinitra Swamy and Bahar Radmehr and Natasa Krco and Mirko Marras and Tanja Käser},
  title = {{Evaluating the Explainers: Black-Box Explainable Machine Learning for Student Success Prediction in MOOCs}},
  booktitle = {EDM},
  year = {2022},
  url = {https://openreview.net/forum?id=71OQtvKSzo},
}
Figure