Abstract
Classroom behavior detection plays an important role in intelligent education by providing objective visual evidence for the analysis of learning engagement, classroom interaction assessment, and teaching evaluation. However, accurate behavior detection for individual students in real classroom environments remains challenging due to subtle behavior-related cues, visually similar action categories, occlusion, and complex background interference. To address these challenges, this paper proposes a Fine-grained Gated Detail Network (FGD-Net) for the fine-grained detection of individual student behaviors in classroom scenes. The proposed network improves behavior representation from three complementary aspects. Firstly, a Fine-grained Dynamic Recalibration Convolution Block (FDRC) is designed to enhance behavior-sensitive local regions, such as hands, arms, heads, and upper-body postures. Secondly, a Multi-path Gated Context Aggregation Block (MGCA) is introduced to aggregate complementary contextual information from multiple feature paths, thereby strengthening the semantic representation of visually similar classroom behaviors. Thirdly, a Shift-guided Detail Reconstruction Upsampling Block (SDRU) is developed to alleviate spatial detail loss during multi-scale feature fusion and improve the reconstruction of small-scale behavior-related cues. Extensive experiments are conducted on the SCB5 and SCB3 classroom behavior detection datasets. The experimental results show that FGD-Net achieves better detection performance than recent detectors on both datasets. These results demonstrate the potential of FGD-Net as an efficient visual perception model for scalable classroom video analytics and intelligent education applications.
1. Introduction
With the rapid development of smart education and visual learning analytics, classroom behavior detection has become an important research topic for understanding teaching and learning processes [1]. Student classroom behaviors, such as hand raising, reading, writing, and listening, provide intuitive visual cues for assessing learning engagement, classroom participation, and teacher–student interaction [2,3]. However, traditional classroom observation mainly relies on manual monitoring or post hoc video analysis [4], which is time-consuming, subjective, and difficult to use to provide timely feedback in large-scale classroom scenarios. To overcome these limitations, computer vision-based methods have been increasingly introduced to automatically perceive and analyze the learning-related states of students from classroom images or videos [5].
From a data-processing perspective, networked classroom cameras can generate continuous, high-volume, and unstructured visual streams. Transforming these visual data into structured behavior events is an important perceptual stage for scalable learning analytics and cognitive classroom systems. Such applications require detection models to achieve not only accurate behavior recognition but also compact computation and real-time processing capability so that classroom video streams can be analyzed efficiently under practical resource constraints.
Existing computer vision-based methods for classroom behavior analysis can be broadly grouped into three categories: video action recognition-based methods [6], pose estimation-based methods [7], and object detection-based methods [8,9]. Video action recognition methods typically use temporal cues from consecutive frames to model dynamic behavior patterns [10]. However, these methods usually require continuous video clips, dense temporal annotations, and relatively high computational costs, which limits their flexibility in real-time classroom applications [11]. Pose estimation-based methods represent student behaviors using human skeletal joints and provide interpretable structural information. However, their effectiveness strongly depends on accurate keypoint localization. In crowded classroom scenes, body parts are often occluded by desks, chairs, or nearby students, which makes pose estimation less reliable for fine-grained behavior detection [12]. In contrast, object detection-based methods provide a more direct and deployment-friendly solution by locating individual students and classifying the corresponding behavior of each student in classroom images or video frames.
Although object detection-based methods are more suitable for real-time classroom behavior analysis, they still face several task-specific challenges in complex classroom scenes. First, discriminative behavior-related regions, such as hands, arms, heads, and upper-body postures, usually occupy small spatial areas and produce subtle visual responses, making them vulnerable to occlusion by nearby students, desks, chairs, and cluttered backgrounds [13]. Second, visually similar categories, such as reading and writing, require multi-granularity semantic context, while insufficient contextual interaction may lead to ambiguous predictions [14]. Third, fine behavior-related details may be weakened during top-down multi-scale feature fusion, especially when low-resolution semantic features are combined with high-resolution localization features [15,16]. Therefore, an effective classroom behavior detector should simultaneously enhance local discriminative cues, aggregate behavior-related contextual semantics, and reconstruct fine spatial details during feature fusion.
To address these challenges, this paper proposes FGD-Net, an object detection-based network designed to improve fine-grained individual student behavior detection in complex classroom scenes. The present study focuses on the behavior categories provided by the selected classroom behavior detection benchmarks, while broader classroom behavior taxonomies are discussed in Section 2. FGD-Net improves the detection framework from three complementary perspectives: local discriminative region enhancement, multi-scale contextual semantic aggregation, and spatial detail reconstruction during feature fusion. The main contributions of this work are summarized as follows:
- We propose FGD-Net, an object detection-based model for detecting and classifying fine-grained behaviors of individual students in complex classroom environments. The proposed model improves the perception of subtle behavior cues and enhances detection robustness under background interference, occlusion, and scale variation.
- We introduce a Fine-grained Dynamic Recalibration Convolution Block (FDRC) to enhance behavior-sensitive local regions, such as hands, arms, heads, and upper-body postures. By dynamically recalibrating local feature responses, FDRC improves the representation of subtle behavior cues that are easily affected by classroom interference.
- We introduce a Multi-path Gated Context Aggregation Block (MGCA) to strengthen multi-granularity semantic interaction and contextual representation. This block helps distinguish visually similar classroom behaviors by aggregating complementary information from different feature paths.
- We introduce a Shift-guided Detail Reconstruction Upsampling Block (SDRU) to alleviate spatial detail loss during top-down feature fusion. SDRU improves the reconstruction of fine spatial details and enhances the detection of small-scale behavior-related regions.
2. Related Works
2.1. Classroom Behavior Analysis
Classroom behavior analysis aims to automatically perceive the learning states of students and classroom interactions from visual data, thereby providing objective support for teaching evaluation and classroom management. Existing studies have explored various visual cues and modeling strategies for this task. Trabelsi et al. [17] developed a real-time attention monitoring system based on YOLOv5 variants and reported an average accuracy of 76%. Shou et al. [18] modeled student actions from classroom time-series images using an improved AIA network, achieving 92% recognition accuracy and an mAP of 81.3% on their student behavior dataset. To address low-resolution visual observations, Zhang et al. [19] incorporated super-resolution into classroom behavior recognition and reported an accuracy of 91.0%, with and values of 91.5% and 70.0%, respectively. Jia and He [20] further combined object detection with pose estimation to exploit both appearance and structural cues, achieving an mAP of 82.1% in complex classroom environments. Beyond visual classroom environments, the automatic detection of affective and cognitive engagement from online learning discussions has also been investigated for learning achievement prediction [21].
Existing classroom behavior analysis research covers a substantially broader range of observable student activities than the three categories considered in the present experiments. In addition to hand raising, reading, and writing, previous studies have investigated behaviors such as listening, note-taking, standing, answering questions, discussing or talking, looking around, turning around, bowing the head, leaning on the desk, sleeping, yawning, eating or drinking, and using mobile phones or computers. These behaviors reflect different aspects of learning activity, classroom participation, body posture and orientation, peer interaction, and potentially off-task behavior. The specific behavior taxonomy varies across datasets and application scenarios, indicating that comprehensive classroom behavior analysis generally requires a richer set of behavior categories than those available in current small-scale detection benchmarks.
Although these methods have advanced intelligent classroom analysis, reliable behavior recognition in real classroom environments remains challenging due to dense student distributions, occlusion, low-resolution targets, and subtle differences among behavior categories.
2.2. Object Detection for Classroom Behavior Detection
Object detection-based methods provide a direct and deployment-friendly solution for classroom behavior analysis by simultaneously localizing students and classifying the corresponding behaviors. General object detectors can be broadly divided into two-stage and one-stage detectors. Two-stage detectors, represented by Faster R-CNN [22], first generate candidate regions and then perform classification and bounding-box regression. This design usually provides strong localization capability but introduces a relatively complex inference pipeline. In contrast, one-stage detectors, such as SSD [23] and YOLO [24], directly predict object categories and bounding boxes within a unified network, making them more suitable for real-time classroom monitoring scenarios.
Owing to their favorable balance between detection accuracy and inference efficiency, YOLO-based detectors have been widely used in classroom behavior detection. For example, Chen and Guan [25] improved YOLOv4 for teacher–student behavior recognition and reported an AP of 97.85% and an inference speed of 58 FPS on their student behavior dataset. Tang et al. [26] enhanced YOLOv5 using multi-scale feature fusion and attention mechanisms, obtaining an average accuracy of 89.8% and a recall of 90.4%, while maintaining an inference speed of 33 FPS. More recently, Cao et al. [27] proposed YOLO-AMM based on multi-dimensional feature optimization, improving and by 3.1 and 4.0 percentage points, respectively, over YOLOv8n, while achieving an inference speed of 169.1 FPS. Transformer-based detectors have also been explored for student behavior detection. Lin et al. [28] reported a precision of 85.3%, a recall of 84.1%, an of 88.5%, and an of 62.1% using an improved RT-DETR-based method on the FSCB dataset. These methods benefit from advanced feature representation and global dependency modeling, but differences in datasets, behavior categories, and evaluation protocols make direct numerical comparisons across studies difficult.
From an architectural perspective, these classroom-oriented detectors mainly improve general-purpose detection backbones through attention mechanisms, multi-scale feature fusion, or broader feature optimization. In contrast, FGD-Net is designed around three specific difficulties encountered in fine-grained classroom behavior detection. FDRC emphasizes weak behavior-sensitive local regions such as hands, arms, and upper-body postures; MGCA strengthens contextual interaction for distinguishing visually similar behaviors; and SDRU explicitly reconstructs spatial details that may be lost during top-down feature fusion. Therefore, rather than relying on a single generic enhancement strategy, FGD-Net organizes complementary local enhancement, contextual aggregation, and detail reconstruction within a unified YOLO-based detector. Since the reported results of previous classroom detectors were obtained on different datasets and evaluation protocols, their numerical values are not directly comparable; the effectiveness of FGD-Net relative to representative YOLO detectors is therefore evaluated under identical settings on SCB5 and SCB3 in Section 4.
Although existing detection-based methods have made promising progress, they still suffer from weak fine-grained behavior cues, visually similar behavior categories, and detail loss during feature fusion. These limitations motivate more targeted designs for local discriminative region enhancement, contextual semantic aggregation, and spatial detail reconstruction.
2.3. Feature Enhancement and Multi-Scale Feature Fusion
Effective feature representation is crucial for detecting fine-grained behaviors in complex classroom scenes. Attention mechanisms have been widely introduced into object detection to enhance informative feature responses. For example, SE [29] adaptively recalibrates channel-wise features, while CBAM [30] further combines channel and spatial attention to highlight discriminative regions. Recent feature enhancement methods further explore dynamic response recalibration and local detail modeling to strengthen weak discriminative regions under complex backgrounds [31,32,33]. Beyond local response enhancement, contextual semantic aggregation is also important for distinguishing visually similar behavior categories. Non-local networks [34] and global context modeling methods [35] capture long-range dependencies and improve semantic representation. Recent designs based on gated feature interaction and efficient contextual aggregation further enhance the modeling of complex semantic relationships [36]. For multi-scale detection, feature pyramid structures and their variants improve the interaction between high-level semantic features and low-level spatial details. FPN [15] constructs a top-down feature pyramid with lateral connections, while PANet [16] further strengthens bottom-up path aggregation. Other feature pyramid variants, such as EfficientDet [37], NAS-FPN [38], and AugFPN [39], improve multi-scale feature fusion from different perspectives. Beyond feature-level multi-scale fusion, adaptive input-space zooming has also been explored for small-object detection. Wang et al. [40] proposed an adaptive image zoom-in framework with bounding-box transformation for UAV object detection, demonstrating that explicitly enlarging small object regions can improve their feature representation with limited additional latency. Meanwhile, recent upsampling and feature reconstruction methods show that spatial detail recovery can be improved through content-aware, dynamic, or shift-guided feature refinement [41,42,43,44].
However, classroom behavior detection requires more targeted modeling of subtle local cues, behavior-related contextual semantics, and fine spatial details. Motivated by these observations, this work designs dedicated modules for local discriminative region enhancement, contextual semantic aggregation, and spatial detail reconstruction.
3. Methods
3.1. Overall Architecture
The overall architecture of the proposed Fine-grained Gated Detail Network (FGD-Net) is shown in Figure 1. FGD-Net follows a hierarchical object detection framework composed of a backbone, a neck, and three multi-scale detection heads. Given an input classroom image, the backbone extracts multi-level features. The Fine-grained Dynamic Recalibration Convolution Block (FDRC) is introduced in the shallow and middle stages to enhance behavior-sensitive local cues, while the Multi-path Gated Context Aggregation Block (MGCA) is employed in the deeper stage to strengthen contextual semantic representation. In the neck, the Shift-guided Detail Reconstruction Upsampling Block (SDRU) is used during top-down feature fusion to reconstruct fine spatial details and reduce the loss of small- and medium-scale behavior-related information.
Figure 1.
Overall architecture of the proposed Fine-grained Gated Detail Network (FGD-Net).
The fused multi-scale features are subsequently fed into three detection heads corresponding to different target scales. Specifically, the high-resolution detection head is mainly responsible for small-scale targets and retains richer spatial details, making it particularly suitable for students located in the back rows or farther from the camera. The medium-resolution detection head focuses on medium-scale student instances, while the low-resolution detection head is mainly responsible for large-scale targets that are generally closer to the camera. The predictions from all three scales are jointly used to determine behavior categories and bounding-box locations. In this way, differences in student-to-camera distance are reflected as variations in target scale in the image plane and are handled through the multi-scale detection mechanism. Through the collaboration of FDRC, MGCA, and SDRU, FGD-Net improves local discriminative perception, contextual aggregation, and detail-preserving feature fusion for fine-grained classroom behavior detection.
3.2. Fine-Grained Dynamic Recalibration Convolution Block
In classroom behavior detection, discriminative cues are often localized in fine-grained regions, such as hands, arms, heads, and upper-body postures. These regions usually occupy only limited spatial areas and are easily affected by desks, chairs, nearby students, and cluttered classroom backgrounds. This makes conventional convolutional blocks less effective in highlighting behavior-related local responses. To address this problem, we propose a Fine-grained Dynamic Recalibration Convolution Block (FDRC), which enhances fine-grained behavior-sensitive regions through lightweight feature aggregation and dynamic channel-spatial recalibration.
As shown in Figure 2, FDRC adopts a split-and-aggregation structure. Given an input feature map , a convolution–batch normalization–SiLU (CBS) layer first projects the input into an intermediate feature . The projected feature is then equally split into two branches along the channel dimension:
Figure 2.
Structure of the proposed Fine-grained Dynamic Recalibration Convolution Block (FDRC).
The first branch is directly preserved to retain the original convolutional representation, whereas the second branch is fed into the proposed Dynamic Recalibration Attention Unit (DRAU) for feature enhancement. The output of FDRC is obtained by concatenating the preserved feature, the original second-branch feature, and the recalibrated feature, followed by a CBS fusion layer:
where denotes the output feature of FDRC. This design preserves the efficiency of convolutional feature extraction while introducing an additional dynamic enhancement path for behavior-related local cues.
Since , , and have the same dimension , their concatenation produces a feature of dimension , which is subsequently fused by .
DRAU is designed to adaptively recalibrate feature responses along both channel and spatial dimensions. As illustrated in Figure 2, each residual channel-spatial attention block in DRAU consists of two convolutional transformations, followed by channel attention (CA) and dynamic spatial attention (DSA). Different from the CBS layers used for feature projection and fusion in FDRC, the first transformation in DRAU adopts a Conv-BN-LeakyReLU structure, while the second transformation adopts a Conv-BN structure. Given the input feature , DRAU can be formulated as
where denotes the i-th residual channel-spatial attention block, and is used for feature integration. In the implemented FGD-Net, the number of sequential residual channel-spatial attention blocks in DRAU is set to . The DRAU preserves the feature dimensions, i.e., .
Inside each residual channel-spatial attention block, the input feature is first transformed by a Conv-BN-LeakyReLU layer and then by a Conv-BN layer:
where denotes the LeakyReLU activation function and . Then, is refined by CA and DSA, and the block output is obtained through residual learning:
The residual connection preserves the original representation and facilitates feature propagation.
The channel attention branch estimates channel-wise importance by combining global average pooling and global max pooling:
where is a lightweight transformation implemented by convolutions, denotes the Sigmoid function, and denotes the channel attention weights. The channel-refined feature is obtained by
Inspired by the input-adaptive convolution mechanism of Dynamic Convolution [45], the DSA branch further captures spatially varying behavior cues by generating an input-conditioned spatial kernel from the global context of the channel-refined feature . Different from Dynamic Convolution, which adaptively aggregates multiple predefined convolution kernels, DSA directly generates a sample-specific spatial kernel from the global feature descriptor for spatial recalibration. Specifically, adaptive global average pooling first compresses each feature map into a channel-wise global descriptor of dimension . The descriptor is subsequently processed by two convolutions with an intermediate ReLU activation. The first convolution preserves the channel dimension (), whereas the second maps the descriptor to kernel coefficients (). The coefficients are then reshaped into a sample-specific spatial kernel:
where denotes the ReLU activation. In our implementation, ; therefore, each input sample independently generates one dynamic spatial kernel from its global context.
The spatial attention map is then produced by applying the generated kernel to the channel-averaged spatial descriptor:
The final spatially recalibrated feature is computed as
Through the combination of CA and DSA, DRAU dynamically recalibrates channel and spatial responses, enabling FDRC to emphasize behavior-sensitive local regions while suppressing redundant background activations. Therefore, when embedded into the shallow and middle stages of the backbone, FDRC provides more discriminative fine-grained features for recognizing classroom behaviors with subtle local differences.
3.3. Multi-Path Gated Context Aggregation Block
In classroom behavior detection, different behaviors often exhibit highly similar visual appearances and require contextual reasoning beyond isolated local patterns. For example, reading, writing, listening, and hand raising may involve subtle differences in upper-body posture, arm position, head orientation, and interactions with desks or books. Therefore, a single-path convolutional structure may be insufficient to capture the diverse semantic cues needed to distinguish complex classroom behaviors. To address this problem, we propose a Multi-path Gated Context Aggregation Block (MGCA), which aggregates complementary features from multiple convolutional paths and introduces a Partial Gated Convolutional Mixer (PGCM) to enhance contextual representation while maintaining computational efficiency.
As shown in Figure 3, MGCA first projects the input feature into an intermediate space and then constructs multiple feature paths with different transformation characteristics. Given an input feature map , the initial projection is formulated as
where . Based on this intermediate feature, MGCA generates several complementary representations, including a channel projection branch, a lightweight depthwise convolution branch, two split branches, and an iterative gated mixing branch:
where denotes a lightweight branch composed of pointwise convolution, depthwise convolution, and pointwise projection. Starting from , the PGCM branch progressively refines contextual features:
In the implemented FGD-Net, each MGCA contains two sequential PGCM blocks, i.e., . Finally, all generated features are concatenated and compressed by a CBS layer:
where denotes the output feature of MGCA. Through this multi-path aggregation design, MGCA combines direct channel information, efficient spatial responses, and progressively enhanced semantic representations, which is beneficial for modeling complex classroom behavior patterns.
Figure 3.
Structure of the proposed Multi-path Gated Context Aggregation Block (MGCA).
The core component of MGCA is the proposed Partial Gated Convolutional Mixer (PGCM), which is designed to enhance local contextual interactions with limited computational cost. Given an input feature , PGCM first applies partial convolution (PConv) for efficient spatial mixing. Specifically, only a subset of channels is processed by spatial convolution, while the remaining channels are directly preserved:
where and denote the processed and reserved channel groups, respectively. This design reduces redundant spatial computation while maintaining information flow across all channels.
After partial spatial mixing, PGCM adopts the Convolutional Gated Linear Unit (CGLU) introduced in TransNeXt [36] for gated feature modulation. The input feature is first projected and divided into two parts:
Then, the gating branch is enhanced by depthwise convolution and activated by GELU:
The output of PGCM is obtained through residual learning:
In this design, PConv provides efficient local spatial mixing, while CGLU adaptively controls the propagation of informative semantic responses through gated modulation.
By integrating multi-path aggregation with partial gated mixing, MGCA improves the representation ability of high-level and fused features without introducing heavy computation. When applied to the deeper backbone, MGCA helps the detector capture richer contextual semantics for complex classroom behaviors, thereby alleviating the limitation of single-path feature representation.
3.4. Shift-Guided Detail Reconstruction Upsampling Block
In classroom behavior detection, multi-scale feature fusion is essential for recognizing behaviors with different spatial extents. However, during upsampling and aggregation in the neck, cues associated with small- and medium-scale behaviors may be weakened or spatially blurred. This issue is particularly harmful for subtle classroom actions, such as hand raising, writing, reading, and head turning, because their discriminative information is often located in compact local regions. To alleviate the loss of spatial details during feature fusion, we propose a Shift-guided Detail Reconstruction Upsampling Block (SDRU), which improves the spatial reconstruction ability of upsampled features through efficient up-convolution and four-directional shift-based channel mixing.
As shown in Figure 4, SDRU first upsamples the input feature map and then applies depthwise convolution to refine local spatial responses with low computational cost. Given an input feature map , the upsampling stage can be formulated as
where denotes a upsampling operation and denotes depthwise convolution. Compared with standard convolution, depthwise convolution performs spatial filtering independently for each channel, making the upsampling refinement more efficient.
Figure 4.
Structure of the proposed Shift-guided Detail Reconstruction Upsampling Block (SDRU).
After obtaining the upsampled feature , SDRU introduces a Four-directional Shift Channel Mixer (FSCM) to enhance local neighborhood interaction. FSCM builds on the parameter-free spatial shift principle of Shift [46], but restricts the channel-wise shifts to four cardinal directions (left, right, up, and down) for lightweight spatial detail reconstruction. Specifically, the feature is first divided into four channel groups:
where each group contains one-quarter of the channels. These four groups are then shifted along different spatial directions:
The shifted features are concatenated along the channel dimension to obtain the spatially mixed representation:
This operation enables different channel groups to capture neighboring spatial positions from different directions, thereby improving local information exchange without introducing additional learnable parameters.
Finally, a convolutional layer is used to fuse the shifted channel groups and adjust the output representation:
where denotes a convolution and is the output of SDRU. Channel shuffle is also adopted before the shift operation to promote cross-channel information interaction.
4. Experiments
4.1. Datasets
Experiments are conducted on two student classroom behavior detection datasets, namely SCB5 and SCB3. Both datasets contain three common classroom behavior categories: hand raising, reading, and writing. These three categories represent only a subset of the broader range of classroom behaviors investigated in the literature. Their use in the present study is determined by the annotation scope of the SCB5 and SCB3 benchmarks and should not be interpreted as a complete taxonomy of student classroom behavior.
Representative cropped samples of the three behavior categories are shown in Figure 5. These enlarged examples mainly illustrate the category-specific visual characteristics of hand raising, reading, and writing. In the original classroom scenes, however, student instances exhibit substantial variations in target scale, occlusion, crowd density, and background complexity. Representative challenging cases are therefore additionally presented in Figure 6. In particular, distant students may occupy only a small spatial region, while hands, arms, heads, books, and upper-body postures can be partially occluded by desks, chairs, or neighboring students. These factors substantially increase the difficulty of fine-grained classroom behavior detection.
Figure 5.
Cropped representative samples of the three classroom behavior categories, including hand raising, reading, and writing. The instances are enlarged for visual clarity.
Figure 6.
Representative challenging cases in the SCB datasets, including small and distant targets, partial occlusion, crowded student distributions, and complex classroom background interference. Ground-truth boxes are shown to indicate the target behavior instances.
SCB5 was constructed from real classroom teaching scenarios [47]. The version used in this study contains three annotated behavior categories: hand raising, reading, and writing, with 5193 images for training and 1671 images for testing. Multiple students may appear simultaneously in the same classroom image, and the annotated behavior instances exhibit considerable variations in target scale, crowd density, occlusion, background complexity, and viewing direction. Therefore, SCB5 is used as the main benchmark for quantitative comparison, ablation studies, and visualization analysis in this paper.
SCB3 is an earlier student classroom behavior detection dataset containing the same three behavior categories—hand raising, reading, and writing [48]. It contains 4266 images, including 3418 training images and 848 test images. Compared with SCB5, SCB3 has a smaller data scale and is used as an additional benchmark to evaluate whether the proposed method remains effective under a different sample distribution. The detailed statistics of the two datasets are shown in Table 1.
Table 1.
Statistics of the SCB datasets used in the experiments.
The SCB datasets also contain variations in camera viewpoint. In some classroom images, students are observed from frontal or oblique directions, whereas in others they are viewed partially or predominantly from the rear. Such viewpoint changes can reduce the visibility of fine-grained behavior-related cues, particularly hand–object interactions and upper-body configurations associated with reading and writing. Rear and oblique views may also introduce additional self-occlusion and overlap with desks, chairs, or neighboring students, thereby increasing the difficulty of behavior detection.
In addition to the classroom behavior detection datasets, we further conduct supplementary experiments on the KITTI dataset [49]. The purpose of introducing KITTI is to examine whether the effectiveness of the proposed modules is specific to the visual distribution of the SCB datasets or can also be observed in a substantially different object detection setting. Although KITTI contains outdoor traffic scenes and different semantic categories, it shares several challenging visual factors with classroom detection, such as scale variation, partial occlusion, cluttered backgrounds, and the need to preserve discriminative local details. Therefore, KITTI provides an additional external benchmark for assessing the general applicability of the proposed modules under a different data distribution. The SCB5 and SCB3 datasets remain the primary benchmarks for evaluating classroom behavior detection, while KITTI is used only as a supplementary validation.
4.2. Implementation Details
All experiments are implemented using a PyTorch 2.2.2-based YOLO training framework and conducted on a single NVIDIA A10 GPU with 24 GB memory. The software environment includes Python 3.8.20, CUDA 11.8, and NVIDIA driver 520.61.05. To ensure a fair comparison, all models are trained under the same experimental settings unless otherwise specified.
During training, the input image size is set to , which is a commonly adopted resolution in YOLO-based detectors and provides a practical trade-off between preserving behavior-related visual details and computational cost. The batch size is set to 32 according to the available memory of the single NVIDIA A10 24 GB GPU, while allowing stable mini-batch optimization. The maximum number of training epochs is set to 300 to provide sufficient training iterations for model convergence. Importantly, the same input resolution, batch size, and number of training epochs are used for all compared models to ensure a fair comparison.
The SGD optimizer is adopted with an initial learning rate of 0.01, a momentum of 0.937, and a weight decay of 0.0005, while the warm-up period is set to 3 epochs. These optimization parameters follow the standard configuration of the adopted YOLO training framework and are kept unchanged across all compared models, thereby avoiding model-specific hyperparameter tuning that could affect the fairness of the comparison. Mixed precision training is enabled to reduce GPU memory consumption and improve training efficiency without changing the experimental protocol. The random seed is fixed to 0, and deterministic training is enabled to improve reproducibility; the specific seed value itself has no special significance and is used only to ensure a consistent experimental initialization.
For data augmentation, the default augmentation strategy of the adopted training framework is used, including HSV augmentation, random translation, scaling, horizontal flipping, and Mosaic augmentation. Mosaic augmentation is kept enabled throughout training to increase scene and object-scale diversity, which is particularly useful for classroom images containing multiple students at different scales. Validation is performed after each training epoch. During evaluation, the IoU threshold for non-maximum suppression is fixed at 0.7, and the maximum number of detections per image is set to 300. These evaluation parameters follow the unified evaluation configuration and are kept identical for all models so that the reported performance differences are attributable to the model architectures rather than different post-processing settings. Other hyperparameters follow the default settings of the training framework. The main experimental settings are summarized in Table 2.
Table 2.
Main experimental settings.
4.3. Evaluation Metrics
To quantitatively evaluate the detection performance of different methods, we adopt several commonly used object detection metrics, including Precision, Recall, F1-score, , , and . In addition, GFLOPs, the number of parameters, model size, and FPS are used to evaluate the computational complexity and inference efficiency of each model.
Precision measures the proportion of correctly detected positive samples among all predicted positive samples, whereas Recall measures the proportion of correctly detected positive samples among all ground-truth positive samples. They are defined as follows:
where , , and denote true positives, false positives, and false negatives, respectively.
F1-score is the harmonic mean of Precision and Recall, providing a balanced evaluation of detection accuracy. It is defined as
Average Precision (AP) is calculated from the precision–recall curve of each category. The mean Average Precision (mAP) is obtained by averaging AP values over all categories:
where C denotes the number of categories and represents the AP value of the i-th category.
In this paper, denotes the mAP value calculated at an IoU threshold of 0.5, whereas denotes the mAP value calculated at an IoU threshold of 0.75. denotes the average mAP over multiple IoU thresholds from 0.5 to 0.95 with a step size of 0.05, providing a more comprehensive evaluation of localization accuracy.
For the scale-wise evaluation, , , and denote the Average Precision for small, medium, and large objects, respectively, following the COCO evaluation protocol. Specifically, objects with bounding-box areas of , , and are categorized as small, medium, and large, respectively. Similarly, , , and denote the corresponding Average Recall values for the three object-scale groups. These scale categories are defined according to bounding-box area in the image plane rather than the physical distance between the object and the camera.
For efficiency evaluation, GFLOPs is used to measure computational cost, and the number of parameters reflects model complexity. Model size indicates the storage cost of the trained weights. FPS is used to measure inference speed. Specifically, denotes the speed of the full inference pipeline, including preprocessing, model inference, and post-processing, while denotes the pure model inference speed. In the following comparison tables, Precision, Recall, F1-score, and mAP values are reported in percentage form.
4.4. Comparison with State-of-the-Art Methods
To comprehensively evaluate the effectiveness of the proposed method, we compare it with several recent YOLO-based detectors [50,51,52,53,54,55,56] and enhanced YOLO-family models [57,58] on two classroom behavior detection datasets, namely SCB5 and SCB3. SCB5 is used as the main benchmark because it contains more samples and more diverse classroom scenes, while SCB3 is further adopted to examine the generalization and stability of the proposed method across different data scales and scene distributions. For a fair comparison, all models are trained and evaluated under the same experimental settings. The comparison covers both detection accuracy and computational efficiency.
Table 3 presents the comparison results on the SCB5 dataset. The proposed method achieves the best performance across all accuracy-related metrics. Compared with the strongest baseline results, the proposed method improves Precision from 59.07% to 61.10%, Recall from 62.64% to 64.16%, and F1-score from 60.22% to 62.47%. In terms of average precision, the proposed method achieves 64.68% , 54.20% , and 46.46% , outperforming the best baseline results by 2.19, 1.57, and 0.73 percentage points, respectively. These results indicate that the proposed model can more effectively distinguish fine-grained classroom behaviors and improve the detection of behavior-related local regions.
Table 3.
Comparison results on the SCB5 dataset.
In terms of model complexity, the proposed method contains 3.18 M parameters with a model size of 6.4 MB, indicating that the additional feature enhancement modules introduce only a moderate increase in model complexity. Although the proposed method is not optimized for maximum inference speed, it achieves 95.42 FPS for the full inference pipeline and 100.99 FPS for pure model inference on SCB5, which remains well within the real-time operating range.
More importantly, the accuracy–efficiency trade-off should be considered relative to the underlying lightweight detector. Compared with YOLOv11n, the proposed method improves , , and by 5.42, 6.20, and 4.97 percentage points, respectively, on SCB5, while the full-pipeline inference speed decreases from 115.20 FPS to 95.42 FPS. A similar trend is observed on SCB3, where the corresponding improvements are 4.68, 5.71, and 4.97 percentage points, while the inference speed decreases from 116.74 FPS to 90.80 FPS. These results indicate that the proposed modules provide consistent improvements in localization and detection accuracy at the cost of a moderate reduction in inference speed, while retaining real-time processing capability.
It should also be noted that Hyper-YOLO achieves substantially higher inference speed than FGD-Net. This indicates that FGD-Net does not provide the best solution when maximum throughput is the primary requirement. However, FGD-Net consistently achieves higher detection accuracy across the two classroom datasets while still operating above 90 FPS in the full inference pipeline. Therefore, the proposed method is intended to provide an accuracy-oriented real-time solution for fine-grained classroom behavior detection rather than to maximize inference throughput alone.
Table 4 further reports the comparison results on the SCB3 dataset. Consistent with the results on SCB5, the proposed method achieves the best overall detection performance. Specifically, the proposed method obtains the highest Precision, F1-score, , , and . Compared with the strongest baseline results, the proposed method improves Precision from 64.44% to 64.98% and F1-score from 64.73% to 66.37%. In terms of average precision, compared with Hyper-YOLO, which achieves the strongest baseline performance, the proposed method improves from 69.58% to 70.78%, from 56.89% to 58.39%, and from 49.82% to 50.52%. Although YOLOv9t achieves a slightly higher Recall, it has lower Precision, F1-score, and average precision. These results show that the proposed method provides a better overall accuracy balance under a different data scale and scene distribution.
Table 4.
Comparison results on the SCB3 dataset.
The consistent improvements on SCB5 and SCB3 demonstrate the effectiveness and robustness of the proposed model. In particular, the results suggest that the proposed modules enhance behavior-sensitive feature representation and improve multi-scale feature fusion, which is beneficial for recognizing student classroom behaviors under different data scales and scene distributions.
To evaluate the sensitivity of the reported performance to random initialization, we further repeated the experiments for YOLOv9t and FGD-Net using three random seeds (0, 42, and 3402). YOLOv9t was selected because it is one of the strongest competing detectors on SCB5 and achieves performance closest to FGD-Net. As shown in Table 5, FGD-Net consistently outperforms YOLOv9t in , , and under all three random seeds. Averaged over the three runs, FGD-Net achieves 64.33%, 53.86%, and 46.29% in , , and , respectively, compared with 62.93%, 53.01%, and 45.68% for YOLOv9t. The corresponding average improvements are 1.40, 0.85, and 0.61 percentage points. Although the margins over this strong baseline are moderate, the consistent improvements across different random initializations indicate that the reported gains are not dependent on a single favorable seed.
Table 5.
Performance stability of YOLOv9t and FGD-Net under three different random seeds on SCB5. The last two rows report the mean ± standard deviation over the three runs.
Per-Class Performance Analysis
Table 6 further reports the class-wise detection performance of all compared methods on SCB5. The results reveal noticeable differences in recognition difficulty among the three classroom behavior categories. Across most methods, hand raising generally achieves relatively strong performance because its raised-arm configuration provides a more distinctive visual cue. In contrast, reading tends to exhibit lower Precision, F1-score, and AP values than hand raising and writing. For FGD-Net, reading achieves 54.69% Precision, 59.27% F1-score, and 42.63% , which are lower than the corresponding results for the other two categories. This suggests that reading remains the most challenging behavior among the three classes, potentially because its discriminative cues are relatively subtle and its upper-body posture and hand–object interactions can be visually similar to those of writing.
Table 6.
Per-class detection performance of different methods on the SCB5 dataset.
To further determine which behavior categories benefit most from the proposed improvements, we compare FGD-Net with its YOLOv11n baseline at the class level. For hand raising, F1-score and increase from 63.98% and 43.28% to 68.22% and 47.08%, corresponding to improvements of 4.24 and 3.80 percentage points, respectively. More pronounced improvements are observed for reading: Recall increases by 6.00 percentage points, while , , and increase by 7.09, 6.89, and 5.67 percentage points, respectively. For writing, Precision increases by 7.51 percentage points, and , , and improve by 5.77, 6.07, and 5.46 percentage points, respectively. Although the Recall for writing decreases marginally from 58.50% to 58.18%, its F1-score and all AP metrics are clearly improved.
These class-wise results indicate that the proposed improvements are particularly beneficial for reading and writing, for which behavior discrimination relies more strongly on localized posture and hand–object cues. At the same time, the comparatively lower performance of reading indicates that visually similar fine-grained classroom behaviors remain difficult to distinguish and should receive particular attention in future refinement of the model.
4.5. Scale-Wise Detection Analysis
To further investigate the influence of apparent target size, we report scale-wise AP and AR on SCB5 in Table 7. Following the standard COCO scale definition, objects with bounding-box areas smaller than , between and , and larger than or equal to are categorized as small, medium, and large, respectively. Since the SCB dataset does not provide explicit annotations of the physical distance between each student and the camera, object scale in the image plane is used as an observable proxy for distance-related difficulty. Students located farther from the camera generally occupy fewer pixels and may also be more susceptible to partial occlusion by nearby students or classroom furniture. Therefore, the small-object results provide complementary quantitative evidence for evaluating detection performance under challenging distant-view conditions.
Table 7.
Detection performance for objects of different scales on the SCB5 dataset. Following the COCO evaluation protocol, small, medium, and large objects are defined by bounding-box areas of , , and , respectively.
As shown in Table 7, FGD-Net achieves the highest AP and AR across all three target-scale groups. Compared with the YOLOv11n baseline, , , and increase from 26.50%, 25.60%, and 42.80% to 36.50%, 31.70%, and 46.60%, corresponding to improvements of 10.00, 6.10, and 3.80 percentage points, respectively. Similarly, , , and improve by 6.00, 4.80, and 4.40 percentage points. The largest AP improvement is observed for small targets, indicating that the proposed multi-scale and detail-preserving design is particularly beneficial for student instances occupying relatively small image regions.
It should be noted that object scale is not equivalent to physical distance, and the current SCB annotations do not allow the effect of occlusion to be isolated independently. Therefore, the scale-wise results provide an indirect but quantitative analysis of distance-related difficulty rather than a direct measurement of performance degradation with physical distance.
4.6. Visualization Analysis
To provide a more intuitive understanding of the feature responses of different detectors, we employ Grad-CAM++ to generate activation heatmaps for several representative YOLO-based models. The input resolution is fixed at , and the confidence threshold is set to 0.5. For the detection task, both classification- and bounding-box-related outputs are included in the backward target, and activation responses are extracted from selected intermediate feature layers. The resulting Grad-CAM++ maps are normalized for visualization, where warmer regions indicate stronger model responses and cooler regions indicate weaker responses. The visualization results are shown in Figure 7.
Figure 7.
Heatmap visualization comparison of different YOLO-based detectors in classroom behavior detection scenes. Warmer regions indicate stronger model responses.
As shown in Figure 7, existing YOLO-based methods can generally focus on student regions, but their activation responses may be scattered or incomplete in complex classroom scenes. For example, YOLOv8 and YOLOv9 tend to generate discontinuous responses in dense student areas, and some behavior-related regions are not sufficiently highlighted. YOLOv10 and YOLOv26 produce stronger activations, but some responses spread to background regions, such as desks, chairs, and surrounding classroom areas, which may weaken the discrimination of fine-grained behaviors.
In contrast, the proposed method shows more concentrated and complete activation responses on students and behavior-related body regions. In particular, it better highlights key visual cues, such as heads, arms, hands, and upper-body postures, under crowded classroom conditions. This indicates that the proposed FDRC, SDRU, and MGCA modules enhance fine-grained local features, preserve spatial details, and aggregate contextual information. Therefore, the heatmap visualization further confirms that the proposed method obtains more discriminative feature representations for classroom behavior detection.
To quantitatively evaluate the spatial concentration of the activation responses, we introduce two target-localization measures. Let denote the Grad-CAM++ activation map of the i-th image, independently normalized over its full spatial extent, and let denote a binary target-region mask constructed from the union of all ground-truth behavior bounding boxes in that image. The Activation Localization Ratio (ALR) is defined as
where a higher ALR indicates that a larger proportion of the total activation response is concentrated within the annotated target regions. To further quantify the contrast between target and background responses, we define the mean target activation and mean background activation of the i-th image as
respectively. Based on these quantities, the Target-to-Background Activation Ratio (TBR) is defined as
A larger TBR indicates a greater contrast between the normalized activation within the annotated target regions and that of the surrounding background. For quantitative evaluation, each raw Grad-CAM++ map is independently normalized over its full spatial extent before metric calculation, without applying the bounding-box-based renormalization used only for visualization. ALR and TBR are computed independently for each validation image and are subsequently averaged over the entire SCB5 validation set. Specifically, the reported mean values are calculated as
where N denotes the number of validation images. Likewise, the reported mean target and background activations are obtained by averaging and , respectively, over all validation images. Since TBR is first computed for each individual image and then averaged, the reported mean TBR is not necessarily equal to the ratio between the dataset-level mean target and background activations. All reported statistics are calculated over the entire SCB5 validation set rather than only the representative images shown in Figure 7.
As shown in Table 8, FGD-Net achieves the highest mean ALR of 0.3271 and the highest mean TBR of 1.2975 among the compared detectors. In comparison with the YOLOv11n baseline, the mean ALR increases from 0.3036 to 0.3271, indicating that a larger proportion of the total Grad-CAM++ response is localized within the annotated target regions. Meanwhile, the mean TBR increases from 1.1280 to 1.2975, demonstrating a stronger contrast between the normalized activation in the target regions and that in the surrounding classroom background.
Table 8.
Quantitative comparison of Grad-CAM++ activation localization on the SCB5 validation set. ALR and TBR are reported as mean ± standard deviation over individual validation images, while the target and background activation values denote their corresponding dataset-level means.
FGD-Net also produces the highest mean normalized activation within the target regions (0.3999) and the lowest mean normalized background activation (0.2951) among the compared models. This result is consistent with the qualitative observations in Figure 7: the proposed model allocates relatively stronger normalized responses to behavior-related target regions while suppressing activation in irrelevant background areas. Therefore, the improved spatial concentration observed in the heatmaps is supported by quantitative activation-localization statistics rather than visual inspection alone.
4.7. Supplementary Evaluation on the KITTI Dataset
To provide an external verification of the general applicability of the proposed modules, we further evaluate FGD-Net on KITTI under the same comparison protocol. In this experiment, KITTI is treated as an independent object detection benchmark, and the objective is to examine whether the architectural modifications that improve detection on SCB5 and SCB3 can still provide consistent benefits under a substantially different visual distribution.
The comparison results are reported in Table 9. The proposed method achieves the best overall detection performance in terms of Recall, F1-score, , , and . Specifically, FGD-Net obtains 88.32% and 65.10% , outperforming the YOLOv11n baseline by 3.54 and 4.55 percentage points, respectively. Compared with other recent YOLO-based detectors, the proposed method also achieves the highest F1-score and average precision metrics, indicating that the proposed modules improve feature representation and localization quality under cross-scenario conditions. Although FGD-Net introduces a moderate increase in parameters and computational cost, it maintains real-time inference speed, achieving 99.74 FPS in the full inference pipeline and 105.18 FPS in pure model inference. These results provide supplementary evidence that the proposed architectural modifications remain effective under a substantially different object detection setting.
Table 9.
Supplementary comparison results on the KITTI dataset.
4.8. Ablation Study
To verify the individual and cumulative contributions of the proposed modules, we conduct controlled ablation experiments on the SCB5 dataset using YOLOv11n as the common baseline. The first row of Table 10 corresponds to the original YOLOv11n without any of the proposed modules, while FDRC, SDRU, and MGCA are progressively introduced in the subsequent configurations. The final row represents the complete FGD-Net. Therefore, the ablation study directly measures the performance changes relative to the YOLOv11n baseline under the same experimental settings. For consistency, the YOLOv11n baseline and the complete FGD-Net in Table 10 correspond to the YOLOv11n and Ours entries reported in Table 3, respectively.
Table 10.
Ablation study of the proposed modules based on the YOLOv11n baseline on the SCB5 dataset.
As shown in Table 10, introducing FDRC brings a clear improvement over the baseline. Specifically, Precision increases from 55.51% to 59.60%, Recall increases from 61.30% to 62.97%, and F1-score increases from 58.25% to 61.08%. Meanwhile, , , and are improved by 3.10, 4.01, and 3.29 percentage points, respectively. These results indicate that FDRC can effectively enhance fine-grained behavior-related feature representation, which is beneficial for recognizing subtle classroom behaviors.
After further introducing SDRU, the detection performance is consistently improved. Compared with the model using only FDRC, the combination of FDRC and SDRU improves from 62.36% to 63.61%, from 52.01% to 53.31%, and from 44.78% to 45.81%. This demonstrates that SDRU can better preserve and reconstruct spatial details during feature upsampling, thereby improving the detection of small-scale and posture-sensitive behavior regions.
When MGCA is added, the full model achieves the best overall performance. Compared with the baseline, the complete model improves Precision, Recall, and F1-score by 5.59, 2.86, and 4.22 percentage points, respectively. In terms of average precision, , , and are improved by 5.42, 6.20, and 4.97 percentage points, respectively. These improvements show that MGCA further strengthens multi-scale contextual feature aggregation and enhances the discriminative ability of the model.
Although the complete model increases the computational cost from 6.3 GFLOPs to 8.1 GFLOPs and the number of parameters from 2.58M to 3.18M, it still maintains a compact model size of 6.4 MB and achieves 95.42 FPS in the full inference pipeline. Therefore, the proposed model obtains a favorable balance between detection accuracy and inference efficiency.
To further examine whether the performance improvement of SDRU can be attributed simply to the use of a more advanced upsampling operator, we compare the proposed SDRU with conventional Upsample, CARAFE [41], and DySample [42] under the same FGD-Net framework. As shown in Table 11, SDRU achieves the best overall detection performance, reaching 64.68% , 54.20% , and 46.46% . Compared with conventional Upsample, CARAFE, and DySample, SDRU improves by 1.36, 1.08, and 1.49 percentage points, respectively.
Table 11.
Comparison of different upsampling strategies within the FGD-Net framework on the SCB5 dataset.
In terms of computational efficiency, SDRU introduces only a moderate increase in computational cost, with 8.1 GFLOPs and 3.18 M parameters. Nevertheless, it achieves 95.42 FPS for the full inference pipeline and 100.99 FPS for pure model inference, which are higher than those obtained with CARAFE and DySample in the same framework. These results indicate that the advantage of SDRU does not arise solely from replacing the original upsampling operator, but from the combined effect of upsampling, local spatial interaction, and detail reconstruction.
To further verify the choice of the four-directional shift strategy in FSCM, we construct several directional-shift variants while keeping all other components unchanged. Specifically, X0 denotes the configuration without spatial shifting, which is equivalent to removing the shift operation in FSCM; X1V and X1H denote single-direction vertical and horizontal shifts, respectively; X2V and X2H denote bidirectional vertical (up and down) and horizontal (left and right) shifts, respectively; X2A denotes a two-axis single-direction configuration using down and right shifts; and X4 denotes the complete four-directional configuration using up, down, left, and right shifts, which corresponds to the FSCM adopted in the final FGD-Net.
As shown in Table 12, removing the spatial shift operation (X0) results in the lowest of 44.46%, indicating that directional spatial interaction contributes positively to feature reconstruction. Introducing a single directional shift improves the performance to 45.75% for X1V and 46.18% for X1H. Bidirectional configurations also provide consistent improvements over X0, although their effectiveness varies with the selected directions.
Table 12.
Ablation study of different directional shift configurations in FSCM on the SCB5 dataset.
Among all configurations, the complete four-directional strategy X4 achieves the best overall detection performance, with 64.68% , 54.20% , and 46.46% . Compared with X0, X4 improves by 2.00 percentage points. It also outperforms the best single-direction configuration X1H by 0.28 percentage points and the best two-direction configuration X2H by 0.62 percentage points in . These results support the use of complementary horizontal and vertical neighborhood information and indicate that the four-directional FSCM is more effective than restricted directional-shift alternatives for spatial detail reconstruction.
4.9. Failure and Robustness Analysis
Representative failure cases of FGD-Net are shown in Figure 8. Three typical failure modes can be observed. First, Figure 8a shows a high-confidence false-positive prediction, where a student who is not annotated as reading is incorrectly detected as the reading class. In this case, the relatively low viewing angle and the student’s upper-body posture produce visual characteristics similar to those of reading samples, which can cause an erroneous activation of the reading detector. This example indicates that posture ambiguity remains a potential source of false-positive predictions.
Figure 8.
Representative failure cases of FGD-Net on the SCB5 dataset: (a) a high-confidence false-positive reading prediction caused by ambiguous posture and viewing angle; (b) a missed hand-raising instance in which the raised arm is largely occluded by a foreground student; and (c) a writing instance incorrectly classified as reading when the hand–pen interaction is partially occluded.
Occlusion constitutes another important source of detection error. In Figure 8b, the hand-raising student is located farther from the camera and occupies a relatively small image region, while most of the raised arm is occluded by a foreground student. As a result, the most distinctive cue for hand raising is only partially visible, leading to a false-negative detection. Figure 8c illustrates a different effect of occlusion. Although the student is writing, the right hand and pen interaction, which provides an important local cue for distinguishing writing from reading, is partially obscured. Consequently, the instance is incorrectly classified as reading. These examples suggest that occlusion can affect the detector in two different ways: severe loss of discriminative cues may result in missed detections, whereas partial occlusion of fine-grained hand–object information may increase confusion between visually similar behavior categories.
The missed detection in Figure 8b also illustrates the coupled influence of target scale and occlusion. Students located farther from the camera generally occupy fewer pixels, and their behavior-related regions can be more easily obscured by foreground students or classroom furniture. Nevertheless, the failure cases indicate that small targets combined with substantial occlusion remain challenging even for the proposed model.
Figure 9 compares the class-wise Precision–Recall curves of YOLOv11n and FGD-Net on the SCB5 dataset. FGD-Net shows a clear upward shift in the overall Precision–Recall characteristics, with the class-wise values increasing from 65.7%, 52.8%, and 59.1% to 69.1%, 59.9%, and 65.0% for hand raising, reading, and writing, respectively. The improvement is particularly evident for reading and writing, which are more difficult to distinguish because their discriminative cues are concentrated around relatively small hand–object and upper-body regions. Although reading remains the most challenging category, the improved curve indicates that FGD-Net achieves a more favorable Precision–Recall trade-off than the YOLOv11n baseline.
Figure 9.
Class-wise Precision–Recall curves of YOLOv11n (left) and FGD-Net (right) on the SCB5 dataset.
The normalized confusion matrices in Figure 10 provide further insight into the remaining class-specific errors. Compared with YOLOv11n, FGD-Net improves the correct prediction ratios for hand raising, reading, and writing from approximately 0.65, 0.52, and 0.45 to 0.70, 0.63, and 0.48, respectively. The largest improvement is observed for reading, which is consistent with the per-class AP results.
Figure 10.
Normalized confusion matrices of YOLOv11n (left) and FGD-Net (right) on the SCB5 dataset.
Nevertheless, a noticeable confusion between writing and reading remains. For true writing instances, a substantial proportion is still predicted as reading, reflecting the visual similarity between these two behaviors. Both classes can exhibit similar seated upper-body postures, while their distinction often depends on small local cues such as hand position, pen interaction, and book or notebook appearance. When these regions are partially occluded or occupy only a small number of pixels, the model may fail to preserve sufficient discriminative information for correct classification.
The background-related entries also indicate that missed detections remain an important source of error. Although FGD-Net reduces the proportion of true behavior instances assigned to the background category for all three classes, small, distant, or heavily occluded students may still be missed because their behavior-specific features are weak or incomplete.
4.10. Deployment Experiment and Practical Applications
To evaluate the deployment performance of FGD-Net in practical applications, we developed a classroom behavior detection system for real-world monitoring scenarios. As shown in Figure 11, FGD-Net was deployed on a platform equipped with an NVIDIA GeForce RTX 3060 GPU with 8 GB memory, enabling real-time behavior detection and visualization within a unified interface.
Figure 11.
Classroom behavior detection system interface based on FGD-Net.
The current prototype is primarily intended to support the automatic observation and recording of observable classroom behaviors, including hand raising, reading, and writing. The detected behavior instances can provide basic information for summarizing the occurrence and distribution of these activities during a class. By further aggregating detection results over time, the system can potentially support classroom activity analysis, such as estimating the frequency of participation-related behaviors and examining temporal changes in observable student activities. Such information is intended to serve as auxiliary evidence for teachers rather than as a direct or automatic evaluation of students’ learning quality or teaching effectiveness.
At the current stage, the system focuses on behavior detection and visualization rather than higher-level pedagogical inference. More complex applications, such as longitudinal behavior analysis, individual activity profiling, and the integration of multiple behavioral cues for classroom learning analytics, require additional temporal modeling, richer behavior categories, and further pedagogical validation. Therefore, the present deployment experiment mainly demonstrates the feasibility of using FGD-Net as a visual perception component for future classroom behavior analysis systems.
Example Teacher-Facing Analytics Workflow
To further illustrate how the frame-level detection results of FGD-Net can be transformed into teacher-interpretable information, we consider a simple classroom analytics workflow. For each sampled video frame at time t, FGD-Net outputs the locations, behavior categories, and confidence scores of detected students. Let denote the number of detected students exhibiting behavior c, where , and let denote the total number of detected student behavior instances in that frame. For a predefined lesson interval W, such as one or five minutes, the classroom-level activity proportion of behavior c can be calculated as
where denotes the number of sampled frames within the interval. This quantity represents the average proportion of detected students exhibiting a particular observable behavior during the selected lesson interval.
By calculating over consecutive time windows, a lesson can be summarized as a temporal sequence of reading, writing, and hand-raising activities. These statistics can be presented to teachers using temporal curves, stacked activity charts, or lesson-level summaries. For example, a teacher could examine whether reading behavior becomes dominant during an assigned reading period, whether writing activity increases during an exercise session, or whether hand-raising activity becomes more frequent during question-and-answer interactions. In this way, the detector provides structured observational information that can assist teachers in reviewing how classroom activities evolve across different instructional stages.
At the individual level, longitudinal behavior statistics would additionally require maintaining student identities across video frames. When a multi-object tracking module is available, the proportion of observed time that student i spends exhibiting behavior c can be expressed as
where denotes the cumulative tracked duration for which student i is classified as behavior c, and denotes the total duration for which the student is reliably observed. Since the current FGD-Net operates as a frame-level detector and does not explicitly perform student identity tracking or temporal behavior modeling, such individual-level duration statistics are considered a potential downstream extension rather than a validated output of the present system.
Importantly, the above activity proportions describe observable classroom behavior patterns rather than latent cognitive states. They should therefore not be interpreted directly as quantitative measures of engagement, concentration, understanding, or learning achievement. Instead, these behavioral summaries are intended to provide supplementary observational evidence that teachers can interpret together with the instructional context and other educational information.
5. Discussion
5.1. Interpretation of the Main Findings
The working hypothesis of this study is that fine-grained classroom behavior detection can benefit from jointly modeling behavior-sensitive local regions, contextual semantics, and spatial details during multi-scale feature fusion. The experimental results on SCB5 and SCB3 generally support this hypothesis. FGD-Net achieved the highest F1-score and average precision on both datasets, indicating that its improvements are not limited to a single classroom dataset or evaluation metric. On SCB5, the complete model improved , , and by 5.42, 6.20, and 4.97 percentage points, respectively, over the YOLOv11n baseline. The relatively large improvement at the stricter IoU threshold of 0.75 suggests that FGD-Net improves not only behavior classification but also the localization of compact behavior-related regions.
The ablation results provide further evidence for the proposed hypothesis. Among the three modules, FDRC produced the largest initial improvement, increasing from 41.49% to 44.78%. This result indicates that dynamically strengthening local regions is particularly important for classroom behavior detection, where discriminative information is frequently concentrated around hands, arms, heads, books, and upper-body postures. This observation is consistent with previous classroom behavior studies that identify small targets, occlusion, and weak posture differences as important sources of detection errors [14,25,26]. The heatmap results in Figure 7 also show that FGD-Net produces more concentrated activation responses around student body regions and fewer responses in irrelevant classroom backgrounds. Nevertheless, these activation maps should be regarded as qualitative supporting evidence rather than direct proof of the internal mechanism of FDRC.
After SDRU was introduced, all three mAP metrics were further improved. In particular, increased from 52.01% to 53.31%, suggesting that spatial detail reconstruction contributes to more accurate localization. Conventional top-down feature pyramids may weaken or spatially blur small behavior-related cues during upsampling and feature aggregation [15,16]. The improvement obtained with SDRU indicates that shift-guided reconstruction can partially alleviate this problem while introducing only a small parameter increase. When MGCA was subsequently added, Precision increased from 59.90% to 61.10%, and the complete model achieved the best overall performance. This result suggests that complementary contextual paths help suppress background interference and reduce ambiguous predictions among visually similar behaviors.
The results are also related to, but different from, those of previous classroom behavior analysis methods. Earlier studies have employed temporal action modeling, skeleton-based representation, attention mechanisms, and combinations of object detection and pose estimation [7,18,20]. These approaches provide useful temporal or structural information but may require continuous video clips, reliable keypoint estimation, or additional annotations. In comparison, FGD-Net uses a single-frame object detection framework and improves task-specific feature representation without requiring pose or temporal labels. This gives the model a relatively simple and deployment-friendly inference pipeline. However, the present findings should be viewed as complementary to pose- and video-based methods rather than evidence that spatial appearance features can completely replace them. Temporal and skeletal information may still be beneficial when different behaviors have nearly identical appearances in an individual frame.
The consistent improvements on SCB5 and SCB3 demonstrate stability across two classroom benchmarks with different sample sizes and scene distributions. However, because both datasets contain the same three behavior categories and belong to the SCB benchmark family, these results mainly demonstrate within-task generalization. They do not fully establish generalization across schools, age groups, teaching activities, or cultural environments. In comparison, the KITTI experiment evaluates the proposed architecture under substantially different object categories and visual scenes. Relative to the YOLOv11n baseline, FGD-Net improved from 60.55% to 65.10%. This result suggests that the proposed feature enhancement and reconstruction operations are not restricted to classroom images. Nevertheless, the KITTI experiment demonstrates the transferability of the network design rather than cross-domain generalization of classroom behavior understanding.
5.2. Implications for Cognitive Classroom Analytics
From the perspective of cognitive computing, FGD-Net can be regarded as a visual perception component that transforms classroom image or video streams into structured behavior events. Instead of storing and manually reviewing all classroom video frames, a detection system could extract the locations, categories, confidence scores, and temporal distributions of observable student behaviors. These structured results could subsequently be combined with learning analytics to describe classroom participation patterns, identify behavioral changes, or locate video intervals that require teacher review. Therefore, the contribution of FGD-Net is not limited to improving an object detection benchmark; it also provides a possible perception layer for data-driven intelligent classroom systems.
The computational characteristics of FGD-Net are relevant to this application scenario. The complete model contains 3.18M parameters, has a model size of 6.4 MB, and achieves 95.42 FPS in the full inference pipeline on the experimental platform. These results indicate that task-specific feature enhancement does not necessarily require a large-scale network. Compared with heavier feature-fusion models, the compact architecture may facilitate integration with edge–cloud classroom analytics, in which video frames are processed near the data source and only derived behavior events or aggregated statistics are transmitted to a server. Such a design could reduce communication and storage requirements when processing long-duration classroom videos.
The prototype shown in Figure 11 further demonstrates that FGD-Net can be integrated into a classroom behavior visualization interface. However, this prototype should currently be interpreted as a deployment feasibility demonstration rather than a complete validation in an operational classroom. The present experiment does not measure long-term system stability, end-to-end response latency, multi-camera throughput, or the effect of the generated information on teaching decisions. These factors need to be evaluated before the proposed system can be considered ready for large-scale practical use.
It is also important to distinguish observable classroom behavior from latent cognitive or educational states. Hand raising, reading, and writing provide useful visual evidence, but none of these behaviors is an unambiguous indicator of attention, engagement, understanding, or learning performance. For example, a student may remain cognitively engaged without performing one of the three detected behaviors, whereas writing may have different meanings under different teaching activities. Consequently, FGD-Net should be used to support, rather than replace, teacher interpretation. The detection results should preferably be aggregated over suitable time intervals and interpreted together with lesson context instead of being used as isolated evidence for ranking or penalizing individual students.
Classroom video may also contain identifiable and potentially sensitive student information. Practical applications therefore require appropriate data governance, including informed authorization, data minimization, secure storage, access control, and clearly defined retention periods. Model performance should also be examined across different classroom layouts and student groups to reduce the risk of uneven system reliability. Where possible, on-device inference and the retention of derived statistics rather than raw video may help reduce privacy exposure. These considerations are essential for translating visual behavior detection into a responsible cognitive classroom analytics system.
5.3. Limitations and Future Directions
Several limitations define the scope of the present findings. First, SCB5 and SCB3 contain only three behavior categories: hand raising, reading, and writing. Although these categories include fine-grained posture differences, they do not cover the wider range of interactions and learning-related behaviors found in real classrooms. In addition, both datasets are derived from the same benchmark family. The present experiments therefore cannot establish whether the model will maintain its performance under different camera viewpoints, classroom layouts, age groups, illumination conditions, teaching styles, and cultural contexts. Future studies should evaluate FGD-Net using independently collected and multi-institutional classroom datasets with more diverse behavior categories. The present study also does not explicitly analyze class-frequency imbalance among the three annotated behaviors. Since long-tailed distributions can lead to insufficient optimization signals for sample-scarce categories [59], future work should quantify the category distribution of classroom datasets and investigate appropriate class-balanced learning strategies when substantial imbalance is present.
Second, although the revised evaluation includes class-wise performance, confusion matrices, scale-wise analysis, and representative failure cases, the current SCB annotations do not support an independent quantitative stratification according to occlusion severity, student density, or physical camera distance. Future studies could therefore evaluate these factors using datasets with explicit annotations for occlusion level, crowd density, and viewing distance.
Third, FGD-Net processes individual images and does not explicitly model behavior duration, transitions, or student identity across frames. As a result, an ambiguous posture in a single frame may be incorrectly classified even when its temporal context would make the behavior clear. Future work could combine FGD-Net with multi-object tracking and lightweight temporal modeling to construct behavior trajectories from frame-level detections. Pose, gaze, scene context, or other modalities could also provide complementary information. However, the increased annotation and computational costs of such extensions should be carefully considered to preserve the real-time processing capability and moderate computational complexity of the current model.
Finally, inference speed is dependent on hardware, software implementation, batch size, and measurement protocol. The results obtained on the NVIDIA A10 platform and the RTX 3060 prototype do not guarantee equivalent performance on low-power edge devices or under multiple concurrent video streams. From an application perspective, future work will further extend the current detection prototype toward temporal behavior logging and classroom activity analysis by integrating behavior tracking, temporal modeling, and a broader range of classroom behavior categories. Future deployment studies should evaluate end-to-end latency, sustained throughput, GPU memory consumption, energy usage, and operational stability in real classroom environments. Model quantization, pruning, knowledge distillation, and adaptive frame sampling could be investigated to improve deployment efficiency. Domain adaptation, uncertainty estimation, privacy-preserving learning, and human-in-the-loop validation are also important directions for developing classroom behavior analytics systems that are generalizable, transparent, and responsible.
6. Conclusions
In this paper, we propose FGD-Net, a classroom behavior detection network designed for fine-grained student behavior analysis in complex classroom scenes. To address the challenges of subtle behavior cues, visually similar behavior categories, multi-scale posture variations, and background interference, FGD-Net introduces three dedicated modules: the Fine-grained Dynamic Recalibration Convolution Block (FDRC), the Multi-path Gated Context Aggregation Block (MGCA), and the Shift-guided Detail Reconstruction Upsampling Block (SDRU). Specifically, FDRC enhances behavior-sensitive local regions, MGCA strengthens multi-granularity contextual semantic aggregation, and SDRU improves spatial detail reconstruction during multi-scale feature fusion.
Extensive experiments on the SCB5 and SCB3 datasets demonstrate the effectiveness of FGD-Net. On the SCB5 dataset, FGD-Net achieves 64.68% and 46.46% , outperforming the strongest baseline by 2.19 and 0.73 percentage points, respectively. On the SCB3 dataset, FGD-Net further obtains the best overall performance with 70.78% and 50.52% , showing its robustness under different data scales and classroom scene distributions. It should be emphasized that the current study evaluates FGD-Net only for three classroom behavior categories, namely hand raising, reading, and writing, because these are the annotated behavior classes provided by the SCB5 and SCB3 datasets used in this work. Therefore, the present results should not be interpreted as demonstrating comprehensive recognition of all classroom behaviors. The supplementary KITTI experiment further indicates that the proposed architectural modifications remain effective under a substantially different object detection setting. Ablation studies verify the positive contribution of FDRC, MGCA, and SDRU. Extending FGD-Net to a broader classroom behavior taxonomy will require datasets with richer and sufficiently balanced annotations, adaptation and retraining of the classification head for an expanded label space, and further evaluation of inter-class confusion among visually similar behaviors. For behaviors such as peer interaction, listening, mobile-device use, or other activities that may depend strongly on temporal evolution and interaction context, additional temporal modeling, student tracking, and multi-frame information may also be required. Future work will therefore focus on extending the current three-class detection framework toward more comprehensive classroom behavior analysis.
Author Contributions
Conceptualization, M.W. and B.W.; methodology, M.W. and K.S.; validation, K.S. and X.H.; formal analysis, M.W. and X.H.; writing—original draft preparation, M.W. and K.S.; writing—review and editing, M.W., K.S., X.H. and B.W.; visualization, X.H.; supervision, B.W.; project administration, M.W. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by the Hainan Provincial Philosophy and Social Sciences Planning Project, grant number HNSK(ZC)25-291; the Key Educational and Teaching Reform Project of Northwestern Polytechnical University, grant number 2026JGZ057; and the 2026 Shaanxi Provincial Degree and Graduate Education Research Project, grant number SXGERC2026031.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The data presented in this study are publicly available. The SCB5 and SCB3 datasets are available in the SCB-Dataset repository at https://github.com/Whiffe/SCB-dataset (accessed on 2 September 2026), with reference numbers [47,48]. The KITTI dataset is available from the KITTI Vision Benchmark Suite at https://www.cvlibs.net/datasets/kitti/eval_object.php (accessed on 2 September 2026), with reference number [49]. These data were derived from publicly available resources. The code developed in this study is available from the corresponding author upon reasonable request.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Liu, Q.; Jiang, X.; Jiang, R. Classroom Behavior Recognition Using Computer Vision: A Systematic Review. Sensors 2025, 25, 373. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Sun, B.; Wu, Y.; Zhao, K.; He, J.; Yu, L.; Yan, H.; Luo, A. Student Class Behavior Dataset: A Video Dataset for Recognizing, Detecting, and Captioning Students’ Behaviors in Classroom Scenes. Neural Comput. Appl. 2021, 33, 8335–8354. [Google Scholar] [CrossRef] [Scilit]
- Li, Y.; Qi, X.; Saudagar, A.K.J.; Badshah, A.M.; Muhammad, K.; Liu, S. Student Behavior Recognition for Interaction Detection in the Classroom Environment. Image Vis. Comput. 2023, 136, 104726. [Google Scholar] [CrossRef] [Scilit]
- Katsioulas, K.; Maglogiannis, I. Spatio-Temporal Analysis of Handball Players’ Actions from Broadcast Videos Using Deep Learning. Big Data Cogn. Comput. 2026, 10, 118. [Google Scholar] [CrossRef] [Scilit]
- Zhao, J.; Zhu, H.; Niu, L. BiTNet: A Lightweight Object Detection Network for Real-Time Classroom Behavior Recognition with Transformer and Bi-Directional Pyramid Network. J. King Saud Univ.-Comput. Inf. Sci. 2023, 35, 101670. [Google Scholar] [CrossRef] [Scilit]
- Zhang, S.; Liu, H.; Sun, C.; Wu, X.; Wen, P.; Yu, F.; Zhang, J. MSTA-SlowFast: A Student Behavior Detector for Classroom Environments. Sensors 2023, 23, 5205. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Lin, F.C.; Ngo, H.H.; Dow, C.R.; Lam, K.H.; Le, H.L. Student Behavior Recognition System for the Classroom Environment Based on Skeleton Pose Estimation and Person Detection. Sensors 2021, 21, 5314. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Chen, H.; Zhou, G.; Jiang, H. Student Behavior Detection in the Classroom Based on Improved YOLOv8. Sensors 2023, 23, 8385. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Zhu, W.; Yang, Z. Csb-yolo: A Rapid and Efficient Real-Time Algorithm for Classroom Student Behavior Detection. J. Real-Time Image Process. 2024, 21, 140. [Google Scholar] [CrossRef] [Scilit]
- Teran-Quezada, A.A.; Lopez-Cabrera, V.; Rangel, J.C.; Sanchez-Galan, J.E. Sign-to-Text Translation from Panamanian Sign Language to Spanish in Continuous Capture Mode with Deep Neural Networks. Big Data Cogn. Comput. 2024, 8, 25. [Google Scholar] [CrossRef] [Scilit]
- Wang, Z.; Li, L.; Zeng, C.; Yao, J. Student Learning Behavior Recognition Incorporating Data Augmentation with Learning Feature Representation in Smart Classrooms. Sensors 2023, 23, 8190. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Zhang, Y.; Zhu, T.; Ning, H.; Liu, Z. Classroom Student Posture Recognition Based on an Improved High-Resolution Network. EURASIP J. Wirel. Commun. Netw. 2021, 2021, 140. [Google Scholar] [CrossRef] [Scilit]
- Chen, J.; Kao, S.h.; He, H.; Zhuo, W.; Wen, S.; Lee, C.H.; Chan, S.H.G. Run, Don’t Walk: Chasing Higher FLOPS for Faster Neural Networks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Vancouver, BC, Canada, 17–24 June 2023; pp. 12021–12031. [Google Scholar] [CrossRef] [Scilit]
- Peng, S.; Zhang, X.; Zhou, L.; Wang, P. YOLO-CBD: Classroom Behavior Detection Method Based on Behavior Feature Extraction and Aggregation. Sensors 2025, 25, 3073. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Lin, T.Y.; Dollár, P.; Girshick, R.; He, K.; Hariharan, B.; Belongie, S. Feature Pyramid Networks for Object Detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA, 21–26 July 2017; pp. 2117–2125. [Google Scholar] [CrossRef] [Scilit]
- Liu, S.; Qi, L.; Qin, H.; Shi, J.; Jia, J. Path Aggregation Network for Instance Segmentation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 18–23 June 2018; pp. 8759–8768. [Google Scholar] [CrossRef] [Scilit]
- Trabelsi, Z.; Alnajjar, F.; Parambil, M.M.A.; Gochoo, M.; Ali, L. Real-Time Attention Monitoring System for Classroom: A Deep Learning Approach for Student’s Behavior Recognition. Big Data Cogn. Comput. 2023, 7, 48. [Google Scholar] [CrossRef] [Scilit]
- Shou, Z.; Yan, M.; Wen, H.; Liu, J.; Mo, J.; Zhang, H. Research on Students’ Action Behavior Recognition Method Based on Classroom Time-Series Images. Appl. Sci. 2023, 13, 10426. [Google Scholar] [CrossRef] [Scilit]
- Zhang, X.; Nie, J.; Wei, S.; Zhu, G.; Dai, W.; Yang, C. A Study of Classroom Behavior Recognition Incorporating Super-Resolution and Target Detection. Sensors 2024, 24, 5640. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Jia, Q.; He, J. Student Behavior Recognition in Classroom Based on Deep Learning. Appl. Sci. 2024, 14, 7981. [Google Scholar] [CrossRef] [Scilit]
- Liu, Z.; Kong, X.; Chen, H.; Liu, S.; Yang, Z. MOOC-BERT: Automatically Identifying Learner Cognitive Presence From MOOC Discussion Data. IEEE Trans. Learn. Technol. 2023, 16, 528–542. [Google Scholar] [CrossRef] [Scilit]
- Ren, S.; He, K.; Girshick, R.; Sun, J. Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks. IEEE Trans. Pattern Anal. Mach. Intell. 2017, 39, 1137–1149. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Liu, W.; Anguelov, D.; Erhan, D.; Szegedy, C.; Reed, S.; Fu, C.Y.; Berg, A.C. SSD: Single Shot MultiBox Detector. In Computer Vision—ECCV 2016; Springer: Cham, Switzerland, 2016; pp. 21–37. [Google Scholar] [CrossRef] [Scilit]
- Redmon, J.; Divvala, S.; Girshick, R.; Farhadi, A. You Only Look Once: Unified, Real-Time Object Detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 27–30 June 2016; pp. 779–788. [Google Scholar] [CrossRef] [Scilit]
- Chen, H.; Guan, J. Teacher–Student Behavior Recognition in Classroom Teaching Based on Improved YOLO-v4 and Internet of Things Technology. Electronics 2022, 11, 3998. [Google Scholar] [CrossRef] [Scilit]
- Tang, L.; Xie, T.; Yang, Y.; Wang, H. Classroom Behavior Detection Based on Improved YOLOv5 Algorithm Combining Multi-Scale Feature Fusion and Attention Mechanism. Appl. Sci. 2022, 12, 6790. [Google Scholar] [CrossRef] [Scilit]
- Cao, Y.; Cao, Q.; Qian, C.; Chen, D. YOLO-AMM: A Real-Time Classroom Behavior Detection Algorithm Based on Multi-Dimensional Feature Optimization. Sensors 2025, 25, 1142. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Lin, L.; Yang, H.; Xu, Q.; Xue, Y.; Li, D. Research on Student Classroom Behavior Detection Based on the Real-Time Detection Transformer Algorithm. Appl. Sci. 2024, 14, 6153. [Google Scholar] [CrossRef] [Scilit]
- Hu, J.; Shen, L.; Sun, G. Squeeze-and-Excitation Networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 18–23 June 2018; pp. 7132–7141. [Google Scholar] [CrossRef] [Scilit]
- Woo, S.; Park, J.; Lee, J.Y.; Kweon, I.S. CBAM: Convolutional Block Attention Module. In Computer Vision—ECCV 2018; Springer: Cham, Switzerland, 2018; pp. 3–19. [Google Scholar] [CrossRef] [Scilit]
- Feng, C.; Luo, Z.; Kong, D.; Ding, Y.; Liu, J. IMRMB-Net: A Lightweight Student Behavior Recognition Model for Complex Classroom Scenarios. PLoS ONE 2025, 20, e0318817. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Han, L.; Ma, X.; Dai, M.; Bai, L. A WAD-YOLOv8-Based Method for Classroom Student Behavior Detection. Sci. Rep. 2025, 15, 9655. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Xiong, Z.; Zhou, F.; Wu, F.; Yuan, S.; Fu, M.; Peng, Z.; Yang, J.; Dai, Y. DRPCA-Net: Make Robust PCA Great Again for Infrared Small Target Detection. IEEE Trans. Geosci. Remote Sens. 2025, 63, 5005516. [Google Scholar] [CrossRef] [Scilit]
- Wang, X.; Girshick, R.; Gupta, A.; He, K. Non-Local Neural Networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 18–23 June 2018; pp. 7794–7803. [Google Scholar] [CrossRef] [Scilit]
- Cao, Y.; Xu, J.; Lin, S.; Wei, F.; Hu, H. GCNet: Non-Local Networks Meet Squeeze-Excitation Networks and Beyond. In Proceedings of the IEEE/CVF International Conference on Computer Vision Workshops, Seoul, Republic of Korea, 27–28 October 2019. [Google Scholar] [CrossRef] [Scilit]
- Shi, D. TransNeXt: Robust Foveal Visual Perception for Vision Transformers. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA, 16–22 June 2024; pp. 17773–17783. [Google Scholar] [CrossRef] [Scilit]
- Tan, M.; Pang, R.; Le, Q.V. EfficientDet: Scalable and Efficient Object Detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA, 13–19 June 2020; pp. 10781–10790. [Google Scholar] [CrossRef] [Scilit]
- Liu, S.; Huang, D.; Wang, Y. Learning Spatial Fusion for Single-Shot Object Detection. arXiv 2019, arXiv:1911.09516. [Google Scholar] [CrossRef] [Scilit]
- Guo, C.; Fan, B.; Zhang, Q.; Xiang, S.; Pan, C. AugFPN: Improving Multi-Scale Feature Learning for Object Detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA, 13–19 June 2020; pp. 12595–12604. [Google Scholar] [CrossRef] [Scilit]
- Wang, T.; Lin, C.; Tang, C.; Zhou, J.; Xiong, D.; Li, J.; Zhao, J.; Lv, J. Adaptive image zoom-in with bounding box transformation for UAV object detection. ISPRS J. Photogramm. Remote Sens. 2026, 233, 452–466. [Google Scholar] [CrossRef] [Scilit]
- Wang, J.; Chen, K.; Xu, R.; Liu, Z.; Loy, C.C.; Lin, D. CARAFE: Content-Aware ReAssembly of FEatures. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Seoul, Republic of Korea, 27 October–2 November 2019; pp. 3007–3016. [Google Scholar] [CrossRef] [Scilit]
- Liu, W.; Lu, H.; Fu, H.; Cao, Z. Learning to Upsample by Learning to Sample. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Paris, France, 1–6 October 2023; pp. 6027–6037. [Google Scholar] [CrossRef] [Scilit]
- Rahman, M.M.; Munir, M.; Marculescu, R. EMCAD: Efficient Multi-scale Convolutional Attention Decoding for Medical Image Segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA, 16–22 June 2024; pp. 11769–11779. [Google Scholar] [CrossRef] [Scilit]
- Gao, T.; Zhang, Y.; Zhang, Z.; Liu, H.; Yin, K.; Xu, C.; Kong, H. BHViT: Binarized Hybrid Vision Transformer. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Nashville, TN, USA, 10–17 June 2025; pp. 3563–3572. [Google Scholar] [CrossRef] [Scilit]
- Chen, Y.; Dai, X.; Liu, M.; Chen, D.; Yuan, L.; Liu, Z. Dynamic Convolution: Attention Over Convolution Kernels. In Proceedings of the 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA, 13–19 June 2020; pp. 11027–11036. [Google Scholar] [CrossRef] [Scilit]
- Wu, B.; Wan, A.; Yue, X.; Jin, P.; Zhao, S.; Golmant, N.; Gholaminejad, A.; Gonzalez, J.; Keutzer, K. Shift: A Zero FLOP, Zero Parameter Alternative to Spatial Convolutions. In Proceedings of the 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 18–23 June 2018; pp. 9127–9135. [Google Scholar] [CrossRef] [Scilit]
- Yang, F. SCB-Dataset: A Dataset for Detecting Student and Teacher Classroom Behavior. arXiv 2023, arXiv:2304.02488. [Google Scholar] [CrossRef] [Scilit]
- Yang, F.; Wang, T.; Wang, X. Student Classroom Behavior Detection Based on YOLOv7+BRA and Multi-model Fusion. In Image and Graphics; Lecture Notes in Computer Science (LNCS, Volume 14357); Springer: Cham, Switzerland, 2023; pp. 41–52. [Google Scholar] [CrossRef] [Scilit]
- Geiger, A.; Lenz, P.; Stiller, C.; Urtasun, R. Vision meets robotics: The kitti dataset. Int. J. Robot. Res. 2013, 32, 1231–1237. [Google Scholar] [CrossRef] [Scilit]
- Jocher, G.; Chaurasia, A.; Qiu, J. Ultralytics YOLOv8. 2023. Available online: https://docs.ultralytics.com/models/yolov8/ (accessed on 2 September 2026).
- Wang, C.Y.; Yeh, I.H.; Liao, H.Y.M. YOLOv9: Learning What You Want to Learn Using Programmable Gradient Information. In Computer Vision—ECCV 2024; Springer: Cham, Switzerland, 2024; pp. 1–21. [Google Scholar] [CrossRef] [Scilit]
- Wang, A.; Chen, H.; Liu, L.; Chen, K.; Lin, Z.; Han, J.; Ding, G. YOLOv10: Real-Time End-to-End Object Detection. In Advances in Neural Information Processing Systems 37; Neural Information Processing Systems Foundation, Inc.: La Jolla, CA, USA, 2024; pp. 107984–108011. [Google Scholar] [CrossRef] [Scilit]
- Jocher, G.; Qiu, J. Ultralytics YOLO11. 2024. Available online: https://docs.ultralytics.com/models/yolo11/ (accessed on 2 September 2026).
- Tian, Y.; Ye, Q.; Doermann, D. YOLOv12: Attention-Centric Real-Time Object Detectors. arXiv 2025, arXiv:2502.12524. [Google Scholar] [CrossRef] [Scilit]
- Lei, M.; Li, S.; Wu, Y.; Hu, H.; Zhou, Y.; Zheng, X.; Ding, G.; Du, S.; Wu, Z.; Gao, Y. YOLOv13: Real-Time Object Detection with Hypergraph-Enhanced Adaptive Visual Perception. arXiv 2025, arXiv:2506.17733. [Google Scholar] [CrossRef] [Scilit]
- Jocher, G.; Qiu, J. Ultralytics YOLO26. 2026. Available online: https://docs.ultralytics.com/models/yolo26/ (accessed on 2 September 2026).
- Feng, Y.; Huang, J.; Du, S.; Ying, S.; Yong, J.H.; Li, Y.; Ding, G.; Ji, R.; Gao, Y. Hyper-YOLO: When Visual Object Detection Meets Hypergraph Computation. IEEE Trans. Pattern Anal. Mach. Intell. 2025, 47, 2388–2401. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Wang, C.; He, W.; Nie, Y.; Guo, J.; Liu, C.; Wang, Y.; Han, K. Gold-YOLO: Efficient Object Detector via Gather-and-Distribute Mechanism. In Advances in Neural Information Processing Systems; Curran Associates Inc.: Red Hook, NY, USA, 2023; pp. 51094–51112. [Google Scholar] [CrossRef] [Scilit]
- Wang, T.; Yuan, L.; Wang, X.; Feng, J. Learning box regression and mask segmentation under long-tailed distribution with gradient transfusing. Int. J. Comput. Vis. 2025, 133, 951–967. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.










