
Research Article
Student Behavior Detection in Classroom Environments Using Deep Learning Models
@ARTICLE{10.4108/airo.11141, author={Thi-Nguyen Nguyen and Dinh-Thai Kim and Anh-Phuong Pham}, title={Student Behavior Detection in Classroom Environments Using Deep Learning Models}, journal={EAI Endorsed Transactions on AI and Robotics}, volume={5}, number={1}, publisher={EAI}, journal_a={AIRO}, year={2026}, month={4}, keywords={Computer Vision, Student Behavior Detection, YOLO, ByteTrack, RT-DETR}, doi={10.4108/airo.11141} }- Thi-Nguyen Nguyen
Dinh-Thai Kim
Anh-Phuong Pham
Year: 2026
Student Behavior Detection in Classroom Environments Using Deep Learning Models
AIRO
EAI
DOI: 10.4108/airo.11141
Abstract
Observing student behavior in classroom environments provides valuable insights into attention and engagement. However, manual monitoring is labor-intensive and often inconsistent, particularly in large lecture settings. This study proposes a deep learning–based framework for automatic student behavior analysis in real classroom scenarios. A dedicated dataset was constructed, consisting of 3,373 images annotated with five attention-related behaviors—“Focused”, “Raising Hand”, “Distracted”, “Sleeping”, and “Using Phone”—totaling 9,659 labeled instances. The dataset captures diverse real-world conditions, including variations in classroom layout, camera viewpoints, and occlusion. We systematically evaluated stateof-the-art object detection models, including YOLOv8–YOLOv12 and the Real-Time Detection Transformer (RT-DETR). Experimental results show that YOLOv8m achieved the highest localization accuracy (mAP@0.5 = 0.920), YOLOv11s/m demonstrated the best overall performance (mAP@0.5:0.95 = 0.726), and RT-DETRX achieved the highest F1-score (0.886). Notably, larger model size does not necessarily translate into better performance. In addition to accuracy, inference speed was evaluated to assess real-time applicability. Lightweight models such as YOLOv11s achieved a favorable balance between performance and efficiency, enabling real-time processing on resource-constrained hardware. Furthermore, YOLOv11s—with high Precision (0.890) and only 9.4M parameters—was integrated with ByteTrackV2 to perform behavior tracking and temporal analysis in classroom environments. This enables the generation of behavior distribution charts that provide interpretable insights into student engagement over time. These findings demonstrate the potential of automated behavior recognition systems for classroom analytics and data-driven teaching improvement.
Copyright © 2026 Thi-Nguyen Nguyen et al., licensed to EAI. This is an open access article distributed under the terms of the Creative Commons Attribution license (http://creativecommons.org/licenses/by/4.0/), which permits copying, redistributing, remixing, transformation, and building upon the material in any medium so long as the original work is properly cited.


