Monday, October 5, 2026
Science
No Result
View All Result
  • Login
  • HOME
  • SCIENCE NEWS
  • CONTACT US
  • HOME
  • SCIENCE NEWS
  • CONTACT US
No Result
View All Result
Scienmag
No Result
View All Result
Home Science News Technology and Engineering

AI Reads Students’ Faces to Measure Attention in Online Classes

October 5, 2026
in Technology and Engineering
Blake Davidson
By Blake Davidson Scienmag Editorial Profile - Data Science
Reading Time: 5 mins read
0
AI Reads Students’ Faces to Measure Attention in Online Classes

AI Reads Students' Faces to Measure Attention in Online Classes

65
SHARES
587
VIEWS
Share on FacebookShare on Twitter
ADVERTISEMENT

For millions of students logging into virtual classrooms every day, the question of whether anyone is actually paying attention has long been unanswerable. In a physical lecture hall, an instructor can scan the room for slumped shoulders, wandering eyes, and furrowed brows, then adjust the pace of a lesson on the fly. Online, that feedback loop collapses. A grid of silent video tiles offers little insight into who is absorbing the material and who has mentally checked out. Now, a team of researchers at Tel Aviv University and Washington State University has built a system that tries to restore that lost channel of communication, using nothing more than a standard webcam and a set of deep learning models that read a learner’s face in real time.

The new framework, described in the journal Multimedia Tools and Applications, tackles a problem that researchers call affective state recognition in e-learning. Rather than trying to detect the seven universal emotions that dominate much of facial expression research, the system focuses on four learning-centered states that education scientists have identified as especially meaningful during study: boredom, engagement, confusion, and frustration. These states matter because decades of cognitive science research show they shape how people learn. Positive emotional states are associated with gains in creative thinking, while negative states push learners toward prioritizing performance over mastery. Boredom in particular has been repeatedly linked to suboptimal learning outcomes, whereas mild confusion, somewhat counterintuitively, can signal that a student is grappling productively with difficult material.

At the heart of the system is a multioutput classification model built on a parallel-branch architecture. The researchers trained two versions: one based on a lightweight convolutional neural network with roughly 470,000 parameters, and another built on EfficientNetB2, a more capable backbone with about 31.7 million parameters that remains efficient enough for cloud deployment. Each branch of the network is dedicated to a single affective state and outputs a probability vector across four intensity levels, from very low to very high. The final output is a combined vector capturing the predicted intensity of boredom, confusion, engagement, and frustration simultaneously. This design distinguishes the work from most prior studies, which typically classified only the single dimension of engagement and ignored the richer emotional context surrounding it.

Training relied on DAiSEE, the first multilabel video dataset created for engagement recognition in the wild. It contains 9,068 ten-second video clips of 112 individuals, recorded at full high-definition resolution with ordinary webcams, and annotated with crowd-sourced labels that were correlated against a gold standard produced by expert psychologists. The dataset is notoriously imbalanced: high-intensity engagement labels dominate, while lower-intensity labels are comparatively rare, and the opposite pattern holds for boredom, confusion, and frustration. To counteract the bias this imbalance would otherwise introduce, the team employed a categorical focal loss, a function that applies a modulating term to standard cross-entropy so that learning concentrates on hard, easily misclassified examples rather than being swamped by the majority class.

Preprocessing was deliberately aggressive. Each ten-second clip originally contains 300 frames, but because facial expressions in instructional settings evolve slowly, on the order of one to two seconds, the pipeline subsamples to just ten frames per video, a 96.7 percent reduction in data volume. Each retained frame passes through a Viola-Jones Haar Cascade detector to isolate the face, and frames where facial landmarks or pupils cannot be reliably detected are discarded. Valid crops are resized to 64-by-64 pixels and converted to normalized grayscale. The result is a compact, standardized input that minimizes computational cost while preserving the affective signals that matter, an essential property for a system intended to run continuously during live lectures.

The most novel contribution, however, is not the classifier itself but what the researchers call the attentiveness index. A single classification of four emotional states does not directly tell an instructor whether a student is attentive, so the team needed a way to compress those predictions into one interpretable number. They had multiple instructors score a subset of dataset videos for attentiveness on a scale of one to ten, then applied multiple linear regression to learn weights for each affective state. The resulting formula weights engagement most heavily and positively, gives confusion a smaller positive weight, and assigns negative weights to boredom and frustration, with boredom penalized far more severely. Crucially, these learned coefficients align with the existing cognitive science literature: boredom is strongly associated with poor learning, frustration more weakly so, and moderate confusion often accompanies productive learning.

