DDFAD: Dataset Distillation Framework for Audio Data

Wenbo Jiang, Rui Zhang, Hongwei Li, Xiaoyuan Liu, Haomiao Yang, Shui YuarXiv 2024

Abstract

Deep neural networks (DNNs) have achieved significant success in numerous applications, largely attributed to the availability of massive, high-quality training datasets. However, processing such data requires immense computational and storage resources. Dataset distillation is a promising solution, offering the capability to compress a large dataset into a smaller distilled version that achieves comparable performance. While dataset distillation has been demonstrated for image data, its application to audio has remained unexplored. In this work, we propose the Dataset Distillation Framework for Audio Data (DDFAD). We introduce Fused Differential MFCC (FD-MFCC) as extracted features, distilled through a matching training trajectory method. Finally, we employ an audio signal reconstruction algorithm based on the Griffin-Lim Algorithm to reconstruct waveforms from the distilled features. Extensive experiments demonstrate DDFAD's effectiveness across various audio datasets and its potential in continual learning and neural architecture search.

Introduction

The success of modern deep learning is inextricably linked to the scale of training data. However, managing millions of audio clips presents significant challenges in terms of storage, transmission bandwidth, and training time. Dataset Distillation (DD) aims to synthesize a tiny set of data points that encapsulate the knowledge of an entire large-scale dataset.

Overview of the audio dataset distillation process.

While DD has matured in computer vision, audio data presents unique hurdles. Unlike images, audio is a one-dimensional signal that typically requires complex time-frequency transformations to be effectively processed by neural networks. DDFAD is the first framework to successfully bridge this gap, enabling the compression of thousands of audio clips into just a few synthetic samples.

Methodology

The DDFAD framework operates through a structured three-stage pipeline designed to capture and condense the essential characteristics of audio signals.

The three-stage DDFAD pipeline: feature extraction, distillation, and reconstruction.

1. FD-MFCC Feature Extraction

Standard Mel-frequency cepstral coefficients (MFCCs) often lack the discriminative power required when training on extremely small datasets. To address this, we propose Fused Differential MFCCs (FD-MFCC). This method combines standard MFCCs with their first-order ($\Delta$) and second-order ($\Delta^2$) differences, capturing the dynamic temporal changes in audio more effectively than static features alone.

2. Matching Training Trajectory (MTT)

For the distillation process, we utilize the Matching Training Trajectory method. A "teacher" model is first trained on the complete dataset, and its parameter updates (the training trajectory) are recorded. A "student" model is then trained on the synthetic distilled dataset. The synthetic data is iteratively optimized so that the student's training path mimics the teacher's trajectory, ensuring the distilled samples capture the most informative gradients.

3. Audio Signal Reconstruction

To ensure the distilled data is verifiable and usable in standard audio pipelines, we implement an audio signal reconstruction algorithm based on the Griffin-Lim Algorithm (GLA). This allows the 2D distilled FD-MFCC features to be converted back into a 1D audio waveform.

Experimental Evaluation

We evaluated DDFAD on three benchmark datasets: the Free Spoken Digit Dataset (FSDD), UrbanSound-8K, and RAVDESS (emotional speech).

Key findings include:

  • Efficiency: On the FSDD dataset, DDFAD achieved 97.3% accuracy using only 50 clips per class, compared to 98.73% using the full dataset.
  • Generalization: Distilled datasets proved robust across architectures; a dataset distilled using a ResNet18 could effectively train a VGG11 or ConvNet with minimal performance loss.
  • Information Density: Synthetic audio samples, while appearing as noise to human ears, contain the mathematical "essence" required for neural networks to learn specific classes.

Applications and Discussion

DDFAD shows significant promise in advanced machine learning workflows:

  • Continual Learning: DDFAD mitigates "catastrophic forgetting" by retaining a few distilled samples of old classes, significantly outperforming standard baselines like EEIL.
  • Neural Architecture Search (NAS): The distilled datasets allow for rapid testing of hundreds of architectures. Performance on distilled data showed a high correlation (0.73) with performance on the full dataset, but at a fraction of the computational cost.

While performance on complex environmental sounds (UrbanSound-8K) still shows a gap compared to full-dataset training (62.75% vs 93.89%), DDFAD establishes a foundational framework for future research in audio compression and efficient learning.

Conclusion

DDFAD represents a significant step forward in making audio deep learning more accessible and efficient. By combining novel feature fusion with trajectory matching, we demonstrate that massive audio datasets can be condensed into a handful of highly informative synthetic samples without sacrificing substantial model performance.

Summary updated

BibTeX
@misc{jiang2024ddfad,
  author = {Wenbo Jiang and Rui Zhang and Hongwei Li and Xiaoyuan Liu and Haomiao Yang and Shui Yu},
  title = {{DDFAD: Dataset Distillation Framework for Audio Data}},
  year = {2024},
  eprint = {2407.10446},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.10446},
}
Figure