MATT: Multimodal Attention Level Estimation for e-learning Platforms

Roberto Daza, Luis F. Gomez, Aythami Morales, Julian Fierrez, Ruben Tolosana, Ruth Cobos, Javier Ortega-GarciaarXiv 2023

TL;DR

The MATT framework introduces a non-intrusive, webcam-based system that estimates student attention levels during e-learning sessions by combining eye blink rates, head pose, and facial expressions. By fusing these distinct behavioral signals, the system achieves an impressive 82% accuracy in distinguishing high from low attention, outperforming previous single-signal methods by roughly 40% in relative error reduction.

What Problem Does This Paper Address?

With the massive shift toward online education, teachers face a major challenge: without direct face-to-face contact, it is incredibly difficult to know if students are actually paying attention or zoning out.

While physiological sensors like electroencephalograms (EEG) provide highly accurate measurements of cognitive load and attention, wearing an EEG headset during a standard study session is intrusive and impractical for everyday use. On the other hand, tracking attention using a standard webcam is non-intrusive but historically less effective. The authors of this paper bridge this gap by developing MATT (Multimodal Attention Level Estimation), a system that leverages computer vision to extract multiple behavioral and facial cues simultaneously, turning a standard webcam into an effective attention-monitoring tool.

Methods

MATT processes standard 2D video frames through a pipeline of specialized Convolutional Neural Networks (CNNs) to extract four key types of facial features:

  1. Face Detection: Uses the RetinaFace detector to locate the user's face.
  2. Eye Blink Detection: A VGG16-inspired binary classifier determines whether eyes are open or closed in each frame to calculate blink rates.
  3. Head Pose Estimation: A specialized ConvNet (RealHePoNet) calculates vertical (pitch) and horizontal (yaw) angles.
  4. Facial Expression Detection: Uses a FaceNet-Inception architecture to generate a 16-dimensional embedding representing facial expressions.
  5. Landmark Detection: Extracts the Eye Aspect Ratio (EAR) to measure eye opening.
Figure 1: Block diagram of the multimodal attention level estimation approach. The dashed line represents ground truth used for training the SVMs.

Instead of making predictions frame-by-frame, the system aggregates these features over one-minute windows to capture meaningful behavioral trends. Each module's features are first fed into individual Support Vector Machines (SVMs) to generate monomodal attention scores. Finally, MATT uses a score-level fusion strategy (a weighted sum) to combine these individual insights into a final high/low attention classification.

Datasets

The framework was trained and evaluated using the public mEBAL database.

  • Data Composition: It contains data from 38 users, each participating in a 15-to-30-minute e-learning session involving tasks of varying difficulty (e.g., crosswords, logic puzzles) designed to alter cognitive load.
  • Ground Truth: Crucially, mEBAL includes simultaneous recordings from a NeuroSky EEG headset. The authors utilized the attention metrics derived from these EEG signals as the absolute ground truth to train and validate their vision-based classifiers.

Key Insights and Ideas

  • The Power of Multimodality: No single facial feature tells the whole story. While eye blinking is the strongest individual indicator of attention, combining it with contextual cues like head pose and facial expressions yields a much more robust estimation.
  • More Features Aren't Always Better: Surprisingly, adding the Eye Aspect Ratio (EAR) or head distance features to the final fusion model actually degraded performance. Features related to the student's proximity to the camera showed almost entirely overlapped distributions between high and low attention, proving to be noise rather than useful signal.
  • Asymmetry in Attention Patterns: High attention levels are significantly easier for computer vision models to recognize cleanly than low attention levels. When students are focused, their expressions and posture stabilize; when they lose focus, their behaviors become highly variable and spread out.
Probability density functions from scores obtained by monomodal (top) and multimodal (bottom) attention estimation systems.

Key Results

The authors evaluated their approach using a "leave-one-out" cross-validation protocol across all users:

  • Monomodal Performance: Evaluated individually, Eye Blink (EB) was the top performer with 76.39% maximum accuracy, followed by Facial Expressions (69.91%), Landmarks/EAR (66.24%), and Head Pose (59.77%).
  • Multimodal Performance: The optimal combination—Eye Blink + Head Pose + Facial Expressions—achieved the highest overall accuracy of 82.15% (and an Equal Error Rate accuracy of 81.98%).
  • State-of-the-Art Comparison: MATT significantly outperforms ALEBk (a recent state-of-the-art baseline that relies solely on eye-blink frequency), which tops out at 70% accuracy on the same dataset. This represents a ~40% relative reduction in error rates.

Limitations and Future Work

While promising, the current implementation of MATT uses an unoptimized, equal-weight distribution for its score fusion scheme. The authors note that optimizing these weights dynamically could yield even higher accuracy.

Additionally, the system is currently limited to purely visual data. Future iterations plan to explore other non-intrusive signals available from consumer devices, such as webcam-derived heart rate estimation (remote photoplethysmography), pupil size variations, gaze tracking patterns, and keystroke dynamics. They also plan to transition from static window aggregation to temporal deep learning architectures like Long Short-Term Memory (LSTM) networks to better model the continuous flow of student attention.

Summary updated

BibTeX
@misc{daza2023matt,
  author = {Roberto Daza and Luis F. Gomez and Aythami Morales and Julian Fierrez and Ruben Tolosana and Ruth Cobos and Javier Ortega-Garcia},
  title = {{MATT: Multimodal Attention Level Estimation for e-learning Platforms}},
  year = {2023},
  eprint = {2301.09174},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2301.09174},
}
Figure