Skip to main content
QUICK REVIEW

[Paper Review] Distract Your Attention: Multi-head Cross Attention Network for Facial Expression Recognition

Zhengyao Wen, Wenzhong Lin|arXiv (Cornell University)|Sep 15, 2021
Emotion and Mood RecognitionPsychology52 references42 citations
TL;DR

Introduces the Distract Your Attention Network (DAN) for facial expression recognition, combining a Feature Clustering Network, a Multi-head Attention Network, and an Attention Fusion Network to capture diverse local facial regions and maximize class separability.

ABSTRACT

We present a novel facial expression recognition network, called Distract your Attention Network (DAN). Our method is based on two key observations. Firstly, multiple classes share inherently similar underlying facial appearance, and their differences could be subtle. Secondly, facial expressions exhibit themselves through multiple facial regions simultaneously, and the recognition requires a holistic approach by encoding high-order interactions among local features. To address these issues, we propose our DAN with three key components: Feature Clustering Network (FCN), Multi-head cross Attention Network (MAN), and Attention Fusion Network (AFN). The FCN extracts robust features by adopting a large-margin learning objective to maximize class separability. In addition, the MAN instantiates a number of attention heads to simultaneously attend to multiple facial areas and build attention maps on these regions. Further, the AFN distracts these attentions to multiple locations before fusing the attention maps to a comprehensive one. Extensive experiments on three public datasets (including AffectNet, RAF-DB, and SFEW 2.0) verified that the proposed method consistently achieves state-of-the-art facial expression recognition performance. Code will be made available at https://github.com/yaoing/DAN.

Motivation & Objective

  • Motivate FER by recognizing subtle differences across similar facial expressions.
  • Propose a discriminative feature clustering approach to maximize inter-class margins and minimize intra-class variance.
  • Develop a multi-head attention mechanism to attend to multiple facial regions simultaneously.
  • Incorporate an attention fusion mechanism to distribute attention across regions and fuse features for classification.

Proposed method

  • Feature Clustering Network (FCN) with an affinity loss to maximize class separability by pulling features toward class centers while widening margins between centers.
  • Multi-head Attention Network (MAN) with several parallel attention heads, each comprising a spatial attention unit (multi-scale convolutions) and a channel attention unit to capture higher-order interactions.
  • Attention Fusion Network (AFN) that scales attention vectors via log-softmax, enforces non-overlapping attention regions with a partition loss, and fuses attention features for final classification.
  • Overall training objective combines affinity loss, partition loss, and cross-entropy loss as L = lambda1 L_af + lambda2 L_pt + L_cls.

Experimental results

Research questions

  • RQ1Can a discriminative feature clustering objective improve class separation in FER beyond center loss?
  • RQ2Does a multi-head attention architecture capturing multiple facial regions improve FER accuracy over single-head attention?
  • RQ3Can an attention fusion mechanism encourage diverse, non-overlapping attention and improve final classification?
  • RQ4What is the impact of the proposed losses on performance across standard FER benchmarks?

Key findings

  • DAN achieves 62.09% on AffectNet-8 and 65.69% on AffectNet-7, outperforming several prior methods.
  • DAN attains 89.70% on RAF-DB, a state-of-the-art result for that dataset.
  • DAN reaches 53.18% on SFEW 2.0, showing competitive performance on a smaller dataset.
  • Ablation shows affinity loss and partition loss each contribute to performance gains.
  • Four attention heads maximize accuracy on RAF-DB compared to fewer heads.

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.