arXiv:2610.38173cs.LGOct 2026

Manuscript Offprint

arXiv:2610.38173

A Gradient based Adversarial Augmentation Framework for Mitigating Unlearnable Datasets

Long Dang, Satpal Sura, Kaiqi Xiong

Long Dang, Satpal Sura, Kaiqi Xiong

ICNS Lab and Cyber Florida

University of South Florida

FL, USA

longdang@usf.edu, satpal@usf.edu, xiongk@usf.edu

Abstract—Unlearnable data methods (ULD) protect public data from unauthorized model training by adding imperceptible perturbations that create a learning shortcut. A deep neural network can exploit the shortcut learning path to minimize training loss without learning generalizable features. Intuitively, finding adversarial versions of perturbed images that can substantially increase the model's loss can force the model to learn generalizable features. Existing data augmentation based attacks rely on heuristic search strategies/random sampling over a curated augmentation set to identify adversarial augmentation operations, an approach that often does not scale when the number of candidate operations is large. To address the challenge of a large search space, we propose GAA, a gradient based adversarial augmentation framework that learns an augmentation policy via stochastic gradient ascent. GAA leverages a differentiable data augmentation pipeline to efficiently search a set of up to 18 augmentation techniques, from which a grid search selects a protection-specific subset. The augmentation subset is trained to maximize a surrogate model's classification loss. We introduce a perceptual-plus-pixel regularization to learn operation parameters that preserve image semantics. Under a controlled ablation, GAA consistently outperforms an equivalent random sampling baseline (80.0% vs. 77.29% clean test accuracy on EMIN-protected CIFAR-10 for ResNet-18 and 83.28% vs. 66.45% on NTGA-protected CIFAR-10 for MobileNet-V2), demonstrating that gradient guidance drives the clean test accuracy recoverability rather than the expanded search space. GAA offers an effective and scalable adversarial augmentation framework for stress-testing ULD methods, a critical tool for developing robust ULD methods.

Index Terms—deep learning, data privacy, unlearnable data, data augmentation, backpropagation

I. INTRODUCTION

Deep learning models increasingly rely on large-scale datasets scraped from the internet, prompting the development of unlearnable data methods (ULD) that prevent deep neural networks (DNNs) from extracting meaningful representations without data owner consent [1]. Representative ULD methods include error-minimizing noise (EMIN) [2], autoregressive perturbations (AR) [3], targeted adversarial poisoning (TAP) [4], neural tangent generalization attacks (NTGA) [5], self-ensemble protection (SEP) [6], and DeepConfuse (DC) [7], each of which allows embedding a distinct, protection-specific shortcut into the training data. Existing studies, including nonlinear transformation [8], ISS [9], and UEraser [10], attempt to leverage data augmentation (DA) techniques as an effective attack to eliminate the learning shortcuts introduced by the ULD defenses. Although these attack studies can restore the model's ability to learn generalizable features, they often assume a limited search space. In ISS [9], the DA space consists of simple compression techniques including Grayscale, JPEG and Bit Depth Rate (BDR), making it easy for data owners to leverage these techniques to break the ISS attack [11]. Nonlinear transformation [8] counters ULD by sequentially searching for the best combination of multiple transformations given by a five-element search space. Finding the best sequence of an exact length of three requires testing every possible combination in a space of (53)(5^3) possibilities. Thus, their proposed search algorithm is limited by the size of the search space. Although UEraser [10] improves the generalization of DNNs against multiple ULD datasets without reducing clean test accuracy, it significantly increases the training costs from 30 to 200 epochs for Resnet-18 on CIFAR-10 dataset. Furthermore, if we consider the need to fine-tune the hyperparameters for each DA operation for optimal performance, the training process might never end [12]. See Table I for a list of transformations used in the DA based attacks. At the same time, a line of research studies how to efficiently learn augmentation strategies for image classification tasks [13]. To enhance the robustness of DA based attacks against adaptive ULD defenses and discover novel combinations from a broad space of DAs, in this study, we focus on searching for adversarial DA augmentations from a broad set of standard DA techniques in an automated manner. Mitigating unlearnable examples with data augmentation poses several challenges to both ensure efficiency and recover clean test accuracy. Existing data augmentation based defenses such as UEraser [10] restrict their search to a small, curated pool of handpicked transformations, limiting the diversity of augmentations available to disrupt learning shortcuts. Automated augmentation policy search frameworks such as Faster AutoAugment [14], while effective for improving generalization, have instead been optimized to match the distribution of clean data rather than to adversarially maximize classification loss, making them poorly suited to mitigating unlearnable perturbations without adaptation. Adversarial training [15], though partially effective, remains confined to the same ℓp\ell_p-bounded threat model assumed by the attacker, so matching the attacker's perturbation strength

