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

Unobtrusive Pain Monitoring in Older Adults With Dementia Using Pairwise and Contrastive Training

Siavash Rezaei, Abhishek Moturu, Shun Zhao, Kenneth M. Prkachin, Thomas Hadjistavropoulos, Babak Taati

Introduction

Effective pain management is a cornerstone of geriatric care, yet it remains a significant challenge for older adults with dementia. As cognitive decline progresses, the ability to verbally communicate physical distress often diminishes or disappears entirely. This communication gap frequently leads to the underdiagnosis and undertreatment of pain in long-term care (LTC) facilities, negatively impacting the quality of life for vulnerable residents.

This research presents the first fully automated, vision-based pain monitoring system validated specifically on a dementia cohort. By leveraging novel computer vision techniques, the authors demonstrate a method for unobtrusive, continuous pain assessment that overcomes the limitations of traditional facial expression recognition (FER) models.

The Challenge of Automated Pain Detection

Standard FER models are typically trained on datasets of young, healthy individuals in controlled laboratory settings. When applied to older adults, these models often falter. The natural aging process introduces facial textures and wrinkles that can be misinterpreted as signs of distress. Furthermore, neurological conditions associated with dementia can alter baseline facial expressions, making a "resting" face appear pained to a generic algorithm.

Clinically, pain is often assessed using the Prkachin and Solomon Pain Index (PSPI), which quantifies specific muscle movements known as Action Units (AUs). However, manual PSPI coding is labor-intensive and impractical for 24/7 monitoring in clinical environments.

Proposed Methodology

The researchers introduced three technical innovations to address these challenges:

1. Pairwise Comparative Inference

Rather than analyzing a single video frame in isolation, the model utilizes a pairwise approach. It compares a "target" frame to a "reference" frame representing the individual's resting state. This allows the network to estimate the difference in facial muscle activity, effectively calibrating the system to each patient's unique facial structure and baseline expression.

2. Multi-task Learning

To improve feature robustness, the model is trained to simultaneously predict 39 different outputs. This includes the aggregate PSPI score and individual AUs from the Facial Action Coding System (FACS). This multi-task "hinting" guides the model to focus on clinically relevant facial regions.

3. Fast Contrastive Training for Regression

The authors adapted contrastive learning—traditionally used for classification—for regression tasks. By generating "out-of-distribution" (OOD) samples through image distortion, the model is forced to distinguish between legitimate facial data and noise. This technique enhances the model's ability to generalize across different datasets and environments.

Experimental Setup and Datasets

The study utilized two distinct datasets to evaluate the system's performance:

  • UNBC-McMaster Shoulder Pain Archive: A benchmark dataset of 25 participants with shoulder injuries, recorded in controlled lighting.
  • UofR Pain in Severe Dementia Dataset: A challenging "real-world" dataset featuring 102 older adults. These recordings were made unobtrusively in LTC settings, characterized by varying lighting, head poses, and camera angles.
Distribution of PSPI scores across the three study datasets, illustrating the significant data imbalance where low-pain frames predominate.

As shown in the histograms above, the datasets exhibit a massive imbalance, with "no pain" (low PSPI) frames far outnumbering instances of high distress. This distribution reflects the clinical reality of monitoring but poses a significant challenge for model training.

Results and Analysis

The pairwise model demonstrated superior performance on the dementia cohort, achieving a Pearson Correlation Coefficient (PCC) of 0.82 when using a 20-second rolling window. This significantly outperformed established baselines such as OpenFace (0.42) and AFAR (0.60).

Saliency Mapping

To validate the model's decision-making process, the researchers generated qualitative "heatmaps" to visualize which facial regions the model prioritized.

Saliency map indicating the facial regions prioritized by the model, with a clear focus on the eyes and mouth.

The saliency maps confirmed that the model correctly focused on the mouth and eye regions—areas identified by clinical experts as the most indicative of pain in older adults.

Limitations and Future Directions

Despite its success, the system faces hurdles for widespread deployment. The inherent data imbalance makes it difficult for models to learn the nuances of extreme pain. Additionally, while the authors analyzed gender-based performance, they noted a lack of diverse demographic data to evaluate potential biases across different ethnicities.

Privacy remains a paramount concern. Future work focuses on "edge computing" solutions, where video processing occurs locally on-device. This ensures that sensitive visual data is never stored or transmitted, protecting the privacy of residents while providing critical care insights.

Conclusion

By combining pairwise inference with contrastive training, this research provides a robust framework for automated pain monitoring in dementia care. The system's ability to calibrate to individual baselines and focus on clinically relevant facial features marks a significant step toward unobtrusive, 24/7 pain assessment in long-term care facilities.

Summary updated

BibTeX
@article{rezaei2020unobtrusive,
  author = {Siavash Rezaei and Abhishek Moturu and Shun Zhao and Kenneth M. Prkachin and Thomas Hadjistavropoulos and Babak Taati},
  title = {{Unobtrusive Pain Monitoring in Older Adults With Dementia Using Pairwise and Contrastive Training}},
  journal = {IEEE Journal of Biomedical and Health Informatics},
  year = {2020},
  doi = {10.1109/jbhi.2020.3045743},
}
Figure