Abstract
In this paper, we study the problem of facial expression recognition using a novel space-time geometric representation. We describe the temporal evolution of facial landmarks as parametrized trajectories on the Riemannian manifold of positive semidefinite matrices of fixed-rank. Our representation has the advantage to bring naturally a second desirable quantity when comparing shapes—the spatial covariance—in addition to the conventional affine-shape representation. We derive geometric and computational tools for rate-invariant analysis and adaptive re-sampling of trajectories, grounding on the Riemannian geometry of the manifold. Specifically, our approach involves three steps: 1) facial landmarks are first mapped into the Riemannian manifold of positive semidefinite matrices of rank 2 to build time-parameterized trajectories; 2) a temporal alignment is performed on the trajectories, providing a geometry-aware (dis-)similarity measure; 3) finally, pairwise proximity function SVM (ppfSVM) is used to classify them. We show the effectiveness of the proposed approach on four publicly available benchmarks (CK+, MMI, Oulu-CASIA, and AFEW), achieving results comparable to or better than state-of-the-art methods involving only facial landmarks.
Introduction
Recognizing human emotions in video sequences is a complex task due to three primary challenges: geometric variability (head pose and rigid transformations), temporal dynamics (varying speeds of expression), and the non-linear nature of facial data. Traditional methods often rely on appearance-based features or simple landmark coordinates, which can be sensitive to environmental factors like lighting. This research proposes a purely geometry-driven approach that models facial landmark sequences as trajectories on a curved geometric space: the Positive Semidefinite (PSD) cone.
Proposed Methodology
The proposed framework leverages Riemannian geometry to create a robust representation of facial dynamics. The pipeline consists of three main stages: mapping landmarks to a manifold, aligning trajectories, and classification.
1. Gramian Representation
For each video frame, facial landmarks are mapped to a Gramian matrix (a PSD matrix of rank 2). This representation captures both the relative distances between landmarks (shape) and their spatial covariance. A significant advantage of this approach is its natural invariance to rotation and translation.
2. Trajectory Modeling and Alignment
A video sequence is represented as a time-parameterized path on the PSD manifold. To account for the fact that emotions are expressed at different rates, the authors utilize Dynamic Time Warping (DTW). Unlike standard DTW, this implementation uses a manifold-specific distance metric that combines Grassmannian distance (subspace shape) and covariance metrics.
3. Adaptive Re-sampling and Classification
The geometry of the manifold is used to intelligently re-sample video frames. If frames are "close" on the manifold, they are compressed; if they are distant, new frames are interpolated using pseudo-geodesics. Finally, classification is performed using a Pairwise Proximity Function SVM (ppfSVM), which incorporates the manifold-specific distance measure directly into the kernel function to avoid the distortions inherent in mapping data to a flat Euclidean space.
Experimental Results
The approach was evaluated on four major benchmarks: CK+ (posed baseline), MMI (full temporal phases), Oulu-CASIA (varying illumination), and AFEW (unconstrained "in-the-wild" clips).
Key results include:
- CK+: 96.87% accuracy, outperforming several deep learning architectures.
- MMI: 79.19% accuracy, with temporal alignment (DTW) providing a roughly 12% improvement over unaligned sequences.
- Oulu-CASIA: 83.13% accuracy, setting a new state-of-the-art for landmark-only methods.
- AFEW: 39.94% accuracy, which is competitive for this highly challenging dataset.
Key Insights and Discussion
A critical finding of this work is that spatial covariance matters. Incorporating how landmarks move in relation to one another provides a 2-3% accuracy boost across datasets compared to using affine shape alone. Furthermore, the use of the PSD cone $S^+(2, n)$ allows for a unified framework that treats facial movement as "ellipsoids traveling along subspaces."
Despite its strengths, the system's performance is tied to the quality of initial landmark detection. In "in-the-wild" scenarios where extreme occlusion occurs, landmark tracking failures can degrade the geometric representation. Future work may involve extending this trajectory model to micro-expression recognition and human action recognition using skeleton data.
Summary updated