Skip to main content
Have a personal or library account? Click to login
Spatiotemporal Self-Attentive Graph-TCN Framework for Enhanced Teen Stress Detection Cover

Spatiotemporal Self-Attentive Graph-TCN Framework for Enhanced Teen Stress Detection

Open Access
|Jun 2026

Figures & Tables

Table 1:

Insights from the literature review on deep learning approaches for emotion and stress detection

No.Author name and yearMethodology usedLimitations
1Seo et al. (2022) [9]Multimodal deep neural networkDeclined performance in multilevel classification; dependence on sensors limits scalability
2Campanella et al. (2023) [10]Random forest, SVM, logistic regressionHandcrafted features; limited subject diversity affects generalizability
3Li & Lima (2021) [11]ResNet-50Poor robustness in real-world settings; limited generalization
4Gupta et al. (2023) [12]Inception-V3, VGG19, ResNet-50Ignores contextual/behavioral cues; focuses solely on facial expressions
5Mohan et al. (2021) [13]FER-netInconsistent performance across datasets; generalization remains a challenge
6Khattak et al. (2022) [14]CNNRelies on static facial images, limiting its ability to capture temporal variations essential for video-based emotion analysis
7Savchenko et al. (2022) [15]Fine-tuned CNNLimited to static image models; lacks dynamic emotion tracking
8Minaee et al. (2021) [16]Deep-emotion (attentional CNN)No temporal modeling; dependent on labeled datasets for accuracy
Figure 1:

Architecture diagram of the proposed model.

Figure 2:

Sample images from the DAiSEE dataset representing affective states. DAiSEE, dataset for affective states in e-environments.

Figure 3:

Architecture diagram of the GAT. GAT, graph attention network.

Table 2:

Sample output feature vectors from GAT for five facial landmark nodes

Node IDFeature 1Feature 2Feature 3Feature 4
Node 1 (left eye corner)0.3480.6210.2140.489
Node 2 (right eye corner)0.4570.5820.1990.501
Node 3 (nose tip)0.5110.4030.2550.620
Node 4 (left mouth corner)0.3980.6340.2010.537
Node 5 (right mouth corner)0.4420.5930.2280.511

[i] GAT, graph attention network.

Figure 4:

Architecture diagram of the TCN. TCN, temporal convolutional network.

Table 3:

TCN-generated temporal feature vector (for a sequence of five frames)

Time step (t)Feature 1Feature 2Feature 3Feature 4
Frame 10.4210.3590.2880.612
Frame 20.4370.3700.2950.601
Frame 30.4580.3900.3020.593
Frame 40.4690.4080.3100.585
Frame 50.4820.4270.3200.578
Table 4:

Spatiotemporal feature embedding (after STG-TCN fusion)

Frame No.Attention-weighted feature 1Feature 2Feature 3...Feature 128
Frame 10.0450.082−0.017...0.103
Frame 20.0510.091−0.009...0.110
Frame 30.0630.1040.002...0.123
Frame 40.0590.099−0.001...0.118
Frame 50.0660.1070.005...0.127
Input: Video V with T frames
1. Preprocessing and Landmark Extraction: for each frame F_t in video V do
    faceMTCNN (F_t)
    landmarks _tDlib68 (face)
  end for
2. Spatial Feature Extraction using GAT:
  Construct graph G(V, E) from _ landmarks _t → nodes = landmarks, edges = anatomical connectivity
  for each graph G _t do
    spatial _feat _tGAT (G _t)
  end for
3. Temporal Feature Extraction using TCN: for each frame F _t in video V do
    embedding _t ← EfficientNet_Lite(F_t)
  end for
  temporal _feat ← TCN({embedding_1, ..., embedding_T})
4. Cross-Attention Fusion: for each time step t do
  attention _ weights ← CrossAttention(spatial_feat_t, temporal_feat_t)
  fused _feat _tattention _ weights spatial
  [spatial _ feat _ t || temporal _ feat _ t]
end for
5. Spatio-Temporal Feature Aggregation:
unified _representation ← Aggregate({fused_feat_1, ..., fused_feat_T})
6. Classification:
logits ← FullyConnected(unified_representation)
stress _level ← Softmax(logits)
Return: stress _level
Output: Predicted stress level {Low, Medium, High}
Figure 5:

Flowchart for the proposed model. GAT, graft attention network; TCN, temporal convolutional networks.

Figure 6:

Comprehensive performance metrics comparison of STG-TCN versus baseline models.

Figure 7:

PCA embedding of feature representations across models. GAT, graft attention network; PCA, principal component analysis; TCN, temporal convolutional networks.

Figure 8:

ROC curve comparison across models.

Figure 9:

Learning curves of train and validation loss for various models.

Figure 10:

Class distribution across various compared models.

Language: English
Submitted on: Aug 19, 2025
Published on: Jun 27, 2026
Published by: International Journal on Smart Sensing and Intelligent Systems
In partnership with: Paradigm Publishing Services
Publication frequency: 1 issue per year

© 2026 P. Indumathy, R. Praveen Kumar, published by International Journal on Smart Sensing and Intelligent Systems
This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License.