A Novel Space-Time Representation on the Positive Semidefinite Con for Facial Expression Recognition

Anis Kacem, Mohamed Daoudi, Boulbaba Ben Amor, Juan Carlos Álvarez Paiva

Abstract

Automated Facial Expression Recognition (AFER) remains a significant challenge due to the dynamic nature of expressions and the need for invariance to environmental factors such as lighting and head pose. This paper proposes a novel geometric framework that represents facial landmark sequences as trajectories on the Positive Semidefinite (PSD) manifold. By leveraging Gramian matrices to capture both affine shape and spatial covariance, and utilizing manifold-aware temporal alignment and classification, the method achieves state-of-the-art results on several benchmark datasets, including CK+, MMI, Oulu-CASIA, and AFEW.

Introduction

Facial expressions are inherently dynamic processes, yet many traditional recognition methods rely on static appearance features that are sensitive to environmental noise. Geometric approaches, which track the movement of facial landmarks, offer greater robustness. However, they must address three key challenges: achieving invariance to rigid transformations, modeling temporal dynamics effectively, and classifying sequences on non-Euclidean manifolds. This work addresses these hurdles by embedding facial dynamics into the geometry of the PSD cone.

Methodology

The proposed pipeline consists of three primary stages: static representation, temporal alignment, and classification.

Static Representation on the PSD Cone

For each video frame, facial landmarks are mapped to a Gramian matrix ($G = ZZ^T$). These matrices reside on the PSD cone of fixed rank. This representation is particularly powerful because it encapsulates both affine shape (relative landmark positions) and spatial covariance (the spread of the landmark cloud). This dual representation provides a more comprehensive description of facial geometry than shape-only methods.

Overview of the proposed framework: from facial landmarks to trajectories on the PSD manifold and final classification using ppfSVM.

Temporal Modeling and Alignment

Facial expressions are modeled as trajectories on the PSD manifold. To account for variations in expression speed, the authors employ a manifold-aware version of Dynamic Time Warping (DTW). This alignment process uses a distance metric that respects the intrinsic curvature of the PSD cone. Additionally, an adaptive re-sampling technique is used to focus on frames with high "velocity" on the manifold, capturing the most informative parts of the expression.

Classification via ppfSVM

Given the non-linear nature of the trajectory space, standard linear classifiers are unsuitable. The framework utilizes a Pairwise Proximity Function SVM (ppfSVM). This approach constructs a kernel based on the distances between all trajectories in the training set, effectively performing classification within the manifold's geometry.

Experimental Results

The framework was evaluated on four major benchmarks: CK+, MMI, Oulu-CASIA, and AFEW. A key finding was the importance of balancing shape and covariance information. The parameter $k$ serves as a weight to tune this balance, with optimal values significantly boosting performance.

Impact of the weight parameter k on recognition accuracy across four benchmark datasets.

Performance Summary

  • CK+: Achieved 96.87% accuracy, outperforming several deep learning models like 3DCNN-DAP.
  • Oulu-CASIA: Reached 83.13%, setting a new state-of-the-art for this dataset at the time of publication.
  • MMI: Recorded 79.19%, demonstrating robustness to sequences that include the "offset" (returning to neutral) phase of an expression.
  • AFEW: Obtained 39.94%, a competitive result for a landmark-only approach on challenging "in-the-wild" data.

Discussion and Conclusion

The results highlight that geometric features, when properly modeled on the PSD manifold, can rival or exceed the performance of complex appearance-based deep learning architectures. The inclusion of spatial covariance alongside affine shape is a critical factor in this success, providing a significant boost over using shape information alone. While the method is sensitive to the quality of initial landmark detection, its robustness in unconstrained environments makes it a powerful tool for AFER. Future work may extend this trajectory-on-manifold approach to other landmark-based tasks, such as skeletal human action recognition.

Summary updated

BibTeX
@inproceedings{kacem2017novel,
  author = {Anis Kacem and Mohamed Daoudi and Boulbaba Ben Amor and Juan Carlos Álvarez Paiva},
  title = {{A Novel Space-Time Representation on the Positive Semidefinite Con for Facial Expression Recognition}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2017},
  url = {https://openreview.net/forum?id=Bk-QW-fu-r},
}
Figure