The index held up under statistical scrutiny. On an unseen test set, the computed index correlated strongly and significantly with the instructor-annotated ground truth, yielding a Pearson correlation coefficient of 0.700 and a Spearman rank coefficient of 0.585, both statistically significant. Three-fold cross-validation produced a mean R-squared of 0.495, and a t-test confirmed the model’s predictive power at p equals 0.0246. Meanwhile, the underlying classifiers achieved state-of-the-art performance on DAiSEE. The CNN-based model reached accuracies of 73.04 percent on boredom, 79.98 percent on engagement, 80.17 percent on confusion, and 85.37 percent on frustration, while the EfficientNet variant performed comparably, peaking at 80.32 percent on engagement. The researchers argue these results outperform prior end-to-end approaches on the same dataset, including methods built on C3D, I3D, and hybrid architectures combining EfficientNet with temporal convolutional and recurrent networks.

What elevates the work from a modeling exercise to a practical tool is the end-to-end pipeline built around it. The system is deployed on a cloud server and supports simultaneous multi-user logins through a web client built with Flask, JavaScript, and HTML5 Canvas. During a live session, the learner’s webcam feed is analyzed in real time, with detected affective states displayed alongside the learning content. Instructors receive a separate dashboard offering both graphical and tabular analytics: class-level trends in average attentiveness over time, post-session distributions of affective states, and timestamped logs of individual learners’ dominant states and index scores. When cumulative class engagement drops below a threshold, the instructor receives an alert, and the analytics can pinpoint exactly when attention sagged during a lecture, for instance, or flag moments when confusion spiked while a difficult concept was being explained. The system can even aggregate data across multiple lectures to suggest how to structure future sessions for maximum engagement.

The researchers are explicit that the tool is meant as a pedagogical aid, not a surveillance instrument. They caution that affective computing models can be sensitive to lighting, camera quality, and demographic variation, and they strongly advise against punitive or comparative uses of the system. Real-world deployments, they stress, must be strictly opt-in, with informed consent from all participants, and individual analytics should be disabled by default in classroom settings in favor of aggregated, class-level feedback. They also acknowledge a limitation long noted in the field: basic universal emotions are rare during genuine learning sessions, which is precisely why the focus on learning-centered states matters.

Future directions outlined by the team include multimodal fusion, combining facial affect with head movement, gaze tracking, and noninvasive EEG signals, along with explainable AI techniques that would visually highlight which facial features drive each prediction. They also plan consent-based periodic self-reports from learners to calibrate the model against individual differences, and the construction of a new, demographically balanced dataset to validate generalizability across racial and cultural backgrounds. If those efforts succeed, the humble webcam could become one of the most informative instruments in the virtual classroom, giving online instructors something they have lacked since lectures moved to screens: a live read on the minds in the room.

Subject of Research: Real-time computer vision analysis of learner affective states and attentiveness in online education

Article Title: Learner attentiveness and engagement analysis in online education using computer vision

Article References: Gogawale, S., Deshpande, M., Kumar, P., & Ben-Gal, I. (2026). Learner attentiveness and engagement analysis in online education using computer vision. Multimedia Tools and Applications, 85(9), Article 743. https://doi.org/10.1007/s11042-026-21884-5

Image Credits: AI Generated

DOI: 10.1007/s11042-026-21884-5

Keywords: computer vision, online education, affective computing, engagement detection, deep learning, convolutional neural networks, DAiSEE dataset, attentiveness index, e-learning, facial expression recognition, focal loss, real-time analytics

Cite Scienmag News

Blake Davidson. (October 5, 2026). AI Reads Students’ Faces to Measure Attention in Online Classes. Scienmag. https://scienmag.com/ai-reads-students-faces-to-measure-attention-in-online-classes/

Blake Davidson. "AI Reads Students’ Faces to Measure Attention in Online Classes." Scienmag, 5 October 2026, https://scienmag.com/ai-reads-students-faces-to-measure-attention-in-online-classes/. Accessed 5 October 2026.

Blake Davidson. "AI Reads Students’ Faces to Measure Attention in Online Classes." Scienmag. October 5, 2026. https://scienmag.com/ai-reads-students-faces-to-measure-attention-in-online-classes/

