[Paper Review] A Unified Spatial Alignment Framework for Highly Transferable Transformation-Based Attacks on Spatially Structured Tasks
The paper introduces Spatial Alignment (SA) to synchronize labels with spatial transformations, enabling end-to-end transformation-based adversarial attacks (TAAs) on structured tasks like segmentation and detection, forming the Spatial Alignment Framework (SAF).
Transformation-based adversarial attacks (TAAs) demonstrate strong transferability when deceiving classification models. However, existing TAAs often perform unsatisfactorily or even fail when applied to structured tasks such as semantic segmentation and object detection. Encouragingly, recent studies that categorize transformations into non-spatial and spatial transformations inspire us to address this challenge. We find that for non-structured tasks, labels are spatially non-structured, and thus TAAs are not required to adjust labels when applying spatial transformations. In contrast, for structured tasks, labels are spatially structured, and failing to transform labels synchronously with inputs can cause spatial misalignment and yield erroneous gradients. To address these issues, we propose a novel unified Spatial Alignment Framework (SAF) for highly transferable TAAs on spatially structured tasks, where the TAAs spatially transform labels synchronously with the input using the proposed Spatial Alignment (SA) algorithm. Extensive experiments demonstrate the crucial role of our SAF for TAAs on structured tasks. Specifically, in non-targeted attacks, our SAF degrades the average mIoU on Cityscapes from 24.50 to 11.34, and on Kvasir-SEG from 49.91 to 31.80, while reducing the average mAP of COCO from 17.89 to 5.25.
Motivation & Objective
- Identify why traditional TAAs fail on spatially structured tasks (e.g., segmentation, detection).
- Propose Spatial Alignment (SA) to synchronize labels with spatial transformations.
- Integrate SA into a unified Spatial Alignment Framework (SAF) for structured tasks.
- Demonstrate SAF's effectiveness across semantic segmentation and object detection.
- investigate how SAF changes attack transferability across diverse backbones and datasets.
Proposed method
- Decompose transformations into non-spatial and spatial components to analyze misalignment.
- Derive an SA-enabled gradient formulation by applying the spatial transform to labels: bar{μ} = (1/N) Σ ∇_{x_adv} J(f_s(T(x_adv)), T_s(y)) (Equation 8).
- Develop Algorithm 1 Spatial Alignment to implement SA within iterative TAAs (including momentum, multiple transformation counterparts N, and iteration L).
- Implement SAF across semantic segmentation and object detection by transforming labels in sync with inputs (label maps for segmentation; recomputing bounding boxes for detection).
- Evaluate SAF with multiple TAAs (DEM, SIA, BSR, I-C) on Cityscapes, Kvasir-SEG, and MS COCO.
- Demonstrate that SA eliminates spatial misalignment and enhances transferability of TAAs to structured tasks.

Experimental results
Research questions
- RQ1Why do end-to-end TAAs underperform on spatially structured tasks compared to non-structured tasks?
- RQ2Can transforming labels synchronously with inputs (Spatial Alignment) enable existing TAAs to work effectively on segmentation and detection?
- RQ3Does SAF improve transferability of diverse TAAs across semantic segmentation and object detection benchmarks?
- RQ4How does SAF perform under non-targeted vs targeted attacks and under common input preprocessing defenses?
Key findings
- SAF dramatically improves attack transferability on structured tasks, reducing average performance metrics compared to non-SA baselines (e.g., Cityscapes mIoU from 24.50 to 11.34; Kvasir-SEG from 49.91 to 31.80; MS COCO mAP from 17.89 to 5.25).
- For non-targeted attacks on Cityscapes, SAF-based TAAs outperform state-of-the-art baselines across various backbones and detectors.
- Targeted attacks show SAF restoring effectiveness where traditional TAAs nearly fail under spatial misalignment.
- SAF maintains effectiveness under input preprocessing defenses (JPEG, BitR) where non-SA variants degrade more.
- Across semantic segmentation and object detection, SAF enables end-to-end TAAs to surpass prior performance limits on structured tasks.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.