Facial Expression Recognition Research Based on Deep Learning

Yongpei Zhu, Hongwei Fan, Kehong YuanarXiv 2019

Abstract

This research investigates the internal mechanisms of Convolutional Neural Networks (CNNs) in the context of facial expression recognition. By analyzing a shallow CNN trained on the Extended Cohn-Kanade (CK+) database, the study demonstrates that these networks naturally develop internal detectors for "Action Units" (AUs) defined by the Facial Action Coding System (FACS). Through deconvolutional visualization and a novel symmetric KL-divergence distance metric, the authors establish a direct mapping between abstract neural feature maps and physical facial movements, suggesting that deep learning models autonomously "discover" biological landmarks to optimize classification.

Introduction

Despite their state-of-the-art performance, Convolutional Neural Networks (CNNs) are often criticized as "black boxes" due to the opacity of their feature extraction processes. In facial affective recognition, human experts rely on the Facial Action Coding System (FACS), which decomposes expressions into discrete muscle movements known as Action Units (AUs). Historically, computer vision systems required manual engineering of AU detectors. This study explores whether a CNN, when trained end-to-end, independently develops internal representations that correspond to these established biological markers.

Methods and Theoretical Framework

The authors utilized a shallow CNN architecture consisting of three convolutional layers to facilitate interpretability. The core of the analysis relies on two primary techniques:

  1. Deconvolutional Visualization: This method projects high-level neuron activations back into the pixel space, revealing the specific facial regions (e.g., inner brow, mouth corners) that trigger individual filters.
  2. Symmetric Distance Function: A modified version of Kullback-Leibler (KL) divergence was proposed to quantify the relationship between internal feature maps and specific AUs. By comparing activation distributions in the presence and absence of an AU, the researchers could identify specialized "detector" neurons.
Conceptual diagram of the CNN architecture processing facial images.

The study also frames the CNN's success through Manifold Learning. It posits that high-dimensional facial data resides on low-dimensional manifolds, which the network's weights learn to encode into a hierarchical feature space.

Manifold geometry representation showing the mapping of facial data into low-dimensional feature spaces.

Datasets

The study utilized the Extended Cohn-Kanade (CK+) database, which contains 327 face sequences labeled with seven basic expressions. Crucially for this validation, the CK+ dataset includes both expression tags and specific Action Unit (AU) tags, allowing the authors to verify their CNN's internal representations against ground-truth facial muscle movements.

Results and Discussion

The research yielded several key insights into the "discovery" process of neural networks:

  • Emergent Biological Detectors: Qualitative deconvolution results confirmed that filters naturally converged on specific anatomical shapes, such as "lips apart" or "jaw drop," without explicit supervision regarding AUs.
  • Quantitative Mapping: The symmetric distance function proved a one-to-one correspondence between specific feature maps and AUs. For example, Feature Map 113 was mathematically identified as the primary detector for AU1 (Inner Brow Raiser).
  • Superior Granularity: The CNN's third layer, containing 256 feature maps, developed a more nuanced vocabulary of facial movements than the manual FACS, leading to more delicate and accurate classification.

Conclusion

This paper demonstrates that deep learning's efficacy in facial expression recognition stems from its ability to automatically "reinvent" the feature extraction process that took decades of manual anatomical research to define. By proving that CNNs learn the "natural laws" of facial movement, the study provides a significant step toward opening the "black box" of deep learning. Future work should investigate whether this principle of "detector emergence" holds in deeper architectures and more complex, "in-the-wild" datasets.

Summary updated

BibTeX
@misc{zhu2019facial,
  author = {Yongpei Zhu and Hongwei Fan and Kehong Yuan},
  title = {{Facial Expression Recognition Research Based on Deep Learning}},
  year = {2019},
  eprint = {1904.09737},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1904.09737},
}
Figure