Local Multi-Head Channel Self-Attention for Facial Expression Recognition

Roberto Pecoraro, Valerio Basile, Viviana Bono, Sara Gallo
11/14/2021
cs.CVcs.AI
transformer-attention

Official code: Bodhis4ttva/LHC_Net (19 stars, Python, MIT, last commit 2022-08-03).

Abstract

Since the Transformer architecture was introduced in 2017 there has been many attempts to bring the self-attention paradigm in the field of computer vision. In this paper we propose a novel self-attention module that can be easily integrated in virtually every convolutional neural network and that is specifically designed for computer vision, the LHC: Local (multi) Head Channel (self-attention).

Show full abstract

LHC is based on two main ideas: first, we think that in computer vision the best way to leverage the self-attention paradigm is the channel-wise application instead of the more explored spatial attention and that convolution will not be replaced by attention modules like recurrent networks were in NLP; second, a local approach has the potential to better overcome the limitations of convolution than global attention. With LHC-Net we managed to achieve a new state of the art in the famous FER2013 dataset with a significantly lower complexity and impact on the "host" architecture in terms of computational cost when compared with the previous SOTA.

View on arXivView PDF

Code Implementations(1)

MIT

Local Multi-Head Channel Self-Attention for FER2013

198PythonOct 2, 20214 years agoMIT

Similar Papers

Cite this paper

@article{pecoraro2021local,
  title  = {Local Multi-Head Channel Self-Attention for Facial Expression Recognition},
  author = {Roberto Pecoraro and Valerio Basile and Viviana Bono and Sara Gallo},
  year   = {2021},
  eprint = {2111.07224},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.07224}
}

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/2111.07224.svg)](https://codeofpaper.com/paper/2111.07224)

Discussion