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
. 2022 Jul;26(6):1282-1291.
doi: 10.1002/ejp.1948. Epub 2022 Apr 6.

Artificial intelligence to evaluate postoperative pain based on facial expression recognition

Affiliations

Artificial intelligence to evaluate postoperative pain based on facial expression recognition

Denys Fontaine et al. Eur J Pain. 2022 Jul.

Abstract

Background: Pain intensity evaluation by self-report is difficult and biased in non-communicating people, which may contribute to inappropriate pain management. The use of artificial intelligence (AI) to evaluate pain intensity based on automated facial expression analysis has not been evaluated in clinical conditions.

Methods: We trained and externally validated a deep-learning system (ResNet-18 convolutional neural network) to identify and classify 2810 facial expressions of 1189 patients, captured before and after surgery, according to their self-reported pain intensity using numeric rating scale (NRS, 0-10). AI performances were evaluated by accuracy (concordance between AI prediction and patient-reported pain intensity), sensitivity and specificity to diagnose pain ≥4/10 and ≥7/10. We then confronted AI performances with those of 33 nurses to evaluate pain intensity from facial expression in the same situation.

Results: In the external testing set (120 face images), the deep learning system was able to predict exactly the pain intensity among the 11 possible scores (0-10) in 53% of the cases with a mean error of 2.4 points. Its sensitivities to detect pain ≥4/10 and ≥7/10 were 89.7% and 77.5%, respectively. Nurses estimated the right NRS pain intensity with a mean accuracy of 14.9% and identified pain ≥4/10 and ≥7/10 with sensitivities of 44.9% and 17.0%.

Conclusions: Subject to further improvement of AI performances through further training, these results suggest that AI using facial expression analysis could be used to assist physicians to evaluate pain and detect severe pain, especially in people not able to report appropriately their pain by themselves.

Significance: These original findings represent a major step in the development of a fully automated, rapid, standardized and objective method based on facial expression analysis to measure pain and detect severe pain.

PubMed Disclaimer

References

REFERENCES

    1. Ashraf, A., Lucey, S., Cohn, J., Chen, T., Ambadar, Z., Prkachin, K., & Solomon, P. (2009). The painful face - pain expression recognition using active appearance models. Image and Vision Computing, 27, 1788-1796. https://doi.org/10.1016/j.imavis.2009.05.007
    1. Baltrušaitis, T., Robinson, P., & Morency, L. (2016). Openface: an open source facial behavior analysis toolkit. IEEE Winter Conference on Applications of Computer Vision (WACV), 2016, 1-10.
    1. Bargshady, G., Zhou, X., Deo, R., Soar, J., Whittaker, F., & Wang, H. (2020). Ensemble neural network approach detecting pain intensity from facial expressions. Artificial Intelligence in Medicine, 109, 101954. https://doi.org/10.1016/j.artmed.2020.101954
    1. Brahnam, S., Chuang, C., Shih, F., & Slack, M. (2006). Machine recognition and representation of neonatal facial displays of acute pain. Artificial Intelligence in Medicine, 36, 211-222. https://doi.org/10.1016/j.artmed.2004.12.003
    1. Craig, K., & Patrick, C. (1985). Facial expression during induced pain. Journal of Personality and Social Psychology, 48, 1080-1091. https://doi.org/10.1037/0022-3514.48.4.1089

Publication types

LinkOut - more resources