Tags: affective computingAI-based facial recognition for online student engagementattentiveness indexchallenges of monitoring attention in online educationcognitive science insights into emotional states during e-learningcomputer visionconvolutional neural networksDAiSEE datasetdeep learningdeep learning models for emotion recognition in virtual classroomsdetecting boredom and frustration during online lessonse-learningengagement detectionfacial expression recognitionfocal lossimpact of affective states on online learning outcomesimportance of student emotional states in digital learningonline educationreal-time affective state detection in e-learningreal-time analyticsremote classroom feedback systems using facial analysisrole oftechnological advancements in virtual classroom engagement assessmentwebcam-based attention measurement in remote education
Share26Tweet16
Previous Post

Iran’s Breast Cancer Screening System Falls Short, Major Mixed-Methods Audit Finds

Next Post

Who Really Renovates? Survey Reveals Stark Divide in Europe’s Home Energy Upgrades

Related Posts

Color-Changing Polymers Get a Structural Upgrade for Next-Generation Sensors
Technology and Engineering

Color-Changing Polymers Get a Structural Upgrade for Next-Generation Sensors

October 4, 2026
AI Learns to Pour Perfect Metal: Machine Learning Boosts Casting Quality in Real Factory Trial
Technology and Engineering

AI Learns to Pour Perfect Metal: Machine Learning Boosts Casting Quality in Real Factory Trial

October 4, 2026
West Coast First: New Coil and Liquid Embolization Technologies Target Chronic Brain Bleeds
Technology and Engineering

West Coast First: New Coil and Liquid Embolization Technologies Target Chronic Brain Bleeds

October 4, 2026
When Algorithms Rule the Office, Who Still Gets to Judge?
Technology and Engineering

When Algorithms Rule the Office, Who Still Gets to Judge?

October 4, 2026
Machine Learning Outsmarts Design Codes in Predicting Shear Strength of Recycled Concrete Beams
Technology and Engineering

Machine Learning Outsmarts Design Codes in Predicting Shear Strength of Recycled Concrete Beams

October 4, 2026
Forgotten Almond Trees in Central Italy Reveal a Hidden Genetic Treasure
Technology and Engineering

Forgotten Almond Trees in Central Italy Reveal a Hidden Genetic Treasure

October 4, 2026
Next Post
Who Really Renovates? Survey Reveals Stark Divide in Europe’s Home Energy Upgrades

Who Really Renovates? Survey Reveals Stark Divide in Europe's Home Energy Upgrades

  • Mothers who receive childcare support from maternal grandparents show more optimized

    Mothers who receive childcare support from maternal grandparents show more parental warmth, finds NTU Singapore study

    27656 shares
    Share 11059 Tweet 6912
  • University of Seville Breaks 120-Year-Old Mystery, Revises a Key Einstein Concept

    1061 shares
    Share 424 Tweet 265
  • Bee body mass, pathogens and local climate influence heat tolerance

    682 shares
    Share 273 Tweet 171
  • Researchers record first-ever images and data of a shark experiencing a boat strike

    546 shares
    Share 218 Tweet 137
  • Groundbreaking Clinical Trial Reveals Lubiprostone Enhances Kidney Function

    531 shares
    Share 212 Tweet 133
Science

Embark on a thrilling journey of discovery with Scienmag.com—your ultimate source for cutting-edge breakthroughs. Immerse yourself in a world where curiosity knows no limits and tomorrow’s possibilities become today’s reality!

RECENT NEWS

  • Who Really Renovates? Survey Reveals Stark Divide in Europe’s Home Energy Upgrades
  • AI Reads Students’ Faces to Measure Attention in Online Classes
  • Iran’s Breast Cancer Screening System Falls Short, Major Mixed-Methods Audit Finds
  • Urban Green Spaces May Shape Disease Risk in a Warming World, Researchers Warn

Categories

  • Agriculture
  • Anthropology
  • Archaeology
  • Athmospheric
  • Biology
  • Biotechnology
  • Blog
  • Bussines
  • Cancer
  • Chemistry
  • Climate
  • Earth Science
  • Editorial Policy
  • Marine
  • Mathematics
  • Medicine
  • Pediatry
  • Policy
  • Psychology & Psychiatry
  • Science Education
  • Social Science
  • Space
  • Technology and Engineering

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 5,150 other subscribers

© 2025 Scienmag - Science Magazine

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • HOME
  • SCIENCE NEWS
  • CONTACT US

© 2025 Scienmag - Science Magazine

Discover more from Science

Subscribe now to keep reading and get access to the full archive.

Continue reading