Related Experiment Video
Updated: Jun 30, 2026

Artificial Intelligence-Based System for Detecting Attention Levels in Students
Published on: December 15, 2023
Impact of Indoor Environmental Quality on Student Behavior: A Case Study Using AI-Powered Computer Vision
Alma Mena-Martinez1, Danilo Valdes-Ramirez2, Genaro Zavala1,3
1Institute for the Future of Education, Tecnologico de Monterrey, Monterrey, 64700, Nuevo Leon, Mexico.
Abstract:
The role of Indoor Environmental Quality (IEQ) factors in shaping student behavior and emotional states in the classroom, which have been observed as potentially diminishing performance, necessitates objective and continuous assessment to overcome the limitations of subjective methods. This study addressed this need by utilizing a case study approach. We deployed an AI-powered behavioral observation system to anonymously estimate aggregate student behavior metrics (Engagement, Attention, Interaction) in real-time, synchronized with data collected from a custom-built multi-sensor device monitoring IEQ factors, including temperature, humidity, equivalent carbon dioxide (eCO[Formula: see text]), total volatile organic compounds (TVOCs), air quality index (AQI), light variations, and oxygen volume (O[Formula: see text]). Comprehensive statistical and causality analyses included nonparametric correlations, Cross-Correlation Function (CCF) analyses to assess lagged effects, Time-Varying Granger Causality (TV-GC) tests, and categorical analysis with Chi-squared tests. The results revealed that thermal and humidity extremes correlate with increased behavioral volatility. Temperature is the most consistent predictor of student attention; Chi-squared and violin plot analyses demonstrated that attention levels are significantly higher at slightly lower temperatures, specifically below 30.9[Formula: see text]C, within the reported range [29.62 - 31.35[Formula: see text]C]. Besides, a significant association between humidity and attention was observed, although it was significant at the [Formula: see text] level rather than the more stringent [Formula: see text] threshold applied to core findings. Additionally, the study identified a critical TV-GC relationship between O[Formula: see text] volume and engagement, pinpointing specific causal bursts that global correlation measures failed to capture. Standard CCF analyses suggested that lower light levels may be associated with higher interaction levels; however, this pattern was not statistically significant after pre-whitening and bootstrapping the CCF, nor was it supported by the TV-GC analyses. These findings advocate for responsive, automated classroom systems that dynamically adjust IEQ parameters to synchronize with the temporal demands of the learning process.