Manuscript Offprint
arXiv:2610.33331Augmentation-Guided Adversarial Training via Local Stability-Based Sample Selection
Abstract
Adversarial training remains one of the most effective defenses against adversarial attacks, but its standard PGD-based training is computationally expensive because adversarial examples are generated for every training sample. Selective adversarial training reduces this cost by perturbing only a subset of samples. However, existing selective techniques typically rely on point-wise difficulty signals such as loss, entropy, margin, or gradients. We show that these point-wise criteria do not capture local instability in a sample's neighborhood. Motivated by this, we propose Augmentation-Guided Adversarial Training (AGAT), a selective adversarial training framework that uses augmentation-induced local variation to allocate samples with unstable neighborhoods for adversarial training. AGAT ranks samples using Augmentation-based Local Stability (ALS), a lightweight score that measures the normalized change in model logits between an input and its label-preserving augmented variant. Experiments across different architectures on MNIST, CIFAR-10, CIFAR-100, and Tiny-ImageNet-200 demonstrate that AGAT achieves comparable or higher robust accuracy while applying adversarial supervision to only 20–30% of the training samples in each mini-batch. AGAT also requires less training time than all other adversarial training baselines in the computational cost evaluation.
1 Introduction
Neural networks are used in a wide range of applications, including medical image classification (Esteva et al., 2017), machine translation (Sutskever et al., 2014), and electricity market price forecasting (Asante et al., 2024). However, deep neural networks are vulnerable to adversarial attacks, in which small and carefully crafted perturbations can cause incorrect predictions while remaining nearly imperceptible to humans (Goodfellow et al., 2014). Such vulnerability creates serious security concerns in safety-critical domains, including autonomous driving, medical diagnosis, biometric authentication, and malware detection (Akhtar and Mian, 2018; Finlayson et al., 2019; Suciu et al., 2019). Among existing defenses, adversarial training is one of the most effective empirical approaches. It improves robustness by training models on adversarially perturbed examples, typically through a min-max optimization objective. However, standard PGD-based adversarial training is computationally expensive, since adversarial perturbations must be generated for every training sample at every training update.
To reduce this cost, prior work has studied selective adversarial training, which selects a subset of samples for adversarial perturbation and leaves the remaining samples unperturbed during training (Losch et al., 2024; Ye et al., 2025; Mendonça et al., 2022). The key question in this setting is: which samples should receive adversarial supervision? Existing methods typically answer this question using point-wise difficulty scores, such as training loss (Mendonça et al., 2022), predictive entropy (Losch et al., 2024), classifier margin, or gradient-based measures (Ye et al., 2025). These scores are used to rank the training samples, after which a subset is selected for adversarial perturbation and used for adversarial training.
However, point-wise selection provides only a limited view of adversarial vulnerability. These
These authors contributed equally.
Corresponding author. Email: rturkson@ucc.edu.gh methods evaluate each sample only at its original input location and do not consider how the classifier behaves in the surrounding neighborhood. This is problematic for deep neural networks, whose decision landscapes can be high-dimensional, nonsmooth, and locally irregular. For example, a correctly classified sample with low loss or a large margin may appear safe under a point-wise criterion and therefore be excluded from adversarial supervision. Nevertheless, the same sample may lie in a locally unstable region, where small perturbations can quickly change the model prediction. Thus, point-wise selection can overlook samples that are easy at their original locations but fragile in their neighborhoods.
This suggests that existing selection rules are geometrically blind (Figure 1): they identify currently difficult samples but may overlook those with unstable local neighborhoods. As a result, pointwise selection in selective adversarial training may leave important regions of the input space under-regularized, making the learned classifier brittle to unseen adversarial perturbations and weakening robust generalization.
Motivated by this observation, we propose Augmentation-Guided Adversarial Training (AGAT), a selective adversarial training framework that probes the local neighborhood of each sample using label-preserving augmentations, rather than relying only on the model's point-wise behavior at the original input. This allows sample selection to account for local sensitivity around each input and identify samples whose neighborhoods are more vulnerable to perturbations.
AGAT instantiates this idea through a theoretically motivated stability measure called Augmentation-based Local Stability (ALS), a lightweight neighborhood-level signal for subset selection. ALS measures the change in model logits between the original input and its augmented counterpart. AGAT then uses this signal to rank training samples and select a subset for projected gradient descent (PGD)-based adversarial supervision, while leaving the remaining samples unperturbed during training. Across several models and datasets, our experiments show that AGAT reduces the number of PGD-perturbed samples while improving adversarial robustness. In particular, AGAT remains competitive even when PGD-based adversarial supervision is applied to only 20% of the samples in each training minibatch.
Our contributions are as follows:
• We propose Augmentation-Guided Adversarial Training (AGAT), a selective adversarial training framework that measures how model outputs change under label-preserving augmentations and uses this signal to select a subset of training samples for PGD-based adversarial supervision.
• We introduce Augmentation-based Local Stability (ALS), a lightweight neighborhood-level measure that quantifies local prediction sensitivity and provides a practical signal for selecting samples for adversarial supervision.
• We demonstrate the effectiveness of AGAT across several datasets and model architectures, showing that strong robust generalization can be achieved without applying PGD-based adversarial supervision to every sample in each minibatch.
In large language models, Asante et al. (2026) study how model compression affects adversarial robustness and other aspects of trustworthiness, highlighting the need to assess robustness alongside computational efficiency.
Data Augmentation. Data augmentation has become an important tool for improving robustness by mitigating robust overfitting. Li and Spratling (2023) show that robust generalization depends on both augmentation diversity and balanced hardness, and propose IDBH to generate diverse, label-preserving augmentations with controlled difficulty to improve robust learning. Building on this idea, AROID (Li et al., 2024) applies instance-adaptive augmentation, generating input-specific transformations that improve robustness beyond fixed augmentation policies. These methods mainly apply

