[Paper Review] Efficient Supervised Training of Audio Transformers for Music Representation Learning
This paper proposes MAEST, a family of efficient, convolution-free audio transformers for music representation learning, trained via supervised fine-tuning on 3.3M Discogs tracks using patchout regularization. By initializing from ImageNet or AudioSet weights, using longer input segments, and extracting features from middle transformer blocks, MAEST achieves state-of-the-art performance on music tagging tasks while enabling faster inference through patchout at inference time, outperforming convolutional baselines in speed and accuracy.
In this work, we address music representation learning using convolution-free transformers. We build on top of existing spectrogram-based audio transformers such as AST and train our models on a supervised task using patchout training similar to PaSST. In contrast to previous works, we study how specific design decisions affect downstream music tagging tasks instead of focusing on the training task. We assess the impact of initializing the models with different pre-trained weights, using various input audio segment lengths, using learned representations from different blocks and tokens of the transformer for downstream tasks, and applying patchout at inference to speed up feature extraction. We find that 1) initializing the model from ImageNet or AudioSet weights and using longer input segments are beneficial both for the training and downstream tasks, 2) the best representations for the considered downstream tasks are located in the middle blocks of the transformer, and 3) using patchout at inference allows faster processing than our convolutional baselines while maintaining superior performance. The resulting models, MAEST, are publicly available and obtain the best performance among open models in music tagging tasks.
Motivation & Objective
- To improve music representation learning using pure-attention transformers instead of convolutional networks.
- To investigate how architectural and training design choices affect downstream music tagging performance.
- To enable faster inference without sacrificing accuracy through patchout at inference time.
- To develop a publicly available, open-source model that achieves state-of-the-art results in music tagging.
Proposed method
- Training audio transformers on spectrogram patches using supervised music tagging with binary cross-entropy loss.
- Applying patchout regularization during training to improve generalization and reduce computational cost.
- Initializing models with pre-trained ImageNet or AudioSet weights to improve feature quality.
- Extracting embeddings from different transformer blocks (early, middle, late) to assess representation quality.
- Applying patchout at inference time to accelerate feature extraction while maintaining performance.
- Evaluating models on multiple music tagging benchmarks using ROC-AUC and mAP metrics.
Experimental results
Research questions
- RQ1How do different pre-training initialization strategies (e.g., ImageNet, AudioSet) affect downstream music tagging performance?
- RQ2What is the optimal input segment length for training and inference in audio transformers for music representation?
- RQ3Which transformer block and token type yield the best representations for music tagging tasks?
- RQ4Can patchout at inference time significantly speed up feature extraction while maintaining or improving performance?
- RQ5How does the performance of the proposed model compare to existing SOTA models in open and closed settings?
Key findings
- Initializing the model with pre-trained AudioSet or ImageNet weights leads to superior performance on downstream music tagging tasks.
- Using longer input segments (up to 30 seconds) during training and inference improves both training and downstream performance.
- The best representations for music tagging are extracted from the middle blocks of the transformer, not the final or first layers.
- Applying patchout at inference time enables MAEST to achieve 2–3× faster inference than a baseline EfficientNet-B0 while maintaining higher mAP scores.
- MAEST achieves state-of-the-art performance among publicly available models on MTGJ-Genre, MTGJ-Inst, and MSDc datasets.
- The model outperforms the EfficientNet-B0 baseline in both speed and accuracy across all evaluated downstream tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.