Data-Efficient Low-Complexity Acoustic Scene Classification in the DCASE 2024 Challenge

Florian Schmid, Paul Primus, Toni Heittola, Annamaria Mesaros, Irene Martín-Morató, Khaled Koutini, Gerhard WidmerarXiv 2024

This paper summarizes the findings of Task 1 in the DCASE 2024 Challenge, a premier competition for detecting and classifying acoustic scenes and events. The authors explore how to build Acoustic Scene Classification (ASC) systems that are not only lightweight enough for edge devices but also robust to different recording hardware and, crucially, capable of learning from very little data.

TL;DR

The DCASE 2024 Task 1 challenge pushes the boundaries of edge-AI by requiring models to be low-complexity, device-robust, and highly data-efficient. The results demonstrate that Knowledge Distillation (KD) from large, pre-trained audio transformers is the most effective strategy for maintaining high accuracy when training data is slashed by up to 95%.

What Problem Does This Paper Address?

Acoustic Scene Classification (ASC) involves identifying the environment of an audio clip—like a "metro station" or "urban park." While deep learning has mastered this in controlled settings, real-world deployment faces a "triple threat" of constraints:

  1. Low Complexity: Models must run on tiny embedded devices (like an Arduino Nano or STM32) with strict limits on memory (128 KB) and computation (30 million MACs per second).
  2. Device Mismatch: A model trained on a high-end binaural microphone often fails when deployed on a cheap smartphone mic.
  3. Data Scarcity: Labeling audio is expensive. This year’s challenge introduced a data-efficiency requirement, forcing participants to train models on subsets containing as little as 5% of the original training data.
Overview of the DCASE 2024 Task 1 setup, showing training on data subsets and inference on embedded devices.

Methods

The challenge baseline uses a factorized CNN architecture (inverted residual blocks) and Freq-MixStyle to handle device differences. However, the top-performing teams went much further:

  • Knowledge Distillation (KD): This was the "secret sauce." Six of the top ten teams used KD, where a large "teacher" model (often a massive Audio Spectrogram Transformer like PaSST) guides the training of the tiny "student" model.
  • Advanced Architectures: Beyond standard CNNs, teams experimented with Mamba blocks (a type of state-space model) and TF-SepNet, which decouples convolutions over time and frequency to save on parameters.
  • Compression Techniques: To meet the 128 KB limit, teams employed pruning (removing unnecessary connections) and quantization (converting 32-bit weights to 8-bit or 16-bit integers).
  • Data Augmentation: Techniques like Device Impulse Response (DIR) augmentation—simulating different microphones by convolving audio with various room/mic responses—were vital for generalization.

Datasets

The primary dataset is the TAU Urban Acoustic Scenes 2022 Mobile dataset.

  • Content: 1-second audio snippets from 10 distinct acoustic scenes recorded across multiple European cities.
  • Devices: Includes three real devices (A, B, C) and several simulated devices (S1–S10) to test hardware robustness.
  • Subsets: The core of the 2024 challenge involved training on five pre-defined subsets: 100%, 50%, 25%, 10%, and 5% of the development-train set.
  • External Data: Participants were allowed to use general-purpose datasets like AudioSet or FSD50K for pre-training or as teacher models.

Key Insights and Ideas

  • The Power of Pre-training: The most successful systems didn't just learn from the small DCASE subsets; they "borrowed" knowledge from massive datasets like AudioSet via pre-trained teachers. The top system achieved 55.7% accuracy on the 5% subset—higher than the baseline achieved using ten times more data.
  • Inductive Biases Matter: When data is scarce, the model's architecture needs to "know" something about the signal. For example, using Snake activation functions (which have a periodic bias) helped models generalize better on small training splits.
  • Complexity vs. Generalization: Interestingly, some teams found that models with reduced complexity actually generalized better when training data was extremely limited, likely because they were less prone to overfitting the small sample size.

Key Results

The challenge saw 37 submissions from 17 teams, with 16 teams successfully outperforming the baseline.

  • Top Performance: The winning system (Team Han_SJTUTHU) achieved an average score of 58.2% across all data splits.
  • The "Data Gap": As shown in Figure 2, the performance difference between teams was most pronounced at the 5% data level. The top system outperformed others by more than 2 percentage points on the smallest subset.
  • Efficiency: The top systems managed to stay under the 30 MMACs limit while using diverse precisions (int8, fp16, and fp32).
Figure 2: Performance of the best systems from the five top-ranked teams on the evaluation set for training on the five subsets (5%, 10%, 25%, 50%, 100%) of the development-train split.
Table 1: Performance and architecture details of the top-ten teams.

Limitations and Future Work

While the results are impressive, the authors note that the reliance on large pre-trained teachers (like PaSST) might be a double-edged sword. While it solves the data scarcity problem, it requires significant computational resources during the training phase, even if the final inference model is small.

Future work may focus on:

  • Developing more efficient ways to transfer knowledge without needing massive teacher models.
  • Exploring "active learning" to identify which 5% of data is most valuable to label.
  • Further refining architectures like Mamba for even lower-power acoustic sensing.

Summary updated

BibTeX
@misc{schmid2024data,
  author = {Florian Schmid and Paul Primus and Toni Heittola and Annamaria Mesaros and Irene Martín-Morató and Khaled Koutini and Gerhard Widmer},
  title = {{Data-Efficient Low-Complexity Acoustic Scene Classification in the DCASE 2024 Challenge}},
  year = {2024},
  eprint = {2405.10018},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.10018},
}
Figure