Abstract
Human face exhibits an inherent hierarchy in its representations (i.e., holistic facial expressions can be encoded via a set of facial action units (AUs) and their intensity). Variational (deep) auto-encoders (VAE) have shown great results in unsupervised extraction of hierarchical latent representations from large amounts of image data, while being robust to noise and other undesired artifacts. Potentially, this makes VAEs a suitable approach for learning facial features for AU intensity estimation. Yet, most existing VAE-based methods apply classifiers learned separately from the encoded features. By contrast, the non-parametric (probabilistic) approaches, such as Gaussian Processes (GPs), typically outperform their parametric counterparts, but cannot deal easily with large amounts of data. To this end, we propose a novel VAE semi-parametric modeling framework, named DeepCoder, which combines the modeling power of parametric (convolutional) and non-parametric (ordinal GPs) VAEs, for joint learning of (1) latent representations at multiple levels in a task hierarchy, and (2) classification of multiple ordinal outputs. We show on benchmark datasets for AU intensity estimation that the proposed DeepCoder outperforms the state-of-the-art approaches, and related VAEs and deep learning models.
Introduction
In facial expression analysis, "Action Units" (AUs) serve as the fundamental building blocks, representing individual muscle contractions like a smile or a brow furrow. While detecting the presence of an AU is relatively straightforward, estimating its intensity—typically on a 6-point ordinal scale—remains a significant challenge in computer vision.
This research addresses three primary hurdles:
- Data Scarcity: High-quality AU intensity labels require expert annotation, making them expensive and time-consuming to obtain.
- Subject Variability: Models must distinguish between a person's unique facial structure (identity) and the actual muscle movements (expression).
- Parametric vs. Non-Parametric Trade-offs: Deep learning (parametric) models excel at processing raw pixels but require massive datasets. Conversely, Gaussian Processes (non-parametric) handle small, complex datasets well but struggle with high-dimensional raw image inputs.
Methodology
The proposed DeepCoder framework is a two-layer semi-parametric VAE designed to leverage the strengths of both paradigms.
Architecture
- Layer 0 (Parametric Top): A Variational Convolutional Autoencoder (VC-AE) acts as the system's "eyes." It compresses raw face images into a latent representation ($Z_0$). By training on vast amounts of unlabeled images, this layer learns general facial structures and effectively denoises the input.
- Layer 1 (Non-Parametric Bottom): A Variational Ordinal Gaussian Process Autoencoder (VO-GPAE) maps the features from $Z_0$ to a deeper latent space ($Z_1$). This space is specifically optimized for ordinal classification, ranking AU intensities from 0 to 5.
Training Strategies
To optimize this hybrid structure, the authors employ a Joint Learning approach, tying the layers together in a unified probabilistic framework. A key innovation is the Warming Strategy, which uses a warming term to prevent "posterior collapse" (where the latent space becomes underutilized). Initially, the model focuses on classification accuracy before gradually introducing standard VAE regularization. Additionally, a Balanced Batch Learning strategy ensures the model is not biased toward specific subjects or the most common neutral expressions.
Results and Discussion
DeepCoder (referred to as 2DC in experimental results) was evaluated on the DISFA and FERA2015 benchmark datasets using subject-independent validation.
Performance Metrics
DeepCoder consistently outperformed standard deep learning models (e.g., VGG16) and previous state-of-the-art GP-based methods. On the DISFA dataset, it achieved an average Intra-class Correlation (ICC) of 0.50, compared to 0.44 for standard CNNs. It also demonstrated significant reductions in Mean Squared Error (MSE), particularly for challenging AUs like AU17 (chin raiser).
Latent Space Insights
A critical finding of this work is the organization of the latent spaces. As shown in the visualizations, the first layer ($Z_0$) tends to cluster data by subject identity. However, the deeper layer ($Z_1$) successfully re-organizes this data to cluster by expression intensity. This separation allows the model to "smooth" over subject differences by identifying training subjects most similar to a new test subject in the latent space, leading to more robust predictions.
Conclusion
DeepCoder demonstrates that a semi-parametric approach can effectively bridge the gap between raw pixel processing and precise ordinal estimation. While the computational cost of Gaussian Processes remains a challenge for scaling to millions of frames, the model's ability to leverage unlabeled data and handle subject variability marks a significant step forward. Future work will explore incorporating temporal dynamics to capture the "flow" of facial expressions over time.
Summary updated