Abstract
Deepneural networks are highly vulnerable to adversarial examples, which are generated by introducing subtle perturbations to input data to mislead model classification. Currently, transfer-based attacks are prevalent in adversarial example generation and can be categorized into input transformation-based and gradient-based methods. However, most input transformation-based methods tend to produce augmented replicas that are semantically inconsistent with the original inputs, while gradient-based methods often leave low-gradient regions unperturbed within the model’s critical attention areas. These limitations constrain further improvements in adversarial transferability. In this work, we propose a Semantic-Invariance and Low-Gradient Replacement Method (SLRM) to address these challenges. Our framework integrates semantically consistent augmentation and gradient replacement as follows: (1) a feature extractor captures semantic features from original inputs and a reconstructor generates augmented replicas that preserve semantic fidelity to enhance input diversity, and (2) low-gradient regions in adversarial examples are systematically replaced with corresponding regions from augmented replicas to eliminate the under-perturbed areas critical for model robustness. Comprehensive empirical evaluations on ImageNet demonstrate that SLRM significantly enhances the transferability of baseline methods and seamlessly integrates with state-of-the-art approaches to further improve their performance. Moreover, SLRM substantially improves the robustness of baseline methods against defended models, achieving superior attack success rates under advanced adversarial defenses.
Keywords:
adversarial examples; deep neural networks; low-gradient; transferable attacks; semantic-invariance MSC:
68T07
1. Introduction
Deep Neural Networks (DNNs) have demonstrated remarkable efficacy across a diverse spectrum of application domains, particularly in the field of computer vision [1,2]. However, DNNs are known to be vulnerable to adversarial examples, i.e., nearly imperceptible perturbations to input data that can induce classification errors [3,4,5,6,7,8]. The prevalence of adversarial examples in security-critical applications poses significant risks to model reliability. Consequently, the study of adversarial attack mechanisms can reveal vulnerabilities in DNN models and facilitate robust defense strategies.
The existing literature typically categorizes adversarial attacks into two paradigms: white-box and black-box attacks. White-box attacks generate adversarial examples with full knowledge of the model, including its architecture and parameters [4,9]. However, obtaining such comprehensive information about the target model is almost impossible in real-world applications. Thus, black-box attacks, which do not require prior knowledge of the underlying architecture and parameters, pose a greater threat in practical applications [10,11].
The most popular black-box attacks are transfer-based attacks [12,13], which generate adversarial examples using surrogate models. These attacks are broadly categorized into input transformation-based and gradient-based approaches. Input transformation-based attacks enhance the transferability of adversarial examples by transforming the original inputs, e.g., random resizing [14] and translation [15]. However, these transformations lack sufficient diversity. To address this, several variants have been proposed. For example, SIM [16] leverages multiple scaled replicas of the original input for enhancement, while Admix [17] mixes replicas from other image classes with the original input. Image super-resolution [18], which recovers high-resolution images from low-resolution inputs, is another technique that may be used in this context. Nevertheless, the replicas generated by these methods may be semantically inconsistent with the original input [19]. Gradient-based attacks, such as FGSM [4] and I-FGSM [9], craft adversarial examples by applying perturbations along the gradient direction. However, they usually overfit the surrogate models, resulting in poor transferability. To enhance transferability, researchers have introduced various approaches to refine gradient computation (e.g., MIM [10] and NIM [16]). As these methods iteratively accumulate perturbations along the gradient direction, they modify the input’s gradient distribution, resulting in elevated gradient magnitudes. However, we observe that some low-gradient areas persist within the attention areas of generated adversarial examples. These low-gradient areas in the adversarial examples may correspond to under-perturbed regions, a phenomenon also observed in [20].
To address the inherent limitations of existing input transformation-based and gradient-based attacks, we propose a novel transfer-based adversarial attack framework, termed the Semantic-Invariance and Low-Gradient Replacement Method (SLRM). In the semantic-invariance module, an extractor is employed to extract semantic features from the original input, and a reconstructor is trained to reconstruct a semantically invariant replica from these features for input transformation. Additionally, we propose gradient replacement to boost the low gradients of adversarial examples in the model’s attention areas, thereby enhancing their transferability. Specifically, we first identify the low-gradient areas in the replica and then replace their gradient values with those from the corresponding locations in the adversarial example. Experimental results demonstrate that our approach enhances the transferability of state-of-the-art attacks against both standard (undefended) and defended black-box models. The key contributions of our method are summarized as follows:
- We propose a novel perspective for interpreting the transferability of attacks: low-gradient areas in adversarial examples likely correspond to under-perturbed regions, which represent the model’s vulnerable regions. Accordingly, we employ a gradient replacement strategy to amplify the low gradients of the adversarial examples in the model’s attention areas. As shown in Section 4.9, for both benign samples and MIM adversarial examples, significant gradients are concentrated on the main subject area, whereas gradients in the background (e.g., the black regions around the panda) and non-critical texture regions (e.g., the fur near its facial features) are close to zero, as shown in blue in the first and second rows. Our method appears to enhance the model’s sensitivity to these low-gradient regions, as indicated by the increased gradient magnitudes in the heatmaps.
- We explore the connection between semantic consistency and the transferability of adversarial examples. Our experimental results indicate that preserving semantic consistency can further improve transferability.
- We conduct comprehensive experiments showing that SLRM significantly improves the transferability across various black-box models including security models. Furthermore, SLRM can be seamlessly integrated with existing state-of-the-art (SOTA) attacks to further improve their performance.
2. Related Work
This section presents a concise overview of the current methods for both adversarial attacks and corresponding defense mechanisms.
2.1. Adversarial Attacks
Various white-box attack methods [3,4,9,21,22] have been proposed to craft adversarial examples that cause misclassification in DNNs. The performance of these attacks is severely limited when facing black-box models. Therefore, attacks against black-box models have been proposed, which are mainly transfer-based attacks [5,23,24,25,26,27,28] that use surrogate models to generate adversarial examples. In this subsection, we introduce two branches of transfer-based attacks.
Input transformation-based attacks. The effectiveness of data augmentation has been widely recognized in enhancing model generalization, and has also been exploited to improve adversarial transferability. Ref. [14] adjusted the size of input samples through random scaling or padding to obtain enriched input information. Ref. [15] proposed the translation-invariant attack, which translates input images to achieve gradient translations and averages multiple operations to strengthen the transferability of adversarial examples. However, these simple transformations of the original inputs lacked sufficient diversity. Subsequently, several advanced transformation methods were proposed, generating multiple replicas of the original inputs for transformation. Ref. [16] proposed the scale-invariant attack, which generates a set of replica images by scaling the original input and computes the average gradient of this set to optimize the update of adversarial examples. Ref. [17] suggested creating a set of replica images by scaling the original input and mixing it with random images from other classes. Ref. [11] introduced the use of spectral transformations to improve the transferability of adversarial examples. Ref. [13] proposed incorporating style patterns from other domains into the original input samples to create diversified replicas, enhancing the transferability. Ref. [29] proposed segmenting the input image into blocks and randomly swapping and rotating them to improve the transferability of adversarial examples. The recent SMP-Attack [30] partitions the input image into a set of multi-granularity patches, thereby enhancing the quality of the computed aggregate gradient. Unfortunately, these advanced transformation-based attacks tend to generate replicas that are semantically inconsistent with the original input, which may limit the transferability of adversarial examples.
Gradient-based attacks. The FGSM [4] crafts adversarial examples by adding perturbations in the direction of the gradient update. I-FGSM [9] constructs adversarial examples iteratively by adding small perturbations at each iteration. Unlike I-FGSM, ref. [10] incorporated momentum into each iteration, stabilizing the update direction by accumulating gradients from previous iterations, thereby avoiding local optima and generating adversarial examples with stronger transferability. Ref. [16] introduced Nesterov gradient acceleration into the gradient computation of I-FGSM. Compared to momentum, it not only stabilizes the update direction but also exhibits a forward-looking property, resulting in better transferability. Ref. [31] optimized the gradient update of adversarial examples by sampling multiple points along the previous gradient direction, averaging these sampled gradients, and accumulating them into the current gradient. Ref. [32] leveraged the skip connections of residual networks to incorporate lower-level gradient information during gradient computation, reducing the influence of residual block gradients and improving the transferability of adversarial examples. Ref. [12] observed that existing gradient optimization algorithms tend to halt at certain peaks, which often overfit the surrogate model. To address this, they introduced a penalized loss function into the original loss function of adversarial algorithms, aiming for adversarial examples to move toward flatter regions, thereby achieving better transferability. Ref. [33] proposed a global momentum initialization method to suppress gradient elimination. Ref. [34] proposed an Adaptive Feature Fusion Module (AFFM) that mitigates the contradictions between CNNs and Transformers in terms of dimensions and representativeness, leading to better perturbation generation and enhanced general attack capability. Ref. [35] proposed a novel Staircase Sign Method that divides the gradient sign into several segments based on gradient unit values and assigns a staircase weight to each segment to craft more effective adversarial perturbations. However, these advanced gradient-based attacks still have some low gradients in the attention areas of their adversarial examples, which may affect the adversarial transferability.
2.2. Adversarial Defense
A range of adversarial defense strategies have been developed to mitigate the impact of adversarial examples on neural network models. Among all defense strategies, adversarial training is undoubtedly the simplest and most direct approach. It improves model robustness by adding specific adversarial examples to the training dataset and retraining the model. Ref. [4] first proposed the adversarial training paradigm, in which models are trained using a mixture of clean samples and adversarial examples generated by FGSM. However, models trained using this approach lack generalization and are only robust against adversarial examples crafted by FGSM. Ref. [36] observed that adversarial examples generated by the same attack algorithm differ across models. By utilizing all these adversarial examples in adversarial training, richer information can be obtained compared to traditional methods. Consequently, they proposed the concept of ensemble adversarial training, which involves generating adversarial examples from multiple models and using them for training. This approach significantly enhances model robustness and improves performance against black-box transfer attacks. Ref. [37] introduced the idea of training an advanced denoiser to cleanse adversarial perturbations from input images (HGD). Ref. [38] suggested employing an end-to-end image compression model to mitigate adversarial perturbations (Comdefend). Ref. [39] trained an image purification model based on self-supervised neural networks, optimizing its performance by iteratively inputting adversarial and original images (NRP). Ref. [40] proposed adding Gaussian random noise to the training dataset to enhance the model’s capability to recognize noisy images, with final predictions determined based on multiple noise test results (RS). Ref. [41] utilized a diffusion model to add noise during the forward diffusion of adversarial examples, and then reconstructed clean inputs through reverse generation (Diffpure). In this study, we employ these defense models to evaluate the efficacy of our proposed approach.
3. Method
In this section, we first present an architecture diagram (Figure 1) that summarizes the overall methodology of our proposed SLRM method. We then elaborate on the method details in the subsequent subsections.
Figure 1.
Model architecture of SLRM.
3.1. Motivation
Numerous studies have demonstrated that data augmentation can enhance the transferability of adversarial examples. Currently, most advanced input transformation-based attack methods enhance adversarial transferability by generating augmented replica images through data augmentation to obtain richer gradient information. For instance, SIM [16] generates augmented replicas by applying multiple scaling operations to the original input image; Admix [17] creates augmented replicas by superimposing images from other categories onto the original input; and STM [13] trains a style transformer to fuse style replicas from different domains into the original input, thereby improving adversarial transferability. However, we observe that these attacks occasionally incorporate replicas semantically inconsistent with the original input. Such inconsistency may degrade the accuracy of gradient computation, thus limiting further improvements in adversarial transferability.
Gradient-based attack methods primarily add perturbations to regions with significant gradient variations, leading to adversarial examples where perturbations concentrate in high-gradient areas. In our empirical research, we find persistent low-gradient regions in these adversarial examples, which likely correspond to minimal perturbation areas. Notably, some of these low-gradient regions overlap with model attention areas that are critical for correct classification, which helps explain why the attacks remain unsuccessful. Therefore, unperturbed low-gradient regions may constrain further improvements in adversarial transferability.
To overcome these limitations in transfer attacks, we propose a novel adversarial attack method: the Semantic-Invariance and Low-Gradient Replacement Method (SLRM). First, we ensure semantic consistency between augmented replicas and original inputs during replica generation to preserve gradient computation accuracy. Second, we perform low-gradient region replacement in adversarial examples, effectively applying input transformations to these regions to suppress the presence of low-gradient areas. The integration of these two operations effectively eliminates the low-gradient regions in adversarial examples, thereby further enhancing their transferability.
3.2. Preliminaries
Notation. Denote the ground-truth label of the benign input image x by y, and define as a classifier that maps x to y. Let be the loss function associated with . Denote the adversarial example of input x by . satisfies , where is the perturbation budget.
Gradient-based attacks improve transferability by introducing momentum into the gradient computation. For example, the update rule for the adversarial example in MIM [10] is given by
and
where is the gradient at iteration t, is the decay factor of , is the step size of the iteration, and the function constrains the perturbation of within the -ball.
3.3. Semantic Invariance
In our work, we use a semantic extractor to extract semantic features, and a feature reconstructor to reconstruct a semantically consistent replica from them. Inspired by [42]’s research, we utilize convolutional neural networks to extract the semantic features of images.
Specifically, we adopt the shallow convolutional layers of a pretrained model (e.g., vgg19-bn [43]) as the feature extractor , which is used to extract semantic features from the original input x. Subsequently, these features are processed by a feature reconstructor , designed as a mirror network of the extractor, to generate a reconstructed replica. Within , transposed convolution and upsampling operations are adopted to reduce the channel dimension of the feature maps. Activation functions are applied to all transposed convolutional layers, except the final one, ensuring that the output pixel values remain within the range . The training objective of is to produce a replica that preserves semantic consistency with the original input. Its loss function is formulated as follows:
We evaluate the semantic consistency between SLRM-generated replicas and original images across five models using the ImageNet dataset [44]. In Table 1, the first row presents the attack success rate (ASR) of original images on the five models, the second row displays the ASR of images perturbed by Gaussian random noise (intensity: ), and the third row shows the ASR of SLRM-generated replicas. Comparing the first and third rows, the SLRM-generated replicas demonstrate superior preservation of semantic consistency with the original images compared to their Gaussian-noise-perturbed counterparts.
Table 1.
Attack success rate (%) of replicas when different strategies are used.
In addition, we further assess the image similarity between attack-generated replicas and original inputs. Table 2 reports the average SSIM [45], PSNR, and LPIPS [46] between original inputs and augmented replicas (averaged over 10 iterations) for SIM, Admix, STM, and our SLRM. SSIM and PSNR are widely adopted similarity metrics, where higher scores indicate lower distortion and better similarity, while lower LPIPS values correspond to higher perceptual similarity. As demonstrated in this table, the SLRM-enhanced replicas achieve significantly higher similarity to the original inputs than the replicas from SIM, Admix, and STM.
Table 2.
Semantic similarity between the original images and the replicas generated by four different methods.
3.4. Gradient Replacement
In TIM [15], the authors found that the defense model has different attention areas compared to the normal model. Therefore, they proposed to modify the gradient of the adversarial example via gradient translation, thereby improving its transferability. In our work, we replace the gradients in low-gradient areas of the replica with those from the corresponding areas of the adversarial example in order to suppress the presence of low gradients in the model’s attention areas and achieve gradient transformation. To clarify, this process can be interpreted as adjusting the direction of gradients and amplifying the low gradients of the adversarial example.
First, we compute the q-th sample quantile (i.e., the replacement ratio) of the absolute values of gradients g over the flattened full tensor. The cut-off value is given by
where is the empirical cumulative distribution function of the absolute gradient values computed over the flattened full tensor.
Subsequently, we record the positions in the replica where the absolute gradient value is less than using a mask matrix , which is defined element-wise as follows:
where c is the channel index, and H and W are the height and width of each channel. Then, the complementary matrix of the mask matrix is
which marks the entries with significant gradients.
The details of our proposed SLRM can be found in Algorithm 1. Firstly, we use the extractor to capture the semantic features of the original input x. Secondly, we use the reconstructor to reconstruct these features into a semantically invariant replica . Then, we calculate the gradients of the adversarial example and the replica , and mix them with a ratio of . Next, we identify the low-gradient areas in the replica using Equations (5) and (6) and replace them with the gradients of the adversarial example. Finally, we update the adversarial example and the replica using Equation (1). In our algorithm, the semantic-invariance module provides a data augmentation replica that differs slightly from the original input x but keeps semantic consistency with it. The clip operator restricts both and to be within the -ball of x. This restriction ensures that during the update, both the adversarial example and the replica remain semantically consistent, and provides diverse information to . The gradient mixing and replacement amplify the low gradients of in the model’s attention areas and further ensure that does not deviate too far from .
| Algorithm 1 Semantic-Invariance and Low-Gradient Replacement Method (SLRM) |
|
3.5. Efficiency
Our proposed SLRM contains two modules: the semantic-invariance module and the low-gradient replacement module. Therefore, its efficiency depends on these two approaches. Regarding the semantic-invariance module, the encoder is initialized with the pretrained vgg19-bn and its weights are frozen during training. Only the parameters of the reconstructor are updated. It can be implemented as a “mirror network” of the vgg19-bn shallow layers and involves a one-time offline training cost. Once trained, its weights are frozen and reused across all attacks, making this cost negligible for large-scale robustness evaluation. For the low-gradient replacement module, SLRM performs one forward/backward pass for the adversarial example and one for its semantic replica at each iteration, as well as quantile thresholding and mask generation. These computations are highly parallelizable and incur minimal GPU overhead. As shown in Table 3, integrating SLRM increases the per-image generation time by only 8.93– across eight representative attack methods and peak GPU memory by 38–, primarily due to storing the additional replica. The absolute runtime overhead scales proportionally with the complexity of the base attack, confirming that the overall computational burden is largely determined by the underlying baseline.
Table 3.
Time and peak memory overhead per image for various attack methods.
3.6. Theoretical Analysis
From an optimization perspective, crafting the adversarial example aims to maximize the loss of the surrogate model f, thereby deceiving the classifier. Due to the high nonlinearity of DNNs, the surrogate model’s loss surface contains many local extrema, some of which may not correspond to truly transferable adversarial regions, leading to failed attacks. To improve attack transferability and reduce overfitting to the surrogate model, it is beneficial to break the surrogate model’s reliance on specific gradient directions during gradient-based attacks. To this end, we propose a low-gradient replacement strategy. The theoretical justification for this strategy is presented in the following subsection.
Proposition 1.
Under Assumptions A1–A3 (given in Appendix A), given a perturbation budget , let denote the adversarial example generated by Algorithm 1, and let be the adversarial example generated by the attack method without the gradient replacement operation. Then,
where is a constant.
Remark 1.
This proposition formalizes the trade-off between attack efficacy and transferability. Low-gradient replacement sacrifices attack performance on the surrogate model, with Δ quantifying the strict decrease in expected loss. This sacrifice of optimality is precisely what prevents overfitting to the surrogate model, trading surrogate-specific optimality for better black-box generalization. The magnitude of Δ depends on the flat region and the local geometry of the surrogate loss, and it is guaranteed to be positive when the perturbation budget ϵ is chosen to be sufficiently small. See Appendix A for the proof of this proposition.
4. Experiment
In this section, we perform extensive experiments on an ImageNet-compatible dataset to validate the effectiveness of the proposed SLRM. We begin by detailing the experimental setup. Next, we compare the proposed method with various baselines on both standard and defensive models. Finally, we conduct ablation studies to analyze the impact of the hyperparameters in our SLRM.
4.1. Experimental Setup
Hardware Used. All experiments were conducted on NVIDIA 4090 GPUs.
Dataset. To ensure a fair comparison, we employ the NIPS2017 competition dataset, which consists of 1000 images randomly selected from the ImageNet dataset [44] and has been widely adopted in adversarial example research [12,13,16,17]. All images are normalized by dividing the original pixel values by 255, scaling their range from to .
Models. To evaluate the effectiveness of our method, we consider diverse structured network architectures, including CNN and Transformer variants. For our CNN-based architectures, we select six standard trained models widely adopted in adversarial example research: ResNet-50 (Res-50) [2], VGG-19 [43], MobileNet-v2 (Mob-v2) [47], Inception-v3 (Inc-v3) [48], ResNeXt101 (ResX101) [49], and ConvNeXt [50]. For our Transformer-based models, we incorporate four state-of-the-art architectures: Vision Transformer-base/16 (ViT-B) [51], DeiT-Small (DeiT-S) [52], EfficientNet-B4 (Efficient) [53], and RVT-Tiny (RVT-T) [54]. Furthermore, we evaluate our method against nine state-of-the-art defense techniques that are robust against black-box attacks on the ImageNet dataset, including four adversarially trained models (i.e., Inc-v3adv [55], Inc-v3ens3, Inc-v3ens4, and IncRes-v2ens [36]) and five specialized defenses: HGD [37], ComDefend [38], RS [40], NRP [39], and DiffPure [41].
Baseline. We integrate our method into various widely used adversarial attack baselines, including DIM [14], TIM [15], SIM [16], and Admix [17]. We also integrate our method into the SOTA gradient-based attack PGN [12] and the SOTA input transformation-based attacks STM [13] and BSR [29], respectively.
Semantic-Invariance Module. For the semantic-invariance module, we employ the shallow convolutional layers of vgg19-bn [43] (i.e., conv1_1, conv1_2, and conv2_1) as the extractor with pretrained weights. The reconstructor is built as a symmetric network of the extractor, consisting of three transposed convolutional layers (kernel size , stride 1, and padding 1). We use ReLU activation after each transposed convolutional layer, except for the final layer, which uses a sigmoid function to constrain output pixel values to . Moreover, we randomly sampled 30,000 images from ImageNet [44] to train the reconstructor by minimizing the loss function Equation (3) using the Adam optimizer with the learning rate set to .
Hyperparameters. In this work, for all attacks, we set the perturbation budget , the number of iterations , and the decay factor , which are standard settings adopted in the majority of the adversarial attack literature. For TIM, we set the kernel size . For DIM, we set the transformation probability . For SIM and Admix, we set the number of replicas , the number of mixed samples , and the admix ratio . For STM, we set the mixing ratio , the noise upper bound , and the number of style transfer images . For PGN, we set the number of examples , the balanced coefficient , and the upper bound of the neighborhood size . For BSR, we use its official parameters. For our proposed SLRM, we set the mixed coefficient and the replacement ratio .
Evaluation Criterion. We use ASR to evaluate the performance of attacks. An attack is considered successful if the black-box target model misclassifies the adversarial example , i.e., the predicted label of differs from the ground-truth label y of the original benign image x. ASR can be expressed as
where N is the total number of images, is the adversarial example generated from the i-th benign image using a surrogate classifier f, is the ground-truth label of , and is the indicator function, which equals 1 if the condition is true and 0 otherwise.
4.2. Attack a Single Model
In this subsection, we examine the attack success rates of four distinct baseline methods without (w/o) and with (w/) SLRM. Four commonly pretrained models (i.e., Res-50, VGG19, Mob-v2, and Inc-v3) are selected as surrogate models to generate adversarial examples; their success rates are then evaluated on the ten target models. As illustrated in Table 4, the initial row corresponds to the attack success rates (classification error rate) for clean images, while the subsequent rows represent the attack success rates for adversarial examples. Bold fonts are used to highlight superior results.
Table 4.
Attack success rates (%) of SLRM under the single-model setting. The adversaries are generated using Res-50, VGG19, Mob-v2, and Inc-v3, respectively. * indicates the white-box model.
A thorough examination of the data in Table 4 reveals that the baseline methods consistently attain remarkably high ASRs in the white-box setting. Our method attains attack success rates equal to or higher than those of the baseline methods on all these white-box models. However, the attack success rates of the baseline methods drop significantly on black-box models that differ substantially from the surrogate model. For instance, the SIM approach achieves a success rate on the white-box model Mob-v2, but only on the black-box model ViT-B. A similar pattern emerges when attacking Efficient using VGG19 as a surrogate model, where the various baselines achieve (DIM), (TIM), (SIM), and (Admix), respectively. In contrast, integrating SLRM with the baselines raises ASR to (DIM), (TIM), (SIM), and (Admix). These findings demonstrate that SLRM can remarkably enhance the attack success rates of baseline methods on black-box models, particularly on black-box models that exhibit substantial disparities from surrogate models.
4.3. Attack with SOTA Methods
We next evaluate the attack performance of SLRM when integrated with the state-of-the-art gradient-based method PGN, the input transformation-based method STM, and BSR. We also construct a stronger baseline, TDM, by combining the baseline methods DIM and TIM. As demonstrated in Table 5, these stronger baseline methods exhibit a substantial enhancement in their attack performance compared to the standard baseline methods. For instance, the four new baselines achieve average success rates of (TDM), (PGN), (STM), and (BSR) across the ten models. Specifically, when attacking ResX101, the four baselines achieve , , , and , respectively. Our SLRM further enhances the attack performance of these baselines, achieving , , , and , respectively, on ResX101. On average, SLRM enhances the ASR of the baseline methods on the ten models by (TDM), (PGN), (STM), and (BSR). These findings offer evidence that SLRM can be effectively integrated with advanced methods, thereby achieving enhanced attack performance.
Table 5.
Attack success rates (%) of SLRM when integrated with SOTA attacks. The adversarial examples are generated on Res-50. * indicates the white-box model.
4.4. Attack via Ensemble Models
Ensemble attacks that leverage multiple surrogate models have been shown to enhance the transferability of adversarial examples [56].
To further validate the effectiveness of SLRM with an ensemble of surrogate models, we adopt the ensemble method in [10], which fuses the label confidence outputs of different models. Specifically, the outputs of the four standardly trained models (i.e., Res-50, VGG19, Mob-v2, and Inc-v3) are averaged, and the gradients with respect to the input are computed from the fused output to perform the ensemble attack. The results are presented in Table 6, which reports the ASR of the adversarial examples generated by various attacks via the ensemble model.
Table 6.
Attack success rates (%) of SLRM under the ensemble-model setting. The adversaries are generated on ensemble models, i.e., Res-50, VGG19, Mob-v2, and Inc-v3. * indicates the white-box model.
As shown in Table 6, all attack methods achieve extremely high ASRs in the white-box case. Compared with the results in Table 4, all methods attain significantly higher ASRs on the CNN-based black-box models. Similarly, relative to the Transformer-based results in Table 4, the ASRs of these baseline attacks are also greatly improved. For instance, TIM achieves on ViT-B, on DeiT-S, on Efficient, and on RVT-T, respectively. The proposed SLRM can further improve the ASRs of the baseline methods on Transformer-based models. For example, when SIM is used as the baseline to attack the four Transformer-based black-box models, its success rates are , , , and , respectively. When combined with SLRM, its ASR improves significantly across all four models: ViT-B (), DeiT-S (), Efficient (), and RVT-T (). Similarly, using DIM as the baseline, the ASR improves to ViT-B (), DeiT-S (), Efficient (), and RVT-T (), respectively. These experimental results demonstrate the efficacy of the SLRM in leveraging the ensemble gradient method, thereby enhancing the transferability of the baseline method. These results underscore the compatibility of the proposed method.
4.5. Attack Defense Models
In practical applications, deep learning models typically employ defensive strategies to counter potential attacks. Consequently, assessing the efficacy of an attack method on a defense model can, to a certain extent, reflect its performance in actual scenarios. To further validate the effectiveness of SLRM, we evaluated it against nine widely used defense methods, including the NIPS competition winner HGD [37], four input preprocessing defense methods (i.e., RS [40], ComDefend [38], NRP [39], and DiffPure [41]), and four adversarial training models (i.e., Inc-v3adv [55], Inc-v3ens3, Inc-v3ens4, and IncRes-v2ens [36]). For ComDefend, NRP, and DiffPure, Mob-v2 served as the evaluation model, while for the other defense methods, we employed the official models provided by the respective authors.
Adversarial training methods have been demonstrated to serve as a straightforward and efficacious defense mechanism. Table 7 reports the ASRs of the four baseline methods against the four adversarially trained models, using Res-50 as the surrogate model. The results in Table 7 demonstrate that compared with the ASRs on the undefended models in Table 4, the rates of all four attacks (DIM, TIM, SIM, and Admix) are significantly reduced. Furthermore, when SLRM is employed in conjunction with these methods, enhancements of (DIM), (TIM), (SIM), and (Admix) are observed on the four adversarial training models. This suggests that our SLRM method can enhance the robustness of the baseline method against black-box adversarial training models. Beyond adversarial training methods, image denoising is also an effective defense mechanism. NRP and DiffPure are two powerful denoising-based defenses against adversarial examples, and they have been shown to be effective against transfer attack methods. Integrating SLRM with the baseline methods has been shown to enhance their resilience, thereby enhancing the robustness of the attacks against defenses. For instance, when employing DiffPure as a defense method, SLRM enhances the baseline success rate by (DIM), (TIM), (SIM), and (Admix), respectively. Furthermore, the results in this subsection demonstrates the effectiveness of SLRM in attacking other defense methods. For instance, when attacking ComDefend, the SLRM method enhances the baseline attack by (DIM), (TIM), (SIM), and (Admix), respectively. This finding underscores the efficacy of SLRM in enhancing the resilience of diverse baseline attacks against defense models.
Table 7.
Attack success rates (%) of SLRM under nine defense models. The adversarial examples are generated on Res-50.
4.6. Visualization of the Replica
In Figure 2, the first column represents the original images, while the remaining four columns illustrate replica images generated by four attack methods: SIM, Admix, STM, and SLRM. For SIM and Admix, the visualized replicas are generated when the number of replicas . For STM, the visualizations correspond to a sample size . We observe that SIM and Admix produce substantial differences between the replica images and the original images due to their pixel-wise division operations. STM employs a style transformer to obtain diverse style information, leading to the appearance of pronounced color blocks in its replica images. By contrast, SLRM utilizes an extractor to capture features of the original image and reconstructs them using a reconstructor, thereby preserving semantic similarity between the replicas and the original images. This ensures the accuracy of the gradient computations.
Figure 2.
Visualization of original images and replicas. The surrogate model is Inc-v3.
Figure 3 presents the similarity among the original image x, the adversarial example , and the replica over different iteration rounds. Here, SIM is adopted as the baseline method for SLRM, and Inc-v3 is employed as the surrogate model. The results demonstrate that combining SIM with the proposed SLRM significantly enhances the similarity between the replicas and the original images. Compared to the results in Figure 2, SLRM not only maintains the semantic consistency of the replicas with the original images but also preserves pixel-level similarity. Furthermore, the semantic consistency between the adversarial examples and the replicas is also high, ensuring that the gradient variation in the adversarial examples stays stable during the mixed-gradient update process. Consequently, SLRM effectively improves the transferability of adversarial examples in existing input transformation-based attacks.
Figure 3.
The similarity evaluation metric SSIM of our SLRM during the iterations. We use SIM as the baseline; the surrogate model is Inc-v3.
4.7. Statistical Validation
To assess whether the improvements achieved by SLRM are statistically significant rather than due to random variation, we conducted three complementary analyses on the paired per-image attack outcomes (success or failure) for all 1000 images across every source model, attack method, and target model: McNemar’s test, the exact binomial test, and bootstrap confidence intervals for the difference in attack success rate (). The complete results are reported in Appendix B.
Across nearly all configurations, the McNemar p-values are far below , confirming highly significant changes in the paired outcomes. The exact binomial confidence intervals for the proportion of discordant pairs where SLRM succeeds and the baseline fails are substantially above , indicating that SLRM is systematically superior on those images where the two methods disagree. Bootstrap confidence intervals for ASR are positive, with typical gains of 5–15 percentage points that are much larger than the associated standard errors; these intervals rarely include zero. The few non-significant cases (marked with asterisks in the appendix tables) are scattered across specific model–attack pairs and represent a very small minority of all settings. Together, these results confirm that the improvements offered by SLRM are both statistically significant and practically meaningful.
4.8. Ablation Studies
We perform a series of ablation experiments to examine the impact of the two hyperparameters, and q, in the proposed SLRM. We also investigate the impact of different replicas on the performance of SLRM. We utilize SIM as the baseline for all adversarial examples.
The mixed coefficient . In Figure 4a, we examine the impact of the mixed coefficient on transferability, with a replacement ratio for the replica’s gradient. As increases, the transferability of the adversarial examples to these black-box models improves, reaching its peak at . This suggests that the best performance is achieved when the gradients of the adversarial example and the replica are equally mixed. We thus set for our experiments.
Figure 4.
Ablation study on the mixed coefficient and the replacement ratio q. (a) Mixed coefficient . (b) Replacement ratio q.
The replacement ratio q. In Figure 4b, we investigate the effect of the gradient replacement ratio, denoted by the parameter q, on the ASR. In our approach, we perform gradient enhancement by replacing the low-gradient areas of the replica. As q increases, the transferability of the adversarial examples also improves, reaching its peak at . This indicates that the gradient replacement ratio in the replica reaches an optimal value, and increasing q beyond that point may decrease the ASR by overly altering the gradients of the replica. We thus set in our experiments.
Strategies for Generating Replicas and Their Discrepancy over Iterations. We evaluate the effect of replicas from different strategies on our method in Figure 5. In Figure 5a, we show the ASR of the original clean image, the noisy image (i.e., adding random noise of size to the original image), and the replica generated by our SLRM. Compared to the noisy image, our SLRM better preserves the semantic consistency of the replica with the original image. In Figure 5b, we illustrate the effect on SLRM when different replicas are used. The result for SIM-Original reflects the attack success rate of the adversarial example when the original clean image is used as the replica (i.e., setting in our Algorithm 1). The result for SIM-Noise corresponds to the setting . The result for SIM-SLRM corresponds to the setting (i.e., the result reported in this paper). The results show that using clean images as replicas does not improve the transferability of adversarial examples. Compared with our SLRM, randomly noisy images destroy semantic consistency and only marginally improve transferability. By contrast, SLRM significantly improves the transferability of adversarial examples, demonstrating that semantic consistency enhances transferability.
Figure 5.
Ablation study on the replicas generated by different strategies. The surrogate model is Inc-v3. (a) Attack success rates (%) of the adversarial examples. (b) Attack success rates (%) of the adversarial examples.
We evaluate the classification accuracy of generated replicas across five models (i.e., Inc-v3 [48], Inc-v3adv [55], Inc-v3ens3, Inc-v3ens4, and IncRes-v2ens [36]), as shown in Figure 6a. Figure 6b shows the attack success rates of adversarial examples generated by SIM (with Inc-v3 as the surrogate model) against the five models over successive iterations. The results reveal a gradual decline in semantic consistency between the augmented replicas and the original image during iterative optimization. Furthermore, the transferability of adversarial examples generated by SIM increases rapidly over the first five iterations and plateaus after the sixth iteration. This phenomenon suggests that the discrepancy between the replica images and original inputs gradually widens with more iterations. These inconsistent replicas are associated with reduced accuracy in gradient computation, which may limit further improvement in adversarial example transferability.
Figure 6.
The classification accuracy (%) of the replicas generated by SIM and the attack success rate (%) of the adversarial examples at iteration t. The surrogate model is Inc-v3. (a) Classification accuracy (%) of the replicas. (b) Attack success rate (%) of the adversarial examples.
4.9. Quantitative Analysis of Low-Gradient Hypothesis
To visualize the attention areas of adversarial examples, we employ Grad-CAM++ [57]. Although Grad-CAM++ provides only an approximate localization of important regions and may miss fine-grained or distributed features, it serves as a useful heuristic guide to identify candidate regions for analysis. Since Grad-CAM++ utilizes gradient values as weighting coefficients during visualization, it effectively reflects the gradient magnitude distribution (warmer colors indicate higher gradients). The first row in Figure 7 displays visualizations of original images across three models. The second and third rows show visualizations of adversarial examples generated using Inc-v3 as the white-box surrogate model with MIM [10] and our proposed method (MIM+Ours), respectively. As shown, the low-gradient replacement strategy may amplify gradient responses in regions that previously exhibited low gradients, thereby potentially improving the attack success rate and transferability of adversarial examples.
Figure 7.
Visualization of the attention maps for the Inc-v3, Inc-v4 [48] and Res-101 [2] models. We apply Grad-CAM++ [57] to visualize the attention maps of the benign image (1st row) and the adversarial example (2nd and 3rd rows) crafted by MIM [10] and our approach. The 1st row shows the attention maps of the benign image on the three models. The 2nd and 3rd rows show the attention maps of adversarial examples crafted on the surrogate model (Inc-v3) and used to attack the black-box model (Inc-v4 and Res-101).
5. Conclusions
We argue that most input transformation-based attacks tend to produce semantically inconsistent replicas. Gradient-based attacks have some low-gradient areas corresponding to the minimal perturbation areas in their adversarial examples. These factors may affect the transferability of adversarial examples. Thus, we propose a Semantic-Invariance and Low-Gradient Replacement Method (SLRM). Specifically, we first extract the semantic features of the original input with an extractor and reconstruct them into a semantically invariant replica. Then, we perform gradient enhancement by replacing the low gradients of the replica with the gradients of the adversarial examples. We use Grad-CAM++ to heuristically identify candidate regions for analysis, and we provide a theoretical analysis to support our hypothesis. Extensive experimental results show that SLRM can significantly improve the adversarial transferability of various existing attacks. Our work demonstrates the potential of semantic-invariant and low-gradient replacement in improving the transferability of adversarial examples, offering valuable insights for further exploration in the domain of adversarial attacks.
SLRM is designed for non-targeted, ℓ∞-constrained, inaccessible black-box digital attacks. It does not address ℓ2 or targeted attacks, nor does it evaluate on datasets other than ImageNet. While we demonstrate that SLRM improves transferability on both CNN and Transformer architectures, a detailed architectural sensitivity analysis (e.g., how the effect varies with self-attention vs. convolution) remains an open question for future investigation. Furthermore, our ablation study validates the effectiveness of the semantic replica compared to noise and original images. But, a rigorous isolation of semantic consistency from other implicit regularization effects introduced by the reconstruction process (e.g., smoothing or information bottleneck) remains an open challenge for future work. In particular, we do not conduct physical-world tests due to equipment limitations related to camera sensors, lighting variations, camera angles, and other factors. We acknowledge these limitations and plan to explore them in subsequent work.
This work is intended solely as a tool for evaluating and improving model robustness. By revealing vulnerabilities in current black-box defenses, SLRM provides actionable insights for developing more resilient architectures. We emphasize that adversarial attacks should only be deployed in authorized, ethical settings to strengthen, not compromise, AI security. The semantic-invariance and low-gradient replacement mechanisms introduced here may also inspire novel defense strategies, such as gradient regularization or attention-aware smoothing, that explicitly mitigate these attack pathways.
Author Contributions
Conceptualization, Y.Z., W.C., L.W. and T.S.; methodology, Y.Z., W.C. and T.S.; software, W.C.; validation, Y.Z. and W.C.; formal analysis, W.C.; investigation, W.C. and L.W.; resources, W.C., L.Z., L.W. and T.S.; data curation, W.C.; writing—original draft, Y.Z. and W.C.; writing—review and editing, Y.Z., W.C., L.Z. and T.S.; visualization, W.C.; supervision, Y.Z. and T.S.; project administration, Y.Z.; funding acquisition, Y.Z. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by the National Natural Science Foundation of China (Grant No.: 12501404), the Yunnan Fundamental Research Projects (Grant No.: 202401AU070212, 202401AS070152), and the Youth Project of the Yunnan Xingdian Talent Program.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The original data presented in the study are openly available at https://www.kaggle.com/datasets/google-brain/nips-2017-adversarial-learning-development-set (accessed on 24 January 2026). The code and data supporting the conclusions of this article will be made available by the authors on request.
Conflicts of Interest
The authors declare no conflicts of interest.
Appendix A. Proof of Proposition 1
Assumption A1.
Let the input space be with labels . The data distribution is . Denote the posterior probability . The decision boundary of the Bayes classifier is given by , which is assumed to be a smooth -dimensional manifold.
Assumption A2.
There exist constants and such that for any , the gradient of the surrogate model satisfies and .
Assumption A3.
For , let be the perturbation direction of the adversarial example generated by Algorithm 1. Then, the components are mutually independent, satisfy , and are independent of x.
Remark A1.
Assumption A1 is a common assumption in classification problems. It guarantees the local differentiability of the decision boundary, facilitating first-order approximation analysis. Let be the region of highest classification uncertainty, where the true decision boundary lies. Assumption A2 implies that the surrogate model has low confidence in this region, i.e., its gradient is small near the true decision boundary, indicating that this region is a “flat region” for the surrogate model. Extensive experiments have observed that adversarial examples often fall into these flat regions [3,4]. This assumption is a prerequisite for the effectiveness of low-gradient replacement attacks. Assumption A3 implies that the replacement operation causes the perturbation direction to be uniformly distributed across all dimensions within the flat region. This assumption captures the core mechanism of the replacement operation: it forces low-gradient pixels to receive the same weight as others, thereby breaking the surrogate model’s preference for specific gradient directions and diversifying the perturbation direction within the flat region. This simplifying assumption is made to facilitate analysis; similar assumptions can be found in [35].
Proof.
For convenience, we regard an image x as a vector of dimension and simplify some notations, e.g., is abbreviated as . Meanwhile, to simplify the analysis, we omit certain operations that do not affect the essential properties of gradient replacement attacks, such as momentum acceleration and projection clipping.
Note that the adversarial example can be represented as an -perturbation of the original image x along the direction d, i.e., , where and . Similarly, . Consider the first-order approximation of the loss function:
where and with a constant . The standard attack method often uses the sign of the gradient as . Therefore,
This is the maximum possible first-order increase in . For the low-gradient replacement attack, the direction d admits the following decomposition:
Thus, . Note that cannot be identically zero over ; otherwise, the surrogate model would fail to represent the decision boundary in this region. There exists a constant such that . In summary,
When is sufficiently small, the right-hand side is positive. □
Table A1.
McNemar’s test results (/p-value) for paired attack outcome counts between each baseline and its SLRM-enhanced version.
Appendix B. Statistical Validation of Paired Attack Outcomes
To assess whether the improvements using SLRM over the baselines are statistically significant, we performed three complementary analyses on the paired binary outcomes (success/failure) for all 1000 images: McNemar’s test (Table A1), the exact binomial test (Table A2), and bootstrap confidence intervals for ASR (Table A3). In these tables, an em-dash “—” inside a cell indicates that the test is unreliable because no discordant pairs exist. Bold confidence intervals that contain the null hypothesis value are marked with an asterisk “*”.
Table A2.
Exact binomial test results (p-value/ CI) for paired attack outcome counts between each baseline and its SLRM-enhanced version.
Table A3.
Bootstrap results: ASR (the difference between the ASR of the baseline and its SLRM-enhanced version), standard errors, and confidence intervals under different models and attacks.
References
- Krizhevsky, A.; Sutskever, I.; Hinton, G.E. ImageNet Classification with Deep Convolutional Neural Networks. In Proceedings of the Advances in Neural Information Processing Systems; Pereira, F., Burges, C., Bottou, L., Weinberger, K., Eds.; Curran Associates, Inc.: Red Hook, NY, USA, 2012; Volume 25. [Google Scholar]
- He, K.; Zhang, X.; Ren, S.; Sun, J. Deep Residual Learning for Image Recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR); IEEE: Piscataway, NJ, USA, 2016; pp. 770–778. [Google Scholar]
- Szegedy, C.; Zaremba, W.; Sutskever, I.; Bruna, J.; Erhan, D.; Goodfellow, I.; Fergus, R. Intriguing properties of neural networks. In Proceedings of the 2nd International Conference on Learning Representations, ICLR 2014, Banff, AB, Canada, 14–16 April 2014. [Google Scholar]
- Goodfellow, I.J.; Shlens, J.; Szegedy, C. Explaining and Harnessing Adversarial Examples. In Proceedings of the 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, 7–9 May 2015. [Google Scholar]
- Chen, W.; Zhang, Y. CSA: Crafting adversarial examples via content and style attacks. J. Inf. Secur. Appl. 2025, 89, 103974. [Google Scholar] [CrossRef] [Scilit]
- Cheng, S.; Li, P.; Han, K.; Xu, H. Feature-aware transferable adversarial attacks against image classification. Appl. Soft Comput. 2024, 161, 111729. [Google Scholar] [CrossRef] [Scilit]
- Xu, M.; Liu, L.; Xia, P.; Li, Z.; Li, B. Decreasing adversarial transferability using gradient information of attack paths. Appl. Soft Comput. 2025, 170, 112692. [Google Scholar] [CrossRef] [Scilit]
- Khedr, Y.M.; Liu, X.; Lu, H.; He, K. Transferable adversarial attacks against face recognition using surrogate model fine-tuning. Appl. Soft Comput. 2025, 174, 112983. [Google Scholar] [CrossRef] [Scilit]
- Kurakin, A.; Goodfellow, I.J.; Bengio, S. Adversarial examples in the physical world. In Artificial Intelligence Safety and Security; Chapman and Hall/CRC: London, UK, 2018; pp. 99–112. [Google Scholar]
- Dong, Y.; Liao, F.; Pang, T.; Su, H.; Zhu, J.; Hu, X.; Li, J. Boosting Adversarial Attacks with Momentum. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR); IEEE: Piscataway, NJ, USA, 2018; pp. 9185–9193. [Google Scholar]
- Long, Y.; Zhang, Q.; Zeng, B.; Gao, L.; Liu, X.; Zhang, J.; Song, J. Frequency domain model augmentation for adversarial attack. In Proceedings of the European Conference on Computer Vision; Springer: Cham, Switzerland, 2022; pp. 549–566. [Google Scholar]
- Ge, Z.; Shang, F.; Liu, H.; Liu, Y.; Wang, X. Boosting Adversarial Transferability by Achieving Flat Local Maxima. In Proceedings of the Advances in Neural Information Processing Systems, New Orleans, LA, USA, 10–16 December 2023. [Google Scholar]
- Ge, Z.; Shang, F.; Liu, H.; Liu, Y.; Wan, L.; Feng, W.; Wang, X. Improving the Transferability of Adversarial Examples with Arbitrary Style Transfer. In Proceedings of the ACM International Conference on Multimedia, Ottawa, ON, Canada, 29 October–3 November 2023. [Google Scholar]
- Xie, C.; Zhang, Z.; Zhou, Y.; Bai, S.; Wang, J.; Ren, Z.; Yuille, A.L. Improving transferability of adversarial examples with input diversity. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2019; pp. 2730–2739. [Google Scholar]
- Dong, Y.; Pang, T.; Su, H.; Zhu, J. Evading defenses to transferable adversarial examples by translation-invariant attacks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2019; pp. 4312–4321. [Google Scholar]
- Lin, J.; Song, C.; He, K.; Wang, L.; Hopcroft, J.E. Nesterov accelerated gradient and scale invariance for adversarial attacks. In Proceedings of the International Conference on Learning Representations, Addis Ababa, Ethiopia, 26–30 April 2020. [Google Scholar]
- Wang, X.; He, X.; Wang, J.; He, K. Admix: Enhancing the transferability of adversarial attacks. In Proceedings of the IEEE/CVF International Conference on Computer Vision; IEEE: Piscataway, NJ, USA, 2021; pp. 16158–16167. [Google Scholar]
- Fang, J.; Yu, Y.; Wang, Z.; Ding, X.; Hu, R. An Image Arbitrary-Scale Super-Resolution Network Using Frequency-domain Information. ACM Trans. Multimed. Comput. Commun. Appl. 2023, 20, 1–23. [Google Scholar]
- Zhang, J.; Huang, J.t.; Wang, W.; Li, Y.; Wu, W.; Wang, X.; Su, Y.; Lyu, M.R. Improving the Transferability of Adversarial Samples by Path-Augmented Method. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2023; pp. 8173–8182. [Google Scholar]
- Gong, T.; Xi, Q.; Xu, C. Robust Gradient-Based Markov Subsampling. In Proceedings of the AAAI Conference on Artificial Intelligence; AAAI Press: Washington, DC, USA, 2020; Volume 34, pp. 4004–4011. [Google Scholar]
- Madry, A.; Makelov, A.; Schmidt, L.; Tsipras, D.; Vladu, A. Towards Deep Learning Models Resistant to Adversarial Attacks. In Proceedings of the International Conference on Learning Representations, Vancouver, BC, Canada, 30 April–3 May 2018. [Google Scholar]
- Carlini, N.; Wagner, D. Towards Evaluating the Robustness of Neural Networks. In Proceedings of the 2017 IEEE Symposium on Security and Privacy (SP); IEEE Computer Society: Piscataway, NJ, USA, 2017; pp. 39–57. [Google Scholar]
- Wang, X.; He, K. Enhancing the transferability of adversarial attacks through variance tuning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2021; pp. 1924–1933. [Google Scholar]
- Wu, W.; Su, Y.; Lyu, M.R.; King, I. Improving the transferability of adversarial samples with adversarial transformations. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2021; pp. 9024–9033. [Google Scholar]
- Wu, W.; Su, Y.; Chen, X.; Zhao, S.; King, I.; Lyu, M.R.; Tai, Y.W. Boosting the transferability of adversarial samples via attention. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2020; pp. 1161–1170. [Google Scholar]
- Qin, Z.; Fan, Y.; Liu, Y.; Shen, L.; Zhang, Y.; Wang, J.; Wu, B. Boosting the transferability of adversarial attacks with reverse adversarial perturbation. Adv. Neural Inf. Process. Syst. 2022, 35, 29845–29858. [Google Scholar] [CrossRef] [Scilit]
- Guo, Y.; Li, Q.; Chen, H. Backpropagating linearly improves transferability of adversarial examples. Adv. Neural Inf. Process. Syst. 2020, 33, 85–95. [Google Scholar]
- Wu, L.; Zhao, L.; Tang, P.; Pu, B.; Jin, X.; Zhang, Y.; Yao, S. A Multi-Label Image Classification Method Combining Multi-Stage Image Semantic Information and Label Relevance. Int. J. Mach. Learn. Cybern. 2024, 15, 3911–3925. [Google Scholar]
- Wang, K.; He, X.; Wang, W.; Wang, X. Boosting Adversarial Transferability by Block Shuffle and Rotation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR); IEEE: Piscataway, NJ, USA, 2024; pp. 24336–24346. [Google Scholar]
- Yang, W.; Liu, G.; Ming, D. SMP-Attack: Boosting the Transferability of Feature Importance-Based Adversarial Attack with Semantics-Aware Multi-Granularity Patchout. In Proceedings of the 2025 IEEE/CVF International Conference on Computer Vision (ICCV); IEEE: Piscataway, NJ, USA, 2025; pp. 4444–4454. [Google Scholar]
- Wang, X.; Lin, J.; Hu, H.; Wang, J.; He, K. Boosting adversarial transferability through enhanced momentum. In Proceedings of the British Machine Vision Conference, Online, 22–25 November 2021. [Google Scholar]
- Wu, D.; Wang, Y.; Xia, S.T.; Bailey, J.; Ma, X. Skip connections matter: On the transferability of adversarial examples generated with resnets. In Proceedings of the In International Conference on Learning Representations, Addis Ababa, Ethiopia, 26–30 April 2020. [Google Scholar]
- Wang, J.; Chen, Z.; Jiang, K.; Yang, D.; Hong, L.; Guo, P.; Guo, H.; Zhang, W. Boosting the transferability of adversarial attacks with global momentum initialization. Expert Syst. Appl. 2024, 255, 124757. [Google Scholar] [CrossRef] [Scilit]
- Zhang, J.; Wang, H.; Wu, H.; Li, B.; Luo, X.; Ma, B.; Wang, J. HENet: A Heterogeneous Encoding Network for General and Robust Adversarial Example Generation. IEEE Trans. Inf. Forensics Secur. 2026, 21, 4005–4020. [Google Scholar] [CrossRef] [Scilit]
- Zeng, P.; Yuan, S.; Zhang, Q.; Deng, H.; Xu, H.; Gao, L. Staircase Sign Method: Boosting adversarial attacks by mitigating gradient distortion. Pattern Recognit. 2026, 170, 111983. [Google Scholar]
- Tramèr, F.; Boneh, D.; Kurakin, A.; Goodfellow, I.; Papernot, N.; McDaniel, P. Ensemble adversarial training: Attacks and defenses. In Proceedings of the 6th International Conference on Learning Representations, ICLR 2018-Conference Track Proceedings, Vancouver, BC, Canada, 30 April–3 May 2018. [Google Scholar]
- Liao, F.; Liang, M.; Dong, Y.; Pang, T.; Hu, X.; Zhu, J. Defense against adversarial attacks using high-level representation guided denoiser. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2018; pp. 1778–1787. [Google Scholar]
- Jia, X.; Wei, X.; Cao, X.; Foroosh, H. Comdefend: An efficient image compression model to defend adversarial examples. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2019; pp. 6084–6092. [Google Scholar]
- Naseer, M.; Khan, S.; Hayat, M.; Khan, F.S.; Porikli, F. A self-supervised approach for adversarial robustness. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2020; pp. 262–271. [Google Scholar]
- Cohen, J.; Rosenfeld, E.; Kolter, Z. Certified adversarial robustness via randomized smoothing. In Proceedings of the International Conference on Machine Learning, PMLR, Long Beach, CA, USA, 9–15 June 2019; pp. 1310–1320. [Google Scholar]
- Nie, W.; Guo, B.; Huang, Y.; Xiao, C.; Vahdat, A.; Anandkumar, A. Diffusion Models for Adversarial Purification. In Proceedings of the 39th International Conference on Machine Learning, Baltimore, MD, USA, 17–23 July 2022; Volume 162, pp. 16805–16827. [Google Scholar]
- Gatys, L.; Ecker, A.S.; Bethge, M. Texture synthesis using convolutional neural networks. Adv. Neural Inf. Process. Syst. 2015, 28, 262–270. [Google Scholar]
- Simonyan, K.; Zisserman, A. Very Deep Convolutional Networks for Large-Scale Image Recognition. In Proceedings of the International Conference on Learning Representations, San Diego, CA, USA, 7–9 May 2015. [Google Scholar]
- Russakovsky, O.; Deng, J.; Su, H.; Krause, J.; Satheesh, S.; Ma, S.; Huang, Z.; Karpathy, A.; Khosla, A.; Bernstein, M.; et al. Imagenet large scale visual recognition challenge. Int. J. Comput. Vis. 2015, 115, 211–252. [Google Scholar] [CrossRef] [Scilit]
- Wang, Z.; Bovik, A.C.; Sheikh, H.R.; Simoncelli, E.P. Image quality assessment: From error visibility to structural similarity. IEEE Trans. Image Process. 2004, 13, 600–612. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Zhang, R.; Isola, P.; Efros, A.A.; Shechtman, E.; Wang, O. The unreasonable effectiveness of deep features as a perceptual metric. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2018; pp. 586–595. [Google Scholar]
- Sandler, M.; Howard, A.; Zhu, M.; Zhmoginov, A.; Chen, L.C. MobileNetV2: Inverted Residuals and Linear Bottlenecks. In Proceedings of the 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2018; pp. 4510–4520. [Google Scholar]
- Szegedy, C.; Vanhoucke, V.; Ioffe, S.; Shlens, J.; Wojna, Z. Rethinking the inception architecture for computer vision. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2016; pp. 2818–2826. [Google Scholar]
- Xie, S.; Girshick, R.; Dollár, P.; Tu, Z.; He, K. Aggregated Residual Transformations for Deep Neural Networks. In Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR); IEEE: Piscataway, NJ, USA, 2017; pp. 5987–5995. [Google Scholar]
- Liu, Z.; Mao, H.; Wu, C.Y.; Feichtenhofer, C.; Darrell, T.; Xie, S. A ConvNet for the 2020s. In Proceedings of the 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR); IEEE: Piscataway, NJ, USA, 2022; pp. 11966–11976. [Google Scholar]
- Dosovitskiy, A.; Beyer, L.; Kolesnikov, A.; Weissenborn, D.; Zhai, X.; Unterthiner, T.; Dehghani, M.; Minderer, M.; Heigold, G.; Gelly, S.; et al. An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale. In Proceedings of the International Conference on Learning Representations, Virtual Event, 3–7 May 2021. [Google Scholar]
- Touvron, H.; Cord, M.; Douze, M.; Massa, F.; Sablayrolles, A.; Jegou, H. Training data-efficient image transformers & distillation through attention. In Proceedings of the 38th International Conference on Machine Learning, Virtual Event, 18–24 July 2021; Volume 139, pp. 10347–10357. [Google Scholar]
- Tan, M.; Le, Q. EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks. In Proceedings of the 36th International Conference on Machine Learning, Long Beach, CA, USA, 9–15 June 2019. [Google Scholar]
- Mao, X.; Qi, G.; Chen, Y.; Li, X.; Duan, R.; Ye, S.; He, Y.; Xue, H. Towards Robust Vision Transformer. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR); IEEE: Piscataway, NJ, USA, 2022; pp. 12032–12041. [Google Scholar]
- Kurakin, A.; Goodfellow, I.; Bengio, S.; Dong, Y.; Liao, F.; Liang, M.; Pang, T.; Zhu, J.; Hu, X.; Xie, C.; et al. Adversarial attacks and defences competition. In Proceedings of the NIPS’17 Competition: Building Intelligent Systems; Springer: Cham, Switzerland, 2018; pp. 195–231. [Google Scholar]
- Liu, Y.; Chen, X.; Liu, C.; Song, D. Delving into Transferable Adversarial Examples and Black-box Attacks. In Proceedings of the International Conference on Learning Representations, Toulon, France, 24–26 April 2017. [Google Scholar]
- Chattopadhay, A.; Sarkar, A.; Howlader, P.; Balasubramanian, V.N. Grad-cam++: Generalized gradient-based visual explanations for deep convolutional networks. In Proceedings of the 2018 IEEE Winter Conference on Applications of Computer Vision (WACV); IEEE: Piscataway, NJ, USA, 2018; pp. 839–847. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.






