Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Jul 29;15(1):27674.
doi: 10.1038/s41598-025-12476-8.

Classifying social and physical pain from multimodal physiological signals using machine learning

Affiliations

Classifying social and physical pain from multimodal physiological signals using machine learning

Eun-Hye Jang et al. Sci Rep. .

Abstract

Accurate pain assessment is essential for effective management; however, most studies have focused on differentiating pain from non-pain or estimating pain intensity rather than distinguishing between distinct pain types. We present a machine learning method for classifying physical and social pain using physiological signals. Seventy-three healthy adults participated in experiments involving baseline, neutral, and pain-inducing stimuli related to both types of pain. Physical pain was elicited by pressure cuff inflation, whereas social pain was induced by watching a video depicting a loved one's death. The electrocardiogram, electrodermal activity, photoplethysmogram, respiration, and finger temperature were recorded, and 12 physiological features were extracted. Three machine learning algorithms-logistic regression, support vector machine, and random forest-were employed to classify the input data into baseline versus painful states and physical versus social pain. Our findings demonstrated high accuracy in identifying social pain (0.82) and physical pain (0.90) compared to the baseline. Classification accuracy between physical and social pain was moderate (0.63) when using painful state data alone but improved to 0.77 when incorporating reactivity from neutral to painful states. This study highlights the potential of multimodal physiological signals for differentiating pain types and enhancing personalized pain management strategies.

Keywords: Autonomic nervous system; Machine learning; Multimodal; Physical pain; Physiological signals; Social pain.

PubMed Disclaimer

Conflict of interest statement

Declarations. Competing interests: The authors declare no competing interests. Ethics statement: All methods were carried out in accordance with the Declaration of Helsinki and all applicable institutional and national regulations, and the study was approved by the Institutional Review Board of Chungnam National University (No. 201309-SB-041-01). All participants provided written informed consent.

Figures

Fig. 1
Fig. 1
Experimental methods (a) overall procedure (b) emotion ratings (c) physiological signals observed during the experiment. Pain-inducing sessions were presented in random order.
Fig. 2
Fig. 2
Bar graphs showing performance measures for classifying baseline and painful states of the social and physical pain stimuli. Brackets indicate significant differences in paired comparisons.
Fig. 3
Fig. 3
Bar graphs showing performance measures for classifying physical and social pain types based on painful state and reactivity data. Brackets indicate significant differences in paired comparisons.
Fig. 4
Fig. 4
Learning curves for pain-type classification using reactivity data: (a) LoR, (b) SVM, and (c) RF. Each subplot shows training and test accuracy across varying fractions of the dataset, where a fraction of 1 represents the entire dataset. Solid lines indicate mean values, and dashed lines represent standard deviations.
Fig. 5
Fig. 5
SHAP values for classifying physical and social pain types using (a) painful state data and (b) pain reactivity data, with no feature engineering method applied.

Similar articles

References

    1. Katz, N. The impact of pain management on quality of life. J. Pain Symptom Manage.24, 38–47 (2002). - PubMed
    1. Gureje, O., Von Korff, M., Simon, G. E. & Gater, R. Persistent pain and well-being: a world health organization study in primary care. JAMA280, 147–151 (1998). - PubMed
    1. Chu, Y., Zhao, X., Han, J. & Su, Y. Physiological signal-based method for measurement of pain intensity. Front. Neurosci.11, 279. 10.3389/fnins.2017.00279 (2017). - PMC - PubMed
    1. Eisenberger, N. I. The pain of social disconnection: examining the shared neural underpinnings of physical and social pain. Nat. Rev. Neurosci.13, 421–434 (2012). - PubMed
    1. Jang, E., Eum, Y., Yoon, D., Sohn, J. & Byun, S. Comparing multimodal physiological responses to social and physical pain in healthy participants. Front. Public Health12, 1387056. 10.3389/fpubh.2024.1387056 (2024). - PMC - PubMed

LinkOut - more resources