Abstract
Traditional adversarial attacks typically rely on small, human-imperceptible $L_p$-norm perturbations to deceive Deep Neural Networks (DNNs). However, these attacks often fail to transfer to black-box models or bypass models hardened by adversarial training. This paper introduces Structure-Preserving Transformation (SPT), a novel method that generates adversarial examples by applying global intensity transformations. By preserving the underlying structural patterns of an image while drastically altering its pixel distribution, SPT creates "natural-looking" adversarial images that achieve near-total success in bypassing state-of-the-art defenses and transferring across diverse models.
Introduction
Most existing adversarial research operates under the constraint of $L_p$ norms (e.g., $L_\infty$ or $L_2$), ensuring that perturbations remain invisible to the human eye. While effective in white-box scenarios, these attacks are often brittle. The authors argue that this constraint is unnecessarily restrictive. Humans recognize objects based on high-level shapes and structural patterns, whereas DNNs are frequently over-reliant on specific pixel intensity distributions found in training data. By exploiting this "distributional gap" through global transformations, attackers can create robust adversarial examples that remain perfectly legible to humans but are fundamentally misclassified by machines.
Methodology: Structure-Preserving Transformation
The core of the proposed approach is the Structure-Preserving Transformation (SPT). Unlike additive noise, SPT applies a global gray-level mapping function $g(x)$ to every pixel:
$$g(x) = \text{sigmoid}\left(\sum_i w_i x^{\gamma_i}\right)$$
This function is a linear combination of multiple power functions (gamma transformations) followed by a sigmoid activation.
Structure Preservation
SPT is a "singleton-based" transformation, meaning every pixel with the same original intensity is mapped to the same new intensity. This ensures that the Structure Pattern—the set of all pixels sharing a specific gray level—remains invariant. Consequently, the semantic content (e.g., the shape of a digit) is preserved for human observers, even as the background and stroke intensities shift dramatically.
Optimization
The weights $w_i$ are learned by maximizing the target model's loss function. To maintain visual legibility and prevent extreme transformations, $L_2$ regularization is applied to the weights. Due to the low dimensionality of the parameter space (typically around 10 weights), the attack is computationally efficient, often requiring only a single epoch of training.
Experimental Evaluation
The researchers evaluated SPT on the MNIST and Fashion-MNIST (F-MNIST) benchmarks, comparing it against established attacks like FGSM, PGD, and C&W.
White-Box and Black-Box Performance
Against the "Madry network"—a gold standard for MNIST defense—SPT reduced model accuracy from 88.79% to 9.79%. In contrast, the C&W attack only reduced accuracy to approximately 32% in similar configurations.
The most significant advantage of SPT is its transferability. When attacking a substitute model and transferring the resulting examples to a target Madry-defended model, SPT maintained an accuracy reduction to ~9.8%. Traditional noise-based attacks like PGD and FGSM saw their effectiveness plummet in this black-box setting, often failing to drop the target model's accuracy below 90%.
Bypassing Adversarial Training
Standard adversarial training typically involves training models on $L_p$-constrained noise. Because SPT produces examples from a completely different distribution (global intensity shifts rather than local pixel noise), these "robust" models are caught off-guard, demonstrating that current defenses are often overfit to specific types of noise rather than being truly robust to distribution shifts.
Discussion and Key Insights
The success of SPT highlights that DNNs are essentially "texture and intensity slaves." Even models with advanced defenses rely heavily on pixel value distributions rather than high-level structural patterns. By simply shifting the "style" (brightness or contrast) of an image, the model's internal logic breaks, even when the content remains clear to a human.
Furthermore, SPT allows for diversity. Unlike noise-based attacks that typically produce a single adversarial version, SPT can generate multiple distinct looks for the same image—such as a high-contrast inverted version or a low-contrast gray-on-gray version—all of which successfully fool the model.
Conclusion
Structure-Preserving Transformation represents a shift away from the "invisible noise" paradigm of adversarial machine learning. By focusing on global distribution shifts that preserve semantic structure, SPT reveals fundamental vulnerabilities in how DNNs process visual information. Future work will focus on extending these principles to complex color datasets like ImageNet, where maintaining naturalness during global transformations presents a greater challenge.
Summary updated