AI-Boosted Affective Real-Time Educational Software Adaptation
Source abstract
Abstract
Nowadays, educational software across all learning levels is increasingly enhanced with Artificial Intelligence (AI), primarily through content generation or post-session learning analytics. However, most existing systems remain weakly connected to learners’ real-time affective states and rarely exploit emotional information as a direct control signal for instructional adaptation. In this work, we propose a proof-of-concept closed-loop affect-aware educational adaptation framework that integrates real-time facial emotion recognition into a dynamic learning control system. The proposed approach is built upon a dual-model ensemble architecture, combining a transformer-based model (CAGE) and a CNN-based model (DDAMFN++) trained on large-scale in-the-wild datasets. To bridge heterogeneous emotion representations, we introduce a probabilistic fusion strategy that aligns continuous valence–arousal predictions with discrete emotion classification via a Gaussian Mixture Model (GMM), enabling unified emotion inference in real time. Based on the fused emotional state, a temporal aggregation mechanism is applied to capture sustained affective trends rather than transient expressions. These aggregated signals are then mapped to instructional decisions through an emotion-driven adaptive control policy, which adjusts activity difficulty using an Average Emotion Score (AES). This establishes a fully automated closed-loop adaptation cycle, where detected learner affect directly influences the learning environment without requiring explicit user input or post-session questionnaires. The framework is integrated into an open-source educational platform (eduActiv8) to demonstrate feasibility and system-level behavior. Results from alpha-level validation show that the system can continuously monitor learner affect, generate interpretable emotional analytics, and dynamically adjust task difficulty in real time, while reducing user interaction overhead. This study contributes a modular architecture for affect-aware educational systems by combining real-time ensemble emotion recognition, probabilistic fusion of heterogeneous outputs, and closed-loop instructional adaptation. The proposed framework provides a foundation for future research in scalable, emotion-driven intelligent tutoring and adaptive learning environments.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Intelligent Tutoring Systems and Adaptive Learning · Emotion and Mood Recognition · Online Learning and Analytics
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Informatics, Computer and Telecommunications Engineering, International Hellenic University, 62124 Serres, Greece
Department of Management Science and Technology, Democritus University of Thrace, 65404 Kavala, Greece
Funding
Special Account for Research Funds of the International Hellenic University
References (58)
Show source-provided references
1. Computer assisted instruction at Stanford
2. Papert, S.A. (2020). Mindstorms: Children, Computers, and Powerful Ideas, Basic Books.
3. Wilensky, U., and Rand, W. (2015). An Introduction to Agent-Based Modeling: Modeling Natural, Social, and Engineered Complex Systems with NetLogo, MIT Press.
4. Prensky, M. (2001). Digital Game-Based Learning, McGraw-Hill.
5. Polson, M.C., and Richardson, J.J. (2013). Foundations of Intelligent Tutoring Systems, Psychology Press.10.4324/9780203761557 ↗
6. Ekman, P., and Friesen, W.V. (1978). Facial Action Coding System: A Technique for the Measurement of Facial Movement, Consulting Psychologists Press.10.1037/t27734-000 ↗
7. Eigenfaces for recognition10.1162/jocn.1991.3.1.71 ↗
8. Zeng, Z., Pantic, M., Roisman, G.I., and Huang, T.S. (2007, January 12–15). A survey of affect recognition methods: Audio, visual, and spontaneous expressions. Proceedings of the 9th International Conference on Multimodal Interfaces (ICMI 2007), Nagoya Aichi, Japan.10.1145/1322192.1322216 ↗
9. Rashad, M., Alebiary, D., Aldawsari, M., Elsawy, A., and AbuEl-Atta, A.H. (2024). FERDCNN: An efficient method for facial expression recognition through deep convolutional neural networks. PeerJ Comput. Sci., 10.10.7717/peerj-cs.2272 ↗
10. Mohana, M., Subashini, P., and Krishnaveni, M. (2023). Emotion recognition from facial expression using hybrid CNN–LSTM network. Int. J. Pattern Recognit. Artif. Intell., 37.10.1142/S0218001423560086 ↗
11. Emotion separation and recognition from a facial expression by generating the poker face with vision transformers10.1109/TCSS.2024.3478839 ↗
12. Wang, L., Kang, X., Ding, F., Nakagawa, S., and Ren, F. (2024). A joint local spatial and global temporal CNN-Transformer for dynamic facial expression recognition. Appl. Soft Comput., 161.10.1016/j.asoc.2024.111680 ↗
13. Lucey, P., Cohn, J.F., Kanade, T., Saragih, J., Ambadar, Z., and Matthews, I. (2010). The extended Cohn-Kanade dataset (CK+): A complete dataset for action unit and emotion-specified expression. Proceedings of the 2010 IEEE Computer Society Conference on Computer Vision and Pattern Recognition Workshops (CVPRW 2010), San Francisco, CA, USA, 13–18 June 2010, IEEE.10.1109/CVPRW.2010.5543262 ↗
14. A circumplex model of affect10.1037/h0077714 ↗
15. Multimodal emotion recognition in children’s online learning: Emotion monitoring and intervention strategy design10.55214/25768484.v9i7.8944 ↗
16. Multimodal emotional detection system for virtual educational environments: Integration into Microsoft Teams to improve student engagement10.1109/ACCESS.2025.3546772 ↗
17. A multi-faceted deep learning approach for student engagement insights and adaptive content recommendations10.1109/ACCESS.2025.3561459 ↗
18. Optimizing interactive online education through advanced multimodal emotion recognition techniques
19. A real-time multimodal intelligent tutoring emotion recognition system (MITERS)10.1007/s11042-023-16424-4 ↗
20. Salloum, S.A., Alomari, K.M., Alfaisal, A.M., Aljanada, R.A., and Basiouni, A. (2024). Emotion recognition for enhanced learning: Using AI to detect students emotions and adjust teaching methods. Smart Learn. Environ., 12.10.1186/s40561-025-00374-5 ↗
21. Revolutionizing online education: Advanced facial expression recognition for real-time student progress tracking via deep learning model10.1007/s11042-024-19392-5 ↗
22. Building a three-level multimodal emotion recognition framework10.1007/s11042-022-13254-8 ↗
23. The GNU manifesto
24. (2026, March 22). Moodle. Available online: https://moodle.org/.
25. (2026, March 22). TAO Testing. Available online: https://www.taotesting.com/.
26. (2026, March 22). OATutor. Available online: https://www.oatutor.io/.
27. (2026, March 22). GCompris. Available online: https://www.gcompris.net/.
28. (2026, March 22). eduActiv8. Available online: https://www.eduactiv8.org/.
29. (2026, March 22). tuxMath. Available online: https://tuxmath.org/.
30. (2026, March 22). Tux Typing. Available online: https://tuxtyping.org/.
31. (2026, March 22). Childsplay. Available online: https://childsplay.sourceforge.net/.
32. (2026, March 22). KHangMan. Available online: https://apps.kde.org/khangman/.
33. (2026, March 22). KTurtle. Available online: https://apps.kde.org/el/kturtle/.
34. (2026, March 22). Scratch. Available online: https://scratch.mit.edu/.
35. (2026, March 22). Blockly Games. Available online: https://blockly.games/.
36. (2026, March 22). KBruch. Available online: https://apps.kde.org/el/kbruch/.
37. (2026, March 22). Kalzium. Available online: https://apps.kde.org/el/kalzium/.
38. (2026, March 22). GeoGebra. Available online: https://www.geogebra.org/.
39. (2026, March 22). Turtle Blocks. Available online: https://turtle.sugarlabs.org/.
40. (2026, March 22). OpenBoard. Available online: https://openboard.ch/index.en.html.
41. (2026, March 22). H5P. Available online: https://h5p.org/.
42. Robust real-time face detection10.1023/B:VISI.0000013087.49260.fb ↗
43. Wagner, N., Mätzler, F., Vossberg, S.R., Schneider, H., Pavlitska, S., and Zöllner, J.M. (2024, January 17–21). CAGE: Circumplex affect guided expression inference. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR 2024), Seattle, WA, USA.10.1109/CVPRW63382.2024.00471 ↗
44. Tu, Z., Talebi, H., Zhang, H., Yang, F., Milanfar, P., Bovik, A., and Li, Y. (2022). MaxViT: Multi-axis vision transformer. Computer Vision—ECCV 2022, Proceedings of the 17th European Conference, Tel Aviv, Israel, 23–27 October 2022, Springer.10.1007/978-3-031-20053-3_27 ↗
45. Zhang, S., Zhang, Y., Zhang, Y., Wang, Y., and Song, Z. (2023). A dual-direction attention mixed feature network for facial expression recognition. Electronics, 12.10.3390/electronics12173595 ↗
46. Maximum likelihood from incomplete data via the EM algorithm10.1111/j.2517-6161.1977.tb01600.x ↗
47. Estimating the dimension of a model10.1214/aos/1176344136 ↗
48. Emotions during the learning of difficult material10.1016/B978-0-12-394293-7.00005-4 ↗
49. Ekman, P. (2003). Emotions Revealed, Times Books.10.1136/sbmj.0405184 ↗
50. Vygotsky, L.S. (1978). Mind in Society, Harvard University Press.
51. School engagement10.3102/00346543074001059 ↗
52. Control-value theory of achievement emotions10.1007/s10648-006-9029-9 ↗
53. Csikszentmihalyi, M. (1990). Flow, Harper & Row.
54. Dynamics of affective states10.1016/j.learninstruc.2011.10.001 ↗
55. Affect detection10.1109/T-AFFC.2010.1 ↗
56. Bjork, R.A. (1994). Memory and metamemory. Metacognition, MIT Press.
57. Student engagement measurement10.1080/00461520.2014.1002924 ↗
58. Shute, V.J. (2012). Stealth assessment in games. Computer Games and Instruction, Information Age Publishing.10.7551/mitpress/9589.001.0001 ↗