Facial Expression Recognition with Visual Transformers and Attentional Selective Fusion
arXiv:2103.16854 · doi:10.1109/TAFFC.2021.3122146
Abstract
Facial Expression Recognition (FER) in the wild is extremely challenging due to occlusions, variant head poses, face deformation and motion blur under unconstrained conditions. Although substantial progresses have been made in automatic FER in the past few decades, previous studies were mainly designed for lab-controlled FER. Real-world occlusions, variant head poses and other issues definitely increase the difficulty of FER on account of these information-deficient regions and complex backgrounds. Different from previous pure CNNs based methods, we argue that it is feasible and practical to translate facial images into sequences of visual words and perform expression recognition from a global perspective. Therefore, we propose the Visual Transformers with Feature Fusion (VTFF) to tackle FER in the wild by two main steps. First, we propose the attentional selective fusion (ASF) for leveraging two kinds of feature maps generated by two-branch CNNs. The ASF captures discriminative information by fusing multiple features with the global-local attention. The fused feature maps are then flattened and projected into sequences of visual words. Second, inspired by the success of Transformers in natural language processing, we propose to model relationships between these visual words with the global self-attention. The proposed method is evaluated on three public in-the-wild facial expression datasets (RAF-DB, FERPlus and AffectNet). Under the same settings, extensive experiments demonstrate that our method shows superior performance over other methods, setting new state of the art on RAF-DB with 88.14%, FERPlus with 88.81% and AffectNet with 61.85%. The cross-dataset evaluation on CK+ shows the promising generalization capability of the proposed method.
References in corpus (10)
- Adam: A Method for Stochastic Optimization
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Joint Face Detection and Alignment using Multi-task Cascaded Convolutional Networks
- AffectNet: A Database for Facial Expression, Valence, and Arousal Computing in the Wild
- Deep Facial Expression Recognition: A Survey
- Deep Learning using Linear Support Vector Machines
- Automatic Facial Expression Recognition Using Features of Salient Facial Patches
- Toward Transformer-Based Object Detection
- ConvTransformer: A Convolutional Transformer Network for Video Frame Synthesis
- Trajformer: Trajectory Prediction with Local Self-Attentive Contexts for Autonomous Driving
Cited by in corpus (10)
- A survey of the Vision Transformers and their CNN-Transformer based Variants
- Short and Long Range Relation Based Spatio-Temporal Transformer for Micro-Expression Recognition
- Vision Transformer with Attentive Pooling for Robust Facial Expression Recognition
- From Static to Dynamic: Adapting Landmark-Aware Image Models for Facial Expression Recognition in Videos
- PAtt-Lite: Lightweight Patch and Attention MobileNet for Challenging Facial Expression Recognition
- Emotion Separation and Recognition from a Facial Expression by Generating the Poker Face with Vision Transformers
- Contrastive Learning of Person-independent Representations for Facial Action Unit Detection
- Learning from Heterogeneity: Generalizing Dynamic Facial Expression Recognition via Distributionally Robust Optimization
- FE-Adapter: Adapting Image-based Emotion Classifiers to Videos
- M2Former: Multi-Scale Patch Selection for Fine-Grained Visual Recognition