Skip to main content
QUICK REVIEW

[Paper Review] E2-Capsule Neural Networks for Facial Expression Recognition Using AU-Aware Attention

Shan Cao, Yuqian Yao|arXiv (Cornell University)|Dec 5, 2019
Emotion and Mood RecognitionPsychology10 references8 citations
TL;DR

This paper proposes E2-Capsnet, an end-to-end capsule network with AU-aware attention for facial expression recognition (FER). It enhances feature learning via a dual-module design: (1) AU-aware attention in early convolutional layers to focus on action unit regions, and (2) deep capsule layers with dynamic routing to model spatial relationships. On RAF-DB and EmotioNet, E2-Capsnet achieves 85.24% and 55.91% accuracy, outperforming state-of-the-art methods.

ABSTRACT

Capsule neural network is a new and popular technique in deep learning. However, the traditional capsule neural network does not extract features sufficiently before the dynamic routing between the capsules. In this paper, the one Double Enhanced Capsule Neural Network (E2-Capsnet) that uses AU-aware attention for facial expression recognition (FER) is proposed. The E2-Capsnet takes advantage of dynamic routing between the capsules, and has two enhancement modules which are beneficial for FER. The first enhancement module is the convolutional neural network with AU-aware attention, which can help focus on the active areas of the expression. The second enhancement module is the capsule neural network with multiple convolutional layers, which enhances the ability of the feature representation. Finally, squashing function is used to classify the facial expression. We demonstrate the effectiveness of E2-Capsnet on the two public benchmark datasets, RAF-DB and EmotioNet. The experimental results show that our E2-Capsnet is superior to the state-of-the-art methods. Our implementation will be publicly available online.

Motivation & Objective

  • To improve facial expression recognition (FER) by integrating attention mechanisms that target action unit (AU) regions.
  • To enhance feature representation in FER by combining convolutional networks with capsule networks using dynamic routing.
  • To model spatial relationships between facial components more effectively than traditional CNNs.
  • To achieve state-of-the-art performance on benchmark FER datasets, RAF-DB and EmotioNet.

Proposed method

  • The network uses VGG16 as a backbone, replacing the final fully connected layers with capsule layers for feature encoding.
  • An AU-aware attention map is generated using facial keypoint landmarks to identify active AU regions, with weights based on Manhattan distance to AU centers.
  • The attention map is applied by element-wise multiplication with feature maps after stage 2 pooling, then added to stage 3 convolutional outputs.
  • Dynamic routing is applied between PrimaryCaps and FaceCaps layers to learn hierarchical relationships between local features.
  • The squashing function normalizes capsule outputs to represent the probability of expression classes.
  • Loss is minimized using margin loss and reconstruction loss, trained end-to-end on a GPU.

Experimental results

Research questions

  • RQ1Can AU-aware attention improve feature learning in facial expression recognition by focusing on active facial regions?
  • RQ2Does combining multiple convolutional layers with capsule networks enhance feature representation for FER?
  • RQ3Can dynamic routing between capsules better model spatial relationships in facial expressions than standard CNNs?
  • RQ4Does the integration of attention and capsule networks lead to superior performance on benchmark FER datasets?

Key findings

  • E2-Capsnet achieved 85.24% accuracy on the RAF-DB dataset, outperforming the next best method (RCCnet) by 0.46%.
  • On EmotioNet, E2-Capsnet achieved 55.91% accuracy, surpassing all compared state-of-the-art methods.
  • The ablation study showed that adding both attention and dynamic routing improved performance by 5.95% over AVGGnet, which uses only attention.
  • The model with dynamic routing and rich convolutional layers (RCCnet) achieved 84.78% accuracy, indicating the benefit of hierarchical feature learning.
  • Visualizations using T-SNE confirmed that E2-Capsnet produces more discriminative feature representations than Capsnet, VGG16, and FERAtt.
  • The attention mechanism effectively highlighted AU-active regions, such as eyebrows and mouth corners, aligning with facial action unit patterns.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.