PosCUDA: Position based Convolution for Unlearnable Audio Datasets

Vignesh Gokul, Shlomo DubnovarXiv 2024

Abstract

Deep learning models require large amounts of clean data to achieve good performance. To avoid the cost of expensive data acquisition, researchers use the abundant data available on the internet. This raises significant privacy concerns on the potential misuse of personal data for model training without authorization. Recent works such as CUDA propose solutions to this problem by adding class-wise blurs to make datasets unlearnable, i.e., a model can never use the acquired dataset for learning. However, these methods often reduce the quality of the data, making it useless for practical applications. We introduce PosCUDA, a position-based convolution for creating unlearnable audio datasets. PosCUDA uses class-wise convolutions on small patches of audio. The location of the patches is based on a private key for each class; hence, the model learns the relations between positional blurs and labels while failing to generalize. We empirically show that PosCUDA can achieve unlearnability while maintaining the quality of the original audio datasets. Our proposed method is also robust to different audio feature representations such as MFCC, raw audio, and different architectures such as transformers, convolutional networks, etc.

Introduction

As deep learning models grow increasingly data-hungry, the common practice of scraping the internet for massive datasets has raised significant privacy and copyright concerns. Content creators often find their personal audio or musical works used to train models without consent. While "unlearnable" datasets—data modified to prevent models from extracting useful features—have been explored for images, audio presents unique challenges. Existing methods like the original CUDA often apply noise or blurs globally, severely degrading audio quality and failing to account for the diverse input representations (e.g., raw waveforms vs. MFCCs) used in audio processing.

Methodology

PosCUDA (Position-based Convolution for Unlearnable Audio Datasets) addresses these issues by exploiting the "shortcut learning" tendencies of neural networks. Instead of a global transformation, PosCUDA applies a class-specific low-pass filter (LPF) to a very small, precisely located patch of the audio.

The process involves:

  1. Private Keys: A unique private key for each class determines a specific starting position and a unique 1D convolutional filter.
  2. Positional Blur: Only a tiny fraction of the audio waveform is processed with this filter.
  3. Shortcut Injection: Because modern architectures like CNNs, LSTMs, and Transformers are highly sensitive to spatio-temporal patterns, they prioritize learning the easy association between the specific location/type of blur and the class label. This prevents the model from learning the complex, generalizable features of the underlying audio.
The PosCUDA process: class-specific filters are applied to unique positions in the audio waveform to create unlearnable shortcuts.

Experimental Setup

The researchers evaluated PosCUDA on two primary benchmarks:

  • Speech Commands: Over 100,000 one-second audio samples across 35 classes.
  • Free Spoken Digit Dataset (FSDD): Over 3,000 samples of spoken digits (0-9) from 6 different speakers.

The effectiveness was tested across multiple architectures, including CNNs, LSTMs, and Transformers, to ensure the method is architecture-agnostic.

Results and Analysis

The primary metric for unlearnability is the drop in test accuracy when a model trained on protected data is evaluated on clean data.

  • Effectiveness: On the Speech Commands dataset using a CNN, accuracy dropped from 90.52% (clean) to just 7.14% when trained on PosCUDA-protected data ($b=0.01$).
  • Audio Quality: Using Frechet Audio Distance (FAD), PosCUDA achieved scores as low as $2.21 \times 10^{-5}$, indicating the modifications are virtually imperceptible to human listeners.
  • Robustness: The method proved effective regardless of whether the model used raw audio or MFCC representations, and across all tested architectures.
Table 1: Comparison of test accuracy and FAD scores, demonstrating the high unlearnability and minimal quality degradation of PosCUDA.

Discussion and Limitations

PosCUDA demonstrates that the position of noise is a powerful tool for creating unlearnable datasets without sacrificing quality. However, some limitations remain. For very long audio samples, an attacker might attempt to crop out the modified region. Additionally, while effective against supervised discriminative models, its performance against self-supervised learning or generative models (e.g., GANs, diffusion models) remains a subject for future research.

Summary updated

BibTeX
@misc{gokul2024poscuda,
  author = {Vignesh Gokul and Shlomo Dubnov},
  title = {{PosCUDA: Position based Convolution for Unlearnable Audio Datasets}},
  year = {2024},
  eprint = {2401.02135},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.02135},
}
Figure