Abstract
Camera-based visual sensing for classroom behavior detection remains challenging because fine-grained behaviors often differ only in subtle posture and hand–object cues, while dense seating, occlusion, scale variation, and background interference further weaken discriminative visual evidence. To address these issues, this study proposes the Multi-scale Context, Hierarchical Integration, and Memory Enhancement Detector (MCHIME-Det), a lightweight, multi-scale context and memory-enhanced detector built on YOLO26n. The framework introduces three complementary components: C3k2PMM combines multi-scale local modeling with direction-aware selective state-space scanning; CGHFF performs channel-guided hierarchical feature interaction across adjacent feature levels; and C2MECM uses input-dependent memory experts to compensate for ambiguous high-level representations. For evaluation, two public classroom behavior datasets were combined into a corpus containing 11,879 images and 71,657 annotated instances across three categories: hand-raising, reading, and writing. On the curated image-level split, MCHIME-Det achieves 76.3% precision, 74.9% recall, 82.1% mAP50, and 61.4% mAP50:95, improving the YOLO26n baseline by 5.6 and 4.4 percentage points in mAP50 and mAP50:95, respectively. These gains are achieved with only 2.36 M parameters and 5.2 GFLOPs, while maintaining 182 FPS on an RTX 4090 and 17.1 FPS on a Jetson Orin Nano edge device. Ablation, cross-architecture, scale-, density-, and overlap-conditioned analyses, cross-source evaluation, image-corruption robustness tests, and cross-hardware benchmarks characterize model performance on the curated benchmark, three sampled external datasets, specified synthetic corruptions, and tested hardware platforms. These results support hierarchical local–global refinement and memory-assisted compensation as effective strategies for lightweight camera-based visual sensing under the evaluated image datasets and inference settings.
1. Introduction
1.1. Background and Motivation
Classroom behavior provides observable evidence of how students participate in learning activities and interact with instructional environments. Behaviors such as reading, writing, and hand-raising are therefore frequently used as observable indicators in classroom observation and learning-process analysis rather than direct measurements of cognition or learning outcomes [1,2,3,4]. Conventional classroom observation, however, depends heavily on manual recording and expert interpretation, which limits continuous, large-scale, and fine-grained analysis [1].
Computer vision provides a non-contact approach for automated classroom observation [5]. Object detection is particularly suitable because it can localize multiple students while simultaneously assigning behavior categories. Recent classroom-specific studies have shown that lightweight YOLO-based detectors, multi-level feature enhancement, and attention mechanisms can improve real-time recognition in complex classroom scenes [6,7,8,9]. Nevertheless, classroom behavior detection remains substantially more difficult than conventional object detection because behavior classes are often distinguished by subtle posture, hand motion, and human–object interaction cues rather than by large differences in object appearance [3,10].
1.2. Challenges in Classroom Behavior Detection
The difficulty of classroom behavior detection can be summarized from three closely related aspects.
First, different student behaviors may exhibit high visual similarity [11]. Reading and writing, for example, can share similar sitting postures, head orientations, and upper-body configurations, while the decisive information may be concentrated in relatively small regions such as the hands, arms, books, or writing area. These local discriminative cues are easily weakened during repeated feature extraction and downsampling, particularly for students located far from the camera [3,10].
Second, classroom scenes contain substantial semantic interference. Desks, chairs, books, computers, neighboring students, and partially visible body regions are strongly correlated with student activities but are not always useful for distinguishing behavior categories. In dense classrooms, features from adjacent students may further interact spatially, making it difficult to preserve behavior-specific representations. Similar density- and occlusion-related difficulties have been reported in recent classroom detectors [7,12,13].
Third, student instances exhibit considerable variation in scale, visibility, and overlap. Students near the camera occupy large image regions, whereas those in the rear of the classroom may contain only limited spatial detail. Occlusion caused by desks, seats, and neighboring students further reduces the visible evidence available for recognition. Small-target and occlusion-aware classroom studies likewise identify these factors as persistent sources of missed or confused detections [14,15,16]. Related monitoring studies in livestock and infrastructure applications have also examined challenging visual recognition conditions [17,18]. Consequently, a detector must preserve fine-grained behavioral information while remaining robust to scale variation, crowding, and partial visibility.
These difficulties indicate that classroom behavior detection is not simply a localization problem. Effective detection requires the progressive preservation and refinement of task-relevant behavioral representations throughout the feature hierarchy [1].
1.3. Existing Methods and Research Gap
Deep-learning-based object detectors have increasingly been applied to classroom behavior analysis because of their ability to jointly learn spatial localization and semantic classification [19]. Similar lightweight detection frameworks in other sensing domains have also demonstrated the importance of efficient feature enhancement and cross-view feature integration for recognizing small or weak targets in complex environments [20]. Existing classroom studies have strengthened multi-scale feature representation, attention-based feature selection, and lightweight feature extraction. Representative examples include multi-scale attention-enhanced YOLOv5 and YOLOv8 variants, cognitive-engagement detectors based on lightweight attention, and multi-level classroom behavior networks such as SBD-Net and YOLO-AMM [2,6,7,8,9,10,21].
Long-range contextual modeling has also received increasing attention. SCB-DETR uses multiscale deformable transformer representations for occlusion-resilient student learning behavior detection, whereas SLBDetection-Net combines behavior-aware attention, Transformer encoding, and small-target processing for closed- and open-set classroom scenarios [12,15]. More recently, SLB-Mamba has introduced visual state-space modeling into student learning behavior detection, while YOLO-APPA and DBRA-SCSA-YOLO further emphasize boundary-aware fusion, multi-scale adaptation, and spatial–channel attention for dense and occluded classroom scenes [13,16,22].
Compared with SLB-Mamba’s detector-level visual state-space modeling, C3k2PMM embeds dilation-partitioned local extraction and mask-guided four-direction SS2D within the lightweight C3k2 hierarchy. Compared with the deformable Transformer representation used by SCB-DETR, C3k2PMM preserves a convolutional local branch and a selective scanning branch at multiple backbone and neck resolutions, directly linking fine-grained hand–object evidence with spatially separated posture context [12,22].
CGHFF differs from boundary-aware fusion and spatial–channel attention designs by applying spatial recalibration, reciprocal adjacent-level modulation, and grouped channel refinement in sequence at the P3/8 and P4/16 fusion sites [13,16]. C2MECM extends learnable-memory retrieval and sparse expert routing through input-dependent selection of memory experts with parallel global-pattern and spatial-context retrieval after SPPF. Together, these stage-specific operations form a continuous refinement path for hand-raising, reading, and writing detection [23,24].
Although these studies provide effective solutions to particular aspects of classroom perception, the principal difficulties often occur simultaneously at different representation levels: weak local action cues, high-level semantic interference, and scale-dependent spatial ambiguity. In addition, many published evaluations remain centered on a principal dataset or a limited acquisition setting, so robustness across independent data sources, image degradations, and heterogeneous deployment hardware is less frequently examined in a unified experimental framework [1]. These observations motivate a lightweight detector that integrates complementary local–global feature modeling, cross-level feature interaction, and memory-assisted semantic compensation, together with evaluation protocols that explicitly probe transferability and difficult-scene robustness.
1.4. Proposed Framework and Contributions
To address the above challenges, this study develops a lightweight classroom behavior detection framework with hierarchical feature refinement. The framework progressively strengthens behavior-discriminative information through stage-specific local–global extraction, adjacent-level interaction, and memory-assisted semantic compensation across the feature hierarchy. It is designed to preserve subtle local behavioral cues, suppress task-irrelevant semantic interference, and improve spatial discrimination under scale variation, occlusion, and inter-student interference, while maintaining a lightweight detection architecture suitable for efficient classroom analysis.
For evaluation, two publicly available classroom behavior datasets, SCB-2025-7-public-1 and SCB-Dataset3-S-2, are combined under a common three-class annotation space comprising hand-raising, reading, and writing. The two sources provide varied classroom layouts, student distributions, target scales, occlusion patterns, and visual conditions.
The overall workflow of the proposed framework is illustrated in Figure 1. It integrates multi-source data construction and category harmonization, annotation and preprocessing, hierarchical feature refinement, challenging-scene detection, comprehensive model evaluation, cross-hardware deployment, and practical classroom applications within a unified pipeline.
Figure 1.
Overall framework of the proposed classroom behavior detection system, including multi-source dataset construction, category harmonization and preprocessing, the proposed lightweight detection model, challenging-scene analysis, comprehensive evaluation, cross-hardware inference benchmarking, and potential classroom applications.
The main contributions of this study are summarized as follows:
- A lightweight classroom behavior detector with hierarchical feature refinement is developed to address three major task-specific challenges: weak local behavioral cues, semantic interference from classroom context and neighboring students, and scale-dependent spatial ambiguity. The proposed framework progressively enhances behavior-discriminative representations while maintaining low computational complexity. More specifically, C3k2PMM targets fine-scale hand–object evidence and longer-range body context, CGHFF combines spatial detail with intermediate-level semantic cues, and C2MECM provides memory-based compensation when high-level behavior evidence is incomplete.
- Comprehensive experiments are conducted to evaluate the proposed framework from multiple perspectives, including component ablation, comparison with representative general-purpose and classroom-specific detectors, class-wise performance, scale- and overlap-conditioned analysis, robustness evaluation, computational efficiency, and model-level cross-hardware inference benchmarking. The experimental results characterize detection accuracy on the curated image benchmark, performance under the specified synthetic corruptions, and model-level inference throughput on the evaluated hardware.
2. Multi-Source Classroom Behavior Dataset
2.1. Data Sources
The classroom behavior dataset used in this study was assembled exclusively from two publicly available classroom behavior datasets, SCB-2025-7-public-1 and SCB-Dataset3-S-2. Both are associated with the SCB classroom behavior dataset [25] and provide bounding-box annotations of student behaviors in realistic classroom scenes. Because the two public sources belong to the same broader dataset family, particular attention was paid to annotation consistency, image duplication, and potentially highly similar frames during dataset integration and curation.
The present study focuses on three representative classroom behaviors: hand-raising, reading, and writing. These behaviors are frequently observed during classroom learning activities but exhibit different levels of visual separability. In particular, reading and writing often involve similar seated postures and upper-body configurations, whereas hand-raising generally exhibits more distinctive gesture characteristics.
Following duplicate removal and data curation, the final dataset contained 11,879 images, including 6864 images from SCB-2025-7-public-1 and 5015 images from SCB-Dataset3-S-2. These numbers describe the final retained corpus after source filtering and data curation. No self-collected images were included.
2.2. Category Harmonization, Data Curation, and Evaluation Split
The label archives of both public datasets contain only the three retained behavior classes. Their annotations were therefore integrated under a unified three-class detection task consisting of hand-raising, reading, and writing.
For consistency across the two sources, the final class indices were defined as 0 for hand-raising, 1 for reading, and 2 for writing. The annotation files were checked to ensure consistent class indices and bounding-box representations, after which all retained samples were organized in a unified YOLO detection format.
Data curation was performed before establishing the final training, validation, and test partitions. Exact duplicate images identified in the collected source archives were removed, and the retained images formed the final corpus of 11,879 images and 71,657 annotated instances. The curated corpus was then organized into training, validation, and test subsets containing 9503, 1187, and 1189 images, respectively. The training subset was used for model optimization, the validation subset for model selection and parameter adjustment, and the test subset for final quantitative comparison.
To further reduce potential leakage caused by highly similar classroom frames, additional screening was performed for near-duplicate images and visually adjacent frames. Images that could be identified as near-duplicates or as originating from the same source sequence or classroom session were kept within the same subset rather than distributed across the training, validation, and test partitions. Consequently, no identified exact duplicate or identifiable near-duplicate frame group was retained across different subsets.
The released metadata do not provide complete video-, classroom-, camera-, or sequence-level provenance for every image. The resulting training, validation, and test partition is a curated image-level benchmark with exact- and near-duplicate screening; sequence-, classroom-, camera-, and session-level independence remains unverified.
All baseline models, comparison detectors, ablation variants, and the proposed model were trained and evaluated using the same curated partitions and experimental protocol. The main test set supports controlled comparison of detector architectures under this common benchmark protocol. The cross-source experiments in Section 4.7 separately compare model performance on three sampled public source distributions. A sequence-, classroom-, or camera-grouped evaluation requires complete recording-level provenance information for all source images.
2.3. Dataset Characteristics
The final two-source public dataset contains 11,879 classroom images and 71,657 annotated student behavior instances. Among them, 9503 images were used for training, 1187 for validation, and 1189 for testing, corresponding to approximately 80%, 10%, and 10% of the complete dataset, respectively. Throughout the remainder of this paper, the term “test set” refers specifically to the held-out test subset of this curated benchmark split. Figure 2 provides an overview of the data-source composition, dataset split, and behavior-class distribution.
Figure 2.
Overview of the combined public classroom behavior dataset, including (a) image composition from the two sources; (b) training, validation, and test splits; and (c) distribution of annotated behavior instances.
Table 1 summarizes the image composition of the two public sources after data curation. SCB-2025-7-public-1 contributes 6864 images (57.8%), whereas SCB-Dataset3-S-2 contributes 5015 images (42.2%).
Table 1.
Image composition of the classroom behavior dataset from two public sources after data curation.
Table 2 presents the image and instance distribution across the training, validation, and test subsets. The complete dataset contains 24,659 hand-raising, 34,082 reading, and 12,916 writing instances, corresponding to 34.4%, 47.6%, and 18.0% of all annotations, respectively. Reading is the most frequent behavior, whereas writing contains fewer samples, resulting in a moderate class imbalance within the dataset.
Table 2.
Statistics of the combined public classroom behavior dataset.
On average, each image contains approximately 6.0 annotated student behavior instances. The dataset includes both relatively sparse classroom scenes and crowded scenes containing multiple simultaneously visible students. The detection task therefore involves substantial variation in student density, target scale, spatial overlap, visible body regions, and occlusion.
The visual distinction between reading and writing is particularly challenging because both behaviors are typically characterized by seated postures and similar head and upper-body orientations. Their discrimination therefore depends on relatively fine-grained visual cues around the hands, arms, books, and desktop regions. In contrast, hand-raising generally presents a more distinctive pose, although recognition can still become difficult for small targets, partially occluded students, or densely populated classroom scenes.
Overall, the curated dataset provides a unified three-class benchmark for controlled comparison of classroom behavior detectors. The main experiments therefore focus on relative model performance under identical data partitions and training conditions. The complementary cross-source experiments assess transfer across three evaluated public source distributions; conclusions about unseen recording sessions, cameras, or student populations depend on verified source-level independence.
3. Proposed Classroom Behavior Detection Framework
3.1. Overall Architecture
The proposed classroom behavior detector is developed from YOLO26n and retains its backbone–neck–head organization and three detection branches at P3, P4, and P5. As shown in Figure 3, three components are introduced to improve the representation of hand-raising, reading, and writing: C3k2PMM, CGHFF, and C2MECM.
Figure 3.
Overall architecture of MCHIME-Det. C3k2PMM enhances multi-scale local–global spatial representation, CGHFF performs channel-guided hierarchical feature fusion, and C2MECM introduces memory-assisted semantic compensation.
C3k2PMM replaces selected C3k2 blocks across the backbone and neck so that multi-scale local extraction and directional long-range modeling are applied at multiple feature resolutions. CGHFF is introduced at the two principal cross-level fusion positions associated with the P3/8 and P4/16 pathways, where higher-resolution spatial detail and stronger intermediate semantics are combined. C2MECM is placed at the deepest semantic stage after SPPF so that memory retrieval and expert routing operate on compact, high-level behavior representations rather than early low-level textures. The resulting P3, P4, and P5 features are finally forwarded to the original detection heads.
3.2. Pyramid Mask Mamba Feature Extraction Module
The original C3k2 block mainly relies on convolutional transformations with limited effective receptive fields. Multi-scale representation has long been important for preserving object evidence across spatial resolutions, as illustrated by multi-scale backbone designs such as Res2Net [26]. In parallel, selective state-space models provide a linear-complexity mechanism for long-range dependency modeling [27]; visual state-space approaches extend these ideas to image representation learning [28]. Related lightweight detection studies have also demonstrated the effectiveness of jointly modeling global–local representations and directional information for object detection in complex monitoring environments [29,30,31,32]. Beyond generic visual representation learning, Mamba-based modeling has also been combined with super-resolution reconstruction and YOLO-family detection for weak-target recognition in challenging sensing imagery [33,34]. For classroom behavior detection, discriminative information may involve spatially separated regions, such as the arm and torso in hand-raising or the hand, book, and desk in reading and writing. Motivated by these complementary local and long-range modeling principles, a PMM-style local–global transformation is integrated into the C3k2 hierarchy by replacing the original C3k transformation, forming C3k2PMM. The resulting C3k2PMM design couples dilated local representations with directionally masked state-space scanning inside lightweight C3k2 blocks.
As shown in Figure 4, C3k2PMM retains the original split–transform–concatenate structure. Given an input feature , a channel projection is first performed:
Figure 4.
Structure of the proposed C3k2PMM module. The upper panel enlarges the C3k2PMM and PMM data paths, while the lower panel enlarges the MGD-SS2D directional scanning mechanism and operation symbols.
PMM contains two parallel branches. In the multi-scale branch, is divided into n channel groups,
and each group is processed using a depthwise convolution with a different dilation rate :
The implementation uses four channel groups with dilation rates of 1, 2, 3, and 4, respectively, to capture complementary local receptive fields.
The multi-scale representation is obtained by
The second branch employs Mask-Guided Directional Selective Scan 2D (MGD-SS2D). This branch applies directional masking across four spatial traversal routes to incorporate classroom-specific spatial structure. The base parameters are generated as
For each scanning direction , the learnable depthwise kernel K is modulated by a direction-specific mask :
where ⊙ denotes element-wise multiplication. The four masks are fixed, non-trainable buffers. They are generated from the left-to-right base template by horizontal reversal, transposition, and vertical reversal:
Each mask is broadcast over the channels of K, while K itself remains trainable. The masked depthwise convolution is executed independently for each direction before the state-space parameters are generated:
Accordingly, the four routes share the projected feature P and the underlying trainable kernel K, but use distinct masked kernels and distinct parameter tensors . The traversal operators use row-major order, its reverse, row-major order after swapping the spatial axes, and the reverse of that transposed order, respectively:
After selective scanning, restores each sequence to the original layout, and the four restored outputs are combined by element-wise summation:
Directional masking and selective scanning enable information propagation over a wider spatial range, which is useful for elongated arms, body structures, and book boundaries.
The final PMM feature is obtained by
Thus, C3k2PMM combines multi-scale local structures with direction-aware long-range dependencies. In the proposed network, it replaces seven original C3k2 blocks across the backbone and neck, allowing the same local–global refinement principle to be applied before and during multi-scale feature aggregation rather than only at a single terminal stage.
3.3. Channel-Guided Hierarchical Feature Fusion Module
Hierarchical feature fusion is a central strategy for multi-scale detection. FPN established top-down feature pyramids with lateral connections, PANet strengthened bottom-up information propagation, and EfficientDet introduced weighted bidirectional feature fusion for efficient multi-scale aggregation [35,36,37]. Attention mechanisms such as squeeze-and-excitation, CBAM, and coordinate attention have further shown that channel and spatial responses can be selectively recalibrated with modest computational overhead [38,39,40,41]. Related camera–radar detection work has also studied interaction between complementary feature representations [42].
Direct concatenation of low- and high-level features, however, may propagate background responses together with useful behavior information. CGHFF therefore combines spatial recalibration and reciprocal cross-level modulation with grouped channel-wise self-attention, adapting these mechanisms to the hierarchical fusion of classroom behavior features. The resulting CGHFF design applies spatial recalibration before reciprocal cross-level feature interaction and grouped channel refinement.
As shown in Figure 5, given a low-level feature and a high-level feature , the latter is first upsampled:
Figure 5.
Structure of the proposed CGHFF module. Spatial recalibration and reciprocal cross-level modulation are followed by grouped channel-wise self-attention for adaptive hierarchical feature fusion.
Spatial attention is independently applied to both feature levels:
The spatial attention modules use a 7-by-7 convolutional kernel.
Cross-level weights are then generated through lightweight convolutional transformations:
where CBR denotes convolution, batch normalization, and ReLU activation.
The two feature levels are reciprocally modulated:
The modulated features are concatenated to obtain
CGHFF further employs Grouped Channel-Wise Self-Attention (GCSA). Query, key, and value features are generated from and divided into h channel groups. For the i-th group,
where d denotes the channel dimension of each group. GCSA uses four channel groups.
The group responses are concatenated and projected to obtain the channel attention representation:
The final channel guidance is
and the output feature is obtained by
CGHFF is deployed at the P3/8 and P4/16 pathways because these are the two principal neck locations where adjacent-resolution features are fused. The P3/8 pathway retains finer spatial evidence for small or distant students, whereas the P4/16 pathway provides stronger intermediate-level semantics. Restricting CGHFF to these fusion sites avoids repeatedly applying the same attention operation throughout the neck.
3.4. Memory Expert Compensation Module
The original high-level attention mechanism mainly models information within the current image. Learnable memory modules provide a related mechanism for retrieving representative feature prototypes, while sparse mixture-of-experts models demonstrate the utility of input-dependent expert routing [23,24]. Building on these memory-retrieval and expert-routing principles, C2MECM adapts memory-expert compensation to the high-level C2PSA pathway for classroom behavior detection. Classroom behaviors may provide incomplete or ambiguous evidence because of occlusion, limited resolution, and high visual similarity; the memory experts are therefore used to retrieve representative cross-image patterns for the current high-level feature.
As shown in Figure 6, C2MECM retains the overall split and cross-stage structure while incorporating MECM into the high-level feature processing pathway. MECM consists of an Expert Gate, multiple Memory Experts, and memory banks maintained by the training-time update described below.
Figure 6.
Structure of the proposed C2MECM module. The upper panel enlarges the C2MECM and PSA_MECM overview, while the lower panel enlarges the Expert Gate, Memory Expert, GPStream, and SCStream paths.
Given an input feature , global average and maximum pooling are first used to obtain a compact descriptor z. The Expert Gate predicts the expert weights as
The gate contains four memory experts and activates the two highest-scoring experts for each input. During training, the noisy-routing term is generated as
where is learned jointly with the gate and . A fresh Gaussian sample is drawn for each training input; at inference, , so and routing is deterministic. The Top-K operator retains the two selected logits, assigns to the remaining logits, and the subsequent softmax normalizes the two active expert weights to sum to one.
Let denote the output of the j-th memory expert. The expert responses are aggregated as
where E denotes the total number of experts.
Each expert contains a Global-Pattern Interaction Stream (GPStream) and a Spatial-Context Refinement Stream (SCStream). Let
denote the corresponding memory bank containing memory entries. Each expert has 32 memory entries. Before training, every entry is sampled independently from and normalized to unit norm. The four expert banks are initialized independently. Equations below omit the expert index j for readability.
For global pattern retrieval, the pooled feature z is matched with the memory bank:
and the memory response is
The resulting global compensation is applied as
For spatial-context refinement, the memory entries are reshaped as convolutional kernels and matched with the spatial feature:
where describes the similarity between each spatial location and the memory entries.
For each spatial position p, the Top-K memory responses are selected and normalized:
and the spatial compensation feature is obtained as
Within SCStream, spatial retrieval selects the four highest-scoring entries per location, separately from the two-expert routing decision.
The two streams provide complementary global and spatial memory information within each expert. The memory bank is updated once per mini-batch from the pooled descriptors of samples routed to each active expert. For sample b and active expert j, let and let . The top-1 matched memory entry and its gate-weighted matching score are
For every expert j and memory slot n, scores from all mini-batch samples assigned to that slot are normalized as
and the batch-aggregated descriptor and residual are
A slot receiving at least one assignment is updated independently within its expert by
Thus, 0.9 weights the previous memory state and the residual coefficient is . Experts that receive no routed samples and slots that receive no assignment remain unchanged. The noisy gate and memory update are active only during training; inference uses deterministic routing and fixed memory banks.
C2MECM is placed at the deepest semantic stage after SPPF, where the feature map is spatially compact and semantically enriched. This limits memory retrieval and sparse expert routing to the stage where high-level ambiguity is most directly represented, while avoiding repeated memory operations on high-resolution low-level features.
The core module-level operations are summarized in Algorithm 1.
| Algorithm 1 Core implementation of the C3k2PMM, CGHFF, and C2MECM modules |
| Input: Stage-specific features , , and X; four expert memory banks (32 entries each) |
| Output: Refined features , , and |
| 1: C3k2PMM: Multi-scale directional refinement |
| 2: Split into four groups |
| 3: , |
| 4: |
| 5: Define fixed masks by Equation (7) |
| 6: Construct the four routes by Equation (9) |
| 7: for do |
| 8: |
| 9: ; |
| 10: |
| 11: end for |
| 12: |
| 13: CGHFF: Hierarchical feature fusion |
| 14: |
| 15: |
| 16: |
| 17: |
| 18: |
| 19: |
| 20: C2MECM: Memory-expert compensation |
| 21: |
| 22: if training then |
| 23: Draw ; |
| 24: else |
| 25: |
| 26: end if |
| 27: ; ; |
| 28: for do |
| 29: |
| 30: |
| 31: |
| 32: for each spatial location p do |
| 33: |
| 34: |
| 35: end for |
| 36: |
| 37: end for |
| 38: |
| 39: if training then |
| 40: for each active expert j and sample b routed to j do |
| 41: ; |
| 42: |
| 43: end for |
| 44: for each expert-slot pair receiving at least one assignment do |
| 45: Normalize across the mini-batch and compute |
| 46: ; |
| 47: |
| 48: end for |
| 49: end if |
| 50: return |
4. Experiments
4.1. Experimental Setup
Training, validation, ablation, and primary accuracy experiments were conducted on the workstation described below. Cross-hardware inference benchmarks were conducted separately on the four platforms specified in Section 4.9. The workstation was equipped with an NVIDIA GeForce RTX 4090 GPU with 24 GB memory, an Intel Core Ultra 9 285K CPU, and 64 GB RAM. The operating system was Windows 11, and all models were implemented using PyTorch 2.1.0 with CUDA 11.8 and Python 3.10.20. The detailed experimental environment is summarized in Table 3.
Table 3.
Experimental environment.
For the controlled experiments involving YOLO26n and the proposed variants, the same training configuration was adopted to ensure a fair comparison. Accordingly, the incremental effect of the proposed modules is assessed primarily against the matched YOLO26n baseline, while comparisons across other detector families provide broader performance context. For these controlled experiments, input images were resized to pixels, and the models were trained for 200 epochs with a batch size of 16. Stochastic Gradient Descent (SGD) was used as the optimizer with an initial learning rate of 0.001, a final learning-rate factor of 0.01, momentum of 0.937, and weight decay of 0.0005. Eight data-loading workers were used. The complete training configuration is listed in Table 4.
Table 4.
Training settings for YOLO26n and its variants.
For the representative-detector comparison, every model was retrained on the same curated training partition and evaluated on the same validation and test subsets.RT-DETR-n used COCO-pretrained RT-DETR weights, AdamW with an initial learning rate of and weight decay of , cosine decay to , 200 epochs, and a batch size of 16. Its augmentation consisted of horizontal flipping, color jitter, and scale jitter between 0.8 and 1.2 at a input.
GhostNet-n used an ImageNet-pretrained GhostNet backbone and a randomly initialized detection head. It was trained for 200 epochs with a batch size of 16 using SGD, an initial learning rate of 0.001, a final learning-rate factor of 0.01, momentum of 0.937, and weight decay of 0.0005. Mamba-YOLO-tiny used the COCO-pretrained Mamba-YOLO-T weights and SGD for 300 epochs with a batch size of 16, an initial learning rate of 0.01, cosine decay to 0.0001, momentum of 0.937, and weight decay of 0.0005.
For GhostNet-n and Mamba-YOLO-tiny, the augmentation pipeline included HSV perturbation, random affine transformation, horizontal flipping with probability 0.5, and mosaic augmentation; Mamba-YOLO-tiny additionally used mixup with probability 0.1. Mosaic augmentation was disabled during the final 10 epochs. Both models used inputs.
SSD300-MobileNetV2 used an ImageNet-pretrained MobileNetV2 backbone, SGD with an initial learning rate of 0.001, momentum of 0.9, and weight decay of 0.0005, followed by a step schedule with a factor of 0.1 at epochs 80 and 100. It was trained for 120 epochs with a batch size of 32 at . Its augmentation used photometric distortion, IoU-constrained random cropping, and horizontal flipping with probability 0.5.
Faster R-CNN used the COCO-pretrained ResNet-50-FPN detector, SGD with an initial learning rate of 0.005, momentum of 0.9, and weight decay of 0.0005, with a factor-of-0.1 step decay at epochs 16 and 22. It was trained for 24 epochs with a batch size of 4. Images were resized with the shorter side sampled from 576, 640, and 704 pixels, followed by horizontal flipping with probability 0.5; evaluation used a input.
YOLO-Worldv2-n used the released COCO-pretrained YOLO-World-v2 weights and AdamW with an initial learning rate of , weight decay of 0.05, and cosine decay to . It was trained for 100 epochs with a batch size of 16. The augmentation pipeline used mosaic, mixup with probability 0.1, random affine transformation, HSV perturbation, and horizontal flipping with probability 0.5.
YOLOv9t, YOLOv10n, YOLOv11n, YOLOv12n, and YOLOv13n were initialized from their released COCO-pretrained weights and trained for 200 epochs with a batch size of 16. Each used SGD with an initial learning rate of 0.001, a final learning-rate factor of 0.01, momentum of 0.937, weight decay of 0.0005, and a three-epoch warm-up. Their augmentation used mosaic, HSV perturbation, random affine transformation, and horizontal flipping with probability 0.5; mosaic was disabled during the final 10 epochs.
CBPH-Net used its ImageNet-pretrained backbone, AdamW with an initial learning rate of and weight decay of 0.05, cosine decay to , 200 epochs, and a batch size of 16. SLBDetection-Net used its ImageNet-22K-pretrained Swin backbone with the same AdamW schedule, a five-epoch warm-up, 200 epochs, and a batch size of 8. Both used random resize and crop, horizontal flipping with probability 0.5, and color jitter at .
All detector families shared the same images, three-class label space, validation-based checkpoint selection, test metrics, and computing platform. No model was tuned on the test subset. The YOLO26n SGD settings in Table 4 were applied only to the matched YOLO26n baseline and MCHIME-Det variants. The model-specific optimizer, learning-rate schedule, training duration, batch size, input resolution, augmentation, and pretraining source used for each comparison detector are reported above.
Model evaluation was performed using the best checkpoint obtained during training. The concrete module settings reported in Section 3—the C3k2PMM dilation rates and scan directions, the CGHFF channel grouping, and the C2MECM expert count, active-expert Top-K, memory size, spatial Top-K, and memory-update momentum—were selected using the validation subset and fixed before final testing. The validation subset was also used for checkpoint selection, whereas the test subset was reserved for final evaluation and was not used for model selection or hyperparameter tuning. Unless otherwise specified, validation was conducted using the standard Ultralytics evaluation procedure without manually redefining the confidence or IoU thresholds. For the repeatability assessment, all mAP results in the internal-component ablation are reported as mean and standard deviation (SD) over five independent runs under the fixed data partition. Selected mAP results in the principal model comparison and the cross-source evaluations, together with the Baseline and “+All” configurations in the cross-architecture study, are likewise reported as mean and SD over five independent runs under the respective fixed evaluation partitions.
Inference speed was measured separately using a batch size of 1 and an input resolution of except for SSD300-MobileNetV2, which used 300-by-300 inputs. Each model was first warmed up for 200 iterations, followed by 1000 timed inference runs. GPU synchronization was performed immediately before and after each forward pass, and gradients were disabled during benchmarking. FPS was calculated from the mean inference latency. Only the network forward pass was timed; image decoding, preprocessing, host-to-device transfers, and post-processing (including NMS) were excluded. The speed-test configuration is summarized in Table 5.
Table 5.
Inference-speed benchmarking settings.
4.2. Comparison with Representative Detectors
To evaluate the overall competitiveness of MCHIME-Det, we compared it with representative detectors from different architectural paradigms. The selection covers transformer-based detection, lightweight convolutional backbones, state-space modeling, open-vocabulary detection, two-stage detection, and recent lightweight YOLO generations. The general-purpose methods include RT-DETR-n, GhostNet-n, Mamba-YOLO-tiny, SSD300-MobileNetV2, Faster R-CNN with a ResNet-50 backbone, YOLO-Worldv2-n, and YOLOv9t, YOLOv10n, YOLOv11n, YOLOv12n, YOLOv13n, and YOLO26n. In addition, two classroom-specific detectors with formally published sources were included: CBPH-Net [14] and SLBDetection-Net [15]. YOLO26n serves as the direct architectural baseline, whereas the remaining models provide broader context across detector families. The comparison results are summarized in Table 6.
Table 6.
Comparison with representative object detectors on the classroom behavior dataset. Selected mAP results are reported as mean and SD across independent runs.
As shown in Table 6, MCHIME-Det achieves the highest Precision, Recall, mAP50, and mAP50:95 among the reported comparisons, reaching 76.3%, 74.9%, 82.1%, and 61.4%, respectively. Compared with the YOLO26n baseline, MCHIME-Det improves these four metrics by 7.6, 3.7, 5.6, and 4.4 percentage points, respectively. These results support the complementary contributions of C3k2PMM, CGHFF, and C2MECM to classification and localization performance.
Among the formally published classroom-specific detectors, SLBDetection-Net provides the stronger comparison, reaching 73.6% Precision, 73.5% Recall, 79.4% mAP50, and 58.4% mAP50:95. MCHIME-Det improves these values by 2.7, 1.4, 2.7, and 3.0 percentage points, respectively. This pattern is consistent with recent classroom-specific studies showing that multi-scale feature preservation, selective attention, contextual interaction, and small-target processing are especially important in dense and occluded classroom scenes [7,8,9,12,13,16,22]. The proposed framework combines local–global spatial modeling, cross-level interaction, and memory-assisted semantic compensation while keeping model complexity close to the YOLO26n baseline.
For the qualitative visualizations, Average Confidence (AC) is the arithmetic mean of the confidence scores of all displayed predictions retained at the visualization threshold of 0.25. The calculation includes false-positive predictions and is performed directly on the retained detections without an additional ground-truth matching step. AC summarizes the mean confidence of the displayed detections, while detection accuracy is evaluated using the ground-truth-based mAP metrics in Table 6.
Figure 7 presents qualitative results under different classroom layouts, viewpoints, and crowd densities. The visualizations show the predicted regions produced by each detector, while the ground-truth-based accuracy comparison is reported in Table 6. MCHIME-Det retains more complete responses around several small, crowded, and partially overlapping student regions in the illustrated scenes.
Figure 7.
Qualitative comparison of representative detectors across four classroom scenes. The first column shows the original images, followed by the visualization results of RT-DETR-n, Mamba-YOLO-tiny, SSD300-MobileNetV2, Faster R-CNN, YOLOv12n, YOLO26n, and the proposed model.
Overall, the quantitative and qualitative results demonstrate that MCHIME-Det is competitive with both general-purpose and classroom-specific detectors. The combination of C3k2PMM, CGHFF, and C2MECM improves feature discrimination, cross-level fusion, and localization in complex classroom scenes. Computational complexity and inference efficiency are further analyzed in Section 4.8.
4.3. Ablation Study
To systematically evaluate the effectiveness and complementarity of C3k2PMM, CGHFF, and C2MECM, a combinatorial ablation study was conducted. M0 denotes the original YOLO26n baseline; M1, M2, and M3 incorporate C3k2PMM, CGHFF, and C2MECM individually; M12, M13, and M23 represent their pairwise combinations; and M123 denotes the complete model. All variants were trained and evaluated under the same experimental protocol. Accuracy metrics are reported as mean ± standard deviation over five independent runs, whereas Params, GFLOPs, model size, and FPS are reported as single values.
As shown in Table 7, the three modules provide complementary improvements. Among the single-module variants, C3k2PMM (M1) increases Precision and mAP50 by 2.1 and 0.9 percentage points while reducing Params from 2.37 M to 2.11 M and GFLOPs from 5.2 G to 4.8 G. CGHFF (M2) provides the largest single-module Precision gain, reaching 73.6%, whereas C2MECM (M3) improves Recall to 73.4% and mAP50:95 to 58.9%.
Table 7.
Ablation results of different combinations of the proposed modules. Accuracy metrics are reported as mean ± standard deviation over five independent runs.
The pairwise variants further confirm the complementarity of the three modules. M12 achieves 75.9% Precision and 80.1% mAP50, while M13 reaches 73.7% Recall and 60.1% mAP50:95 with only 2.13 M parameters. M23 further improves Recall and mAP50:95 to 74.3% and 60.6%, respectively.
With all three modules integrated, M123 achieves 76.3% Precision, 74.9% Recall, 82.1% mAP50, and 61.4% mAP50:95. Compared with M0, these correspond to improvements of 7.6, 3.7, 5.6, and 4.4 percentage points, respectively. Meanwhile, M123 retains 2.36 M parameters and 5.2 G FLOPs, essentially preserving the computational complexity of YOLO26n.
The internal operations also have distinct design roles. Within C3k2PMM, dilated depthwise groups address variation in the spatial extent of local cues, whereas directionally masked selective scanning provides broader contextual interaction. Within CGHFF, spatial recalibration suppresses irrelevant responses before reciprocal feature modulation, and grouped channel attention refines the fused representation. Within C2MECM, the input-dependent expert gate selects memory pathways, while global-pattern retrieval and spatial-context refinement provide complementary forms of compensation. The targeted comparisons in Table 8 further assess the contributions of the specified component configurations.
Table 8.
Internal component ablation results for C3k2PMM, CGHFF, and C2MECM. Accuracy metrics are reported as mean and standard deviation over five independent runs. Bold values indicate the best performance within each module group.
Figure 8 illustrates qualitative differences among the ablation variants. The complete model shows more complete and concentrated responses in several crowded and partially occluded examples. The corresponding detection-accuracy improvements are quantified by the mAP-based results in Table 7.
Figure 8.
Qualitative visualization of representative ablation variants across four classroom scenes. The first column shows the original images, followed by the results of YOLO26n (M0), M1, M12, and the complete model (M123).
To further examine category-level behavior, Figure 9 reports the class-wise AP50 values and their gains relative to M0 for hand-raising, reading, and writing.
Figure 9.
Per-class ablation analysis of the proposed modules. (a) Class-wise box AP50 values for hand-raising, reading, and writing. (b) Corresponding gains relative to the YOLO26n baseline in percentage points.
As shown in Figure 9, M123 improves all three behavior categories. Compared with M0, AP50 increases from 76.6% to 83.9% for hand-raising, from 74.7% to 79.2% for reading, and from 78.2% to 83.1% for writing, corresponding to gains of 7.3, 4.5, and 4.9 percentage points, respectively. The larger gain for hand-raising suggests that the proposed modules are particularly effective for behaviors involving localized and distinctive body structures, while the consistent gains for reading and writing demonstrate improved discrimination between visually similar activities.
Overall, the ablation results confirm that C3k2PMM, CGHFF, and C2MECM provide complementary improvements in feature representation, cross-level fusion, and semantic discrimination. Their integration improves both classification and localization performance while maintaining the lightweight characteristics of the original YOLO26n.
Internal Component Ablation
To further examine the contribution of the principal internal components, three targeted variants were constructed for C3k2PMM, and two variants were constructed for each of CGHFF and C2MECM. For C3k2PMM, M1-a removes the MGD-SS2D branch while retaining the multi-scale pyramid branch, whereas M1-b removes the multi-scale pyramid branch while retaining MGD-SS2D. M1-c retains both the multi-scale pyramid branch and standard SS2D scanning but removes directional masking, allowing the effect of directional masking to be evaluated separately. For CGHFF, M2-a removes Grouped Channel-Wise Self-Attention (GCSA), while M2-b removes reciprocal cross-level modulation. For C2MECM, M3-a removes the Spatial-Context Refinement Stream (SCStream), whereas M3-b replaces the multiple memory experts and sparse routing mechanism with a single memory expert. All variants were trained and evaluated using the same dataset partitions and experimental protocol as the main ablation study.
Each variant was run independently five times, and the corresponding mean and standard deviation are reported in Table 8.
Across five independent runs, the complete C3k2PMM configuration (M1) reaches mAP50 and mAP50:95. M1-a, which removes the MGD-SS2D branch, obtains and , while M1-b, which removes the multi-scale pyramid branch, obtains and . M1-c retains the multi-scale pyramid and standard SS2D scanning without directional masking and reaches and . The complete configuration therefore retains a 0.3-point mean advantage over M1-c in both metrics across the repeated runs.
For CGHFF, the complete configuration (M2) reaches mAP50 and mAP50:95. Removing GCSA (M2-a) reduces the repeated-run means by 0.7 and 0.6 points, whereas removing reciprocal cross-level modulation (M2-b) reduces them by 1.4 and 0.5 points. Reciprocal modulation therefore provides the larger contribution to the mean mAP50, while GCSA produces the slightly larger change in mean mAP50:95.
For C2MECM, the complete configuration (M3) reaches mAP50 and mAP50:95. Removing SCStream (M3-a) decreases the repeated-run means by 0.7 and 0.6 points. Replacing the multi-expert branch and sparse routing with a single expert (M3-b) yields and , corresponding to a 0.3-point mean difference in both metrics.
Across the three module groups, the complete configurations achieve the highest repeated-run means. The 0.3-point directional-masking and multi-expert mean differences are comparable to the observed run-to-run standard deviations and are therefore reported as modest component-level effects. The larger removals in the remaining comparisons identify the principal performance contributions inside each module.
4.4. Cross-Architecture Transferability
To examine whether the proposed modules are specifically dependent on YOLO26n, C3k2PMM, CGHFF, and C2MECM were further transferred to three representative lightweight YOLO architectures: YOLOv10n, YOLOv12n, and YOLOv13n. These models employ different feature-extraction and feature-fusion strategies while remaining within the lightweight one-stage detection paradigm.
The architecture-specific insertion positions were fixed before model training and evaluation according to each detector’s structural stages, including local feature extraction, P4/P3 cross-level fusion, and high-level semantic processing. In YOLOv10n, C3k2PMM replaced the C2f blocks at layers 2, 4, 6, 8, 13, 16, and 19; CGHFF replaced Concat layers 12 (P4) and 15 (P3); and C2MECM replaced the PSA block at layer 10, immediately after the SPPF block at layer 9. In YOLOv12n, C3k2PMM replaced the C3k2 blocks at layers 2, 4, and 20; CGHFF replaced Concat layers 10 (P4) and 13 (P3); and C2MECM was inserted after the A2C2f block at layer 8 and before the neck. In YOLOv13n, C3k2PMM replaced the DSC3k2 blocks at layers 2, 4, 17, 21, 26, and 30; CGHFF replaced Concat layers 16 (P4) and 20 (P3); and C2MECM was inserted after the A2C2f block at layer 8 and before the HyperACE block at layer 9. These mappings were specified before any test-set evaluation, and no insertion position was selected using test performance. The layer mappings listed above constitute the complete architecture-specific modifications. All unlisted layers, channel widths, strides, detection heads, and loss functions retain the corresponding base-model settings. The joint integration of all three components is denoted as “+All”. All variants were trained and evaluated using the same classroom dataset, input resolution, training configuration, and evaluation protocol as the main experiments. Parameter counts are also reported to distinguish performance gains from those obtained through model expansion. For repeatability analysis, the Baseline and “+All” configurations of each architecture were trained independently five times under the same fixed data partition and checkpoint-selection protocol; the three single-module variants remain point estimates.
As shown in Table 9, all three modules retain positive effects after being transferred to different lightweight YOLO architectures. C3k2PMM consistently improves detection accuracy while reducing the parameter count. CGHFF generally produces larger gains in mAP50, indicating that channel-guided hierarchical fusion remains effective under different neck structures. C2MECM also provides consistent improvements, with relatively stronger gains under the stricter mAP50:95 criterion, supporting the transferability of memory-assisted feature compensation. Across the five independent runs, the complete configuration improves mAP50 by 4.2, 5.1, and 3.8 percentage points on YOLOv10n, YOLOv12n, and YOLOv13n, respectively. The corresponding mAP50:95 gains are 3.1, 3.3, and 4.0 percentage points. The reported SDs for the repeated Baseline and “+All” configurations range from 0.28 to 0.48 percentage points.
Table 9.
Cross-architecture transferability of C3k2PMM, CGHFF, and C2MECM. “+All” denotes the joint integration of the three proposed modules. Baseline and “+All” values are mean and SD over five independent runs; the intermediate single-module variants are point estimates.
Figure 10 provides a direct visual comparison of performance and complexity across architectures. In Figure 10a, the Baseline and “+All” bars show the five-run means with SD error bars, whereas the three single-module variants are shown as point estimates. In Figure 10b, each “+All” variant adds only 0.01 M parameters relative to its corresponding baseline. The repeated Baseline–“+All” comparisons show that the complete module combination transfers across the three evaluated lightweight YOLO architectures without substantial model expansion.
Figure 10.
Cross-architecture transferability of the proposed modules. (a) Comparison of mAP50 across different lightweight YOLO architectures. Baseline and “+All” bars show the mean with SD error bars over five independent runs; the intermediate variants are point estimates. (b) Comparison of parameter counts for the corresponding model variants.
4.5. Behavior-Wise Performance Analysis
To further examine the behavior-specific performance of MCHIME-Det, class-wise AP50 was compared with that of the original YOLO26n. The results are summarized in Table 10.
Table 10.
Behavior-wise AP50 comparison between YOLO26n and the proposed model. Gain denotes the improvement over YOLO26n in percentage points.
As shown in Table 10, MCHIME-Det improves AP50 across all three classroom behaviors. The largest improvement is observed for hand-raising, where AP50 increases from 76.6% to 83.9%, corresponding to a gain of 7.3 percentage points. This result is consistent with the design of C3k2PMM and CGHFF, which strengthen elongated body structures and cross-level spatial information that are particularly important for recognizing raised arms.
For reading and writing, AP50 improves by 4.5 and 4.9 percentage points, respectively. Reading remains the most challenging category, reaching 79.2% AP50, which is likely related to its visual similarity with writing and the limited differences in hand, head, and book-related regions. Nevertheless, the consistent improvements in both categories indicate that hierarchical feature fusion and memory-assisted compensation enhance discrimination between visually similar classroom activities.
Overall, the behavior-wise results show that MCHIME-Det improves all three target categories, with particularly pronounced gains for hand-raising, while reading–writing ambiguity remains the primary category-level challenge.
4.6. Classroom Scene Complexity Analysis
4.6.1. Scale-Conditioned Performance
Student instances in classroom images exhibit substantial scale variation because of differences in camera distance and seating position. To examine the sensitivity of different detectors to target scale, an instance-level scale-conditioned evaluation was conducted on the test subset.
For the i-th ground-truth instance, the relative bounding-box area is defined as
where and denote the normalized width and height of the corresponding bounding box.
To avoid defining scale intervals according to the test distribution, the thresholds were determined exclusively from the training set. The 25th, 50th, and 75th percentiles of were approximately 1.24%, 2.71%, and 5.93%, respectively. For clearer interpretation, these values were fixed at 1.2%, 2.7%, and 5.9% for all subsequent evaluations. Accordingly, student instances were divided into four groups: Small (), Medium (), Large (), and Very Large ().
As shown in Table 11, the four scale groups are relatively balanced in the test set, containing 1776, 1878, 1787, and 1755 instances, respectively. This distribution provides sufficient samples for evaluating scale-dependent detection behavior without introducing severe group imbalance.
Table 11.
Definition and instance statistics of the scale-conditioned subsets.
Predictions were generated only once on the complete test set, and scale-conditioned AP50 was subsequently calculated using a group-specific ignore protocol. For a target scale group g, ground-truth instances within g were treated as evaluable objects, whereas instances belonging to other scale groups were retained in the image but marked as ignored. Predictions were matched class-wise at IoU = 0.50 using standard one-to-one assignment, with evaluable ground truths taking priority over ignored instances.
For an unmatched prediction , its relative area was defined as
where and denote the normalized width and height of the predicted bounding box. An unmatched prediction was counted as a false positive only when fell within the scale interval currently being evaluated; otherwise, it was ignored. Unmatched in-group ground-truth instances were counted as false negatives. After applying the group-specific ignore masks, class-wise AP50 was computed and averaged across the three behavior categories.
A fixed subset of representative detectors was used for the scale-, density-, and overlap-conditioned analyses: RT-DETR-n, SSD300-MobileNetV2, Mamba-YOLO-tiny, YOLO-Worldv2-n, YOLOv12n, and the direct YOLO26n baseline. This subset covers different architectural families while avoiding redundant repetition of closely related YOLO variants, and the same comparator set is retained across all three conditional analyses. The results are reported in Table 12.
Table 12.
Instance-level scale-conditioned mAP50 (%) comparison of representative detectors. Scale Gap denotes the performance difference between Very Large and Small targets, while Small Gain denotes the improvement over YOLO26n for Small targets.
Scale Gap is defined as
where a smaller value indicates lower sensitivity to target-scale variation. Small Gain is defined relative to YOLO26n as
As shown in Table 12, detection performance generally improves with increasing student scale, confirming that limited spatial evidence remains a major difficulty in classroom behavior detection. MCHIME-Det achieves the highest mAP50 across all four scale groups, reaching 75.4%, 80.7%, 84.0%, and 85.8% from Small to Very Large targets, respectively.
The advantage is most pronounced for Small instances. MCHIME-Det exceeds YOLO26n by 8.3 percentage points in this group, which is larger than its overall mAP50 gain of 5.6 points. This result indicates that the combination of multi-scale local modeling, cross-level feature fusion, and memory-assisted compensation is particularly beneficial when student behavior cues occupy limited image regions.
MCHIME-Det also exhibits the smallest Scale Gap of 10.4 percentage points, compared with 14.2 points for YOLO26n and 12.9 points for YOLO-Worldv2-n. These results indicate that the proposed framework not only improves overall detection accuracy but also reduces sensitivity to student scale variation, with the largest benefit observed for small and distant classroom targets.
The stronger gain on small instances is consistent with the broader object-detection literature, where scale variation and insufficient spatial evidence have long been identified as major sources of performance degradation [35,56]. Related fine-grained detection studies have further shown that super-resolution-enhanced YOLO frameworks can improve recognition when target appearance contains limited spatial detail [57]. Similar difficulties have been reported in classroom-specific detectors for distant, small, and densely distributed students [7,14]. The present results extend that observation by showing that the benefit of MCHIME-Det is disproportionately large in the Small subset rather than being uniform across target scales.
4.6.2. Density-Conditioned Performance
Classroom scenes contain substantially different numbers of visible students, ranging from sparse scenes with only a few annotated instances to densely occupied classrooms. Increasing student density generally introduces more inter-instance interference, partial occlusion, and background complexity. To evaluate detector robustness under different classroom densities, an image-level density-conditioned analysis was conducted.
For the j-th image, classroom density is defined as the number of annotated student behavior instances:
where denotes the number of ground-truth bounding boxes in image j.
As with the scale-conditioned analysis, the grouping thresholds were determined exclusively from the training set. The 33rd and 67th percentiles of the image-level instance-count distribution were 2 and 6, respectively. Accordingly, classroom images were divided into three groups: Low (), Medium (), and High ().
As shown in Table 13, the three density subsets contain 446, 416, and 327 test images, respectively. Although the number of high-density images is smaller, each subset contains sufficient samples for evaluating performance under progressively more crowded classroom conditions.
Table 13.
Definition and image statistics of the density-conditioned subsets.
Unlike the instance-level scale analysis, density is defined at the image level. Therefore, the test subset was directly partitioned into three image subsets according to , and each detector was evaluated separately on the Low-, Medium-, and High-density subsets using the same mAP50 protocol as the overall evaluation.
Density Drop is defined as
where a smaller value indicates greater robustness to increasing classroom density. High Gain is defined relative to YOLO26n as
As shown in Table 14, detection performance generally decreases as classroom density increases. This trend indicates that crowded scenes introduce additional difficulty through stronger inter-student interference and partial occlusion.
Table 14.
Density-conditioned mAP50 (%) comparison of representative detectors. Density Drop denotes the performance decrease from Low- to High-density scenes, while High Gain denotes the improvement over YOLO26n in the High-density subset.
MCHIME-Det achieves 84.8%, 82.4%, and 78.0% mAP50 on the Low-, Medium-, and High-density subsets, respectively, consistently outperforming the comparison models. The advantage is most evident in High-density scenes, where MCHIME-Det exceeds YOLO26n by 7.2 percentage points.
Moreover, MCHIME-Det exhibits the smallest Density Drop of 6.8 percentage points, compared with 9.7 points for YOLO26n and 8.9 points for YOLO-Worldv2-n. These results indicate that the proposed feature extraction, hierarchical fusion, and memory compensation mechanisms improve robustness under increasing classroom crowding, particularly when multiple student instances interact within the same scene.
This monotonic degradation with increasing density also agrees with crowded-object detection studies, where nearby instances and occlusion can increase localization ambiguity [58]. Classroom-specific work likewise identifies dense student distributions as a major source of missed and confused detections [12,13]. The smaller Density Drop of MCHIME-Det therefore provides evidence that the proposed hierarchical representation is more resilient to inter-student interference as scene occupancy increases.
4.6.3. Overlap-Conditioned Performance
In classroom scenes, neighboring students frequently exhibit substantial spatial overlap because of dense seating, body pose, and partial occlusion. Such conditions increase ambiguity in instance boundaries and reduce the visible behavioral evidence available for detection. To evaluate the sensitivity of different detectors to inter-instance spatial interference, an instance-level overlap-conditioned analysis was conducted on the test subset.
The dataset provides bounding-box annotations rather than visible-region masks or depth-order information. The overlap metric therefore measures geometric bounding-box overlap, whereas physical occlusion refers to the fraction of student evidence that remains visible.
For two ground-truth instances and in the same image, their normalized overlap ratio is defined as
where denotes the intersection area between the two bounding boxes, while and denote their respective areas. Compared with conventional IoU, this definition is more sensitive when a relatively small student box is largely contained within a larger neighboring box.
The instance-level overlap score is then defined as
with when no other annotated student is present in the same image.
To avoid selecting thresholds according to the test distribution, the overlap intervals were determined exclusively from the training set. Based on the training-set overlap distribution, the thresholds were fixed at 0.05, 0.30, and 0.50. Accordingly, student instances were divided into four groups: Low (), Mild (), Moderate (), and Heavy ().
Table 15 summarizes these thresholds and the split-specific instance counts for the four overlap groups.
Table 15.
Definition and instance statistics of the overlap-conditioned subsets.
The four overlap groups are relatively balanced in the test set, containing 1762, 1751, 1894, and 1789 instances, respectively. This distribution provides sufficient samples for evaluating performance under progressively stronger spatial interference.
As in the scale-conditioned evaluation, predictions were generated only once on the complete test set. For a target overlap group g, ground-truth instances belonging to g were treated as evaluable objects, whereas instances from other overlap groups were retained in the image but marked as ignored. Predictions were matched class-wise at IoU = 0.50 using one-to-one assignment, with evaluable ground truths taking priority over ignored instances.
For unmatched predictions, an overlap score was calculated using the same geometric definition. For a predicted box ,
with when no other candidate prediction is present in the image. An unmatched prediction was counted as a false positive only when its prediction-side overlap score fell within the overlap interval currently being evaluated; otherwise, it was ignored. Unmatched in-group ground-truth instances were counted as false negatives.
After applying the group-specific ignore masks, class-wise AP50 was computed and averaged across the three classroom behavior categories. The results are summarized in Table 16.
Table 16.
Instance-level overlap-conditioned mAP50 (%) comparison of representative detectors. Overlap Drop denotes the performance decrease from Low to Heavy overlap, while Heavy Gain denotes the improvement over YOLO26n in the Heavy-overlap subset.
The common scale-, density-, and overlap-conditioned evaluation procedure, including prediction post-processing, duplicate-prediction handling, the ignore protocol, and AP integration, is summarized in Algorithm 2.
| Algorithm 2 Conditioned AP50 evaluation for scale, density, and overlap groups | |
| Input: Test images , predictions , ground truths , group g, matching IoU | |
| Output: Conditioned | |
| 1: Generate predictions once on the full test set and apply each detector’s native post-processing once | |
| 2: if detector uses NMS then | |
| 3: Apply class-aware NMS (, , ) | |
| 4: else | |
| 5: Retain the decoded native Top-K predictions without additional NMS | |
| 6: end if | |
| 7: if g is an image-density group then | |
| 8: | |
| 9: return standard evaluated on without ignore masks | |
| 10: end if | |
| 11: for all classes do | |
| 12: ; | ▹ TP/FP records; GT count |
| 13: for all images do | |
| 14: ; | |
| 15: Mark as unmatched; | |
| 16: for all class-c predictions p in I, sorted by descending confidence do | |
| 17: (if nonempty) | |
| 18: if exists and then | |
| 19: Mark as matched; append to | ▹ TP |
| 20: else | |
| 21: (or 0 if empty) | |
| 22: if then | |
| 23: if PredInGroup() then | |
| 24: Append to | ▹ Duplicate FP |
| 25: end if | |
| 26: else | |
| 27: (if nonempty) | |
| 28: if exists and then | |
| 29: Mark as matched; ignore p | |
| 30: else if PredInGroup() then | |
| 31: Append to | ▹ Unmatched FP |
| 32: end if | |
| 33: end if | |
| 34: end if | |
| 35: end for | |
| 36: end for | |
| 37: Sort by confidence and compute cumulative | |
| 38: ; | |
| 39: | |
| 40: | |
| 41: end for | |
| 42: | |
| 43: return | |
For scale-conditioned evaluation, PredInGroup checks whether the relative predicted-box area defined in Equation (36) belongs to g; for overlap-conditioned evaluation, it uses the predicted-box overlap in Equation (44), computed from the fixed post-processed prediction set. Density groups are evaluated as image subsets with ordinary AP50 and without instance-level ignore masks. The mean is computed over behavior classes having evaluable ground-truth instances.
Overlap Drop is defined as
where a smaller value indicates greater robustness to increasing spatial overlap. Heavy Gain is defined relative to YOLO26n as
As shown in Table 16, detection accuracy generally decreases as spatial overlap increases, confirming that inter-student interference remains an important source of difficulty in classroom behavior detection. MCHIME-Det consistently achieves the highest mAP50 across all four overlap levels, reaching 85.5%, 83.0%, 80.4%, and 76.9% for the Low, Mild, Moderate, and Heavy subsets, respectively.
The advantage becomes more pronounced under Heavy overlap, where the proposed model exceeds YOLO26n by 7.0 percentage points. In addition, its Overlap Drop is limited to 8.6 points, compared with 11.8 points for YOLO26n and 10.4 points for YOLO-Worldv2-n.
These results indicate that the proposed framework better preserves behavior-discriminative information as inter-instance overlap increases. The combination of local–global spatial modeling, selective cross-level fusion, and memory-assisted compensation is particularly beneficial when student targets partially interfere with one another in crowded classroom scenes.
The observed trend is consistent with prior crowded-object research showing that spatial overlap and occlusion can degrade localization when neighboring instances provide competing visual evidence [58]. The issue is especially relevant to classrooms because adjacent students may share similar poses and weak local boundaries [12,14]. The reduced Overlap Drop therefore complements the overall mAP results by quantifying how rapidly performance deteriorates as geometric interference becomes stronger.
4.7. Cross-Source Evaluation
Evaluation on an image-level split of pooled sources may not capture performance degradation caused by real-world distribution shifts. Differences in camera viewpoint, classroom layout, student density, image acquisition, and annotation practice can change the target distribution, a broader problem emphasized in out-of-distribution and domain-generalization benchmarks [59,60]. To examine detector performance on separately published data sources, cross-source experiments were conducted on three external classroom behavior datasets: STBD-08, Student Behaviour Detection (SBD), and Student Classroom Behavior Dataset (SCBD).
The publicly available STBD-08 dataset [14] used in this study contains 8884 images, including 7052 training and 1832 validation images. SBD [61] contains 2471 classroom images. SCBD [62] contains 2032 images. The SCB-05 three-class subset corresponds to the same 6864-image collection as SCB-2025-7-public-1, which was used for model development. Accordingly, all 6864 SCB-05 images were excluded from the external evaluation because they belong to the model-development collection. The 6864-image count is a dataset-source exclusion count. Exact and visually near-duplicate overlap was checked separately for the three retained external sources.
All external datasets were standardized to the same three behavior categories: hand-raising, reading, and writing. Categories outside this taxonomy were removed, and minor naming differences such as read and write were standardized without semantic category merging. For the three retained external sources (STBD-08, SBD, and SCBD), hash-based image comparison and manual visual inspection were applied before final sample selection. The recorded pre-sampling removal counts (exact, confirmed visually near-duplicate) were for STBD-08, for SBD, and for SCBD. The final fixed 1000-image subsets also contained zero confirmed exact or visually near-duplicate images overlapping with the model-development corpus. The verified scope is image-level overlap; recording, camera, and classroom identifiers are unavailable for group-level independence analysis. To provide an identical evaluation budget, 1000 images were sampled without replacement from each retained source after category harmonization and duplicate screening, using a fixed random seed of 42. The source-provided image IDs were retained to define the selected subset, which was fixed before evaluation and reused unchanged for every detector in both cross-source settings and across all repeated runs. The resulting class-specific instance counts are reported in Table 17.
Table 17.
External classroom behavior datasets used for cross-source evaluation, with category-specific annotation counts for each 1000-image sample.
All annotations were converted to the same detection format used in the main experiments. Two complementary settings were adopted: zero-shot evaluation and dataset-specific retraining.
4.7.1. Zero-Shot Cross-Source Evaluation
In the zero-shot setting, all detectors were trained only on the two-source public dataset and directly evaluated on the complete 1000-image subset of each external source. No target-domain images were used for fine-tuning, parameter updating, checkpoint selection, or threshold recalibration.
As shown in Table 18, performance varies considerably across external sources, showing source-dependent performance variation under the evaluated protocol. MCHIME-Det achieves the highest mAP50 on all three retained datasets, ranging from 67.6% on SCBD to 72.2% on STBD-08. Its mean mAP50 reaches 69.7%, exceeding the stronger mean comparator (Best Other at 66.5%) by 3.2 percentage points. Relative to the stronger comparator on each dataset, the gains range from 2.7 to 3.3 points, indicating higher zero-shot detection accuracy across these three sampled external sources under the reported protocol.
Table 18.
Zero-shot cross-source performance on three external classroom behavior datasets (mAP50, %). Each source contributes 1000 images; dataset-level values are mean and SD across five independent runs.
4.7.2. Cross-Source Retraining Evaluation
To further evaluate target-domain adaptability, each fixed 1000-image subset was divided once, using the same random seed of 42, into 700 training images, 100 validation images, and 200 held-out test images. The source image IDs assigned to these three subsets were fixed before training and reused for every detector and all five independent runs. The training subset was used for parameter updating, the validation subset for checkpoint selection, and the test subset only for final evaluation. Recording and classroom identifiers are unavailable, so the protocol evaluates held-out images from each sampled source rather than group-disjoint recordings or classrooms.
This experiment characterizes held-out-image performance within each sampled source after target-source supervision. The zero-shot evaluation in Section 4.7.1 provides the primary evidence for cross-source transfer.
Table 19 reports the five-run retraining results under this fixed partition.
Table 19.
Cross-source retraining performance on three external classroom behavior datasets (mAP50, %). Each 1000-image subset uses the same fixed seed-42 700/100/200 train/validation/test split; dataset-level values are mean and SD across five independent runs.
After dataset-specific retraining, all detectors show substantial performance improvements. MCHIME-Det remains the strongest across all three retained external datasets, achieving mAP50 values of 82.6%, 81.0%, and 79.6%, respectively. Its mean mAP50 reaches 81.1%, exceeding the stronger mean comparator (Best Other at 78.5%) by 2.5 percentage points.
The smaller margin after retraining compared with zero-shot evaluation is expected because all models receive target-domain supervision. The retraining results therefore quantify source-specific adaptation on held-out images within each sampled source and are interpreted separately from the zero-shot cross-source transfer results.
4.8. Accuracy–Efficiency Trade-Off
To further evaluate the balance between detection accuracy and computational efficiency, representative general-purpose and classroom-specific detectors were compared in terms of parameter count, computational complexity, model size, and inference speed. The corresponding detection accuracy is reported in Table 6. Table 20 summarizes the associated model-complexity and forward-pass efficiency measurements.
Table 20.
Comparison of model complexity and inference efficiency with representative general-purpose and classroom-specific detectors.
Compared with the YOLO26n baseline, MCHIME-Det reduces the parameter count slightly from 2.37 M to 2.36 M while retaining the same computational cost of 5.2 GFLOPs and the same reported disk file size of 5.1 MB. MCHIME-Det was stored as an FP16 checkpoint (5.1 MB) but benchmarked in FP32. In contrast, SSD300-MobileNetV2 used FP32 for both checkpoint storage and inference and operated at 300-by-300 input resolution; other detectors were tested at 640-by-640. Its GFLOPs and FPS must therefore be interpreted under a different image-resolution setting. Meanwhile, mAP50 and mAP50:95 increase by 5.6 and 4.4 percentage points, respectively, with only a modest decrease in inference speed from 190 to 182 FPS.
As shown in Figure 11, several lightweight detectors achieve high inference throughput but provide lower detection accuracy. Among the classroom-specific methods, CBPH-Net achieves stronger task-specific detection performance than many general-purpose detectors, but requires 6.58 M parameters and 16.10 GFLOPs while operating at 112 FPS. SLBDetection-Net (Swin) is considerably heavier, with 58.00 M parameters and 208.9 GFLOPs, and reaches only 76 FPS. In comparison, MCHIME-Det achieves 82.1% mAP50 with only 2.36 M parameters and 5.2 GFLOPs while maintaining 182 FPS.
Figure 11.
Accuracy–efficiency comparison of representative detectors. The horizontal axis denotes FPS, the vertical axis denotes mAP50, and bubble size represents the number of parameters.
The proposed C3k2PMM, CGHFF, and C2MECM modules improve feature representation while preserving the lightweight characteristics of the YOLO26n baseline. MCHIME-Det therefore provides a favorable accuracy–efficiency trade-off, combining high detection accuracy, low computational complexity, and high model-level forward-pass throughput on the RTX 4090.
4.9. Cross-Hardware Inference Analysis
To characterize model-level inference behavior beyond a single desktop GPU, the forward-pass performance of representative detectors was examined across four hardware platforms: an NVIDIA RTX 4090 desktop GPU, an RTX 3070 Laptop GPU, an Intel Core Ultra 9 285K CPU-only platform, and a Jetson Orin Nano edge device. Models were evaluated at an input resolution of with a batch size of 1 except SSD300-MobileNetV2, which used a 300-by-300 input. Repeated measurements were performed to account for runtime variation, and the results are shown in Figure 12.
Figure 12.
Cross-hardware inference-speed comparison of representative detectors on four computing platforms: (a) RTX 4090, (b) RTX 3070 Laptop, (c) Intel Core Ultra 9 285K CPU-only, and (d) Jetson Orin Nano. Error bars denote the standard deviation over repeated measurements. Numerical values are displayed only for MCHIME-Det to reduce visual congestion.
As shown in Figure 12, MCHIME-Det maintains high inference throughput across heterogeneous hardware platforms, reaching FPS on the RTX 4090 and FPS on the RTX 3070 Laptop GPU. Under more resource-constrained conditions, it achieves FPS on the CPU-only platform and FPS on the Jetson Orin Nano.
The Jetson Orin Nano 8 GB Developer Kit ran Ubuntu 20.04 with JetPack 5.1.2 (L4T 35.4.1), CUDA 11.4.19, cuDNN 8.6.0, Python 3.10, and PyTorch 2.1.0. Model execution used FP32 precision with the PyTorch CUDA eager backend in 15 W power mode with locked device clocks. Model fusion was enabled and gradients were disabled. The benchmark used 640-by-640 inputs, a batch size of 1, 200 warm-up passes, and 1000 timed forward passes. The timing scope covers the network forward pass; preprocessing, data transfer, and post-processing are outside the reported FPS.
Compared with the original YOLO26n, MCHIME-Det retains approximately 95.8%, 93.6%, 86.1%, and 88.6% of the baseline inference throughput on the RTX 4090, RTX 3070 Laptop, CPU, and Jetson platforms, respectively. The larger relative speed reduction on CPU and edge hardware indicates that the additional multi-branch, selective-scan, and memory-assisted operations are more sensitive to operator implementation and memory-access efficiency under constrained computing resources [63].
MCHIME-Det remains faster than the heavier RT-DETR-n and Mamba-YOLO-tiny architectures across all four tested platforms. On the Jetson Orin Nano, the model-level benchmark reaches 17.1 FPS, a rate relevant to reduced-rate classroom video sampling on the tested device [64]. The feasibility of combining deep-learning-based visual perception with mobile sensing platforms has likewise been demonstrated in cost-effective ecological monitoring using amphibious unmanned aerial vehicles [65]. Relative to YOLO26n, the additional feature-processing operations reduce forward-pass throughput while increasing mAP50 and mAP50:95 by 5.6 and 4.4 percentage points, respectively.
Overall, the cross-hardware results demonstrate model-level inference portability under the four tested computing environments. The two GPU platforms provide high-rate inference, whereas the CPU-only and Jetson results represent lower-rate processing under more constrained hardware.
The Jetson Orin Nano result of 17.1 FPS corresponds to approximately 58.5 ms per model inference under the reported 640-by-640, batch-size-one benchmark. This rate supports periodic or reduced-rate sampling of a single classroom video stream for behavior summaries. Continuous 25- or 30-FPS processing requires higher throughput, and complete system latency additionally includes video decoding, preprocessing, data transfer, and post-processing.
4.10. Robustness Analysis
Robustness under common image corruptions is a standard way to probe whether visual models retain performance when the test distribution is degraded [66,67,68]. Related degradation-aware object detection studies have also investigated challenging image-quality conditions [69]. Following this general evaluation paradigm, five perturbations relevant to classroom monitoring were considered: brightness variation, Gaussian noise, motion blur, JPEG compression, and resolution degradation. In particular, illumination variation can substantially alter local appearance and boundary contrast, and explicit illumination adaptation has also been investigated in challenging visual environments such as underwater coral segmentation [70]. The severity values are specific to the present classroom evaluation and differ from the ImageNet-C severity scale. All models were trained only on the clean training set, while perturbations were introduced at the evaluation stage without additional fine-tuning. RT-DETR-n, Mamba-YOLO-tiny, YOLOv12n, YOLO26n, and the proposed model were selected for comparison. The perturbation settings are summarized in Table 21.
Table 21.
Perturbation settings for robustness evaluation.
Each corruption setting was generated once from the same clean evaluation images, and the resulting corrupted image set was fixed and reused unchanged by all models. Ground-truth annotations and evaluation parameters remained unchanged. Brightness adjustment multiplied all pixel intensities by the specified factor and clipped the result to the valid 8-bit range. Gaussian noise used fixed random seed 42 and was sampled independently for every pixel and color channel in the 0–255 intensity domain, with zero mean and the standard deviation listed in Table 21; the perturbed values were clipped to and converted back to the original image type.
Motion blur used a horizontal normalized linear kernel: for a kernel size k, the central row contained and all remaining entries were zero, while denoted the clean image. JPEG compression consisted of one encoding–decoding cycle at the reported quality factor. Resolution degradation first reduced both spatial dimensions by the specified scale factor using bilinear interpolation and then restored the image to the detector input resolution, again using bilinear interpolation.
The robustness results are shown in Figure 13.
Figure 13.
Robustness comparison under (a) brightness variation, (b) Gaussian noise, (c) motion blur, (d) JPEG compression, and (e) resolution degradation.
Table 22 presents absolute mAP50 and the performance decrease in percentage points relative to each model’s own clean reference, at every evaluated corruption setting. JPEG quality 100 is used as the clean-reference setting within the JPEG experiment.
Table 22.
Absolute mAP50 under five synthetic corruptions and the decrease relative to each model’s clean reference (percentage points). Each cell shows mAP50 and the downward-arrow clean-relative drop; bold values denote the highest absolute accuracy at each setting.
As shown in Figure 13, all detectors exhibit performance degradation as image corruption becomes more severe, although the degradation patterns differ substantially across perturbations. Brightness variation and JPEG compression have relatively limited effects, whereas motion blur and resolution loss lead to more pronounced reductions because they directly weaken fine-grained behavioral cues.
MCHIME-Det maintains the highest mAP50 across all evaluated conditions. Under strong Gaussian noise (), motion blur (), and severe JPEG compression (quality = 20), it retains 75.1%, 72.2%, and 77.2% mAP50, respectively. The advantage becomes particularly evident under resolution degradation, where MCHIME-Det achieves 69.8% mAP50 at a scale of 0.25, exceeding YOLO26n by 6.0 percentage points.
MCHIME-Det retains the highest absolute mAP50 among the evaluated models under the tested corruptions. Table 22 separately reports clean-relative degradation for each model, enabling comparison with its own clean-image reference. Severe blur and resolution loss produce the largest reductions and remain challenging for classroom behavior detection.
The synthetic perturbations measure sensitivity to the specified still-image corruption types and severity levels. Real classroom video can add time-varying camera motion, automatic exposure changes, and combinations of acquisition artifacts beyond this controlled protocol. At brightness factor 0.6, Gaussian-noise standard deviation 40, motion-blur kernel size 9, JPEG quality 20, and resolution scale 0.25, MCHIME-Det records mAP50 values of 77.8%, 75.1%, 72.2%, 77.2%, and 69.8%, corresponding to clean-relative reductions of 4.3, 7.0, 9.9, 4.9, and 12.3 percentage points.
5. Discussion
5.1. Behavior Recognition Difficulty
Classroom behavior recognition is inherently more challenging than conventional object detection because behavioral categories are defined not only by object appearance but also by subtle differences in posture, hand–object interaction, and local spatial context. Systematic and task-specific studies similarly identify inter-class similarity, occlusion, small targets, and dense classroom layouts as recurrent challenges for vision-based classroom analysis [1,3,10,16]. Figure 14 illustrates four representative sources of difficulty observed in the test set: dense and crowded scenes, partial or severe occlusion, small-scale behavior instances, and fine-grained inter-class similarity.
Figure 14.
Representative difficult cases in classroom behavior recognition, including dense and crowded scenes, partial and severe occlusion, small-scale behavior instances, and fine-grained inter-class similarity.
In dense classroom scenes, multiple students frequently appear within a limited image region, producing closely spaced or overlapping instances. Occlusion further removes discriminative body and hand cues, making behavior recognition dependent on incomplete visual evidence. Small-scale instances introduce an additional difficulty because students located far from the camera contain only limited spatial details, particularly around the hands, books, and writing regions. These observations are consistent with the performance degradation identified in the preceding scale-, density-, and overlap-conditioned analyses. Comparable difficulties also arise in visually degraded sensing environments, where deep-learning-based image restoration has been integrated with object detection to recover weak target information before recognition [71]. A more fundamental challenge arises from the fine-grained similarity between behavior categories. As illustrated in Figure 14, reading and writing may share highly similar seated postures and surrounding objects, while their distinction often depends on subtle hand movements and hand–object relationships. The proposed C3k2PMM and CGHFF modules alleviate these difficulties by strengthening multi-scale feature extraction and cross-level information interaction, whereas C2MECM provides complementary semantic cues when local evidence is incomplete. Nevertheless, ambiguous reading–writing transitions, severe occlusion, and extremely small instances remain difficult, indicating that future classroom behavior recognition may benefit from incorporating temporal information and more explicit modeling of human–object interactions.
5.2. Implications for Automated Classroom Observation
Automated classroom behavior detection provides a scalable complement to traditional manual observation, which is often labor-intensive and difficult to sustain over large student populations. By detecting hand-raising, reading, and writing in individual frames, the proposed framework can provide frame-level inputs for structured behavioral records and longitudinal analysis. The measured edge inference throughput suggests potential for reduced-rate classroom activity summaries in a future end-to-end deployment.
These outputs can support quantitative analysis of observable participation patterns across students, lessons, and teaching settings. Detected hand-raising, reading, and writing are observable actions, not direct measurements of students’ cognitive states or learning outcomes; the same behavior can arise in different cognitive and instructional contexts. This distinction is consistent with recent reviews and cognitive-engagement studies that treat visual behavior as an observable indicator rather than a complete representation of internal learning state [1,2]. Automated observation is therefore best viewed as a supporting measurement tool rather than a substitute for teachers or human observers. Future applications should further consider temporal context and classroom interactions [72]. For deployments involving minors, appropriate institutional authorization and notice, data minimization, secure storage and transmission, restricted access to images and derived behavior records, and explicit retention and deletion periods are important safeguards. Authorized educators should retain human oversight of behavior summaries and review uncertain detections before any educational interpretation. Classroom layout, camera viewpoint, and student-population differences can also affect performance, making setting-specific evaluation important before operational use.
5.3. Failure Cases, Limitations, and Future Directions
Although MCHIME-Det improves detection accuracy on the reported benchmark and maintains competitive performance under the tested synthetic corruptions, several challenging cases remain, as illustrated in Figure 15. The representative examples reveal four major failure modes: fine-grained behavior confusion, small-target missed detection, occlusion-induced missed detection, and dense-scene over-detection.
Figure 15.
Representative failure cases of MCHIME-Det, including fine-grained behavior confusion, small-target missed detection, occlusion-induced missed detection, and dense-scene over-detection. Ground-truth annotations and model predictions are shown for comparison.
Fine-grained confusion mainly occurs between reading and writing, whose visual differences are often restricted to subtle hand movements and hand–object relationships. Small or distant students may also be missed when behaviorally relevant regions occupy only a few pixels. Under severe occlusion, incomplete body and hand cues can result in false negatives, whereas highly crowded scenes may produce redundant responses or false positives because of closely adjacent and overlapping instances. These cases indicate that, despite improved multi-scale and contextual representation, reliable recognition remains difficult when discriminative visual evidence is insufficient or ambiguous.
These observations also highlight several limitations of the current framework. First, the detector operates on individual frames and therefore cannot exploit temporal cues that may help distinguish visually similar or transitional behaviors. Second, extremely small and heavily occluded instances remain sensitive to information loss. The overlap-conditioned analysis quantifies geometric bounding-box overlap, while this failure mode concerns the physically visible evidence available for heavily occluded students. Third, the current three-class taxonomy captures only a subset of classroom activities, and performance may vary under classroom layouts and imaging conditions beyond those represented in the training data. Finally, the current split is image-level, and sequence identifiers needed for temporal separation are absent from the released metadata. The public sources may contain visually similar or adjacent classroom frames. A future sequence- or classroom-grouped evaluation would therefore provide a stronger test of temporal generalization.
Future work could therefore incorporate temporal behavior modeling and more explicit human–object interaction reasoning to reduce ambiguity between fine-grained classes. Improving feature preservation for very small instances and introducing stronger occlusion-aware or crowded-scene reasoning may further reduce missed and redundant detections. Super-resolution-assisted detection, which has been explored for small targets in low-quality remote sensing imagery, may provide a complementary direction for recovering fine-scale structural cues [73,74]. Extending the behavior taxonomy and evaluating the framework across more diverse classroom environments would also support future deployment assessment.
6. Conclusions
This study presented MCHIME-Det, a lightweight classroom behavior detector that integrates C3k2PMM, CGHFF, and C2MECM to address weak local action cues, cross-level semantic interference, and ambiguous high-level representations. On the combined two-source public dataset of 11,879 images and 71,657 annotated instances, the model achieved 82.1% mAP50 and 61.4% mAP50:95, representing gains of 5.6 and 4.4 percentage points over YOLO26n while retaining 2.36 M parameters, 5.2 GFLOPs, and 182 FPS on the RTX 4090 platform.
Beyond overall accuracy, the proposed modules remained effective across three additional lightweight YOLO backbones and showed larger relative benefits for small targets, high-density scenes, and instances with heavy geometric bounding-box overlap. Severe physical occlusion nevertheless remains a failure mode. The zero-shot evaluation provides the primary cross-source transfer evidence across the three retained external subsets, whereas dataset-specific retraining characterizes adaptation on held-out images within each sampled source. Corruption and cross-hardware experiments characterized performance under visual degradation and heterogeneous deployment hardware. These results suggest that complementary local–global spatial modeling, selective hierarchical fusion, and memory-assisted compensation can improve difficult-scene classroom behavior detection without relying on model expansion. Remaining errors under severe occlusion, extreme resolution loss, and reading–writing ambiguity indicate that future work should incorporate temporal cues, explicit human–object interaction reasoning, and broader behavior taxonomies while preserving the lightweight inference objective.
Author Contributions
Author Contributions: Conceptualization, T.Z. and F.X.; methodology, T.Z. and K.Y.; software, T.Z. and K.Y.; validation, Z.C., K.Y. and T.L.; formal analysis, T.Z.; investigation, T.Z., Z.C. and K.Y.; resources, Z.C., F.X. and H.Z.; data curation, T.Z., K.Y. and Y.C.; writing—original draft preparation, T.Z.; writing—review and editing, T.Z., Z.C., Y.W., K.Y., Y.C., F.X., T.L., Z.S., W.W. and H.Z.; visualization, T.Z., K.Y. and Y.C.; supervision, Y.W., F.X. and H.Z.; project administration, Z.C., F.X. and H.Z. All authors have read and agreed to the published version of the manuscript.
Funding
This research was supported in part by the Japan Science and Technology Agency (JST) through the Support for Pioneering Research Initiated by the Next Generation (SPRING) Program under Grant No. JPMJSP2108, in part by the Minjiang Young Scholar Program under Grant No. 2025-27, in part by the Youth Fund of the Southern Xinjiang Joint Fund of the Natural Science Foundation of Xinjiang Uygur Autonomous Region under Grant No. 2026D01C579, in part by the Open Project of the Key Laboratory of Industrial Internet Security Technology Testing and Evaluation, Ministry of Industry and Information Technology, under Grant No. ZCQP2026000613, and in part by the National Natural Science Foundation of China under Grant No. 62071123.
Data Availability Statement
The publicly available datasets used in this study can be accessed through the sources cited in Section 2.1, and the author-generated annotations are available from the corresponding authors upon reasonable request.
Acknowledgments
During the preparation of this manuscript, the authors used ChatGPT (OpenAI; GPT-5.6 model, web version, accessed August 2026) for language refinement, manuscript organization, and the review of figure presentation. All AI-assisted outputs were critically reviewed, verified, and revised by the authors. The authors take full responsibility for the accuracy, integrity, and final content of the manuscript.
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]
- Xu, Q.; Wei, Y.; Gao, J.; Yao, H.; Liu, Q. ICAPD Framework and simAM-YOLOv8n for Student Cognitive Engagement Detection in Classroom. IEEE Access 2023, 11, 136063–136076. [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]
- Yang, Z.; Yang, J.; Lin, H.; Chen, X.; Guan, Q. SRJudge: Empowering Large Language Models with Selective Reasoning for Fine-Grained Knowledge Concept Tagging. In Proceedings of the 35th International Joint Conference on Artificial Intelligence (IJCAI-ECAI 2026), Bremen, Germany, 15–21 August 2026. [Google Scholar]
- UH, D.; Kumar, J.P. Enhanced Transfer Learning-Based CNN for Abnormal Human Activity Detection in Video Surveillance Using Spatial-Temporal Features. Cybern. Syst. 2025, 57, 1996–2025. [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]
- 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]
- Wang, Z.; Wang, M.; Zeng, C.; Li, L. SBD-Net: Incorporating Multi-Level Features for an Efficient Detection Network of Student Behavior in Smart Classrooms. Appl. Sci. 2024, 14, 8357. [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]
- Xiao, G.; Xu, Q.; Wei, Y.; Yao, H.; Liu, Q. Occlusion Robust Cognitive Engagement Detection in Real-World Classroom. Sensors 2024, 24, 3609. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Li, Z.; Zheng, W.; Yang, L.; Ma, L.; Zhou, Y.; Peng, Y. MonoAux: Fully Exploiting Auxiliary Information and Uncertainty for Monocular 3D Object Detection. Cyborg Bionic Syst. 2024, 5, 0097. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Wang, Z.; Wang, M.; Zeng, C.; Li, L. SCB-DETR: Multiscale Deformable Transformers for Occlusion-Resilient Student Learning Behavior Detection in Smart Classroom. IEEE Trans. Comput. Soc. Syst. 2025, 12, 4979–4998. [Google Scholar] [CrossRef] [Scilit]
- Zhao, W.; He, G.; Fu, L. DBRA-SCSA-YOLO: A Multi-Attention Network for Image-Based Student Classroom Behavior Detection. Sci. Rep. 2026, 16, 33817. [Google Scholar] [CrossRef] [Scilit]
- Zhao, J.; Zhu, H. CBPH-Net: A Small Object Detector for Behavior Recognition in Classroom Scenarios. IEEE Trans. Instrum. Meas. 2023, 72, 2521112. [Google Scholar] [CrossRef] [Scilit]
- Wang, Z.; Li, L.; Zeng, C.; Dong, S.; Sun, J. SLBDetection-Net: Towards closed-set and open-set student learning behavior detection in smart classroom of K-12 education. Expert Syst. Appl. 2025, 260, 125392. [Google Scholar] [CrossRef] [Scilit]
- Zhao, Y.; Zhou, G.; Zhou, W.; Zhou, Z.; Deng, Y.; He, W. YOLO-APPA for Student Behavior Detection in Classrooms Using Adaptive Boundary Aggregation and Feature Enhancement. Sci. Rep. 2026. [Google Scholar] [CrossRef] [Scilit]
- Wang, Y.; Li, N.; He, D.; Sun, S.; Chu, X.; Qin, Z.; Xue, F.; Yi, J.; Wu, H.; Zhang, H.-S.; et al. Occlusion-Robust Cattle Pose Estimation for Precision Livestock Monitoring Using Hierarchical Locality Refinement. Animals 2026, 16, 2575. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Yang, H.; Hu, K.; Wang, H.; Hong, W.; Wang, X.; Wang, H.; Song, Y.; Liu, Z. BCLIP-ADer: A Bayesian Prompt Contrastive Language-Image Pretraining Method for Catenary Component Anomaly Detection in Electrified Railways. IEEE Trans. Transp. Electrif. 2026, 12, 7522–7534. [Google Scholar] [CrossRef] [Scilit]
- Shajeena, J.; Govindasamy, B.; Gnanasundaram, M.; Robinson Joel, M. Mobile-Le Harmonic Fusion Network for Object Recognition and SiamMoT Based Multi-Object Tracking Using Video Surveillance. Cybern. Syst. 2026, 57, 866–896. [Google Scholar] [CrossRef] [Scilit]
- Lv, H.; Li, C.; Dai, J.; Zhang, Y.; Fan, Z.; Tan, Y.; Wang, D.; Xie, B. Lightweight Framework for Underground Pipeline Recognition and Spatial Localization Based on Multiview 2-D GPR Images. IEEE Trans. Geosci. Remote Sens. 2025, 63, 5110115. [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]
- Wang, Z.; Li, L.; Zeng, C.; Dong, S.; Sun, J. SLB-Mamba: A Vision Mamba for Closed and Open-Set Student Learning Behavior Detection. Appl. Soft Comput. 2025, 180, 113369. [Google Scholar] [CrossRef] [Scilit]
- Gong, D.; Liu, L.; Le, V.; Saha, B.; Mansour, M.R.; Venkatesh, S.; van den Hengel, A. Memorizing Normality to Detect Anomaly: Memory-Augmented Deep Autoencoder for Unsupervised Anomaly Detection. In Proceedings of the IEEE/CVF International Conference on Computer Vision; IEEE: Piscataway, NJ, USA, 2019; pp. 1705–1714. [Google Scholar] [CrossRef] [Scilit]
- Fedus, W.; Zoph, B.; Shazeer, N. Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity. J. Mach. Learn. Res. 2022, 23, 1–39. [Google Scholar]
- Yang, F. SCB-dataset: A dataset for detecting student classroom behavior. arXiv 2023, arXiv:2304.02488. [Google Scholar]
- Gao, S.H.; Cheng, M.M.; Zhao, K.; Zhang, X.Y.; Yang, M.H.; Torr, P.H.S. Res2Net: A New Multi-Scale Backbone Architecture. IEEE Trans. Pattern Anal. Mach. Intell. 2021, 43, 652–662. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Gu, A.; Dao, T. Mamba: Linear-Time Sequence Modeling with Selective State Spaces. In Proceedings of the Conference on Language Modeling, Philadelphia, PA, USA, 7–9 October 2024. [Google Scholar]
- Zhu, L.; Liao, B.; Zhang, Q.; Wang, X.; Liu, W.; Wang, X. Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Model. In Proceedings of the 41st International Conference on Machine Learning; PMLR: Cambridge, MA, USA, 2024; Volume 235, pp. 62429–62442. [Google Scholar]
- Zhao, F.; Xue, F.; Si, Y.; Qin, Z.; Guo, X.; Zhang, X.; Sun, Y.; Chen, Y.; Sun, S.; Wu, H.; et al. GLoDA-Net: A lightweight global–local directional aggregation network for floating waste detection in inland waters using unmanned surface vehicles (USVs). Mar. Pollut. Bull. 2026, 233, 120336. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Yang, G.; Jiang, Y.; Wang, S.; Chen, K. VinsFusion-Line: Binocular Vision Inertial Navigation Real-Time SLAM System Based on Line Features. Cybern. Syst. 2026, 57, 350–375. [Google Scholar] [CrossRef] [Scilit]
- Duan, F.; Wang, H.; Yang, H.; Wei, C.; Zhang, C.; Song, Y.; Liu, Z. MRFM-IFCOS: An Anchor-Free Interactive Detector Based on Multireceptive Field Mamba for Detecting Catenary Support Components. IEEE Trans. Instrum. Meas. 2025, 74, 2553415. [Google Scholar] [CrossRef] [Scilit]
- Rao, H.; Tian, L.; Li, N.; Luo, X. MambaIR-YOLO: A Feature-Guided Lightweight State-Space Framework for Aerial Small-Object Detection. Sensors 2026, 26, 4517. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Zhao, F.; Xu, D.; Ren, Z.; Shao, X.; Wu, Q.; Liu, Y.; Wang, J.; Song, J.; Chen, Y.; Zhang, G.; et al. Mamba-based super-resolution and semi-supervised YOLOv10 for freshwater mussel detection using acoustic video camera: A case study at Lake Izunuma, Japan. Ecol. Inform. 2025, 90, 103324. [Google Scholar] [CrossRef] [Scilit]
- Li, H.; Zhao, F.; Xue, F.; Wang, J.; Liu, Y.; Chen, Y.; Wu, Q.; Tao, J.; Zhang, G.; Xi, D.; et al. Succulent-YOLO: Smart UAV-Assisted Succulent Farmland Monitoring with CLIP-Based YOLOv10 and Mamba Computer Vision. Remote Sens. 2025, 17, 2219. [Google Scholar] [CrossRef] [Scilit]
- 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; IEEE: Piscataway, NJ, USA, 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; IEEE: Piscataway, NJ, USA, 2018; pp. 8759–8768. [Google Scholar]
- 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; IEEE: Piscataway, NJ, USA, 2020; pp. 10781–10790. [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; IEEE: Piscataway, NJ, USA, 2018; pp. 7132–7141. [Google Scholar]
- Woo, S.; Park, J.; Lee, J.Y.; Kweon, I.S. CBAM: Convolutional Block Attention Module. In Proceedings of the European Conference on Computer Vision; Springer: Cham, Switzerland, 2018; pp. 3–19. [Google Scholar] [CrossRef] [Scilit]
- Hou, Q.; Zhou, D.; Feng, J. Coordinate Attention for Efficient Mobile Network Design. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2021; pp. 13713–13722. [Google Scholar]
- Thanammal Indu, V.; Suja Priyadharsini, S. Deep Residual Squeeze Excited Region Convolutional Network: A Robust Deep Learning Framework for Precision Agriculture and Plant Disease Diagnosis. Cybern. Syst. 2026, 57, 1356–1385. [Google Scholar] [CrossRef] [Scilit]
- Liu, X.; Li, Z.; Zhou, Y.; Peng, Y.; Luo, J. Camera–Radar Fusion with Modality Interaction and Radar Gaussian Expansion for 3D Object Detection. Cyborg Bionic Syst. 2024, 5, 0079. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Zhao, Y.; Lv, W.; Xu, S.; Wei, J.; Wang, G.; Dang, Q.; Liu, Y.; Chen, J. DETRs Beat YOLOs on Real-Time Object Detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2024; pp. 16965–16974. [Google Scholar]
- Wang, Z.; Li, C.; Xu, H.; Zhu, X.; Li, H. Mamba YOLO: A Simple Baseline for Object Detection with State Space Model. Proc. AAAI Conf. Artif. Intell. 2025, 39, 8205–8213. [Google Scholar] [CrossRef] [Scilit]
- Liu, W.; Anguelov, D.; Erhan, D.; Szegedy, C.; Reed, S.; Fu, C.Y.; Berg, A.C. SSD: Single Shot MultiBox Detector. In European Conference on Computer Vision (ECCV); Springer: Cham, Switzerland, 2016; pp. 21–37. [Google Scholar]
- Sandler, M.; Howard, A.; Zhu, M.; Zhmoginov, A.; Chen, L.C. MobileNetV2: Inverted Residuals and Linear Bottlenecks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR); IEEE: Piscataway, NJ, USA, 2018. [Google Scholar]
- Ren, S.; He, K.; Girshick, R.; Sun, J. Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks. In Proceedings of the Advances in Neural Information Processing Systems; Cortes, C., Lawrence, N., Lee, D., Sugiyama, M., Garnett, R., Eds.; Curran Associates, Inc.: Red Hook, NY, USA, 2015; Volume 28. [Google Scholar]
- He, K.; Zhang, X.; Ren, S.; Sun, J. Deep Residual Learning for Image Recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR); IEEE: Piscataway, NJ, USA, 2016. [Google Scholar]
- Cheng, T.; Song, L.; Ge, Y.; Liu, W.; Wang, X.; Shan, Y. YOLO-World: Real-Time Open-Vocabulary Object Detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2024; pp. 16901–16911. [Google Scholar]
- Wang, C.Y.; Yeh, I.H.; Liao, H.Y.M. YOLOv9: Learning What You Want to Learn Using Programmable Gradient Information. In Proceedings of the Computer Vision—ECCV 2024; Lecture Notes in Computer Science; Springer: Cham, Switzerland, 2024; Volume 15089, 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 Proceedings of the Advances in Neural Information Processing Systems; Curran Associates, Inc.: Red Hook, NY, USA, 2024; Volume 37. [Google Scholar] [CrossRef] [Scilit]
- Jocher, G.; Qiu, J. Ultralytics YOLO11. 2024. Available online: https://docs.ultralytics.com/models/yolo11 (accessed on 29 October 2026).
- Tian, Y.; Ye, Q.; Doermann, D. YOLOv12: Attention-Centric Real-Time Object Detectors. In Proceedings of the Advances in Neural Information Processing Systems; Curran Associates, Inc.: Red Hook, NY, USA, 2025; Volume 38. [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]
- Jocher, G.; Qiu, J.; Liu, M.; Lyu, S.; Akyon, F.C.; Kalfaoglu, M.E. Ultralytics YOLO26: Unified Real-Time End-to-End Vision Models. arXiv 2026, arXiv:2606.03748. [Google Scholar] [CrossRef] [Scilit]
- Singh, B.; Davis, L.S. An Analysis of Scale Invariance in Object Detection—SNIP. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2018; pp. 3578–3587. [Google Scholar]
- Sun, S.; Chen, Y.; Wu, H.; Qiao, Q.; Yang, M.; Qin, Z.; Wang, D.; Chu, X.; Xu, N.; Zhao, F. Maturity-aware fruit detection in real orchard scenes using super-resolution enhanced YOLOv13n. Adv. Eng. Inform. 2026, 76, 105145. [Google Scholar] [CrossRef] [Scilit]
- Wang, X.; Xiao, T.; Jiang, Y.; Shao, S.; Sun, J.; Shen, C. Repulsion Loss: Detecting Pedestrians in a Crowd. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2018; pp. 7774–7783. [Google Scholar] [CrossRef] [Scilit]
- Koh, P.W.; Sagawa, S.; Marklund, H.; Xie, S.M.; Zhang, M.; Balsubramani, A.; Hu, W.; Yasunaga, M.; Phillips, R.L.; Gao, I.; et al. WILDS: A Benchmark of in-the-Wild Distribution Shifts. In Proceedings of the 38th International Conference on Machine Learning; PMLR: Cambridge, MA, USA, 2021; Volume 139, pp. 5637–5664. [Google Scholar]
- Gulrajani, I.; Lopez-Paz, D. In Search of Lost Domain Generalization. In Proceedings of the International Conference on Learning Representations, Virtual, 3–7 May 2021. [Google Scholar]
- mywork lkwz4. Student Behaviour Detection Dataset. 2024. Available online: https://universe.roboflow.com/mywork-lkwz4/student-behaviour-detection-neazg (accessed on 18 September 2026).
- Zhang, J.; Guo, L.; Wang, X. Student Classroom Behavior Dataset.zip. Figshare, Dataset, Version 1. 2025. Available online: https://figshare.com/articles/dataset/Student_Classroom_Behavior_Dataset_zip/29979148/1 (accessed on 18 September 2026).
- Kim, J.; Kim, G.; Yoshitoshi, R.; Tokuda, K. Real-Time Object Detection for Edge Computing-Based Agricultural Automation: A Case Study Comparing the YOLOX and YOLOv12 Architectures and Their Performance in Potato Harvesting Systems. Sensors 2025, 25, 4586. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Wu, X.; Dong, J.; Bao, W.; Zou, B.; Wang, L.; Wang, H. Augmented Intelligence of Things for Emergency Vehicle Secure Trajectory Prediction and Task Offloading. IEEE Internet Things J. 2024, 11, 36030–36043. [Google Scholar] [CrossRef] [Scilit]
- Zhao, F.; Wang, J.; Chen, Y.; Shao, X.; Liu, Y.; Chen, Y.; Xue, F.; Sasaki, J.; Mizuno, K. Cost-effective ecological monitoring in shallow waters using amphibious unmanned aerial vehicles (AUAV) and deep learning-based computer vision. Mar. Environ. Res. 2026, 216, 107911. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Hendrycks, D.; Dietterich, T. Benchmarking Neural Network Robustness to Common Corruptions and Perturbations. In Proceedings of the International Conference on Learning Representations, New Orleans, LA, USA, 6–9 May 2019. [Google Scholar]
- Tao, J.; Qiao, Q.; Song, J.; Sun, S.; Chen, Y.; Wu, Q.; Liu, Y.; Xue, F.; Wu, H.; Zhao, F. Deep Learning-Driven Automatic Segmentation of Weeds and Crops in UAV Imagery. Sensors 2025, 25, 6576. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Shi, J.; Bi, L.; Xu, X.; Feleke, A.G.; Fei, W. Low-Quality Video Target Detection Based on EEG Signal Using Eye Movement Alignment. Cyborg Bionic Syst. 2024, 5, 0121. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Gu, X.; Chen, J. Progressive Degradation-Aware Distillation for Robust Indoor Object Detection. Sci. Rep. 2026, 16, 35431. [Google Scholar] [CrossRef] [Scilit]
- Zhao, F.; Xue, F.; Wang, J.; Yi, J.; Zhang, D.; Liu, Y.; Shao, X.; Chen, Y.; Song, J.; Li, N.; et al. CoralSMIA: Physically Grounded Scattering Modeling and Illumination Adaptation for Generalized Underwater Coral Segmentation. IEEE Trans. Geosci. Remote Sens. 2026, 64, 4210116. [Google Scholar] [CrossRef] [Scilit]
- Zhao, F.; Huang, B.; Wang, J.; Shao, X.; Wu, Q.; Xi, D.; Liu, Y.; Chen, Y.; Zhang, G.; Ren, Z.; et al. Seafloor debris detection using underwater images and deep learning-driven image restoration: A case study from Koh Tao, Thailand. Mar. Pollut. Bull. 2025, 214, 117710. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Chen, L. Beyond External Constraints: The Missing Dimension of AI Governance. SSRN 2026. [Google Scholar] [CrossRef] [Scilit]
- Zhao, F.; Ma, B.; Xi, D.; Wang, J.; Chen, Y.; Liu, Y.; Shao, X.; Zhang, M.; Zhang, G.; Chen, J.; et al. Deep learning-based super-resolution reconstruction and improved YOLOv9 for efficient benthos detection: A case study at Lake Hamana, Japan. Remote Sens. Ecol. Conserv. 2026. Early View. [Google Scholar] [CrossRef] [Scilit]
- Zhao, F.; Liu, Y.; Wang, J.; Xue, F.; Yang, K.; Shao, X.; Chen, J.; Yin, Z.; Wu, H.; Chen, Y.; et al. UAV-Based Super-Resolution Instance Segmentation Enables Ecological Monitoring of Sea Cucumbers in Shallow Coral Reef Habitats. Mar. Pollut. Bull. 2026, 233, 120417. [Google Scholar] [CrossRef] [Scilit] [PubMed]
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.














