NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

First Investigation Into the Use of Deep Learning for Continuous Assessment of Neonatal Postoperative Pain

Md Sirajus Salekin, Ghada Zamzmi, Dmitry Goldgof, Rangachar Kasturi, Thao Ho, Yu SunarXiv 2020 · DOI

TL;DR

This paper introduces the first fully automated deep learning framework designed for the continuous assessment of neonatal postoperative pain. By combining Bilinear Convolutional Neural Networks (B-CNN) to capture subtle facial expressions with Long Short-Term Memory (LSTM) networks to model temporal dynamics, the researchers provide a path toward objective, real-time pain monitoring in Neonatal Intensive Care Units (NICUs).

What Problem Does This Paper Address?

Assessing pain in newborns is notoriously difficult. Currently, clinicians rely on manual, score-based scales like N-PASS (Neonatal Pain, Agitation and Sedation Scale). However, these methods suffer from two major flaws:

  1. Subjectivity: Scores vary between observers based on their experience and gender.
  2. Discontinuity: Pain is a temporal event, but manual checks only happen at specific intervals. This "snapshot" approach can miss critical changes in a neonate's condition, leading to either inadequate pain relief or unnecessary over-medication.

While automated systems exist for acute (procedural) pain, postoperative pain has different dynamics, evolving uniquely over hours or days. This paper seeks to bridge that gap with a continuous, automated solution.

Methods

The authors propose a hybrid architecture that treats pain assessment as a fine-grained visual recognition task combined with time-series analysis.

  • Spatial Feature Extraction (B-CNN): The framework uses a Bilinear CNN to extract facial features. Unlike standard CNNs, a bilinear model merges two CNN streams (in this case, two VGG16 networks pre-trained on VGGFace2 and ImageNet) to model local pairwise feature interactions. This makes the system robust to "intra-class variations"—differences in lighting, pose, and background common in a busy NICU.
  • Temporal Modeling (LSTM): Because pain intensity changes over time, the spatial features from the B-CNN are fed into an LSTM network. The LSTM’s memory cells allow the model to capture the "evolution" of pain across a sequence of frames rather than treating every image in isolation.
  • Pipeline: The process involves segmenting video into events (minimum 9 seconds), extracting 32 key-frames per event, detecting faces using YOLO, and then passing the data through the B-CNN and LSTM layers to output a continuous pain intensity score.
The proposed pipeline for neonatal postoperative pain estimation.

Datasets

The study utilizes three distinct datasets to train and validate the model:

  1. Neonatal Postoperative Pain Dataset (New): A first-of-its-kind dataset collected from 9 neonates at Tampa General Hospital. It includes over 600 minutes of multi-modal data: visual (face/body), vocal, and physiological (heart rate, SpO2, etc.).
  2. Procedural (Acute) Pain Dataset: Data from 36 neonates undergoing scheduled painful procedures (like heel lancing).
  3. COPE Dataset: A publicly available dataset of static images of infants under various stimuli.

The researchers highlight the "real-world" difficulty of their new dataset, which includes challenges like medical tubing, occlusions, and cluttered backgrounds.

Fig. 2. Examples from our challenging and real-world postoperative dataset

Key Insights and Ideas

  • Pain as a Fine-Grained Task: The success of the Bilinear CNN suggests that pain recognition isn't just about seeing a "crying face"; it's about capturing subtle, pairwise interactions of facial muscle movements that standard CNNs might overlook.
  • Transfer Learning across Pain Types: The authors found that pre-training or fine-tuning on acute pain data significantly improved performance on the smaller postoperative dataset. Even though the temporal patterns differ, the underlying "spatial language" of facial expressions is similar enough to be transferable.
  • Temporal Context Matters: The results confirm that looking at a sequence of frames (via LSTM) provides a much more accurate assessment of postoperative pain than looking at individual images, as it accounts for the natural rise and fall of pain intensity.

Key Results

The quantitative results demonstrate that the bilinear approach consistently outperforms standard architectures:

  • Spatial Accuracy: In estimating facial pain intensity (on a 0-1 scale), the Bilinear VGG16 achieved a Mean Square Error (MSE) of 0.2695, significantly better than the standard VGG16's 0.3606.
  • Continuous Assessment: When evaluating the full 0-7 pain intensity scale using the temporal model, the Bilinear VGG16 + LSTM combination achieved an MSE of 3.999, outperforming the standard VGG16 + LSTM (MSE of 4.8612).
Performance comparison of different CNN architectures and training strategies.

Limitations and Future Work

The primary limitation is the sample size; the postoperative dataset currently only includes 9 neonates. While the results are a promising proof-of-concept, a larger, more diverse dataset is needed to ensure the model generalizes across different ethnicities and gestational ages.

Future work aims to move beyond just facial expressions by incorporating the other modalities collected in their dataset, such as crying sounds (vocal) and vital signs (physiological), to create a truly holistic, multi-modal pain assessment system.

Summary updated

BibTeX
@misc{salekin2020first,
  author = {Md Sirajus Salekin and Ghada Zamzmi and Dmitry Goldgof and Rangachar Kasturi and Thao Ho and Yu Sun},
  title = {{First Investigation Into the Use of Deep Learning for Continuous Assessment of Neonatal Postoperative Pain}},
  year = {2020},
  eprint = {2003.10601},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2003.10601},
}
Figure