CUDA: Convolution-based Unlearnable Datasets

Vinu Sankar Sadasivan, Mahdi Soltanolkotabi, Soheil Feizi

Abstract

As large-scale data scraping becomes a standard practice for training deep learning models, protecting data privacy has become a critical concern. This paper introduces CUDA (Convolution-based Unlearnable DAtaset), a novel, model-free technique designed to render datasets "unlearnable" for unauthorized models. By applying class-specific convolutional filters, CUDA induces models to prioritize simple "shortcuts" over semantic features. Unlike previous additive noise methods, CUDA is computationally efficient and demonstrates superior robustness against Adversarial Training (AT).

1. Introduction

The demand for massive datasets has led to the widespread practice of scraping images from the internet without explicit consent. To protect individual privacy and intellectual property, researchers have developed "unlearnable" datasets. These datasets consist of images that appear normal to human observers but contain "poison" that prevents a neural network from learning useful representations. When a model is trained on such data, it fails to generalize to clean, real-world examples.

Despite their promise, current unlearnable dataset techniques face two primary hurdles. First, most rely on small, additive noises that are easily mitigated by Adversarial Training (AT), which is specifically designed to ignore such perturbations. Second, generating these poisons typically requires expensive optimization-based procedures, making them impractical for large-scale datasets.

2. Methodology: The CUDA Approach

CUDA addresses these limitations by shifting from additive noise to class-wise convolutions. This method is "model-free," meaning it does not require training a separate noise generator or surrogate model.

2.1 Class-Specific Filters

The core of CUDA lies in the application of unique convolutional filters for each class. Using a private key or seed, the data owner generates a distinct filter for every category (e.g., one for "cats," another for "cars"). Every image within a specific class is then convolved with its corresponding filter.

2.2 The Shortcut Phenomenon

Neural networks are known to be "lazy" learners, often prioritizing the simplest available features to minimize loss. CUDA exploits this tendency by creating a "shortcut." The subtle blur introduced by the convolution becomes a perfect predictor for the class label. Consequently, the network focuses on these simple blur patterns and ignores complex semantic features like shapes, textures, or objects.

2.3 Multiplicative Noise

Mathematically, convolution in the spatial domain is equivalent to element-wise multiplication in the Fourier (frequency) domain. This "multiplicative noise" is fundamentally different from the additive noise used in previous works. Because standard Adversarial Training is optimized to defend against additive perturbations, it struggles to "wash away" the convolutional effects of CUDA.

3. Experimental Evaluation

The authors evaluated CUDA across several standard benchmarks, including CIFAR-10, CIFAR-100, Tiny-ImageNet, and ImageNet-100. The method was tested against a variety of architectures, such as ResNet-18, VGG-16, DenseNet-121, and Vision Transformers (DeiT).

3.1 Effectiveness and Robustness

CUDA demonstrated a dramatic impact on model performance. For instance, a ResNet-18 trained on a CUDA-protected version of ImageNet-100 achieved a clean test accuracy of only 8.96%, a sharp decline from the 80.66% achieved on clean data.

Furthermore, CUDA proved resilient to common defensive measures:

  • Adversarial Training: While previous state-of-the-art methods like REM are bypassed by $L_\infty$ Adversarial Training, CUDA maintained low accuracies (e.g., 40.08% on ImageNet-100), showing significantly higher robustness.
  • Data Augmentation: The protection remained effective even when the training process included mixup, grayscaling, or random blurring.
  • Transferability: The unlearnable effect transferred successfully across different neural network architectures.

3.2 Computational Efficiency

One of CUDA's most significant advantages is its speed. Because it relies on a simple mathematical operation rather than an optimization loop, it can process datasets almost instantly. Generating noise for CIFAR-10 takes approximately 10 seconds with CUDA, compared to roughly 22 hours for previous optimization-based methods.

4. Discussion and Limitations

While CUDA provides a robust defense, certain constraints exist. The effectiveness of the protection diminishes if a defender obtains a portion of the original clean dataset. Additionally, there is an inherent trade-off between the strength of the protection and the visual quality of the images; higher protection levels can result in perceptible blurring. Finally, the security of the system depends on the secrecy of the private key; if the key is compromised, the convolution could potentially be reversed.

5. Conclusion

CUDA represents a significant step forward in the development of unlearnable datasets. By leveraging the shortcut phenomenon through class-wise convolutions, it provides a fast, model-free, and robust method for protecting data privacy against unauthorized AI training. Its resistance to Adversarial Training makes it a more viable solution for real-world applications than previous additive-noise approaches.

Summary updated

BibTeX
@inproceedings{sadasivan2023cuda,
  author = {Vinu Sankar Sadasivan and Mahdi Soltanolkotabi and Soheil Feizi},
  title = {{CUDA: Convolution-based Unlearnable Datasets}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
}
Figure