Deep Structure Inference Network for Facial Action Unit Recognition

Ciprian A. Corneanu, Meysam Madadi, Sergio Escalera

TL;DR

This paper introduces the Deep Structure Inference Network (DSIN), an end-to-end framework that significantly advances facial Action Unit (AU) recognition. By combining local patch-based feature learning with a novel recurrent neural network that mimics message-passing in graphical models, the authors achieve a 5.3% and 8.2% performance boost over previous state-of-the-art methods on the BP4D and DISFA datasets, respectively.

What Problem Does This Paper Address?

Facial expressions are complex, but they are built from a set of basic muscular movements called Action Units (AUs). Recognizing these AUs is the "holy grail" of automated facial analysis. However, two major hurdles remain:

  1. Locality: AUs are highly localized. A "brow lowerer" (AU4) looks very different from a "lip corner puller" (AU12). Standard deep learning models often struggle to balance global face context with these fine-grained local changes.
  2. Correlation (Structure): AUs don't happen in isolation. If you are smiling, your cheeks raise and your eyes crinkle. These correlations are "structured" information. While Probabilistic Graphical Models (PGMs) are great at capturing these relationships, they are traditionally difficult to train jointly with deep neural networks in an end-to-end fashion.

This paper seeks to bridge the gap between the feature-learning power of CNNs and the structured-reasoning power of graphical models.

Methods

The authors propose the Deep Structure Inference Network (DSIN), which consists of three integrated stages:

  • Patch Prediction (PP): Instead of feeding the whole face into one giant network, the model crops five specific facial patches (eyes, nose, mouth, etc.). Independent CNNs are trained on these patches to become "experts" in local morphology.
  • Fusion (F): This module aggregates the local predictions. It uses fully connected layers to learn which combination of patches best predicts a specific AU.
  • Structure Inference (SI): This is the core innovation. The authors replicate a "message-passing" algorithm (common in graphical models) using a Recurrent Neural Network (RNN).
  • Each AU has its own dedicated Structure Inference Unit (SIU).
  • Over several iterations ($T$), these units exchange "messages" with one another, refining their predictions based on what other AUs are doing.
  • This allows the model to "reason" that if AU12 (smile) is highly likely, then AU6 (cheek raiser) should also be more probable.

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

Datasets

The model was evaluated on two benchmark datasets:

  • BP4D: Contains 2D and 3D videos of 41 participants with ~140k valid face images and 12 coded AUs.
  • DISFA: Includes ~130k frames from 27 adults. AU intensity is coded on a 0–5 scale; the authors treated intensities >3 as "active."

Key Insights and Ideas

  • Connectionist Graphical Models: The most profound insight is that you don't need a separate, rigid graphical model to handle correlations. By designing an RNN topology that mimics message-passing, you get the benefits of structured inference with the flexibility of backpropagation.
  • Locality vs. Global Context: The paper confirms that while some AUs are best predicted by specific patches (e.g., AU15 and AU24 from the mouth), a "fusion" of all patches generally outperforms a single-patch or a whole-face approach because it captures the subtle ways an AU might affect the entire facial geometry.
  • The Power of Iteration: The "Aha!" moment in the results is that the model's accuracy improves as it iterates through the structure inference ($T=10$ performed best). It literally "thinks" its way to a more consistent set of labels.
  • Class Balancing is Vital: Because some AUs are rare, the authors used a weighted loss function. This prevented the model from simply ignoring minority classes to achieve high aggregate accuracy.

Key Results

  • State-of-the-Art (SOTA) Performance: DSIN outperformed previous leaders like ROI and DRML. It achieved an absolute improvement of 5.3% on BP4D and 8.2% on DISFA (measured by F1-score).
  • Refinement via Structure: On the DISFA dataset, adding the Structure Inference module alone provided a more than 5% improvement over the fusion-only model.
  • Threshold Tuning: By tuning the decision threshold ($\tau$) per AU rather than using a global 0.5, the authors gained an additional ~3% in performance, highlighting the sensitivity of multi-label tasks to class imbalance.

Limitations and Future Work

  • Fixed Patch Locations: The patches are currently cropped based on fixed landmarks. The authors suggest that learning the "patch structure" (i.e., letting the model decide where to look) at the feature level could be a promising next step.
  • Computational Complexity: While the SI module is compact, running multiple iterations of an RNN on top of multiple CNNs increases the computational footprint.
  • Capacity: The authors noted that the current structure inference module has a limited capacity and could be expanded to capture even higher-order relationships between AUs.

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},
}

Loading related content...

Figure