Ukrainian Journal of Physical Optics


2026 Volume 27, Issue 4


ISSN 1816-2002 (Online), ISSN 1609-1833 (Print)

OPTICS-ORIENTED STUDENT CLASSROOM BEHAVIOR RECOGNITION USING AN IMPROVED YOLOV11N-RD MODEL FOR OPTICAL SURVEILLANCE IMAGING

M. Peng, Yu. Fu, Z. Yang, X. Yang, X. Wang and D. Wang


ABSTRACT

Students’ classroom behavior is an important indicator for teaching evaluation. Optical classroom surveillance provides a non-contact, wide-coverage way to observe student behavior, but reliable recognition from such imagery remains challenging because student behaviors are often small-scale, partially occluded, and affected by complex illumination, background clutter, perspective distortion, and optical feature loss during network downsampling. To address these problems, this paper proposes an optics-oriented improved algorithm, YOLOv11n-RD, for student classroom behavior recognition from optical surveillance images. First, a receptive-field convolutional block attention module (RFCBAMConv) is used to improve C3k2, enhancing multi-scale optical feature extraction and enabling the model to focus on local optical cues associated with small student behaviors. Second, a dynamic detection head (DyHead) replaces the original detection head to integrate scale-aware, spatially aware, and task-aware attention, thereby improving target detection accuracy and reducing optical feature loss in complex classroom scenes. Real classroom optical images are used for training and testing. Experimental results show that the improved model can more accurately detect students’ classroom behavior from optical surveillance imagery. The proposed model achieves an mAP@0.5 of 97.5%, representing an 8.4 percentage-point improvement over the baseline YOLOv11n, demonstrating enhanced robustness for optical classroom behavior recognition under complex imaging conditions.

Keywords: optical classroom monitoring, student behavior recognition, YOLOv11, RFCBAMConv, DyHead, optical imaging

