Source-linked AI summary

Intensity-Aware Loss for Dynamic Facial Expression Recognition in the Wild

Hanting Li, Hongjing Niu, Zhaoqing Zhu, Feng Zhao

arXiv:2208.10335v1cs.CV

TL;DR

In-the-wild DFER includes expression-intensity variation, while discrete-label methods give equal supervisory status to samples of different intensities. The paper proposes GCA and IAL to address low-intensity samples and reports state-of-the-art performance on two in-the-wild benchmarks.

  • Problem

    In-the-wild video sequences vary in expression intensity, but discrete-label DFER methods treat samples equally and lack intensity-related priors.

    Source: §1 · pp. 1–2
  • Method

    The paper proposes GCA to rescale feature channels and IAL to focus training on confusing classes associated with low-intensity samples.

    Source: §1 · p. 2, §3.4 · p. 4
  • Results

    The method outperforms the baseline significantly and achieves state-of-the-art results on two popular in-the-wild DFER benchmarks.

    Source: §1 · p. 2
  • Takeaways & Limitations

    The paper identifies low-intensity samples as a focus for discrete-label DFER and presents experiments and visualizations supporting its method's effectiveness.

    Source: §5 · p. 6

    Accurately discovering low-intensity samples and enhancing their features without additional supervision remains an open area for improvement.

    Source: §4.6 · p. 6

Abstract

from arXiv · show

Compared with the image-based static facial expression recognition (SFER) task, the dynamic facial expression recognition (DFER) task based on video sequences is closer to the natural expression recognition scene. However, DFER is often more challenging. One of the main reasons is that video sequences often contain frames with different expression intensities, especially for the facial expressions in the real-world scenarios, while the images in SFER frequently present uniform and high expression intensities. However, if the expressions with different intensities are treated equally, the features learned by the networks will have large intra-class and small inter-class differences, which is harmful to DFER. To tackle this problem, we propose the global convolution-attention block (GCA) to rescale the channels of the feature maps. In addition, we introduce the intensity-aware loss (IAL) in the training process to help the network distinguish the samples with relatively low expression intensities. Experiments on two in-the-wild dynamic facial expression datasets (i.e., DFEW and FERV39k) indicate that our method outperforms the state-of-the-art DFER approaches. The source code will be made publicly available.

1 INTRODUCTION

In-the-wild DFER must handle expression-intensity variation that discrete-label supervision does not describe, leaving low-intensity sequences prone to misclassification. The paper introduces GCA and IAL to address this issue and reports state-of-the-art results on two in-the-wild benchmarks.

  • DFER classifies video sequences into discrete expressions and provides richer facial information than single-image SFER.Source: §1 · p. 1
  • In-the-wild sequences vary in expression intensity, and low-intensity sequences are more likely to be misclassified when discrete labels lack intensity-related priors.Source: §1 · p. 1
  • GCA rescales feature-map channels to enhance target-related channels in low-intensity samples while suppressing less useful channels.Source: §1 · p. 2
  • IAL gives extra attention to the most confusing class of low-intensity expression sequences.Source: §1 · p. 2
  • The method outperforms the baseline significantly and achieves state-of-the-art results on two popular in-the-wild DFER benchmarks.Source: §1 · p. 2

2 RELATED WORK

Prior in-the-wild DFER work models spatial and temporal information, but the cited approaches do not address expression-intensity effects. The paper also motivates GCA by limitations of common channel-attention mechanisms and proposes it to model dependencies while enhancing critical channels.

2.1 DFER in the Wild

  • Earlier DFER methods include hand-crafted features and, later, deep-learning approaches that surpassed them on in-the-wild datasets.Source: §2.1 · p. 2
  • CNN-RNN, 3D-CNN, and transformer approaches model spatial and temporal features, but the reviewed methods ignore expression-intensity effects.Source: §2.1 · p. 2

2.2 Attention Mechanisms

  • Common channel-attention methods aggregate channel information using global spatial pooling before learning channel dependencies.Source: §2.2 · p. 2
  • Global pooling can discard spatial location information, while sigmoid attention weights only suppress channels; GCA is proposed to model dependencies and enhance critical channels.Source: §2.2 · pp. 2–3

3 METHOD

The method samples video clips, extracts frame-level features, rescales channels with GCA, fuses static and dynamic features, and uses a temporal transformer for recognition. It combines intensity-aware loss with cross-entropy to address low-intensity expression samples.

3.1 Overview

  • The network rescales frame-level features with GCA, fuses static and dynamic features, and uses a temporal transformer to learn long-distance frame dependencies before classification.The mean of the token sequence is fed to a fully connected layer for recognition.Source: §3.1 · p. 3

