ElasticAST: An Audio Spectrogram Transformer for All Length and Resolutions

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Feng, Jiu, Erol, Mehmet Hamza, Chung, Joon Son, Senocak, Arda
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866911952975953920
author Feng, Jiu
Erol, Mehmet Hamza
Chung, Joon Son
Senocak, Arda
author_facet Feng, Jiu
Erol, Mehmet Hamza
Chung, Joon Son
Senocak, Arda
contents Transformers have rapidly overtaken CNN-based architectures as the new standard in audio classification. Transformer-based models, such as the Audio Spectrogram Transformers (AST), also inherit the fixed-size input paradigm from CNNs. However, this leads to performance degradation for ASTs in the inference when input lengths vary from the training. This paper introduces an approach that enables the use of variable-length audio inputs with AST models during both training and inference. By employing sequence packing, our method ElasticAST, accommodates any audio length during training, thereby offering flexibility across all lengths and resolutions at the inference. This flexibility allows ElasticAST to maintain evaluation capabilities at various lengths or resolutions and achieve similar performance to standard ASTs trained at specific lengths or resolutions. Moreover, experiments demonstrate ElasticAST's better performance when trained and evaluated on native-length audio datasets.
format Preprint
id arxiv_https___arxiv_org_abs_2407_08691
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle ElasticAST: An Audio Spectrogram Transformer for All Length and Resolutions
Feng, Jiu
Erol, Mehmet Hamza
Chung, Joon Son
Senocak, Arda
Sound
Artificial Intelligence
Audio and Speech Processing
Transformers have rapidly overtaken CNN-based architectures as the new standard in audio classification. Transformer-based models, such as the Audio Spectrogram Transformers (AST), also inherit the fixed-size input paradigm from CNNs. However, this leads to performance degradation for ASTs in the inference when input lengths vary from the training. This paper introduces an approach that enables the use of variable-length audio inputs with AST models during both training and inference. By employing sequence packing, our method ElasticAST, accommodates any audio length during training, thereby offering flexibility across all lengths and resolutions at the inference. This flexibility allows ElasticAST to maintain evaluation capabilities at various lengths or resolutions and achieve similar performance to standard ASTs trained at specific lengths or resolutions. Moreover, experiments demonstrate ElasticAST's better performance when trained and evaluated on native-length audio datasets.
title ElasticAST: An Audio Spectrogram Transformer for All Length and Resolutions
topic Sound
Artificial Intelligence
Audio and Speech Processing
url https://arxiv.org/abs/2407.08691