English

FlexiAST: Flexibility is What AST Needs

Sound 2023-07-19 v1 Machine Learning Audio and Speech Processing

Abstract

The objective of this work is to give patch-size flexibility to Audio Spectrogram Transformers (AST). Recent advancements in ASTs have shown superior performance in various audio-based tasks. However, the performance of standard ASTs degrades drastically when evaluated using different patch sizes from that used during training. As a result, AST models are typically re-trained to accommodate changes in patch sizes. To overcome this limitation, this paper proposes a training procedure to provide flexibility to standard AST models without architectural changes, allowing them to work with various patch sizes at the inference stage - FlexiAST. This proposed training approach simply utilizes random patch size selection and resizing of patch and positional embedding weights. Our experiments show that FlexiAST gives similar performance to standard AST models while maintaining its evaluation ability at various patch sizes on different datasets for audio classification tasks.

Keywords

Cite

@article{arxiv.2307.09286,
  title  = {FlexiAST: Flexibility is What AST Needs},
  author = {Jiu Feng and Mehmet Hamza Erol and Joon Son Chung and Arda Senocak},
  journal= {arXiv preprint arXiv:2307.09286},
  year   = {2023}
}

Comments

Interspeech 2023

R2 v1 2026-06-28T11:33:37.506Z