(a) Point-wise selection
(b) ALS selection
Figure 1: Conceptual illustration of point-wise and ALS-based sample selection. Left: (a) Point-wise selection ranks samples using information at the original input location, such as loss, margin, or confidence. As a result, a sample may have low loss or a large prediction margin while still lying near a region where the model's output changes sharply, which we refer to as a hidden cliff. Right: (b) ALS-based selection probes the neighborhood of each sample using a label-preserving augmentation . This allows ALS to detect local instability that point-wise selection can miss and to guide adversarial supervision toward regions where the classifier changes sharply.
augmentation to samples during training. In contrast, AGAT uses augmentation as a selection signal: the augmented variant is used to probe local model stability and determine which samples should receive PGD-based adversarial supervision
Selective adversarial training. Selective adversarial training addresses the computational bottleneck of adversarial training by applying PGD only to a subset of samples within each minibatch. Mendonça et al. (2022) proposed Informed Data Selection (IDS), a selective adversarial training method that generates adversarial examples for each minibatch and ranks both clean and adversarial samples by their cross-entropy loss. Samples with higher loss are treated as more relevant and selected for the backpropagation update. Another work in selective adversarial training is Subset Adversarial Training (SAT) (Losch et al., 2024), which first ranks training samples using predictive entropy computed from a pretrained standard classifier. Based on this ranking, a subset of samples is selected at either the class level or the sample level to receive PGD-generated adversarial perturbations. More recently, Ye et al. (2025) introduced margin-based and gradient-alignment selection strategies for ranking and selecting subsets of samples for adversarial training. Their approach demonstrates that robustness can be achieved by perturbing only a subset of samples.
While existing selective adversarial training techniques provide empirical robustness, they typically rely on point-wise selection criteria such as loss, entropy, margin, or gradient-based scores. These criteria evaluate samples only at their original input location, which can overlook local instability around seemingly easy or confident samples. Our work addresses this limitation by proposing AGAT, a selective adversarial training framework that uses ALS to measure augmentation-induced changes in model logits. By selecting samples based on ALS, AGAT captures neighborhood-level sensitivity and identifies sample-level local instability that existing point-wise selective adversarial training methods may miss.
3 Preliminaries
3.1 Training a Robust Classifier
Training Scheme 1 Adversarial Training
for each training step do Sample a minibatch B Choose an adversarial subset Full PGD AT: Selective PGD AT: Generate PGD adversarial examples for samples in A Train samples in A adversarially Train samples in B A cleanly Update model parameters end for
Let the training set be . For a given perturbation budget , an adversary constructs a perturbed input , where the perturbation is constrained to lie within an -ball, . The adversary chooses to produce an input that is close to the original sample but more difficult to classify correctly.
Adversarial training incorporates these perturbed examples into the learning process in order to improve robustness. In Scheme 1, this is represented by selecting an adversarial subset A from each minibatch B. In its standard form, often referred to as full adversarial training, this subset is the entire minibatch, i.e., , so every sample is replaced by an adversarially perturbed version. While this procedure directly optimizes robustness over the entire minibatch, it can be computationally expensive because adversarial examples must be generated for all samples at every training step. Selective adversarial training reduces this cost by choosing a strict subset . Samples in are trained adversarially, while samples in are trained cleanly. In practice, adversarial examples are commonly generated using gradient-based attacks such as the Fast Gradient Sign Method (FGSM) (Goodfellow et al., 2014) and Projected Gradient Descent (PGD) (Madry et al., 2017).
3.2 Point-wise Measures for Sample Selection
Selecting the adversarial subset in Scheme 1 requires a criterion for identifying samples whose adversarial supervision can help preserve model robustness. We provide an overview of existing point-wise measures used for sample selection in selective adversarial training. Let denote the input space, and let be a classifier that maps an input to logits over classes. For an input , we write , where is the logit assigned to class . The predicted label is .
A common point-wise measure is the logit margin (Ye et al., 2025), which compares the logit of the true class with the largest logit among all incorrect classes. We define this quantity formally below.
Definition 1 (Logit margin). Let have true label . The logit margin at is defined as .
The margin measures how separated the true class is from its strongest competing class at the original input . If , then the classifier predicts the correct label, and larger values indicate a larger logit separation. Ye et al. (2025) uses as a point-wise selection score to rank training samples for adversarial subset selection.
Other point-wise measures used for sample selection include cross-entropy loss and predictive entropy. For example, Mendonça et al. (2022) compute the standard cross-entropy loss for each sample in a minibatch and use it to rank samples for adversarial subset selection. Similarly, Losch et al. (2024) use predictive entropy, computed from a pretrained standard classifier, to rank training samples and select the subset used for adversarial training.
4 Point-wise Confidence Does Not Imply Local Stability
The adversarial robustness of a neural network f can be characterized by its worst-case sensitivity to small perturbations of an input x. In this sense, robustness is closely related to the global and local Lipschitz behavior of f with respect to suitable input and output distances, as discussed in prior work (Agarwal et al., 2019; Cohen et al., 2019). We define the local Lipschitz constant in Definition 2, which formalizes the local sensitivity of a function around a given input.
Definition 2 (Lipschitz constant). Let , , and . Define the ball of radius around by . The local Lipschitz constant of at with radius is defined as
This quantity measures the largest change in the output of f per change in the input within the neighborhood .
Using this definition, Theorem 1 formalizes the limitation of point-wise selection criteria. It shows that a sample may appear highly reliable under standard point-wise measures—for example, by having very large margin and very small cross-entropy loss—while the classifier remains highly non-smooth or unstable in a neighborhood of that same sample. For simplicity, we state the Theorem for the binary case K = 2. The extension to K > 2 is immediate by adding extra class logits that do not affect the margin or prediction.
Theorem 1. Let , , and . Then there exist a classifier , a point , a label , and a radius such that , , , where denotes the cross-entropy loss, is the margin as defined in Definition 1, and is the local Lipschitz constant as defined in Definition 2.
Proof. See Appendix 8 for the proof.
Theorem 1 shows that point-wise criteria such as margin and loss characterize only the model's behavior at the single point ; they do not control how rapidly the logits may vary around . In particular, a point can look safe, yet still lie in a locally unstable region of the decision landscape. This observation motivates the use of neighborhood-sensitive criteria.
5 Augmentation Guided Adversarial Training (AGAT)
The effectiveness of selective adversarial training depends critically on the criterion used to choose the adversarial subset A. In this section, we introduce AGAT, a selective adversarial training procedure that constructs A using augmentation-induced local variation. AGAT assigns each training sample an Augmentation-based Local Stability (ALS) score, which measures how sensitive the model responds to a label-preserving augmentation of that sample. In Section 5.1, we define ALS and show how it provides an efficient proxy for local instability. We then describe how ALS scores are used to select the adversarial subset A in Section 5.2. The complete AGAT procedure is summarized in Algorithm 1.
5.1 Augmentation-based Local Stability
We use ALS as a proxy for measuring the stability of the classifier around training samples. For a sample , we construct a label-preserving augmented variant , where denotes the augmentation applied to . We pass and separately through the model to obtain their corresponding logit outputs. To quantify the sensitivity of the classifier to this transformation, we define ALS score as
This captures the augmentation-induced change in logits relative to the corresponding change in the input, with ensuring numerical stability.
To construct the augmented variant , we use Improved Diversity and Balanced Hardness (IDBH) augmentations (Li and Spratling, 2023). IDBH applies a multi-layer stochastic augmentation pipeline that includes horizontal flipping, crop-shift, shape transformations, and random erasing to produce diverse augmented samples while maintaining controlled hardness and preserving the label of the original input . This balance is important for ALS because should introduce a meaningful input change that reveals local variation in the model output while preserving the original sample's class label. In this way, IDBH helps provide a structured label-preserving transformation suitable for ALS.
Theorem 2 establishes ALS as a conservative measure of local instability. It shows that is bounded above by the local Lipschitz constant . Thus, ALS cannot overestimate the true worst-case local sensitivity; instead, it provides a sample-based proxy for neighborhood instability. Consequently, a high ALS value indicates strong evidence of local non-smoothness.
Theorem 2. Let , and assume that the augmentation lies in the local neighborhood where . Then, for every such sample , the ALS score defined in Equation (1) satisfies .
Proof. See Appendix 9 for the proof.
5.2 Constructing the Adversarial Subset
Let denote a minibatch of size . We compute the ALS score for each sample in and rank the samples according to these scores. Given an adversarial selection ratio , we select samples for adversarial supervision. Formally, the selected samples are represented by the index set
where denotes an ALS-based selection rule that returns k indices according to the ALS ranking. This formulation supports different ALS-ranked policies, such as selecting the highest-ALS samples or selecting samples from a specified region of the ALS ranking. We instantiate as a top-k selection rule that returns the indices of the k samples with the largest ALS scores. Higher ALS scores indicate greater changes in model outputs relative to the magnitude of the sampled input changes. Selecting these samples therefore focuses adversarial supervision on regions with stronger observed local instability, with the aim of preserving robustness while perturbing only a subset of each minibatch. The indices in the minibatch that are not selected for adversarial supervision form the clean subset . Samples in are adversarially perturbed using PGD, while samples in remain unperturbed. Hence, when , AGAT reduces the number of PGD computations relative to full PGD adversarial training.
Algorithm 1 AGAT
Require: Training data , model , selection ratio , ALS selection rule , IDBH augmentation distribution , PGD steps , clean-loss weight , stability constant
1: for each training iteration do 2: Sample minibatch 3: for do 4: Sample IDBH transformation 5: Form augmented variant 6: Compute
7: end for 8: Set 9: Select adversarial subset , with 10: Set clean subset 11: for do 12: Generate using step PGD 13: end for 14: Compute
15: Update model parameters by minimizing 16: end for
6 Experiments
We evaluate AGAT with a focus on its ability to preserve adversarial robustness while reducing both the number of PGD-perturbed samples and the computational cost of training. We first describe the experimental protocol and then examine ALS as a selection signal by studying its ranking structure and class-wise distribution (Section 6.1). Finally, we report results across four datasets and two model architectures (Sections 6.2–6.5). All experiments are performed on an NVIDIA L40S GPU.
Training and evaluation protocol. Let denote the test set, where is the number of test samples, and let be the trained classifier. Let be the predicted label. We define clean accuracy as
To evaluate adversarial robustness, we perturb each test example within a chosen budget . Specifically, for each clean test input , we construct an adversarial perturbation satisfying . We then measure robust accuracy as the fraction of perturbed test examples that are still classified correctly:
Following established practice (Ye et al., 2025; Li and Spratling, 2023; Mendonça et al., 2022), we use dataset-specific PGD configurations during training. MNIST (Lecun et al., 1998) is trained with 40 steps, , and , while CIFAR-10 (Krizhevsky et al., 2009), CIFAR-100 (Krizhevsky et al., 2009), and Tiny-ImageNet-200 (Deng et al., 2009) are trained with 10 steps, , and . For robust evaluation, we use a 50-step PGD attack while keeping the same dataset-specific values of and . Unless otherwise stated, PGD-50 in the tables denotes robust accuracy under attack.
Datasets. We conduct our experiments on MNIST (Lecun et al., 1998), CIFAR-10 (Krizhevsky et al., 2009), CIFAR-100 (Krizhevsky et al., 2009), and Tiny-ImageNet-200 (Deng et al., 2009). MNIST contains 60,000 training images and 10,000 test images across 10 classes. CIFAR-10 and CIFAR-100 each contain 50,000 training images and 10,000 test images across 10 and 100 classes, respectively. Tiny-ImageNet-200 contains 100,000 training images and 10,000 validation images across 200 classes.
Models. For MNIST, we use the Madry CNN model (Madry et al., 2017), a standard architecture for MNIST classification. It consists of two convolutional layers with 32 and 64 filters of size , respectively, each followed by ReLU activation and max-pooling, and a fully connected hidden layer. For CIFAR-10, CIFAR-100, and Tiny-ImageNet-200, we use PreActResNet-18 (He et al., 2016).
Methods. We compare AGAT with Clean Training, Full PGD-AT (Madry et al., 2017), IDS (Mendonça et al., 2022), Random Selection, and Margin-Based Selection (Ye et al., 2025). Clean Training uses only unperturbed inputs, whereas Full PGD-AT applies PGD-based adversarial training to every sample in each minibatch. IDS and Margin-Based Selection are selective adversarial training baselines, while Random Selection perturbs a randomly selected subset of each minibatch.
Setup. For AGAT, samples are ranked based on their ALS values, and a subset of samples with the highest ALS values is selected. Samples with high ALS values exhibit the greatest changes in model predictions under label-preserving augmentations. The selection ratio denotes the percentage of each minibatch that receives PGD adversarial supervision. For example, means that only of the samples in each minibatch are adversarially perturbed.
6.1 ALS Analysis
AGAT relies on ALS to rank samples for adversarial supervision, so its effectiveness depends on the quality of this ranking. We therefore examine whether ALS produces a meaningful score distribution during training. Table 1 reports the ALS score distribution across model snapshots saved at epochs 8, 12, and 16. The 90th, 95th, and 99th percentiles are consistently higher than the median across all snapshots, indicating that ALS produces a non-uniform ranking with a clear high-score tail during training.
| Checkpoint | Mean | Median | 90th pct. | 95th pct. | 99th pct. | Max |
|---|---|---|---|---|---|---|
| Epoch 8 | 0.198 | 0.179 | 0.340 | 0.398 | 0.535 | 2.065 |
| Epoch 12 | 0.247 | 0.223 | 0.417 | 0.488 | 0.662 | 2.793 |
| Epoch 16 | 0.266 | 0.239 | 0.445 | 0.519 | 0.693 | 3.053 |
Table 1: ALS score percentiles on CIFAR-10 computed from models saved at different epochs.
Figure 2a shows the CIFAR-10 training samples sorted from highest to lowest ALS score. The curve decreases sharply among the highest-ranked samples and becomes flatter through the middle of the ranking. This indicates that ALS identifies a compact subset of samples with distinctly higher neighborhood sensitivity and provides a structured ranking for selective adversarial training.
Figure 2b shows the class composition of the top-30% ALS-selected subset on CIFAR-10. The selected samples cover all classes rather than being concentrated in only a few labels. Thus, ALS produces a class-diverse subset for adversarial training.
6.2 Results on MNIST
Table 2 reports the MNIST results using the Madry CNN model. Clean Training achieves high clean accuracy but provides almost no robustness under PGD-50. AGAT maintains robust accuracy close to Full PGD-AT while perturbing only 20–30% of each minibatch: 93.74% at and 93.52% at , compared with 93.86% for Full PGD-AT. It also achieves higher mean robust accuracy than Random Selection, IDS, and Margin-Based Selection at both selection ratios.
| Method | Clean Accuracy (%) | PGD-50 (%) | |
|---|---|---|---|
| Clean Training | - | 99.36 ± 0.01 | 0.29 ± 0.07 |
| Full PGD-AT | - | 98.71 ± 0.04 | 93.86 ± 0.06 |
| IDS | 30 | 98.96 ± 0.04 | 93.35 ± 0.02 |
| IDS | 20 | 97.88 ± 0.28 | 89.19 ± 1.49 |
| Random Selection | 30 | 97.36 ± 0.00 | 91.66 ± 0.07 |
| Random Selection | 20 | 97.29 ± 0.08 | 91.82 ± 0.09 |
| Margin-Based | 30 | 98.86 ± 0.23 | 92.32 ± 0.26 |
| Margin-Based | 20 | 98.84 ± 0.01 | 91.60 ± 1.05 |
| AGAT | 30 | 98.89 ± 0.09 | 93.74 ± 0.37 |
| AGAT | 20 | 98.77 ± 0.36 | 93.52 ± 0.28 |
Table 2: MNIST classification performance using the Madry CNN model. Results are reported as mean ± standard deviation over three runs.
6.3 Results on CIFAR-10
Table 3 reports the CIFAR-10 results using PreActResNet-18. Clean Training achieves the highest clean accuracy but provides no robustness under PGD-50. AGAT achieves the strongest robust accuracy at both selection ratios. At , it improves robust accuracy over Full PGD-AT by 2.40 percentage points and over Margin-Based Selection by 6.57 percentage points, while also maintaining higher clean accuracy.
| Method | Clean Accuracy (%) | PGD-50 (%) | |
|---|---|---|---|
| Clean Training | - | 83.46 ± 0.30 | 0.00 ± 0.00 |
| Full PGD-AT | - | 73.87 ± 0.04 | 36.09 ± 0.28 |
| IDS | 30 | 71.69 ± 0.04 | 32.21 ± 1.07 |
| IDS | 20 | 44.66 ± 2.32 | 29.52 ± 0.16 |
| Random Selection | 30 | 72.76 ± 0.32 | 31.00 ± 0.59 |
| Random Selection | 20 | 71.44 ± 0.66 | 31.95 ± 0.08 |
| Margin-Based | 30 | 73.84 ± 0.09 | 31.46 ± 0.98 |
| Margin-Based | 20 | 73.56 ± 0.23 | 31.92 ± 0.79 |
| AGAT | 30 | 76.75 ± 0.17 | 37.85 ± 1.21 |
| AGAT | 20 | 74.40 ± 0.01 | 38.49 ± 0.25 |
Table 3: CIFAR-10 classification performance using PreActResNet-18. Results are reported as mean ± standard deviation over three runs.
6.4 Results on CIFAR-100
Table 4 reports the CIFAR-100 results using PreActResNet-18. Similar to CIFAR-10, Clean Training provides no robustness under PGD-50. AGAT achieves the strongest clean and robust accuracy among the adversarial training methods at both selection ratios. At , it improves robust accuracy over Full PGD-AT by 4.53 percentage points and over Margin-Based Selection

