STFT Frontend Mismatch in Pretrained Audio Spectrogram Transformers: Analysis and Adaptation
Julia Wilkins, Wei-Ching Lin, Abinaya Kumar, Shabnam Ghaffarzadegan, Juan Pablo Bellow
Abstract
Pretrained audio spectrogram transformers are widely used as backbones of machine listening systems for sound event classification. However, they are typically trained using spectrograms with a fixed Short-Time Fourier Transform (STFT) configuration, implicitly binding the model to the time-frequency resolution seen during pretraining. In practice, adapting these systems to new domains or computational constraints often requires different STFT frontend parameters. In this work, we conduct a controlled study of the sensitivity of the foundational Audio Spectrogram Transformer to variations in STFT window and hop size, showing that audio classification performance degrades substantially as frontend parameters deviate from pretraining settings. As a mitigation strategy, we introduce a lightweight conditioning mechanism using FiLM that enables a pretrained model to adapt to variable input configurations using limited additional training data. Our method generalizes well to unseen STFT configurations, improving model robustness without sacrificing performance in the original setting.
Create a lesson
Related papers
Metadata-Conditioned Audio Transformers for Adaptive Respiratory Sound Classification
Shared title terminology · George Kontogiannis, Pantelis Tzamalis, Sotiris Nikoletseas
From Spectrograms to Shallow Speech SSL: Audio-Frontend Design for Generator-Disjoint and Low-Latency Audio--Visual Deepfake Detection
Shared title terminology · Qiwu Wen, Jahangir Alam, Eric Charton
Multi-Step Underwater Acoustic Channel Prediction via Dual-Domain Structure Preservation and Pretrained Transformer
Shared title terminology · Mingjie Cao, Gewei Zhang, Deqing Wang et al.
Direct Conditioning of Audio Diffusion Transformers on fMRI Reveals Cortical Contributions to Sound Reconstruction
Shared title terminology · Matteo Ciferri, Tonio Weidler, Matteo Ferrante et al.
LAION-Audio-XL: A Web-Scale Corpus and Scaling Studies for Contrastive Language-Audio Pretraining
Shared title terminology · Gijs Wijngaard, Felix Förster, Ross Wightman et al.
Latent Terrain: Adapting Neural Audio Autoencoders as Design Materials in NIME
Shared title terminology · Shuoyang Jasper Zheng, Keigo Yoshida, Nico García-Peguinho et al.