Abstract
Understanding learner emotions in online education is critical for improving engagement and personalized instruction. While prior work in emotion recognition has explored multimodal fusion and temporal modeling, existing methods often rely on static fusion strategies and assume that modality inputs are consistently reliable, which is rarely the case in real-world learning environments. We introduce Edu-EmotionNet, a novel framework that jointly models temporal emotion evolution and modality reliability for robust affect recognition. Our model incorporates three key components: a Cross-Modality Attention Alignment (CMAA) module for dynamic cross-modal context sharing, a Modality Importance Estimator (MIE) that assigns confidence-based weights to each modality at every time step, and a Temporal Feedback Loop (TFL) that leverages previous predictions to enforce temporal consistency. Evaluated on educational subsets of IEMOCAP and MOSEI, re-annotated for confusion, curiosity, boredom, and frustration, Edu-EmotionNet achieves state-of-the-art performance and demonstrates strong robustness to missing or noisy modalities. Visualizations confirm its ability to capture emotional transitions and adaptively prioritize reliable signals, making it well suited for deployment in real-time learning systems.
Introduction: The Affective Feedback Gap
In a traditional classroom, instructors rely on visual and auditory cues to gauge student engagement. However, online learning platforms often lack this "affective feedback loop," making it difficult to provide personalized support. While AI-driven emotion recognition offers a solution, real-world educational data is often unreliable—characterized by noisy audio, poor lighting, or sparse textual input. Furthermore, many existing models treat emotions as isolated snapshots rather than dynamic states that evolve over time.
The Edu-EmotionNet Framework
Edu-EmotionNet addresses these challenges through a "late-fusion-plus" approach that processes audio (Wav2Vec2.0), video (ResNet), and text (BERT) through three primary modules designed for robustness and temporal awareness.
1. Cross-Modality Attention Alignment (CMAA)
Rather than simple concatenation, the CMAA module allows modalities to interact dynamically. By projecting Query, Key, and Value vectors for each modality, the system finds points of agreement across signals. This helps the model ignore contradictory or noisy data by focusing on aligned features.
2. Modality Importance Estimator (MIE)
The MIE acts as a dynamic gatekeeper. At every time step, it predicts a confidence score for each modality. If a sensor fails—for instance, if background noise overwhelms the audio—the MIE automatically down-weights that input and relies more heavily on visual or textual cues.
3. Temporal Feedback Loop (TFL)
Recognizing that emotions are sequential, the TFL feeds the "soft" prediction from the previous time step back into the current calculation. This ensures emotional trajectories remain consistent and prevents the model from "flickering" between disparate states. Mathematically, the model is designed with Lipschitz continuity to guarantee stability against small input fluctuations.
Experimental Setup and Datasets
The researchers evaluated the model on a custom-curated benchmark derived from the IEMOCAP and CMU-MOSEI datasets. Experts re-annotated 5,000 sessions (averaging 30 seconds each) specifically for educational emotions: Confused, Bored, Curious, and Frustrated. This dataset provides a balanced foundation for training models tailored to the nuances of learner affect.
Key Results and Insights
- State-of-the-Art Performance: Edu-EmotionNet achieved 88% accuracy and a 0.86 macro-F1 score, outperforming established baselines like HybridFusion and MulT by 4-6 percentage points.
- Extreme Robustness: The model demonstrated remarkable resilience in "missing modality" tests. Even when 60% of the input data was corrupted or missing, accuracy only dipped slightly from 88% to 85%.
- Adaptive Compensation: Internal weight analysis showed that the model mimics human behavior; when audio quality drops, it compensates by increasing the weight of text modalities (e.g., reading a transcript when audio is unclear).
- The Power of Memory: Ablation studies confirmed the TFL's importance; removing the temporal loop resulted in a 5% drop in accuracy, highlighting that historical context is vital for accurate recognition.
Conclusion and Future Work
Edu-EmotionNet provides a robust framework for real-time emotion tracking in digital classrooms. While highly effective using external signals (audio, video, text), future work will explore the integration of physiological data, such as heart rate from wearables, and the development of lightweight, browser-based variants for deployment in standard MOOC environments. The ultimate goal is to validate whether this AI-driven feedback significantly improves student learning outcomes in practice.
Summary updated