NAC-TCN: Temporal Convolutional Networks with Causal Dilated Neighborhood Attention for Emotion Understanding

Alexander Mehta, William Yang
12/12/2023
14 citations
cs.CV
transformer-attention

Official code: alexmehta/NAC-TCN-TCNs-with-Causal-NA (4 stars, Python, GPL-2.0, last commit 2024-06-03).

Abstract

In the task of emotion recognition from videos, a key improvement has been to focus on emotions over time rather than a single frame. There are many architectures to address this task such as GRUs, LSTMs, Self-Attention, Transformers, and Temporal Convolutional Networks (TCNs).

Show full abstract

However, these methods suffer from high memory usage, large amounts of operations, or poor gradients. We propose a method known as Neighborhood Attention with Convolutions TCN (NAC-TCN) which incorporates the benefits of attention and Temporal Convolutional Networks while ensuring that causal relationships are understood which results in a reduction in computation and memory cost. We accomplish this by introducing a causal version of Dilated Neighborhood Attention while incorporating it with convolutions. Our model achieves comparable, better, or state-of-the-art performance over TCNs, TCAN, LSTMs, and GRUs while requiring fewer parameters on standard emotion recognition datasets. We publish our code online for easy reproducibility and use in other projects.

View on arXivView PDF

Code Implementations(1)

GPL-2.0

ICIVP 2023 Best Presentation Award | Code for NAC-TCN: Temporal Convolutional Networks with Causal Dilated Neighborhood Attention for Emotion Understanding

41Python2 years agoGPL-2.0

Similar Papers

Cite this paper

@article{mehta2023nactcn,
  title  = {NAC-TCN: Temporal Convolutional Networks with Causal Dilated Neighborhood Attention for Emotion Understanding},
  author = {Alexander Mehta and William Yang},
  year   = {2023},
  eprint = {2312.07507},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.07507v2}
}

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

Discussion