Study of positional encoding approaches for Audio Spectrogram Transformers

Leonardo Pepino, Pablo Riera, Luciana Ferrer
10/13/2021
cs.SDcs.LGeess.AS
transformer-attention

Official code: habla-liaa/ast-pe (9 stars, Jupyter Notebook, last commit 2022-04-27).

Abstract

Transformers have revolutionized the world of deep learning, specially in the field of natural language processing. Recently, the Audio Spectrogram Transformer (AST) was proposed for audio classification, leading to state of the art results in several datasets.

Show full abstract

However, in order for ASTs to outperform CNNs, pretraining with ImageNet is needed. In this paper, we study one component of the AST, the positional encoding, and propose several variants to improve the performance of ASTs trained from scratch, without ImageNet pretraining. Our best model, which incorporates conditional positional encodings, significantly improves performance on Audioset and ESC-50 compared to the original AST.

View on arXivView PDF

Code Implementations(1)

habla-liaa/ast-peOfficial100%
92Jupyter Notebook, PythonAug 30, 20214 years ago

Similar Papers

Cite this paper

@article{pepino2021study,
  title  = {Study of positional encoding approaches for Audio Spectrogram Transformers},
  author = {Leonardo Pepino and Pablo Riera and Luciana Ferrer},
  year   = {2021},
  eprint = {2110.06999},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.06999}
}

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

Discussion