Context Matters: Peer-Aware Student Behavioral Engagement Measurement via VLM Action Parsing and LLM Sequence Classification
Ahmed Abdelkawy, Ahmed Elsayed, Asem Ali, Aly Farag, Thomas Tretter, Michael McIntyre
TL;DR
This paper tackles the challenge of measuring student behavioral engagement in classrooms while accounting for the crucial role of peer context. It introduces a three-stage framework that first performs few-shot action recognition with a vision-language model, then parses continuous actions into a time-ordered sequence via sliding-window segmentation, and finally uses a large language model to classify engagement by incorporating classroom context. A novel dual-component dataset is created to support both action labeling and engagement annotation, and the approach demonstrates that temporal sequences and peer context outperform simple histograms or context-free baselines in identifying engaged versus disengaged students. The results show strong engagement classification performance (up to high F1 scores) and reveal that context awareness substantially improves interpretation of student actions, offering a scalable path to privacy-preserving, data-efficient engagement assessment in real classrooms.
Abstract
Understanding student behavior in the classroom is essential to improve both pedagogical quality and student engagement. Existing methods for predicting student engagement typically require substantial annotated data to model the diversity of student behaviors, yet privacy concerns often restrict researchers to their own proprietary datasets. Moreover, the classroom context, represented in peers' actions, is ignored. To address the aforementioned limitation, we propose a novel three-stage framework for video-based student engagement measurement. First, we explore the few-shot adaptation of the vision-language model for student action recognition, which is fine-tuned to distinguish among action categories with a few training samples. Second, to handle continuous and unpredictable student actions, we utilize the sliding temporal window technique to divide each student's 2-minute-long video into non-overlapping segments. Each segment is assigned an action category via the fine-tuned VLM model, generating a sequence of action predictions. Finally, we leverage the large language model to classify this entire sequence of actions, together with the classroom context, as belonging to an engaged or disengaged student. The experimental results demonstrate the effectiveness of the proposed approach in identifying student engagement.
