LOGO-Former: Local-Global Spatio-Temporal Transformer for Dynamic Facial Expression Recognition

Fuyan Ma, Bin Sun, Shutao Li
5/5/2023
cs.CVcs.MM

No confident code implementation found for this paper.

Abstract

Previous methods for dynamic facial expression recognition (DFER) in the wild are mainly based on Convolutional Neural Networks (CNNs), whose local operations ignore the long-range dependencies in videos. Transformer-based methods for DFER can achieve better performances but result in higher FLOPs and computational costs. To solve these problems, the local-global spatio-temporal Transformer (LOGO-Former) is proposed to capture discriminative features within each frame and model contextual relationships among frames while balancing the complexity. Based on the priors that facial muscles move locally and facial expressions gradually change, we first restrict both the space attention and the time attention to a local window to capture local interactions among feature tokens. Furthermore, we perform the global attention by querying a token with features from each local window iteratively to obtain long-range information of the whole video sequence. In addition, we propose the compact loss regularization term to further encourage the learned features have the minimum intra-class distance and the maximum inter-class distance. Experiments on two in-the-wild dynamic facial expression datasets (i.e., DFEW and FERV39K) indicate that our method provides an effective way to make use of the spatial and temporal dependencies for DFER.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{ma2023logoformer,
  title  = {LOGO-Former: Local-Global Spatio-Temporal Transformer for Dynamic Facial Expression Recognition},
  author = {Fuyan Ma and Bin Sun and Shutao Li},
  year   = {2023},
  eprint = {2305.03343},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.03343v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.03343.svg)](https://codeofpaper.com/paper/2305.03343)

Discussion