Introduction
Traditional adversarial attacks typically rely on adding mathematically bounded, pixel-level noise to an image (e.g., FGSM, PGD). While highly effective at fooling Deep Neural Networks (DNNs), these noise patterns often look unnatural, introduce perceptible digital artifacts, and do not represent the types of visual corruptions a model would actually encounter in the wild.
This paper introduces AdvHaze, a novel adversarial attack that fools DNNs by synthesizing realistic, inhomogeneous haze over images rather than adding imperceptible $l_p$ norm-bounded noise. By generating adversarial examples using a common weather phenomenon—haze—researchers can better evaluate and improve the robustness of machine learning models against real-world environmental variations, rather than just digital static.
Methodology
Instead of additive noise, AdvHaze utilizes a classic computer graphics atmospheric scattering model to synthesize haze:
$$\mathbf{H(x)} = \mathbf{I(x)}t(\mathbf{x}) + \mathbf{A(x)}(1 - t(\mathbf{x}))$$
where $t(\mathbf{x}) = \exp(-\beta(\mathbf{x})d(\mathbf{x}))$. In this model, $\mathbf{I(x)}$ is the clean image, $d(\mathbf{x})$ is the scene depth, $\mathbf{A}$ is the atmospheric light, and $\beta$ is the scattering coefficient.
To execute the attack, the authors follow a two-step process:
- Depth Estimation: An off-the-shelf depth estimator (MiDaS) extracts the scene depth $d(\mathbf{x})$ from the clean image.
- Optimization: A gradient descent method (MI-FGSM) is used to maximize the classifier's cross-entropy loss by tuning the physical parameters $\mathbf{A}$ and $\beta$.
The authors propose two variants of this attack:
- Homogeneous (HAdvHaze): Assumes $\mathbf{A}$ and $\beta$ are global constants across the entire image.
- Inhomogeneous (IAdvHaze): Allows pixel-wise tuning of $\mathbf{A}$ and $\beta$. To prevent the optimizer from creating unnatural artifacts, low-pass Gaussian filters are applied to the parameter maps during optimization, ensuring the synthesized haze remains locally smooth and visually realistic.
Experimental Results
The authors evaluated AdvHaze on standard classification benchmarks, including ImageNet (ILSVRC 2012) and the NIPS 2017 Adversarial Learning Development Set, targeting models such as DenseNet-161, ResNet-50, Inception-V3, and MobileNet-V2.
Attack Effectiveness
- White-box Success: The IAdvHaze variant achieves near 100% success rates across all tested models (e.g., 99.48% on ResNet-50 for ImageNet). In contrast, the restrictive HAdvHaze variant achieved only a ~5% success rate, suggesting that DNNs are relatively robust to simple, global contrast shifts.
- Transferability: IAdvHaze demonstrated highly competitive black-box transferability. When an attack generated on DenseNet-161 was transferred to ResNet-50 on the NIPS 2017 dataset, IAdvHaze achieved a 60.20% success rate, outperforming noise-based TI-MI-FGSM (55.78%).
Image Quality
IAdvHaze achieves significantly better Natural Image Quality Evaluator (NIQE) scores than noise-based baselines (lower is better). On the NIPS 2017 dataset against ResNet-50, IAdvHaze scored 5.79, while MI-FGSM scored 9.28 and FGSM scored 27.95.
Key Insights and Discussion
- Physical Models as Attack Vectors: By constraining adversarial perturbations to a physical rendering equation, the resulting images appear as natural photos taken in foggy conditions. The perturbation is large in terms of pixel distance but highly stealthy to the human eye.
- Orthogonal Vulnerabilities: Analysis of the Intersection over Union (IoU) of successful attacks revealed that AdvHaze and traditional noise-based attacks often fool models on different sets of images. This suggests they exploit entirely different blind spots in the network's learned representation.
Limitations and Future Work
The attack's realism depends heavily on the accuracy of the external depth estimator; inaccurate depth maps can result in physically impossible haze. Future work may involve combining multiple natural perturbations (e.g., haze, colorization, and noise) to create compound attacks that provide a more rigorous stress-test for robust DNNs.
Summary updated