UNWIND: Any-Length Facial Video for Stress Detection without Temporal Windowing
Organizations: Honda Research Institute Japan, Wako City, Japan · Department of Electronic Engineering, Hellenic Mediterranean University, Chania, Greece
Abstract
Automatic stress recognition from facial video provides a non-contact approach for affective monitoring. However, most existing video-based methods divide complete recordings into shorter temporal segments before performing classification. Such segmentation requires additional decisions concerning segment duration, overlap, and prediction aggregation, and may restrict the model from exploiting information distributed across the entire recording. We introduce UNWIND, a facial-video framework for stress detection that analyzes a complete recording as a single model input, eliminating the need for temporal windowing or external segmentation. UNWIND reorganizes the video by folding its temporal dimension into the channel dimension of a two-dimensional spatial representation, which is subsequently processed through a unified asymmetric-attention architecture. With a temporal stride of , the framework processes the entire -second sequence, corresponding to frames sampled at ~fps, in a single input. We evaluate seven temporal-stride settings on a stress dataset comprising subjects, using a stratified subject-level protocol that covers configurations from dense frame retention to sparse temporal sampling. The highest test accuracy, , is obtained at , while processing all frames at achieves a comparable accuracy of . Computational requirements range from to GFLOPs across the evaluated stride settings, illustrating the balance between temporal sampling density and computational efficiency. The findings show that effective facial-video stress recognition can be achieved without dividing recordings into temporal windows and that complete-recording inference can be performed within a single unified model.
Figures & tables
| Hyperparameter | Value |
| Depth | 4 |
| Latent pool size ( ) | 32 |
| Latent dimension ( ) | 128, 112, 96, 80 |
| Cross-attention heads | 1, 1, 1, 1 |
| Cross-attention head dimension | 64, 48, 32, 16 |
| Self-attention heads | 8, 6, 4, 2 |
| # | Task | Duration (sec) | State |
| Social Exposure | |||
| 1 | Neutral reference | 120 | N |
| 2 | Baseline description | 120 | N |
| 3 | Interview | 120 | S |
| Emotional Recall | |||
| 4 | Neutral reference | 120 | N |
| Split | Difficulty Group | |||
| Q1 – Hard | Q2 – Med-Hard | Q3 – Med-Easy | Q4 – Easy | |
| Training (38) | P017, P018, P022, P026, P034, P035, P042, P045, P050, P056 | P001, P002, P003, P007, P012, P021, P033, P040, P048 | P004, P014, P016, P032, P036, P046, P047, P052, P053, P054 | P005, P010, P020, P028, P029, P037, P039, P041, P057 |
| Validation (8) | P038, P055 | P009, P023 | P006, P013 | P019, P030 |
| Testing (12) | P008, P025, P044 | P011, P024, P043 | P015, P031, P058 | P027, P051, P059 |
| Input | Computational Cost | Inference Cost | Validation | Testing | |||||
| Modality | Stride | Params (M) | GFLOPs | Latency (ms) | Samples/s | Accuracy | Precision | F1 | Accuracy |
| Video | 1 | 9.16 | 348.78 | 133.02 | 7.52 | 64.28 | 67.09 | 60.89 | 69.73 |
| Video | 2 | 7.43 | 174.83 | 64.00 | 15.63 | 66.79 | 67.49 | 66.91 | 66.61 |
| Video | 5 | 6.39 | 70.46 | 27.84 | 35.92 | 69.11 | 69.77 | 67.81 | 60.91 |
| Video | 10 | 6.05 | 35.67 | 16.97 | 58.92 | 66.76 | 66.58 | 66.53 | 64.12 |
| Video | 15 | 5.93 | 24.07 | 16.39 | 61.01 | 68.16 | 68.73 | 68.28 | 70.02 |
| Study | Modality | Computational Cost | Validation Protocol | Accuracy | |
| Params (M) | GFLOPs | ||||
| Ours | Video | 5.93 | 24.07 | Hold-out | 70.02 |
| [ 14 ] | EDA | 2.06 | 1.58 | Hold-out | 70.97 |
| Ours | Video | 5.93 | 24.07 | LOSO | |
Temporal Video Understanding
Temporal video understanding studies how models track actions, events, and changes over time to answer questions, locate moments, and predict what happens next.
See all 371 papers