Deep Structure Inference Network for Facial Action Unit Recognition

Ciprian A. Corneanu, Meysam Madadi, Sergio Escalera

Abstract

Facial expressions are combinations of basic components called Action Units (AU). Recognizing AUs is key for developing general facial expression analysis. In recent years, most efforts in automatic AU recognition have been dedicated to learning combinations of local features and to exploiting correlations between Action Units. In this paper, we propose a deep neural architecture that tackles both problems by combining learned local and global features in its initial stages and replicating a message passing algorithm between classes similar to a graphical model inference approach in later stages. We show that by training the model end-to-end with increased supervision we improve state-of-the-art by 5.3% and 8.2% performance on BP4D and DISFA datasets, respectively.

Introduction

Facial expressions are complex, yet they are fundamentally composed of basic muscular movements known as Action Units (AUs). Automated recognition of these units is a cornerstone of facial analysis, but it presents two significant challenges: locality and correlation.

First, AUs are highly localized; for example, a "brow lowerer" (AU4) involves different facial regions than a "lip corner puller" (AU12). Standard deep learning models often struggle to balance global facial context with these fine-grained local changes. Second, AUs are inherently correlated. A smile typically involves a combination of cheek raising and eye crinkling. While Probabilistic Graphical Models (PGMs) are well-suited to capturing such structured relationships, they are traditionally difficult to integrate into end-to-end deep neural network training. This paper introduces the Deep Structure Inference Network (DSIN) to bridge the gap between CNN-based feature learning and structured reasoning.

Methodology

The DSIN architecture consists of three integrated stages designed to handle both local feature extraction and global structural inference:

  1. Patch Prediction (PP): Instead of processing the entire face as a single input, the model crops five specific facial patches (eyes, nose, mouth, etc.). Independent CNNs are trained on these patches to become experts in local morphology.
  2. Fusion (F): This module aggregates local predictions using fully connected layers to learn which combination of patches best predicts a specific AU.
  3. Structure Inference (SI): This core innovation replicates a message-passing algorithm using a Recurrent Neural Network (RNN). Each AU has a dedicated Structure Inference Unit (SIU). Over several iterations ($T$), these units exchange "messages," refining their predictions based on the states of other AUs. This allows the model to reason that if a smile (AU12) is likely, a cheek raiser (AU6) should also be more probable.
Figure 1: (a) Occlusion study showing how specific AUs rely on local regions. (b) Visualization of AU correlations and the message-passing structure in the SI module.

Crucially, the entire pipeline is end-to-end trainable, allowing the local feature extractors to improve based on the final structured output.

Experimental Setup

The model was evaluated on two benchmark datasets:

  • BP4D: Contains 2D and 3D videos of 41 participants with approximately 140,000 valid face images and 12 coded AUs.
  • DISFA: Includes roughly 130,000 frames from 27 adults. AU intensity is coded on a 0–5 scale; for this study, intensities greater than 3 were treated as "active."

Key Results and Insights

DSIN significantly outperformed previous state-of-the-art (SOTA) methods such as ROI and DRML. It achieved an absolute improvement of 5.3% on BP4D and 8.2% on DISFA in terms of F1-score.

Several key insights emerged from the study:

  • The Power of Iteration: Model accuracy improved as it iterated through the structure inference module, with $T=10$ performing best. This suggests the model effectively "reasons" its way to a more consistent set of labels.
  • Locality vs. Global Context: While some AUs are best predicted by specific patches (e.g., AU15 from the mouth), a fusion of all patches generally outperforms single-patch approaches by capturing subtle global geometric changes.
  • Threshold Tuning: By tuning the decision threshold per AU rather than using a global 0.5, the authors gained an additional ~3% in performance, highlighting the importance of addressing class imbalance in multi-label tasks.

Conclusion

By designing an RNN topology that mimics message-passing in graphical models, DSIN successfully captures structured AU correlations within a flexible deep learning framework. Future work may explore dynamic patch selection and expanding the SI module's capacity to capture even higher-order relationships between facial movements.

Summary updated

BibTeX
@inproceedings{corneanu2018deep,
  author = {Ciprian A. Corneanu and Meysam Madadi and Sergio Escalera},
  title = {{Deep Structure Inference Network for Facial Action Unit Recognition}},
  booktitle = {European Conference on Computer Vision},
  year = {2018},
  url = {https://openreview.net/forum?id=HJ-LptW_-r},
}
Figure