QAFE-Net: Quality Assessment of Facial Expressions with Landmark Heatmaps

Shuchao Duan, Amirhossein Dadashzadeh, Alan L. Whone, Majid MirmehdiarXiv 2023

Abstract

Facial expression recognition (FER) methods have made great inroads in categorising moods and feelings in humans. Beyond FER, pain estimation methods assess levels of intensity in pain expressions, however assessing the quality of all facial expressions is of critical value in health-related applications. In this work, we address the quality of five different facial expressions in patients affected by Parkinson's disease. We propose a novel landmark-guided approach, QAFE-Net, that combines temporal landmark heatmaps with RGB data to capture small facial muscle movements that are encoded and mapped to severity scores. The proposed approach is evaluated on a new Parkinson's Disease Facial Expression dataset (PFED5), as well as on the pain estimation benchmark, the UNBC-McMaster Shoulder Pain Expression Archive Database. Our comparative experiments demonstrate that the proposed method outperforms SOTA action quality assessment works on PFED5 and achieves lower mean absolute error than the SOTA pain estimation methods on UNBC-McMaster.

Introduction

Parkinson’s Disease (PD) often leads to hypomimia, a condition characterized by reduced facial expressivity. Neurologists rely on these subtle changes as diagnostic signals, typically scoring them using the MDS-UPDRS scale. However, manual scoring is inherently subjective, prone to rater bias, and time-consuming. While standard Facial Expression Recognition (FER) identifies which emotion is displayed, it fails to measure the quality or intensity of the performance. Existing Action Quality Assessment (AQA) tools, often used in sports or surgery, are not optimized for the microscopic muscle movements of the human face.

Overview of the QAFE-Net framework for assessing facial expression quality using RGB frames and temporal landmark heatmaps.

QAFE-Net addresses this gap by providing an objective, automated framework to assess the quality of facial expressions. By fusing global RGB video data with localized "temporal landmark heatmaps," the model captures subtle muscle movements that traditional methods often miss, enabling consistent longitudinal monitoring of PD symptoms.

Methods

QAFE-Net utilizes a two-stream architecture to process video data through distinct spatial and temporal lenses, focusing on both global context and local muscle deformations.

Detailed architecture of QAFE-Net, featuring the RGB encoder, heatmap encoder, and the Cross-Fusion Decoder.

Architecture

  1. RGB Stream: Employs a "Former-DFER" backbone—a combination of convolutional and temporal transformers—to capture global facial features and general context from the video clips.
  2. Temporal Landmark Heatmap Stream: Instead of raw (x, y) coordinates, the model generates Gaussian heatmaps around 73 key points. These are stacked into "temporal volumes" and processed by a "SlowOnly" backbone, allowing the model to focus on skin deformations and muscle contractions in the neighborhood of each landmark.

Cross-Fusion Decoder

To integrate these streams, a Cross-Fusion Decoder powered by Multi-Head Cross-Attention (MHCA) is used. This mechanism allows the RGB features to "attend" to the landmark features, directing the model's focus to pixels where muscle movement is most significant. This ensures that the global visual data is interpreted through the lens of precise anatomical landmarks.

Optimization

To handle the inherent class imbalance in clinical datasets (where severe cases are rare), the model utilizes Batch-based Monte-Carlo (BMC) loss. This regression-focused loss helps the model generalize better across the full range of severity scores without being biased toward the more common mild symptoms.

Datasets

The model was evaluated on two primary datasets:

  • PFED5 (Parkinson’s Disease Facial Expression Dataset): A new dataset introduced by the authors containing 2,811 video clips from 41 patients. It covers five actions: sitting at rest, smiling, frowning, squeezing eyes, and clenching teeth, each labeled with an MDS-UPDRS severity score (0–4).
  • UNBC-McMaster: A standard benchmark for shoulder pain estimation, used to demonstrate the model's generalizability to other facial quality assessment tasks beyond Parkinson's.

Results and Discussion

QAFE-Net demonstrates superior performance across both benchmarks, proving the efficacy of heatmap-guided fusion:

  • PFED5 Performance: The model achieved an average Spearman’s Rank Correlation of 65.35%, significantly outperforming state-of-the-art AQA methods like AQA-TPT (56.03%) and USDL (47.79%).
  • Pain Estimation: On UNBC-McMaster, it achieved a Mean Absolute Error (MAE) of 1.57, setting a new state-of-the-art for pain intensity estimation.

Key Insights

  • Heatmaps vs. Points: Ablation studies showed that removing landmark heatmaps caused a 5% drop in correlation. Heatmaps provide a crucial "buffer" for capturing the "masked face" effect in PD, which raw coordinates cannot represent.
  • Challenges with Open Mouths: The model occasionally struggled with "Clench Teeth" and "Smile" actions, likely due to intra-oral occlusions being misinterpreted as anomalies. This suggests a need for more specialized landmark tracking for internal mouth features.

Conclusion

QAFE-Net provides a robust, objective tool for clinical facial expression assessment, bridging the gap between simple recognition and qualitative intensity measurement. Future work will explore the integration of multimodal cues, such as audio, and the use of video synthesis to address the scarcity of severe clinical cases in training data.

Summary updated

BibTeX
@misc{duan2023qafe,
  author = {Shuchao Duan and Amirhossein Dadashzadeh and Alan L. Whone and Majid Mirmehdi},
  title = {{QAFE-Net: Quality Assessment of Facial Expressions with Landmark Heatmaps}},
  year = {2023},
  eprint = {2312.00856},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.00856},
}
Figure