Abstract & Overview
To address the growing need for precise classroom behavior analysis in digital finance education, this study aims to improve the recognition of fine-grained teaching activities in complex instructional environments. A specialized multi-perspective image dataset was constructed, capturing diverse finance classroom scenes with variations in lighting, crowd density, and behavior categories. Based on this dataset, the You Only Look Once version 8 (YOLOv8) architecture was enhanced through a multi-domain attention mechanism, scale-aware feature allocation strategy, and semantic-weighted loss function. A hierarchical teaching activity classification module was further embedded to support semantic-level behavior discrimination. Experiments conducted using the PyTorch deep learning framework on 38,524 annotated samples confirmed significant improvements across multiple metrics: mean Average Precision at IoU 0.5 ([email protected]) increased by 6.3%, mean Average Precision across IoU 0.5–0.95 ([email protected]:0.95) improved by 5.7%, while Recall (R) and Precision (P) also exhibited notable gains compared to baseline models. The ablation study highlighted the complementary contributions of attention, scale adaptation, and semantic weighting mechanisms. The proposed system demonstrates strong robustness in detecting subtle gestures and localized interactions in financial classrooms. These results indicate its potential as a reliable tool for behavior analysis and instructional quality evaluation in smart education applications.