Deep Structured Learning for Facial Action Unit Intensity Estimation

Robert Walecki, Ognjen Rudovic, Vladimir Pavlovic, Björn W. Schuller, Maja Pantic

Abstract

We consider the task of automated estimation of facial expression intensity. This involves estimation of multiple output variables (facial action units - AUs) that are structurally dependent. Their structure arises from statistically induced co-occurrence patterns of AU intensity levels. Modeling this structure is critical for improving the estimation performance, however, this performance is bounded by the quality of the input features extracted from face images. The goal of this paper is to model these structures and estimate complex feature representations simultaneously by combining conditional random field (CRF) encoded AU dependencies with deep learning. To this end, we propose a novel Copula CNN deep learning approach for modeling multivariate ordinal variables. Our model accounts for ordinal structure in output variables and their non-linear dependencies via copula functions modeled as cliques of a CRF. These are jointly optimized with deep CNN feature encoding layers using a newly introduced balanced batch iterative training algorithm. We demonstrate the effectiveness of our approach on the task of AU intensity estimation on two benchmark datasets. We show that joint learning of the deep features and the target output structure results in significant performance gains compared to existing structured deep models and deep models for analysis of facial expressions.

The Challenge of AU Intensity Estimation

Automated facial expression analysis relies on the Facial Action Coding System (FACS), which decomposes expressions into individual Action Units (AUs). While detecting the presence of an AU is a common task, estimating its intensity (typically on a 0–5 scale) is significantly more challenging due to three major hurdles:

  1. Structural Dependency: AUs do not act in isolation; they co-occur in specific patterns (e.g., a smile involves both the lip corner puller and the cheek raiser). Most deep learning models ignore these dependencies.
  2. Ordinal Nature: Intensity levels are ordinal (1 < 2 < 3), not just categorical. Standard deep learning often treats these as independent classes, losing inherent ranking information.
  3. Data Scarcity and Imbalance: Annotating AU intensity is labor-intensive. Furthermore, high-intensity expressions are rare in natural datasets, leading to a massive class imbalance that causes standard CNNs to overfit to low-intensity samples.

The Copula CNN Framework

The authors propose a Copula CNN (CCNN), which integrates a Convolutional Neural Network with a Conditional Random Field (CRF) in an end-to-end framework. This architecture allows for the joint learning of deep facial features and the complex, non-linear dependencies between AUs.

Overview of the Copula CNN framework for joint learning of deep facial features and AU dependencies across multiple datasets.

Key components of the framework include:

  • Ordinal Unary Potentials: Instead of a standard softmax layer, the model uses a threshold-based ordinal regression model to respect the monotonic constraints of the intensity scale.
  • Copula Binary Potentials: To model AU interactions, the authors use Frank copulas as pairwise potentials in the CRF. Unlike standard linear correlations, copulas capture highly non-linear dependencies.
  • Iterative Balanced Batch (IBB) Learning: To combat data imbalance, a three-step training algorithm alternates between updating CNN weights, unary parameters, and copula parameters using batches balanced by subject, intensity level, and AU co-occurrence.
  • Augmented Multi-Dataset Learning: The framework allows for "data-sharing" across datasets (e.g., DISFA, FERA2015, and UNBC-McMaster), learning shared marginals for AUs while maintaining context-specific dependencies.

Results and Performance

The CCNN-IT (Iterative) model consistently outperformed standard CNNs, VGG16, and other structured models like R-CNN across major benchmarks. Jointly learning the features and the output structure proved superior to two-step processes, as deep features became more representative of underlying AU dependencies.

Learning curves showing the impact of the balanced batch iterative training algorithm on NCLL and ICC metrics.

Key findings include:

  • Ordinal Advantage: Ordinal models outperformed softmax-based CNNs by an average of 7% in Intra-class Correlation (ICC) on the DISFA dataset.
  • Impact of Structure: Modeling AU dependencies (e.g., the strong correlation between AU1 and AU2) resulted in an average performance gain of 4% over independent models.
  • Data Augmentation: Training across multiple datasets led to a 7% increase in ICC on DISFA, validating the effectiveness of the shared feature representation.

Conclusion

The Copula CNN demonstrates that modeling non-linear dependencies and ordinal structures directly within a deep learning framework leads to significant accuracy gains in facial expression analysis. While inference complexity remains a challenge for real-time applications, the success of the IBB training strategy highlights the importance of smart sampling when dealing with scarce, imbalanced data. Future work may explore incorporating temporal dynamics to further refine intensity estimation in video sequences.

Summary updated

BibTeX
@inproceedings{walecki2017deep,
  author = {Robert Walecki and Ognjen Rudovic and Vladimir Pavlovic and Björn W. Schuller and Maja Pantic},
  title = {{Deep Structured Learning for Facial Action Unit Intensity Estimation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  url = {https://openreview.net/forum?id=S1N1mCbu-S},
}
Figure