TL;DR
This paper introduces a family of low-complexity audio embedding extractors based on MobileNetV3 that enable efficient, multi-task audio analysis on edge devices. By combining mid-level convolutional features with low-level pitch information, these compact models match or outperform much larger state-of-the-art architectures on the HEAR benchmark while requiring a fraction of the parameters and computational power.
What Problem Does This Paper Address?
Deep learning models for audio tasks—such as speaker recognition, music genre classification, or acoustic event tagging—are typically massive and computationally expensive. Running separate, specialized models for each task on resource-constrained edge devices (like mobile phones or microcontrollers) is highly impractical.
A promising alternative is using General-Purpose Audio Embeddings (GPAEs). Here, a single, robust feature extractor processes the raw audio once to generate a dense embedding vector. Lightweight downstream classifiers (like simple Multi-Layer Perceptrons) can then use this single embedding to solve multiple tasks in parallel. However, existing GPAE extractors are often based on heavy Vision Transformers or deep CNNs, making them too computationally demanding for the edge. This paper tackles the challenge of shrinking the embedding extractor without sacrificing its ability to generalize across diverse audio domains.
Methods
The authors leverage MobileNetV3, an architecture explicitly designed for resource-constrained devices using efficient mobile inverted bottleneck blocks and Squeeze-and-Excitation (SE) layers. To find the optimal balance between performance and size, they scale the network width using a multiplier ($\alpha$), creating models ranging from mn01 (tiny, 120k parameters) to mn40 (large, 68M parameters).
To train these compact networks effectively, they use Knowledge Distillation from a high-performing but heavy Transformer ensemble (PaSST) pre-trained on AudioSet. This allows the smaller MobileNets to inherit rich representational capabilities.
A key novelty lies in how they extract the embeddings from the trained network. Instead of just taking the final layer's output, they experiment with combining features from different depths:
- Mid-level features ($M_B$): Feature maps extracted from intermediate blocks (B5, B11, B13, B15) and aggregated via global average pooling.
- Low-level features ($L$): Time-averaged log mel spectrograms. Because global pooling in deep layers discards temporal and pitch details, explicitly appending these low-level features restores crucial pitch information.
The final optimized embedding is a concatenation of both: $M_B + L$.
Datasets
- Pre-training: The models are pre-trained on AudioSet, a massive dataset containing over 2 million 10-second audio clips across 527 classes.
- Evaluation: The models are rigorously evaluated on the HEAR (Holistic Evaluation of Audio Representations) 2021 benchmark. HEAR consists of 19 diverse downstream tasks spanning three main categories: Speech, Music, and General audio sounds.
Key Insights and Ideas
- High-level features are too narrow: Features from the very end of the network (like the final classification logits) perform poorly on downstream tasks. They become overly specialized to the pre-training classes (AudioSet labels) and lose their ability to generalize.
- Mid-level features are the sweet spot: Intermediate convolutional layers retain more generic acoustic structures, making them far superior for general-purpose embeddings.
- Don't forget the pitch: Deep networks naturally lose fine-grained frequency information due to successive pooling operations. Introducing a simple, fixed-size low-level feature vector ($L$) dramatically boosts performance on music tasks where pitch is critical.
- Extreme parameter efficiency is viable: The smallest model (
mn01) contains a mere fraction of the parameters of standard models but still delivers highly competitive results, proving that multi-task audio analysis can be pushed to ultra-low-power edge hardware.
Key Results
The proposed $M_B + L$ feature combination consistently yielded the best overall performance across the HEAR benchmark.
As shown in the performance-vs-size analysis, the models exhibit a sharp performance increase up to mn10 (4.88M parameters), which achieves an average normalized score of 86.22%. The larger mn30 variant achieves the highest overall performance, setting new top scores on several HEAR tasks, including Mridingham Tonic, Mridingham Stroke, GTZAN Genre, and ESC-50.
From a computational standpoint, the tiny mn01 model requires only 20 million multiply-accumulate (MAC) operations per 10 seconds of audio. This makes it light enough to run real-time inference on a low-power embedded processor (like a Cortex-M4 operating in the low MHz range), yet it performs comparably to much heavier models like EffNet-B2 (900M MACs) and OpenL3 (780M MACs).
Limitations and Future Work
While scaling the width multiplier improves performance, the authors note that accuracy begins to plateau around mn30, indicating that simply making the network wider hits a performance ceiling.
Additionally, while these models excel in music and general audio categories, they are still slightly outperformed in the speech category by self-supervised models specifically specialized for speech (such as wav2vec2). Future work could explore integrating self-supervised objectives into low-complexity architectures or applying hardware-specific quantization techniques to further optimize these extractors for microcontrollers.
Summary updated