(a) Ranked ALS scores

(b) Class distribution of the ALS-selected subset
Figure 2: ALS analysis on CIFAR-10 at epoch 12. (a) Training samples sorted by ALS score. (b) Class distribution of the top-30% ALS-selected subset.
by 5.37 percentage points.
| Method | τ | Clean Accuracy (%) | PGD-50 (%) |
|---|---|---|---|
| Clean Training | - | 58.46 ± 0.32 | 0.00 ± 0.00 |
| Full PGD-AT | - | 43.54 ± 0.07 | 14.21 ± 0.00 |
| IDS | 30 | 45.45 ± 0.70 | 13.23 ± 0.10 |
| IDS | 20 | 39.39 ± 0.14 | 13.21 ± 0.05 |
| Random Selection | 30 | 42.10 ± 1.05 | 8.73 ± 0.49 |
| Random Selection | 20 | 42.31 ± 0.19 | 10.22 ± 0.58 |
| Margin-Based | 30 | 42.29 ± 0.15 | 13.37 ± 0.06 |
| Margin-Based | 20 | 41.97 ± 0.86 | 12.83 ± 0.04 |
| AGAT | 30 | 49.24 ± 0.12 | 18.74 ± 0.46 |
| AGAT | 20 | 47.56 ± 0.01 | 18.27 ± 0.25 |
Table 4: CIFAR-100 classification performance using PreActResNet-18. Results are reported as mean ± standard deviation over three runs.
6.5 Results on Tiny-ImageNet-200
On Tiny-ImageNet-200, AGAT consistently improves robust accuracy over both Full PGD-AT and the Margin-Based baseline. At , AGAT reaches 13.70%, compared with 8.81% for Full PGD-AT and 6.05% for Margin-Based Selection.
| Method | τ | Clean Accuracy (%) | PGD-50 (%) |
|---|---|---|---|
| Clean Training | - | 44.53 ± 5.01 | 0.00 ± 0.00 |
| Full PGD-AT | - | 37.18 ± 0.15 | 8.81 ± 0.03 |
| IDS | 30 | 33.27 ± 0.70 | 7.39 ± 0.01 |
| IDS | 20 | 26.33 ± 0.70 | 7.72 ± 0.11 |
| Random Selection | 30 | 30.82 ± 0.31 | 7.83 ± 0.54 |
| Random Selection | 20 | 28.97 ± 0.06 | 8.79 ± 0.13 |
| Margin-Based | 30 | 31.68 ± 0.38 | 6.05 ± 0.04 |
| Margin-Based | 20 | 31.18 ± 0.21 | 5.85 ± 0.01 |
| AGAT | 30 | 40.66 ± 0.54 | 13.70 ± 0.68 |
| AGAT | 20 | 38.68 ± 1.19 | 12.90 ± 0.11 |
Table 5: Tiny-ImageNet-200 classification performance using PreActResNet-18. Results are reported as mean ± standard deviation over three runs.
6.6 Computational Cost
Table 6 reports the total training runtime of AGAT and the baselines on CIFAR-10, CIFAR-100, and Tiny-ImageNet-200 using PreActResNet-18. Results are reported in minutes as mean ± standard deviation over three independent runs, with lower runtime indicating greater computational efficiency.
AGAT requires less training time than both Margin-Based Selection and IDS across all three datasets at both selection ratios ( and 30%). Compared with Full PGD-AT, AGAT consistently achieves faster training times on CIFAR-10, CIFAR-100, and Tiny-ImageNet-200 at both selection ratios. At , AGAT reduces the training time on CIFAR-100 from 36.63 to 15.95 minutes, representing a reduction of approximately 56.5%. At the same selection ratio on Tiny-ImageNet-200, it reduces the training time from 230.21 to 114.03 minutes, corresponding to a reduction of approximately 50.5%. Overall, on these three datasets, AGAT achieves higher robust accuracy than Full PGD-AT and all evaluated selective training baselines. Its runtime advantage holds over all adversarial training baselines included in Table 6.
| Method | τ (%) | CIFAR-10 | CIFAR-100 | Tiny-ImageNet-200 |
|---|---|---|---|---|
| Clean Training | - | 3.25 ± 0.01 | 8.07 ± 0.02 | 64.68 ± 2.84 |
| Full PGD-AT | - | 18.73 ± 0.01 | 36.63 ± 0.01 | 230.21 ± 0.93 |
| IDS | 30 | 23.99 ± 0.06 | 23.73 ± 0.00 | 250.73 ± 3.36 |
| IDS | 20 | 24.18 ± 0.18 | 23.97 ± 0.07 | 247.51 ± 2.58 |
| Margin-Based | 30 | 98.61 ± 0.75 | 95.21 ± 0.40 | 451.97 ± 9.16 |
| Margin-Based | 20 | 99.94 ± 1.32 | 100.09 ± 0.85 | 403.07 ± 2.53 |
| AGAT | 30 | 16.33 ± 0.01 | 16.56 ± 0.06 | 121.51 ± 3.03 |
| AGAT | 20 | 16.13 ± 0.02 | 15.95 ± 0.02 | 114.03 ± 2.38 |
Table 6: Total training runtime of AGAT and the baselines on CIFAR-10, CIFAR-100, and Tiny-ImageNet-200 using PreActResNet-18. Results are reported in minutes as mean ± standard deviation over three independent runs.
7 Conclusion
This work aims to reduce the computational demands of PGD-based adversarial training by reconsidering how adversarial supervision is distributed across training samples. Our results show that strong robust accuracy can be achieved without perturbing every training example. However, existing point-wise selection criteria may be limited because they evaluate the model only at the original input and do not account for stability in the surrounding neighborhood. To address this limitation, we propose AGAT, a selective adversarial training framework that uses Augmentation-based Local Stability (ALS) as a lightweight, neighborhood-sensitive signal for identifying unstable samples. While perturbing only 20–30% of each minibatch, AGAT achieves robust accuracy close to Full PGD-AT on MNIST and higher robust accuracy on CIFAR-10, CIFAR-100, and Tiny-ImageNet-200. AGAT also requires less training time than all other adversarial training baselines in the computational cost evaluation on the latter three datasets. These results demonstrate that ALS-based sample selection can reduce unnecessary PGD computation while maintaining strong adversarial robustness.
References
Chirag Agarwal, Anh Nguyen, and Dan Schonfeld. 2019. Improving Robustness to Adversarial Examples by Encouraging Discriminative Features. In IEEE International Conference on Image Processing (ICIP).
Naveed Akhtar and Ajmal Mian. 2018. Threat of Adversarial Attacks on Deep Learning in Computer Vision: A Survey. IEEE Access, 6:14410–14430.
Daniel Agyei Asante, Md Mokarram Chowdhury, and Yang Li. 2026. Decomposed Trust: Privacy, Adversarial Robustness, Ethics, and Fairness in Low-Rank LLMs. In Findings of the Association for Computational Linguistics: ACL 2026.
Daniel Agyei Asante, Mark Tetteh, Regina Esi Turkson, Lucy Manu Agyei, and Obadiah Denteh Asare. 2024. Predicting Electricity Market Price Using Machine Learning and Quantifying Dependency Beyond Renewable Energy. In 2024 International Conference on Sustainable Technology and Engineering (i-COSTE), pages 1–6. IEEE.
Jeremy Cohen, Elan Rosenfeld, and Zico Kolter. 2019. Certified Adversarial Robustness via Randomized Smoothing. In International Conference on Machine Learning (ICLR).
Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. 2009. Imagenet: A large-scale hierarchical image database. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 248–255.
Andre Esteva, Brett Kuprel, Roberto A. Novoa, Justin Ko, Susan M. Swetter, Helen M. Blau, and Sebastian Thrun. 2017. Dermatologist-level classification of skin cancer with deep neural networks. Nature, 542(7639):115–118.
Samuel G Finlayson, John D Bowers, Joichi Ito, Jonathan L Zittrain, Andrew L Beam, and Isaac S Kohane. 2019. Adversarial Attacks on Medical Machine Learning. Science, 363(6433):1287–1289.
Ian J Goodfellow, Jonathon Shlens, and Christian Szegedy. 2014. Explaining and Harnessing Adversarial Examples. arXiv preprint arXiv:1412.6572.
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. 2016. Identity Mappings in Deep Residual Networks. In European conference on computer vision.
Alex Krizhevsky, Vinod Nair, and Geoffrey Hinton. 2009. Learning multiple layers of features from tiny images. Technical report, University of Toronto.
Y. Lecun, L. Bottou, Y. Bengio, and P. Haffner. 1998. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11):2278–2324.
Lin Li, Jianing Qiu, and Michael W. Spratling. 2024. AROID: Improving Adversarial Robustness Through Online Instance-Wise Data Augmentation. International Journal of Computer Vision.
Lin Li and Michael Spratling. 2023. Data Augmentation Alone can Improve Adversarial Training. arXiv preprint arXiv:2301.09879.
Max Losch, Mohamed Omran, David Stutz, Mario Fritz, and Bernt Schiele. 2024. On adversarial training without perturbing all examples. In International Conference on Learning Representations (ICLR).
Aleksander Madry, Aleksandar Makelov, Ludwig Schmidt, Dimitris Tsipras, and Adrian Vladu. 2017. Towards Deep Learning Models Resistant to Adversarial Attacks. arXiv preprint arXiv:1706.06083.
Marcele OK Mendonça, Javier Maroto, Pascal Frossard, and Paulo SR Diniz. 2022. Adversarial Training with Informed Data Selection. In European Signal Processing Conference (EUSIPCO).
Octavian Suciu, Scott E Coull, and Jeffrey Johns. 2019. Exploring Adversarial Examples in Malware Detection. In 2019 IEEE Security and Privacy Workshops (SPW).
Ilya Sutskever, Oriol Vinyals, and Quoc V. Le. 2014. Sequence to sequence learning with neural networks. In Advances in Neural Information Processing Systems. Curran Associates, Inc.
Youran Ye, Dejin Wang, and Ajinkya Bhandare. 2025. Scaling Adversarial Training via Data Selection. arXiv preprint arXiv:2512.22069.
8 Point-wise Confidence
Theorem 1 shows that pointwise confidence can be misleading. In this proof, we construct a classifier that has arbitrarily large margin and small cross-entropy loss at a single point , while still having an arbitrarily large local Lipschitz constant near that point. Thus, the classifier's output can change sharply under arbitrarily small perturbations near .
Theorem 1. Let , , and . Then there exist a classifier , a point , a label , and a radius such that , , , where denotes the cross-entropy loss, is the margin as defined in Definition 1, and is the local Lipschitz constant as defined in Definition 2.
Proof. Choose any point and let be a unit vector, i.e. . We want to make the function change sharply in the direction .
Let and be constants to be chosen later. Define the logits by
for every . Thus . A controls how confident the model is at , and controls how sharply the output changes near .
Margin at . At the initial point , . So, and we have . Hence,
So,
Therefore,
Choosing yields .
Cross-entropy loss at . At , the softmax probability of class 1 is
and thus
As , we have . Therefore, since , we may choose A large enough so that
Hence
Behavior in a neighborhood of . We now look at what happens near , not just at . Fix any . Let be the unit vector from earlier, and for any real number with , define
This is the point obtained by moving a distance from in the direction . Since , we have
Thus whenever . Moreover,
and hence
By definition of , we have
Using the identity above, this simplifies to
Recall that . Therefore,
Taking norms,
At the same time,
Hence, for ,
Since both and lie in , the pair is admissible in Definition 2. Therefore,
Finally, choose . Then
which implies .
9 ALS is controlled by local Lipschitzness
Theorem 2 shows that the ALS score is controlled by the local Lipschitz behavior of the classifier. In this proof, we use the fact that IDBH augmentation can produce an augmented point that lies inside the local neighborhood of , so the change from to is one of the changes measured by the local Lipschitz constant. Thus, ALS cannot be larger than the worst-case local change of the classifier near , making it a useful measure for identifying unstable samples.
Theorem 2. Let , and assume that the augmentation lies in the local neighborhood where . Then, for every such sample , the ALS score defined in Equation (1) satisfies .
Proof. Since and , the pair is one admissible pair in the definition of the local Lipschitz constant (Definition 2). Therefore,
By the definition of the ALS score in Equation (1),
Hence,
☐