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
. 2024 Jun 5:10:20552076241259664.
doi: 10.1177/20552076241259664. eCollection 2024 Jan-Dec.

Automated facial recognition system using deep learning for pain assessment in adults with cerebral palsy

Affiliations

Automated facial recognition system using deep learning for pain assessment in adults with cerebral palsy

Álvaro Sabater-Gárriz et al. Digit Health. .

Abstract

Objective: Assessing pain in individuals with neurological conditions like cerebral palsy is challenging due to limited self-reporting and expression abilities. Current methods lack sensitivity and specificity, underlining the need for a reliable evaluation protocol. An automated facial recognition system could revolutionize pain assessment for such patients.The research focuses on two primary goals: developing a dataset of facial pain expressions for individuals with cerebral palsy and creating a deep learning-based automated system for pain assessment tailored to this group.

Methods: The study trained ten neural networks using three pain image databases and a newly curated CP-PAIN Dataset of 109 images from cerebral palsy patients, classified by experts using the Facial Action Coding System.

Results: The InceptionV3 model demonstrated promising results, achieving 62.67% accuracy and a 61.12% F1 score on the CP-PAIN dataset. Explainable AI techniques confirmed the consistency of crucial features for pain identification across models.

Conclusion: The study underscores the potential of deep learning in developing reliable pain detection systems using facial recognition for individuals with communication impairments due to neurological conditions. A more extensive and diverse dataset could further enhance the models' sensitivity to subtle pain expressions in cerebral palsy patients and possibly extend to other complex neurological disorders. This research marks a significant step toward more empathetic and accurate pain management for vulnerable populations.

Keywords: Pain assessment; automated facial recognition; cerebral palsy; deep learning; pain expression image dataset.

PubMed Disclaimer

Conflict of interest statement

The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.

Figures

Figure 1.
Figure 1.
Example of images with and without pain, from the four datasets employed in this study.
Figure 2.
Figure 2.
Resulting images after the pre-processing performed before any training or testing on the four databases, featuring a face crop and background subtraction.
Figure 3.
Figure 3.
Visualization of the explanation process followed for the identification of the important regions for a specific model to classify into a class.
Figure 4.
Figure 4.
Accuracy (top) and F1 score (bottom) of the pain prediction results of the three different trainings performed, displayed by network. The values correspond to the average between the five validation splits, for each training scenario.
Figure 5.
Figure 5.
Precision (top) and recall (bottom) of the pain prediction results by class on the CP-PAIN dataset, displayed by network. The values correspond to the average between the five validation splits, for each training scenario.
Figure 6.
Figure 6.
Heatmaps representing face regions importance for the different models, classes, and databases.
Figure 7.
Figure 7.
Examples of images correctly classified as “pain” by the InceptionV3 model on the CP-PAIN dataset.
Figure 8.
Figure 8.
Examples of images incorrectly classified as “no pain” by the InceptionV3 model on the CP-PAIN dataset.
Figure 9.
Figure 9.
Examples of images correctly classified as “pain” by the InceptionV3 model on the PAIN-DB dataset, grouped by original dataset (by rows).
Figure 10.
Figure 10.
Examples of images incorrectly classified as “no pain” by the InceptionV3 model on the PAIN-DB dataset, grouped by original dataset (by rows).

Similar articles

Cited by

References

    1. Bax M, Goldstein M, Rosenbaum P, et al. Proposed definition and classification of cerebral palsy, April 2005. Dev Med Child Neurol 2005; 47: 571–576. - PubMed
    1. Peterson MD, Hurvitz EA. Cerebral palsy grows up. Mayo Clin Proc 2021; 96: 1404–1406. - PubMed
    1. Jonsson U, Eek MN, Sunnerhagen KSet al. et al. Cerebral palsy prevalence, subtypes, and associated impairments: a population-based comparison study of adults and children. Dev Med Child Neurol 2019; 61: 1162–1167. - PubMed
    1. Novak I, Hines M, Goldsmith Set al. et al. Clinical prognostic messages from a systematic review on cerebral palsy. Pediatrics 2012; 130: e1285–e1312. - PubMed
    1. Tarsuslu Şimşek T, Livanelioğlu A. Serebral paralizili bireylerde ağrının aktivite bağımsızlığı ve sağlıkla ilgili yaşam kalitesi üzerine etkisi [the effect of pain on activity independence and health-related quality of life in cerebral palsied individuals]. Agri 2011; 23: 107–113. - PubMed

LinkOut - more resources