3.2 Input Clips

  • Training clips are formed by dividing raw sequences into U segments and randomly selecting V frames per segment; testing selects the middle V frames from each segment.Both sampled clips have length T = U × V.Source: §3.2 · p. 3

3.3 Global Convolution-attention Block

  • GCA rescales feature channels with weights in (0, 2), enabling both suppression and enhancement while retaining feature-location information.Temporal global average pooling also offers a larger inter-frame field of view.Source: §3.3 · p. 4

3.4 Intensity-aware Loss

  • IAL addresses low-intensity samples in discrete-label DFER, whose continuous-label alternatives are costly to annotate and difficult to standardize.Its design assumes low-intensity samples are likely to be confused with low-intensity samples from other classes.Source: §3.4 · p. 4
  • The overall objective combines intensity-aware loss with cross-entropy, with λ controlling the loss coefficients.IAL gives extra attention to the class most likely to cause confusion; when cross-entropy converges to zero, IAL also converges to zero.Source: §3.4 · p. 4

4 EXPERIMENTS

Experiments evaluate the method on DFEW and FERV39k through ablations, comparisons with state-of-the-art approaches, and feature visualizations. The authors report strong benchmark results and discuss remaining challenges in identifying and enhancing low-intensity samples.

4.1 Datasets

  • DFEW evaluation uses 12,059 single-label clips in five-fold cross-validation; FERV39k has 38,935 clips across 22 scenes and an 80/20 train/test split.Both datasets use UAR and WAR; FERV39k clips are annotated by 30 professional annotators.Source: §4.1 · pp. 4–5

4.2 Implementation Details

  • Models train from scratch with 16-frame sampling and SGD; schedules run 80 epochs for DFEW and 100 epochs for FERV39k.The learning rate starts at 0.001 for both datasets.Source: §4.2 · p. 5

4.3 Ablation Studies

  • 2.15%/1.82% UAR/WAR on DFEW and 3.03%/3.30% on FERV39k: GCA plus IAL (setting d) exceeds the baseline (setting a).Replacing the ResNet18 building block with GCA and adding IAL each boost performance on both benchmarks.Source: §4.3 · p. 5, Table 1 · p. 5
  • GCA exceeds SE by 0.65%/0.71% UAR/WAR on DFEW and 1.51%/1.00% on FERV39k; auxiliary classifiers improve all tested attention blocks.The authors attribute GCA’s advantage to preserving feature-location information by replacing global pooling with global convolution.Source: §4.3 · p. 5, Table 2 · p. 5

4.5 Visualization

  • t-SNE shows clearer class boundaries on DFEW and more discriminative FERV39k features, especially for neutral and surprise, though FERV39k remains messy.On DFEW, neutral features learned by the method no longer sit at the center of non-neutral features.Source: Figure 4 · p. 6, §4.5 · p. 6

4.3 Ablation Studies

  • Smaller IAL loss coefficients and larger GCA dimensionality-reduction ratios tend to perform better on both datasets.The authors say a large loss coefficient can overemphasize the most confusing category and weaken distinctions between other categories; larger ratios correspond to smaller parameter sizes.Source: Table 3 · p. 5, §4.3 · p. 6

4.4 Comparison with State-of-the-Arts

  • 1.5%/1.05% UAR/WAR over NR-DFERNet on DFEW; on FERV39k, the method exceeds Former-DFER by 1.69% WAR with comparable UAR.The method achieves the best results in both DFEW metrics; on FERV39k, it achieves comparable UAR to Former-DFER.Source: §4.4 · p. 6

4.6 Discussions

  • The proposed sequence is IAL finds low-intensity samples, then GCA enhances their features; accurate discovery and enhancement without extra supervision remain open challenges.The authors also note there is room to improve both steps without additional supervision information.Source: §4.6 · p. 6

5 CONCLUSION

The paper addresses low-intensity samples in in-the-wild DFER with a channel-rescaling block and an intensity-aware loss. Experiments and visualizations demonstrate the method’s effectiveness and superiority.

  • Experiments and visualization results demonstrate the method’s effectiveness and superiority.Source: §5 · p. 6
  • GCA rescales feature-map channels to enhance target-related features in low-intensity sequences and suppress less important features, while IAL focuses on each sample’s most likely confusing class.Source: §5 · p. 6
  • The work focuses on low-intensity samples in in-the-wild DFER and identifies expression intensity as an issue in discrete-label DFER.Source: §5 · p. 6
  • The paper includes state-of-the-art comparison tables for DFEW and FERV39k.Source: Table 4 · p. 7, Table 5 · p. 7
Loading 2208.10335v1…