This technical report, originally presented at DCASE 2021, introduces "Acoustic Lottery," a comprehensive framework designed to shrink neural networks for Acoustic Scene Classification (ASC) without sacrificing their ability to handle audio from diverse recording devices. By combining the Lottery Ticket Hypothesis (LTH) with teacher-student learning and quantization, the authors achieve massive compression—up to 149x—while significantly outperforming standard baselines.
Addressing the Challenges of ASC
Acoustic Scene Classification (ASC) involves identifying environments (like an "airport" or "urban park") from audio clips. This task is traditionally hindered by two main factors:
- Device Mismatch: Audio recorded on a high-end binaural microphone sounds different than audio from a cheap smartphone or an action camera. A model trained on one might fail on another.
- Resource Constraints: For real-world use, these models need to run on "edge" devices (like smartwatches or hearing aids) with very limited memory and processing power.
The DCASE 2021 Challenge (Task 1a) specifically required models to be device-robust and occupy less than 128 KB of memory. The authors set out to see if ASC models are "overparameterized" and if they could find a "winning ticket" sub-network that is both tiny and accurate.
The Acoustic Lottery (AL) Framework
The authors proposed a five-stage pipeline to achieve high performance within strict memory limits:
- Data Augmentation: To improve generalization across devices, techniques like Mixup, spectrum augmentation, pitch shifting, and speed changes were employed.
- Teacher-Student Learning (TSL): A large, high-performance "teacher" model was trained first to guide the training of a smaller "student" model via Knowledge Distillation.
- Lottery Ticket Hypothesis (LTH) Pruning: LTH suggests that within a large network, there exists a sparse sub-network that, when trained from its original initial weights, can match the performance of the full network. The researchers used a "small weights" pruning strategy to find these sub-networks.
- Two-Stage Fusion: A coarse-to-fine approach where one classifier identifies broad categories (indoor, outdoor, transportation) while another identifies the specific scene.
- Quantization: Finally, model weights were converted from 32-bit floating-point numbers to 8-bit integers (Dynamic Range Quantization), reducing the model size by another 4x.
Experimental Setup and Datasets
The study utilized the DCASE 2020 Task 1a development dataset, consisting of approximately 14,000 ten-second audio clips for training and 3,000 for testing. The dataset is notable for its diversity, featuring audio recorded across 9 different devices (3 real, 6 simulated). This variety is essential for testing device-robustness, as some devices are unseen during the training phase.
Key Insights and Results
The researchers found that ASC models are highly overparameterized. They could compress a model by a factor of 149x and still see better performance than the uncompressed baseline. This suggests that standard ASC models carry a vast amount of redundant weight.
Furthermore, the work proves that the "winning ticket" concept is highly effective for acoustic signals. The pruned sub-networks often generalized better to unseen devices than the original dense networks. Among different LTH methods, the "small weights" strategy (pruning weights with the smallest absolute values) provided the best trade-off between compression and accuracy.
Quantitative Performance
The framework produced impressive gains over the official DCASE baseline:
- Accuracy: The best ensemble reached 79.4% accuracy, compared to the official baseline of 47.7%.
- Compression: One version of their "Shallow Inception" model was compressed down to just 0.9 KB while still outperforming the 503 KB baseline.
- Task Compliance: Their final submitted systems successfully met the <128 KB requirement, with one ensemble achieving 78.7% accuracy at 117 KB.
- Log Loss: They achieved a log loss of 0.64, a significant improvement over the baseline's 1.473.
Conclusion
The "Acoustic Lottery" framework demonstrates that combining knowledge distillation with LTH-based pruning and quantization can create extremely efficient, device-robust models. While managing the complexity of ensembles on edge hardware remains a challenge, this work provides a clear path forward for deploying sophisticated acoustic scene classification on resource-constrained devices.
Summary updated