TABLE I

THE SEARCH SPACE OF EXISTING DATA AUGMENTATION BASED ATTACKS.

AttacksSearch space
Nonlinear transformations. [8]Threshold binary, threshold binary inverse, color channel manipulation, erode, and Gaussian blur
ISS [9]Grayscale, JPEG and Bit Depth Rate (BDR)
UEraser [10]PlasmaTransform, TrivialAugment, and ChannelShuffle
Ours (GAA)We expand the DA search space beyond previous studies [8]–[10] by utilizing the DA set of 16 standard image transformation techniques listed in AutoAugment [12]. We further add Gaussian blur and Grayscale to ensure generating diverse augmented images. In summary, the augmentation search space has up to 18 operations. A protection-specific operative subset is selected via grid search (Sec. III-A2)†.

†^{\dagger}Selected operative subset: base+blur (17 operations) for EMIN, AR, TAP, SEP, and DC; base+blur+grayscale (18 operations) for NTGA.

comes at a proportional cost to clean accuracy and requires solving a min-max optimization. Overcoming these challenges requires a search process that encompasses a wide range of augmentation operations, adaptively identifies the most effective transformations, and operates efficiently without the need for manual tuning or frequent human intervention required by prior defense. Because unlearnable perturbations function as a shortcut that lets a model minimize training loss without learning generalizable features, a transformation that substantially increases a model's loss on the perturbed data is one that likely disrupts this shortcut, forcing the model back toward learning generalizable features. In this paper, we propose a gradient based adversarial augmentation framework (GAA). Our framework learns an adversarial augmentation policy that transforms protected images to maximize a surrogate model's classification loss. The loss function includes perceptual and pixel-space regularization terms to preserve the transformed image's semantic content. During the policy training, at each stage of a sub-policy, candidate operations are combined via a softmax-weighted sum, making the policy differentiable end-to-end. The policy differentiability enables its parameters to be learned via stochastic gradient ascent [14]. While Faster AutoAugment [14] minimizes the distributional distance between augmented and clean images to improve generalization, GAA maximizes classification loss to suppress unlearnable protections. GAA is similarly related to, but distinct from, UEraser [10]. UEraser solves an inner maximization over a small, curated pool of three augmentations via random sampling to find augmentation policies that are capable of distorting protected perturbations. GAA solves the same maximization directly via gradient ascent over a 18 operations search space, and utilizes UEraser's two-phase training schedule only for applying the resulting policy.

We evaluate GAA against a random sampling ablation (RS) and the fixed-policy UEraser across six protected CIFAR-10 datasets (EMIN [2], AR [3], NTGA [5], SEP [6], TAP [4], and DC [7]) and three target architectures (ResNet-18 [16], ResNet-50 [16], MobileNetV2 [17]). Under a matched comparison where the policy is evaluated on the same EMIN-protected data and a subset of the EMIN dataset is used to train its surrogate, GAA consistently outperforms RS on EMIN dataset in terms of clean test accuracy (80.0% vs. 77.29%) and NTGA dataset (85.88% vs. 80.28%) when the target model is ResNet-18, demonstrating that gradient based search finds more effective adversarial augmentations than RS when the policy space, surrogate, and training pipeline are held fixed. This advantage does not persist under cross-data protection transfer scenario, where the policy is applied to protection methods unseen during search. Specifically, RS outperforms GAA on the AR and DC, indicating that GAA's learned policy specializes to the shortcut structure of its training-time surrogate rather than generalizing broadly across protection methods. In Sec. IV-C2, we discuss this specialization in the challenging cross-data protection case.

Our main contribution is summarized as follows:

  • We propose a gradient based adversarial augmentation framework (GAA) over a set of up to 18 DA techniques for the challenge of unlearnable datasets. The gradient based framework can autonomously discover multiple combinations of augmentation techniques that maximize a surrogate model's loss function.

  • We introduce a novel surrogate model's loss function over the space of the DA techniques for mitigating unlearnable data protections. The regularized loss function finds augmentation combinations that both increase the value of the classification loss function defined by the labels (i.e., cross-entropy) while constraining the semantic drift via the pixel-space and perceptual penalties. We leverage a gradient estimation adapted from Faster AutoAugment [14] to compute the gradients of the regularized loss function w.r.t non-differentiable augmentation techniques.

  • We demonstrate the effectiveness, cross data protection, and cross model transferability of the learned policy on CIFAR-10 across six ULD methods and three DNN architectures. We evaluate GAA's robustness by discussing how GAA can defend an adaptive data protection approach.