Video-Based Stress Detection through Deep Learning

Huijun Zhang, Ling Feng, Ningyun Li, Zhanyu Jin, Lei Cao2020

TL;DR

This paper introduces TSDNet, a novel deep learning framework for detecting stress from video by analyzing both facial expressions and body movements. It achieves state-of-the-art results by effectively fusing these two modalities using attention mechanisms and a weighted integration strategy, outperforming existing methods.

What Problem Does This Paper Address?

Stress is a pervasive societal issue with significant health implications. While traditional stress detection methods rely on subjective questionnaires or cumbersome wearable sensors, this paper addresses the need for a non-intrusive, cost-effective, and scalable solution. The challenge lies in accurately identifying subtle stress cues from video data, which can be masked by individual variations and require the integration of multiple information sources. Existing methods often focus on either facial expressions or body movements, but this work aims to leverage the complementary information from both for more robust stress detection.

Methods

The core of this paper is the Two-leveled Stress Detection Network (TSDNet). It operates in three main stages:

  1. Face-Level Representation Learning:
    • Identifies key facial frames (most expressive and least expressive) from video sequences.
  2. Learns representations by computing fine-grained differences (element-wise subtraction of ResNet features) and coarse-grained differences (using multi-scale pooling) between these key frames.
  3. Employs a multi-scale pooling attention mechanism to capture affective facial expressions.
  4. Further refines this representation by learning difference correlations using a self-attention mechanism.
  5. Action-Level Representation Learning:
    • Utilizes two streams: one for still image frames and another for optical flow to capture motion.
  6. For the image stream, it applies ResNet to extract features from each frame, then uses a contribution distribution matrix (Attf) to weight frames based on their importance.
  7. A Long Short-Term Memory (LSTM) network then models the sequential action information from these weighted frames.
  8. A similar process is applied to the optical flow stream to capture motion cues.
  9. Integrating Face- and Action-Level Representations:
    • A stream weighted integration method with local and global attention is used to fuse the face and action representations.
  10. Local attention layers assign weights to the face, still image action, and optical flow action streams.
  11. These weighted streams are concatenated and then passed through a global attention layer to produce a final representation.
  12. This integrated representation is fed into a classifier for stress identification.

Datasets

  • Newly Introduced Dataset: The authors constructed a new video dataset specifically for this study.
  • It contains 2092 labeled video clips, segmented into 15-second samples.
  • The dataset includes 920 "stressed" and 1172 "unstressed" samples.
  • Data was collected from 122 volunteers (58 male, 64 female, aged 18-26) who watched different types of video clips (scenery/food, variety show, science programs) followed by a knowledge-based test to induce cognitive stress.

Key Insights and Ideas

  • Complementarity of Face and Action: The study strongly suggests that combining facial expressions and body movements provides significantly more accurate stress detection than using either modality alone. This is a crucial insight for developing more comprehensive stress monitoring systems.
  • Attention Mechanisms are Key: The effectiveness of attention mechanisms (both for face-level features and for integrating different streams) is highlighted. These mechanisms allow the model to focus on the most relevant parts of the face and the most informative frames/streams, leading to improved performance.
  • Deep Learning for Stress Detection: The paper demonstrates the power of deep learning in automatically learning complex features for stress detection, moving beyond traditional hand-crafted feature engineering.
  • Subtle Cues Matter: The example in Figure 1, where subtle hand movements (touching ear vs. grabbing hair) differentiate stress levels even when facial expressions are similar, underscores the importance of capturing fine-grained action cues.

Key Results

  • State-of-the-Art Performance: TSDNet achieved an accuracy of 85.42% and an F1-Score of 85.28% on their newly constructed dataset.
  • Superiority over Existing Methods: TSDNet significantly outperformed existing methods:
  • Action Units (AUs)-based approaches (like FDASSNN) achieved up to 74.11% accuracy.
  • Facial Cues (FCs)-based approaches achieved a lower accuracy of 46.64%.
  • Fusion Benefits: Integrating face and action information improved detection accuracy and F1-Score by over 7% compared to using face or action alone.
  • Attention Effectiveness: Ablation studies showed that removing attention mechanisms led to performance drops of around 3-5%, validating their importance.
  • Pooling Strategy: The best performance for face-level pooling was achieved with a combination of (1x1), (2x2), and (4x4) kernel sizes.

Limitations and Future Work

  • Limitations:
    • The study was conducted on a specific demographic (college students) and may not generalize to other populations.
  • The dataset was collected in a controlled lab environment, which might differ from real-world scenarios.
  • The paper focuses on visual cues, and other modalities like audio are not considered.
  • Future Work:
    • The authors plan to incorporate audio streams into the framework to explore audio-video fusion for stress detection. This could lead to even more robust and comprehensive stress monitoring systems.

Summary updated

BibTeX
@misc{zhang2020video,
  author = {Huijun Zhang and Ling Feng and Ningyun Li and Zhanyu Jin and Lei Cao},
  title = {{Video-Based Stress Detection through Deep Learning}},
  year = {2020},
  doi = {10.3390/s20195552},
}
Figure