Enhanced residual attention-based subject-specific network (ErAS-Net): facial expression-based pain classification with multiple attention mechanisms

The automatic detection of pain through the analysis of facial expressions is indeed one of the most critical challenges in the healthcare system. One of the significant challenges in automatic pain detection from facial expressions is the variability in how individuals express pain and other emotions through their facial deformations. This research aims to solve this issue by presenting ErAS-Net, an Enhanced Residual Attention-Based Subject-Specific Network that employs various attention mechanisms. Through transfer learning and multiple attention mechanisms, the proposed deep learning model is designed to mimic human perception of facial expressions, thereby enhancing its pain recognition ability and capturing the unique features of each individual's facial expressions based on their specific patterns. The UNBC-McMaster Shoulder Pain dataset is used to demonstrate the effectiveness of the proposed deep learning algorithm, which achieves impressive values of 98.77% accuracy for binary classification and 94.21% for four-level pain intensity classification using tenfold cross-validation. Additionally, the model attained 89.83% accuracy for binary classification with the Leave-One-Subject-Out (LOSO) validation method. To further evaluate generalizability, a cross-dataset experiment was conducted using the BioVid Heat Pain Database, where ErAS-Net achieved 78.14% accuracy for binary pain detection on unseen data without fine-tuning. The fact that this finding supports the attention mechanism and human perception is why the proposed model proves to be a powerful and reliable tool for automatic pain detection.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2025-06-03
DOI
https://doi.org/10.1038/s41598-025-04552-w
Citations
2
Primary Topic
Emotion and Mood Recognition
Type
article
Field-Weighted Citation Impact
4.24
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Enhanced residual attention-based subject-specific network (ErAS-Net): facial expression-based pain classification with multiple attention mechanisms

Aboozar Ghaffari, Mahdi Morsali
2 citations
Scientific Reports
Emotion and Mood Recognition
4.24
article

Enhanced residual attention-based subject-specific network (ErAS-Net): facial expression-based pain classification with multiple attention mechanisms

Aboozar Ghaffari, Mahdi Morsali
article en
2 citations

Abstract

The automatic detection of pain through the analysis of facial expressions is indeed one of the most critical challenges in the healthcare system. One of the significant challenges in automatic pain detection from facial expressions is the variability in how individuals express pain and other emotions through their facial deformations. This research aims to solve this issue by presenting ErAS-Net, an Enhanced Residual Attention-Based Subject-Specific Network that employs various attention mechanisms. Through transfer learning and multiple attention mechanisms, the proposed deep learning model is designed to mimic human perception of facial expressions, thereby enhancing its pain recognition ability and capturing the unique features of each individual's facial expressions based on their specific patterns. The UNBC-McMaster Shoulder Pain dataset is used to demonstrate the effectiveness of the proposed deep learning algorithm, which achieves impressive values of 98.77% accuracy for binary classification and 94.21% for four-level pain intensity classification using tenfold cross-validation. Additionally, the model attained 89.83% accuracy for binary classification with the Leave-One-Subject-Out (LOSO) validation method. To further evaluate generalizability, a cross-dataset experiment was conducted using the BioVid Heat Pain Database, where ErAS-Net achieved 78.14% accuracy for binary pain detection on unseen data without fine-tuning. The fact that this finding supports the attention mechanism and human perception is why the proposed model proves to be a powerful and reliable tool for automatic pain detection.

Scientific ReportsVol. 15(1)
Iran University of Science and Technology (IR)
Openalex Percentile: Top 7%
Emotion and Mood Recognition
4.24
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Enhanced residual attention-based subject-specific network (ErAS-Net): facial expression-based pain classification with multiple attention mechanisms — Aboozar Ghaffari, Mahdi Morsali · Scientific Reports (2025) | TGRS Research Map | TGRS