TL;DR
This paper tackles the challenge of automatically analyzing student engagement in real-world classroom settings using facial video analysis. By developing deep learning models for attention and emotion, they achieve promising results in classifying engagement levels, demonstrating that even limited personalized data can significantly boost performance.
What Problem Does This Paper Address?
Student engagement is a critical factor in learning and teaching, but accurately measuring it in a classroom setting is difficult. Traditional methods like self-reports can be unreliable, and human observation is time-consuming and not scalable for large studies. While previous research has focused on engagement analysis in computer-based learning environments, this paper extends these efforts to the complex and dynamic context of a physical classroom. The challenge lies in extracting meaningful engagement cues from noisy, unconstrained video data, often with occlusions and varying camera angles, and developing models that can generalize across students and subjects.
Methods
The authors propose a novel approach that leverages deep learning for feature extraction and various machine learning models for classification.
- Feature Extraction: They developed two deep neural networks:
- Attention-Net: Trained on head pose estimation using the 300W-LP dataset. This network captures visual attention cues.
-
Affect-Net: Trained on facial expression recognition using the AffectNet dataset. This network captures emotional states. Both networks are based on ResNet-50 backbones and are trained to extract "deep embeddings" without requiring precise facial alignment, a significant advantage in real-world classroom scenarios where faces are often not perfectly frontal.
-
Engagement Classification: They experimented with several classifiers on these extracted features:
- Shallow Classifiers: Support Vector Machines (SVM) and Random Forests (RF).
- Deep Neural Networks (DNNs): Multi-Layer Perceptron (MLP) and Long Short-Term Memory (LSTM) for temporal analysis.
- Fusion Strategies: They explored combining features from both Attention-Net and Affect-Net using feature-level and score-level fusion to improve classification performance.
- Personalization: Recognizing that engagement can be highly individual, they investigated the impact of personalization. They used a batch-mode active learning approach, specifically employing the "margin uncertainty" principle to select the most informative 60-second snippets of person-specific data for retraining the engagement classifier.
Datasets
- Training Data for Feature Extractors:
- Attention-Net: 300W-LP dataset for head pose estimation.
- Affect-Net: AffectNet dataset for facial expression recognition.
- Classroom Data for Engagement Analysis:
- Audiovisual recordings of 47 classes from a secondary school in Germany, spanning subjects like Mathematics, Chemistry, Physics, History, etc.
- A subset of 15 students (7 from Grade 8, 8 from Grade 12) were selected for detailed analysis, with continuous engagement labels manually annotated by human raters.
- Self-reported engagement data (involvement, cognitive engagement, situational interest) was also collected from students.
Key Insights and Ideas
- Attention is Key in Classrooms: Attention-based features (head pose) consistently outperformed emotion-based features (facial expressions) in classifying engagement in the classroom setting. This suggests that visual attention is a more robust indicator of engagement in this context, likely due to the nature of classroom activities and potential for students to mask emotions.
- Deep Embeddings Outperform Traditional Methods: The use of deep learning-extracted features (embeddings) proved more effective than traditional methods that rely on precise facial alignment, which is often difficult to achieve in real-world classroom videos.
- Personalization is Powerful: Even a small amount of personalized data (60 seconds) significantly improves engagement classification performance, highlighting the importance of individual differences in engagement patterns.
- Margin Uncertainty is an Effective Selection Strategy: Using margin uncertainty to select personalized data is an efficient way to achieve substantial performance gains, making personalization more practical.
- Fusion Offers Marginal Gains: While fusion strategies (combining attention and affect features) provided some improvement, the gains were often marginal, suggesting that one modality might be dominant or that the features are somewhat redundant.
Key Results
- Best Person-Independent Performance: The best performing engagement classifiers achieved Area Under the ROC Curve (AUROC) scores of .620 for Grade 8 and .719 for Grade 12, primarily using Attention-Net features with RF and LSTM classifiers.
- Personalization Impact: Personalization using just 60 seconds of data led to an average AUROC improvement of .084. The largest improvement observed was +.124 of AUC for Affect-Net features and RF classifier in Grade 12.
- Feature Performance: Attention-Net features generally outperformed Affect-Net features, with a larger margin in Grade 12 (.08-.11 AUC difference) compared to Grade 8 (.01-.03 AUC difference).
- Classifier Performance: Shallow classifiers like RF and SVM (rbf kernel) performed comparably to or better than MLPs, with LSTMs showing some benefit from temporal information.
Limitations and Future Work
- Limited Sample Size: The study acknowledges the challenge of limited sample sizes for both manual annotation and the number of students analyzed, which can lead to overfitting and imbalanced datasets.
- Focus on Visible Engagement: The study primarily focuses on observable behavioral and emotional cues. Detecting "mind wandering" (a covert aspect of engagement) was not fully addressed due to data limitations.
- Low Engagement Detection: The models struggled to detect low engagement, likely due to the imbalanced nature of the annotated data.
- Future Work:
- Collecting more data in uncontrolled environments and potentially using interventions to generate more low-engagement samples.
- Exploring self-supervision and representation learning on unlabeled data to improve representations.
- Investigating the combination of mind wandering detection with engagement analysis.
- Addressing data collection, storage, and privacy concerns for large-scale deployment.
- Moving towards classroom-level analysis rather than solely individual student analysis.
Summary updated