UDC: 004.932:004.85:37.091.3

    1. Zhou, J., Ran, F., Li, G., Peng, J., Li, K., & Wang, Z. (2022). Classroom learning status assessment based on deep learning. Mathematical Problems in Engineering, 2022, Article 7049458.
      doi:10.1155/2022/7049458
    2. Wang, Z., Li, L., Zeng, C., & Yao, J. (2023). Student learning behavior recognition incorporating data augmentation with learning feature representation in smart classrooms. Sensors, 23(19), Article 8190.
      doi:10.3390/s23198190
    3. Abozeid, A., Alrashdi, I., & Al-Makhlasawy, R. M. (2026). Intelligent recognition of students’ behavior for smart learning environments. Scientific Reports, 16, Article 5674.
      doi:10.1038/s41598-026-36633-9
    4. Dalal, N., & Triggs, B. (2005). Histograms of oriented gradients for human detection. In Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition (Vol. 1, pp. 886–893).
      doi:10.1109/CVPR.2005.177
    5. Girshick, R., Donahue, J., Darrell, T., & Malik, J. (2014). Rich feature hierarchies for accurate object detection and semantic segmentation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (pp. 580–587).
      doi:10.1109/CVPR.2014.81
    6. Girshick, R. (2015). Fast R-CNN. In Proceedings of the IEEE International Conference on Computer Vision (pp. 1440–1448).
      doi:10.1109/ICCV.2015.169
    7. Ren, S., He, K., Girshick, R., & Sun, J. (2017). Faster R-CNN: Towards real-time object detection with region proposal networks. IEEE Transactions on Pattern Analysis and Machine Intelligence, 39(6), 1137–1149.
      doi:10.1109/TPAMI.2016.2577031
    8. Redmon, J., Divvala, S., Girshick, R., & Farhadi, A. (2016). You only look once: Unified, real-time object detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (pp. 779–788).
      doi:10.1109/CVPR.2016.91
    9. Redmon, J., & Farhadi, A. (2018). YOLOv3: An incremental improvement (arXiv:1804.02767). arXiv.
      doi:10.48550/arXiv.1804.02767
    10. Bochkovskiy, A., Wang, C.-Y., & Liao, H.-Y. M. (2020). YOLOv4: Optimal speed and accuracy of object detection (arXiv:2004.10934). arXiv.
      doi:10.48550/arXiv.2004.10934
    11. Ultralytics. (2021). YOLOv5: A state-of-the-art real-time object detection system. GitHub. https://github.com/ultralytics/yolov5
    12. Khanam, R., & Hussain, M. (2024). YOLOv11: An overview of the key architectural enhancements (arXiv:2410.17725). arXiv.
      doi:10.48550/arXiv.2410.17725
    13. Liu, S., Huang, D., & Wang, Y. (2018). Receptive field block net for accurate and fast object detection. In Computer Vision – ECCV 2018 (pp. 404–419). Springer.
      doi:10.1007/978-3-030-01252-6_24
    14. Zhang, X., Liu, C., Yang, D., Song, T., Ye, Y., Li, K., & Song, Y. (2023). RFAConv: Innovating spatial attention and standard convolutional operation (arXiv:2304.03198). arXiv.
      doi:10.48550/arXiv.2304.03198
    15. Woo, S., Park, J., Lee, J. Y., & Kweon, I. S. (2018). CBAM: Convolutional block attention module. In Computer Vision – ECCV 2018 (pp. 3–19). Springer.
      doi:10.1007/978-3-030-01234-2_1
    16. Dai, X., Chen, Y., Xiao, B., Chen, D., Liu, M., Yuan, L., & Zhang, L. (2021). Dynamic head: Unifying object detection heads with attentions. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (pp. 7373–7382).
      doi:10.1109/CVPR46437.2021.00729
    17. Li, F., Jiang, Z., Zhou, S., Deng, Y., & Bi, Y. (2022). Spilled load detection based on lightweight YOLOv4 trained with easily accessible synthetic dataset. Computers & Electrical Engineering, 100, Article 107944.
      doi:10.1016/j.compeleceng.2022.107944

    Поведінка учнів у класі є важливим показником для оцінювання навчального процесу. Оптичний нагляд у класі забезпечує безконтактний спосіб спостереження за поведінкою учнів, що охоплює велику площу. Однак надійне розпізнавання на основі таких оптичних зображень залишається складним завданням, оскільки дії учнів часто є дрібномасштабними, частково перекритими іншими об'єктами, а також зазнають впливу складного освітлення, захаращеного фону, перспективних спотворень і втрати оптичних ознак під час зменшення розмірності даних у нейронній мережі. Для розв'язання цих проблем у статті пропонується вдосконалений алгоритм YOLOv11n-RD, орієнтований на оптичні дані, призначений для розпізнавання поведінки учнів у класі за допомогою зображень із систем спостереження. По-перше, для вдосконалення модуля C3k2 застосовано блок уваги на основі згорткових шарів із рецептивним полем (RFCBAMConv). Це покращує вилучення оптичних ознак у різних масштабах і дозволяє моделі зосереджуватися на локальних візуальних деталях, пов'язаних із дрібними діями учнів. По-друге, замість стандартного блоку виявлення об'єктів використано динамічний блок (DyHead), який інтегрує механізми уваги, що враховують масштаб, просторове розташування та специфіку завдання. Це підвищує точність виявлення об'єктів і зменшує втрату оптичних ознак у складних умовах класного приміщення. Для навчання та тестування використовувалися реальні оптичні зображення, отримані в класах. Експериментальні результати показують, що вдосконалена модель здатна точніше розпізнавати поведінку учнів на основі зображень із систем спостереження. Запропонована модель досягає показника mAP@0.5 на рівні 97,5%, що на 8,4 відсоткових пункти перевищує результат базової моделі YOLOv11n. Це свідчить про підвищену стійкість моделі до складних умов фільмування при розпізнаванні поведінки учнів.

    Ключові слова: оптичний нагляд у класі, розпізнавання поведінки учнів, YOLOv11, RFCBAMConv, DyHead, оптичні зображення


This work is licensed under CC BY 4.0