Recurrent Convolutional Neural Network Regression for Continuous Pain Intensity Estimation in Video

Jing Zhou, Xiaopeng Hong, Fei Su, Guoying Zhao

Abstract

Automated pain intensity estimation is a critical challenge in clinical settings, particularly for patients unable to communicate verbally. This paper introduces a real-time regression framework based on Recurrent Convolutional Neural Networks (RCNN). Unlike traditional methods that analyze static frames, this approach models the temporal evolution of facial expressions. The system achieves state-of-the-art accuracy on the UNBC-McMaster Shoulder Pain database, delivering continuous pain intensity scores at 25 frames per second.

Introduction

Accurate pain measurement is essential for effective healthcare, yet current methods often rely on subjective self-reporting or labor-intensive manual observation by medical staff. Automated systems offer a solution, but early attempts frequently treated pain estimation as a binary classification task or relied on static features from individual frames.

A significant limitation of static analysis is the inability to differentiate between functionally similar but contextually different facial movements, such as a standard eye blink versus a pain-induced eye closure. This lack of temporal context results in "jittery" predictions. To provide smooth and clinically relevant estimations, a model must understand the temporal dynamics of facial expressions.

Methodology

The authors propose an end-to-end pipeline designed to capture both spatial features and temporal dependencies.

Preprocessing and Temporal Windowing

To mitigate the impact of head movements, the system employs an Active Appearance Model (AAM) to track facial landmarks and warp faces into a standardized frontal pose. These warped images are flattened into 1D vectors. To provide historical context, the model utilizes a sliding window of 30 frames ($H=30$), allowing it to capture the "flow" of an expression over time.

RCNN Architecture

The core of the framework is the Recurrent Convolutional Layer (RCL). In an RCL, recurrent connections exist within the layer itself, allowing the network to "unfold" over multiple time steps (the authors utilized $T=3$). This effectively increases the network's functional depth and receptive field without a proportional increase in parameters.

Overview of the RCNN-based pain intensity estimation pipeline, showing the transition from raw video frames to continuous PSPI scores.

Continuous Regression

While RCNNs are typically used for classification, this model employs a linear activation function in the final layer to output a continuous value. This value represents the Prkachin and Solomon Pain Intensity (PSPI) score, ranging from 0 to 15.

Experimental Evaluation

The model was evaluated using the UNBC-McMaster Shoulder Pain Expression Archive Database, which contains 200 sequences from 25 subjects. A primary challenge of this dataset is the high degree of class imbalance, as most frames represent "no pain" (PSPI 0). The authors addressed this through a manually weighted sampling strategy during the training phase.

Results and Discussion

The RCNN approach demonstrated superior performance compared to both traditional hand-crafted features (e.g., LBP, DCT) and deep learning baselines like VGG-face.

  • Accuracy: The model achieved a Mean Squared Error (MSE) of 1.54 and a Pearson Correlation Coefficient (PCC) of 0.65, significantly outperforming the VGG-face baseline (MSE: 1.70, PCC: 0.43).
  • Efficiency: Running at 25 frames per second on an NVIDIA Tesla K80, the system is suitable for real-time clinical monitoring.
  • Stability: Qualitative analysis shows that the RCNN produces much smoother and more realistic pain intensity trajectories than static Support Vector Regression (SVR) methods, which often suffer from erratic spikes.

Conclusion and Future Work

By integrating temporal context through recurrence, the RCNN framework provides a robust and fine-grained estimation of pain intensity. Future research may focus on addressing the persistent challenge of data imbalance, exploring adaptive window sizes, and optimizing training efficiency to further enhance clinical utility.

Summary updated

BibTeX
@inproceedings{zhou2016recurrent,
  author = {Jing Zhou and Xiaopeng Hong and Fei Su and Guoying Zhao},
  title = {{Recurrent Convolutional Neural Network Regression for Continuous Pain Intensity Estimation in Video}},
  booktitle = {Workshops @ CVPR},
  year = {2016},
  doi = {10.1109/cvprw.2016.191},
}
Figure