Abstract
Semantic segmentation models are increasingly vulnerable to adversarial attacks, yet generating transferable examples in black-box settings remains a significant challenge. This paper introduces SegTrans, a framework designed to break the "contextual shield" of segmentation models. By disrupting local semantic regions and preventing overfitting to surrogate model features, SegTrans achieves an 8.55% higher success rate and over 100% better computational efficiency than existing state-of-the-art methods.
Introduction
Adversarial attacks—small, imperceptible perturbations designed to deceive neural networks—are well-documented in image classification. However, attacking semantic segmentation models, which perform pixel-level classification, is considerably more complex. The authors identify two primary obstacles to effective black-box attacks:
- The Tight Coupling Phenomenon: Segmentation models leverage surrounding context to refine predictions. If an attack only perturbs a specific object, the model often uses the unperturbed background context to "correct" its prediction.
- Feature Fixation: Adversarial examples generated on a "surrogate" model often overfit that specific architecture's quirks. Because different architectures (e.g., FCN vs. DeepLab) prioritize different features, these perturbations fail to transfer to unseen target models.
Methodology: The SegTrans Framework
The SegTrans framework introduces two innovative modules to overcome these hurdles:
Multi-region Perturbation Activation
Instead of optimizing a perturbation for the entire image globally, SegTrans divides the input into a grid and randomly selects multiple non-overlapping rectangular regions as attack targets. This strategy intentionally disrupts the global semantic coherence that models use as a defense, forcing the generated attack to remain effective even in the absence of full contextual support.
Semantic Remapping
To mitigate "feature fixation," SegTrans generates multiple "enhanced" versions of the input image, each preserving different local semantic details. The adversarial perturbation is then optimized across all these diverse versions simultaneously. This prevents the attack from becoming overly dependent on the specific global feature distribution of the surrogate model, thereby enhancing its transferability.
Experimental Results
The researchers evaluated SegTrans on the PASCAL VOC 2012 and CITYSCAPES benchmarks. The results demonstrate significant improvements over previous methods:
- Superior Transferability: SegTrans outperformed the previous state-of-the-art (EBAD) by an average of 8.55% in Attack Success Rate (ASR) across various model combinations.
- Robustness to Defenses: The attack remained potent against models protected by adversarial training, model pruning, and input corruption.
- Efficiency: Unlike many transfer attacks that require expensive model ensembles, SegTrans achieves superior results using only a single surrogate model, resulting in a 100% boost in computational speed.
Conclusion
SegTrans highlights that while semantic context is a strength for model accuracy, it can be exploited to create more robust adversarial examples. By focusing on local semantic information rather than global features, SegTrans provides a highly efficient and effective method for testing the security of segmentation models in real-world, black-box scenarios. Future work will explore extending this approach to other complex vision tasks like object detection.
Summary updated