Knowledge Distillation From VideoMAE To MobileViT For Classroom Student Action Classification Toward Edge Deployment
DOI:
https://doi.org/10.47709/brilliance.v6i4.9915Keywords:
Action Recognition, Edge Deployment, Knowledge Distillation, MobileViT, VideoMAEAbstract
Background — Monitoring student engagement through automated action recognition can support timely pedagogical intervention, but large transformer models such as Video Masked Autoencoder (VideoMAE) are too computationally expensive for real-time deployment on edge devices. Objective — This study evaluates MobileViT with Knowledge Distillation (KD) from a VideoMAE Teacher to identify the most favourable accuracy-speed trade-off for classroom action classification. Methods — A 2,160-clip, five-class dataset was compiled from 403 prior and 1,757 newly collected clips. VideoMAE-Base and MobileViT-S were trained, followed by a grid search over 24 KD configurations spanning distillation weight, temperature, and two temporal aggregation methods. Undistilled controls were trained for both aggregation methods, separating the effect of distillation from that of aggregation. Accuracy, Precision, Recall, F1-Score, and frames per second were measured end-to-end and in pure compute on GPU and CPU. Results — Across three repetitions the Teacher reached F1 = 86.85 ± 2.20% and the undistilled Students 80.83 ± 3.25% (mean pooling) and 77.46 ± 7.15% (LSTM). The best KD configuration reached 87.84 ± 0.99%, exceeding the Teacher by 0.99 points, smaller than either standard deviation, with 14.7 times fewer parameters. Against matched controls, distillation gained 4.46 to 10.38 points. Conclusion — KD raises a lightweight model close to its Teacher, while temporal aggregation alone showed no reliable effect. The Student's roughly twofold pure-compute advantage is largely hidden end-to-end because video decoding consumes most of the GPU processing time, so pipeline optimisation matters as much as model compression for edge deployment.
References
Ahmadabadi, H., Manzari, O. N., & Ayatollahi, A. (2023). Distilling knowledge from CNN-Transformer models for enhanced human action recognition. In 2023 13th International Conference on Computer and Knowledge Engineering (ICCKE) (pp. 180–184). https://doi.org/10.1109/ICCKE60553.2023.10326272
Alruwais, N. M., & Zakariah, M. (2024). Student recognition and activity monitoring in e-classes using deep learning in higher education. IEEE Access, 12, 66110–66128. https://doi.org/10.1109/ACCESS.2024.3354981
Atilgan, C., & Mercimek, M. (2025). Balancing precision and speed: Introducing the performance efficiency evaluation ratio (PEER) in visual odometry. IEEE Access, 13, 89874–89904. https://doi.org/10.1109/ACCESS.2025.3571921
Deshpande, A., & Deshpande, V. (2023). Student activity recognition in classroom environments using transfer learning. arXiv. https://arxiv.org/abs/2312.00348
Donahue, J., Hendricks, L. A., Guadarrama, S., Rohrbach, M., Venugopalan, S., Saenko, K., & Darrell, T. (2015). Long-term recurrent convolutional networks for visual recognition and description. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR) (pp. 2625–2634).
Gan, J., & Xiong, J. (2025). Masked autoencoder of multi-scale convolution strategy combined with knowledge distillation for facial beauty prediction. Scientific Reports, 15(1), 2784. https://doi.org/10.1038/s41598-025-86831-0
Heng, C. H., Toyoura, M., Leow, C. S., & Nishizaki, H. (2024). Analysis of classroom processes based on deep learning with video and audio features. IEEE Access, 12, 110705–110712. https://doi.org/10.1109/ACCESS.2024.3434742
Herawan, M. J. A., Megasari, R., & Wihardi, Y. (2025). Klasifikasi aksi peserta didik di dalam ruang kelas menggunakan video mask auto encoder. Journal of Computer and Information Systems Ampera, 6(3), 160–172. https://doi.org/10.51519/journalcisa.v6i3.692
Hinton, G., Vinyals, O., & Dean, J. (2015). Distilling the knowledge in a neural network. arXiv. https://arxiv.org/abs/1503.02531
Lin, F. C., Ngo, H. H., Dow, C. R., Lam, K. H., & Le, H. L. (2021). Student behavior recognition system for the classroom environment based on skeleton pose estimation and person detection. Sensors, 21(16), 5314. https://doi.org/10.3390/s21165314
Liu, X., Sui, Q., & Chen, Z. (2025). Real time weed identification with enhanced MobileViT model for mobile devices. Scientific Reports, 15(1), 27323. https://doi.org/10.1038/s41598-025-12036-0
Mehta, S., & Rastegari, M. (2022). MobileViT: Light-weight, general-purpose, and mobile-friendly vision transformer. In Proceedings of the 10th International Conference on Learning Representations (ICLR).
Meng, S., Chen, W., & Jiang, Y. (2024). A novel strategy of two-stage cascaded CNN and overhaul knowledge distillation for fast railway foreign objects intrusion detection. IEEE Access, 12, 127825–127835. https://doi.org/10.1109/ACCESS.2024.3457515
Sassi, A., Jaafar, W., Cherif, S., Ben Abderrazak, J., & Yanikomeroglu, H. (2023). Video traffic analysis for real-time emotion recognition and visualization in online learning. IEEE Access, 11, 99376–99386. https://doi.org/10.1109/ACCESS.2023.3313973
Sharma, V., Gupta, M., Kumar, A., & Mishra, D. (2021). EduNet: A new video dataset for understanding human activity in the classroom environment. Sensors, 21(17), 5699. https://doi.org/10.3390/s21175699
Shou, Z., Yuan, X., Li, D., Mo, J., Zhang, H., Zhang, J., & Wu, Z. (2024). A dynamic position embedding-based model for student classroom complete meta-action recognition. Sensors, 24(16), 5371. https://doi.org/10.3390/s24165371
Tong, Z., Song, Y., Wang, J., & Wang, L. (2022). VideoMAE: Masked autoencoders are data-efficient learners for self-supervised video pre-training. In Advances in Neural Information Processing Systems (Vol. 35). Curran Associates.
Wihardi, Y., Naufal, R. A., Herawan, M. J. A., & Megasari, R. (2026). Fine-grained classroom activity recognition via detection, head-pose, and appearance fusion. Brilliance: Research of Artificial Intelligence, 6(3), 511–524. https://doi.org/10.47709/brilliance.v6i3.9453
Yan, H., Han, R., Feng, W., Zhao, J., & Wang, S. (2025). Weakly supervised instance action recognition. Computational Visual Media, 11(3), 603–618. https://doi.org/10.26599/CVM.2025.9450390
Yu, B. X. B., Liu, Y., & Chan, K. C. C. (2021). Multimodal fusion via teacher-student network for indoor action recognition. Proceedings of the AAAI Conference on Artificial Intelligence, 35(4), 3199–3207. https://doi.org/10.1609/aaai.v35i4.16430
Zhang, Y., & Wang, Y. (2025). A comprehensive survey on RGB-D-based human action recognition: Algorithms, datasets, and popular applications. EURASIP Journal on Image and Video Processing, 2025(1), 15. https://doi.org/10.1186/s13640-025-00677-0
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Raffi Ardhi Naufal, Yaya Wihardi, Rani Megasari

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.















