---
title: Split Coordinate Attention (SCA)
url: https://www.emergentmind.com/topics/split-coordinate-attention-sca
type: topic
---

# Split Coordinate Attention (SCA)

Searching arXiv for the primary and related papers to ground the article in the current literature.
arXiv search query: 2507.20809
Split Coordinate Attention (SCA) is a plug-and-play attention module introduced for building footprint extraction in remote sensing imagery. It is designed to capture spatially remote interactions while retaining precise positional information by combining axis-wise global pooling with a split-attention scaffold derived from ResNeSt-style grouping. In the formulation reported for SCANet, SCA operates on features \(X \in \mathbb{R}^{C \times H \times W}\), partitions them into cardinal groups and splits, encodes each channel along the horizontal and vertical directions, generates per-split axis-attention vectors, synthesizes rank-1 two-dimensional attention maps through an outer product, and fuses the resulting modulated features through a residual pathway. Within the SCANet architecture, this mechanism is inserted into a 2D CNN encoder and paired with a UNet++ decoder, yielding the best IoU of \(91.61\%\) on the WHU Building Dataset and \(75.49\%\) on the Massachusetts Building Dataset [2507.20809].

## 1. Motivation and problem setting

SCA was proposed in the context of building footprint extraction, a task described as having great value in urban planning, land use, environmental protection and disaster assessment. The motivating difficulty is that both conventional and deep learning approaches continue to encounter significant challenges in remote sensing scenes containing multi-scale buildings, occlusions, adjacency effects, shadows, repetitive urban textures, and variability induced by sensor, meteorology, and topography [2507.20809].

The module is positioned against three limitations in prior attention designs. First, channel-only attention such as Squeeze-and-Excitation uses global average pooling,
\[
s_c = \frac{1}{H \cdot W}\sum_{h,w} X(c,h,w),
\]
which removes precise location and makes it difficult to refine boundaries and small structures. Second, spatial attention such as CBAM aggregates over two-dimensional maps with convolutional kernels that remain local, making long-range dependencies across roof edges and repeated block-level patterns harder to model explicitly. Third, Coordinate Attention retains positional information by axis-wise encoding, but uses a single pooling range per axis and a single gating path; in complex scenes with varied building sizes and densities, that single axis-encoding can underspecify remote interactions and channel diversity [2507.20809].

Accordingly, SCA is intended to satisfy two simultaneous requirements: long-range interaction, so that semantically connected but distant regions can influence each other, and fine positional detail, so that building edges, holes, and small structures can be delineated accurately. This suggests that SCA is best understood not as a generic saliency layer, but as a structured coordinate-aware mechanism tailored to dense prediction under strong geometric variability.

## 2. Formal definition and computational pathway

The input feature tensor is \(X \in \mathbb{R}^{C \times H \times W}\). Following a ResNeSt-style split-attention organization, SCA uses \(K\) cardinal groups and \(R\) splits per group, giving \(G = K \cdot R\) feature groups. For \(j \in \{1,\dots,G\}\), the per-group transformation is \(U_j = \mathcal{F}_j(X)\). Within each cardinal group \(k \in \{1,\dots,K\}\), the splits are first aggregated:
\[
\hat{U}^{k} = \sum_{j=R(k-1)+1}^{Rk} U_j,
\qquad
\hat{U}^{k} \in \mathbb{R}^{(C/K)\times H \times W}.
\]

SCA then decomposes global spatial pooling into two axis-wise average-pooling operations. The horizontal pooling kernel spans the entire width with kernel size \((H,1)\), and the vertical pooling kernel spans the entire height with kernel size \((1,W)\). For the \(c\)-th channel in group \(k\),
\[
s_{c}^{h,k}(h) = \frac{1}{W} \sum_{w=0}^{W-1} \hat{U}_{c}^{k}(h,w),
\qquad
s_{c}^{w,k}(w) = \frac{1}{H} \sum_{h=0}^{H-1} \hat{U}_{c}^{k}(h,w).
\]
These one-dimensional descriptors preserve exact position along one axis while aggregating global context along the other axis [2507.20809].

For each split \(i \in \{1,\dots,R\}\), SCA concatenates the two axis encodings and applies a lightweight per-split transformation:
\[
s_{i}^{k}(c) = \mathcal{G}^{c}_{i}\big([s_{c}^{h,k}, s_{c}^{w,k}]\big),
\qquad
s_{i}^{k}(c) \in \mathbb{R}^{H+W}.
\]
The result is split back into axis-specific components
\[
t_{i}^{h,k}(c) \in \mathbb{R}^{H},
\qquad
t_{i}^{w,k}(c) \in \mathbb{R}^{W},
\]
after which lightweight per-axis channel transforms with sigmoid gating produce
\[
u_{i}^{h,k}(c) = \sigma\big(\mathcal{S}^{h}_{c}(t_{i}^{h,k}(c))\big),
\qquad
u_{i}^{w,k}(c) = \sigma\big(\mathcal{S}^{w}_{c}(t_{i}^{w,k}(c))\big).
\]

The two one-dimensional gates are combined through an outer product to form a rank-1 two-dimensional attention map for each split:
\[
A_{i}^{k}(c,h,w) = u_{i}^{h,k}(c,h)\cdot u_{i}^{w,k}(c,w).
\]
The split-specific maps are then summed and used to modulate the aggregated group feature:
\[
V_{c}^{k}(h,w) = \hat{U}_{c}^{k}(h,w)\cdot \sum_{i=1}^{R} A_{i}^{k}(c,h,w).
\]
Finally, the \(K\) group outputs are concatenated,
\[
V = \mathrm{Concat}(\{V^{1},\dots,V^{K}\}) \in \mathbb{R}^{C \times H \times W},
\]
and fused residually:
\[
Y = V + \mathcal{T}(X).
\]

The reported computational pathway is therefore: axis global average pooling; concatenation of axis encodings; per-split transform \(\mathcal{G}_i\); split into axis-specific components; per-axis dense connections \(\mathcal{S}^{h}\) and \(\mathcal{S}^{w}\) with sigmoid gating; outer-product synthesis of two-dimensional gates; summation across splits; elementwise modulation of \(\hat{U}^{k}\); channel concatenation across cardinal groups; and residual addition [2507.20809].

## 3. Relationship to SE, CBAM, Coordinate Attention, and split attention

SCA is explicitly framed as an extension beyond channel-only attention, spatial attention, and Coordinate Attention. Relative to SE, the distinction is that SE produces a global channel gate applied uniformly over space, whereas SCA preserves coordinate information through axis-wise pooling and reconstructs a two-dimensional attention map by outer product. Relative to CBAM, SCA does not rely on a local convolutional spatial branch; instead, it encodes long-range interactions separately along each axis and yields coordinate-aware rank-1 attention maps. Relative to Coordinate Attention, SCA retains the basic axis-wise global pooling idea but places it inside a split-attention scaffold with per-split gating diversity rather than a single gating path [2507.20809].

Coordinate Attention, introduced earlier for efficient mobile network design, factorizes channel attention into two one-dimensional encoding processes that aggregate features along the two spatial directions. In its reported form, for \(X \in \mathbb{R}^{C \times H \times W}\), the module computes
\[
z^h_c(j) = \frac{1}{H}\sum_{i=1}^{H} X_c(i,j),
\qquad
z^v_c(i) = \frac{1}{W}\sum_{j=1}^{W} X_c(i,j),
\]
concatenates the resulting descriptors, applies a shared bottleneck transform, splits the result into two branches, and generates direction-aware gates that are multiplied with the input feature map [2103.02907]. In that sense, SCA inherits the coordinate-aware principle of CA while modifying the computational context in which it operates.

The principal deltas reported for SCA are fourfold. The pooling strategy remains axis-wise global average pooling, but SCA performs it per cardinal group. The splitting strategy is more elaborate, because SCA leverages \(K \times R\) grouping and introduces multiple per-split transformations and gates. The attention maps differ in that CA produces one pair of directional maps, while SCA produces per-split rank-1 maps \(A_i^k\) and sums them. The computational pathway also differs: SCA aggregates splits before gating, fuses them after gating, and integrates directly with split-attention residual blocks [2507.20809].

A common misconception is to treat SCA as merely a renaming of Coordinate Attention. The available formulations do not support that view. The two methods share axis-wise encoding, but SCA is defined by its operation inside a ResNeSt-style split-attention framework and by its multiple per-split gating paths, whereas CA uses a single shared bottleneck and two directional heads [2507.20809; 2103.02907].

## 4. Complexity, parameters, and implementation characteristics

For channels \(C\), spatial dimensions \(H\) and \(W\), \(K\) cardinal groups, and \(R\) splits per group, the axis-pooling cost per cardinal group is \(O((C/K)\cdot H \cdot W)\), which gives \(O(C \cdot H \cdot W)\) across all groups. Assuming lightweight \(1 \times 1\) channel mixing, the per-split transformations contribute \(O(R \cdot C \cdot (H+W))\), and the attention application contributes \(O(R \cdot C \cdot H \cdot W)\). The dominant reported time complexity is therefore
\[
O(C \cdot H \cdot W) + O(R \cdot C \cdot (H+W)) + O(R \cdot C \cdot H \cdot W) \approx O(R \cdot C \cdot H \cdot W),
\]
with moderate amortized overhead because \(R\) is small in practice. The space complexity is \(O(R \cdot C \cdot (H+W))\) for storing gates plus \(O(C \cdot H \cdot W)\) for the feature map, with the latter dominating [2507.20809].

The parameter analysis reported for the building extraction setting emphasizes that SCA uses small per-split transforms \(\mathcal{G}_{i}\) and per-axis dense connections \(\mathcal{S}^{h}\) and \(\mathcal{S}^{w}\), and does not introduce large channel MLPs. On the WHU ablation, a baseline ResNet + UNet++ model has \(68.0\)M parameters and IoU \(88.21\); adding SA gives \(73.2\)M parameters and IoU \(90.51\); adding CA gives \(79.2\)M parameters and IoU \(90.62\); and adding SCA with UNet++ gives \(73.2\)M parameters and IoU \(91.61\). Thus, SCA matches SA’s parameter count, is smaller than CA, and yields the best IoU in that comparison [2507.20809].

Implementation details reported for SCA consist of axis-wise global average pooling along width and height with kernels \((H,1)\) and \((1,W)\), lightweight per-split transforms \(\mathcal{G}_{i}\) realized as \(1 \times 1\) convolution or dense layers followed by an activation function applied after convolution, per-axis dense connections \(\mathcal{S}^{h}\) and \(\mathcal{S}^{w}\) with sigmoid gates, and a residual add \(\mathcal{T}(X)\) for shape matching. The reference implementation environment is PyTorch 1.13 with CUDA 11.8 on RTX 3090 [2507.20809].

## 5. Integration in SCANet for building footprint extraction

Within SCANet, SCA is inserted into a ResNeSt-like encoder with five stages. Each stage downsamples by \(2\), so an input of \(512 \times 512\) yields feature maps of \(256 \times 256\), \(128 \times 128\), down to \(16 \times 16\). SCA replaces split attention inside residual bottleneck blocks of the encoder and operates over cardinal groups and splits at the point where split attention would otherwise be applied. The decoder is UNet++, which uses nested skip connections to parse high-level features and support multi-scale fusion and boundary refinement from encoder stages augmented by SCA outputs [2507.20809].

The training setup reported for SCANet uses the WHU Building Dataset and the Massachusetts Building Dataset, both uniformly cropped to \(512 \times 512\). WHU contains \(4736\) training tiles, \(1036\) validation tiles, and \(2416\) test tiles with high-quality labels. MASS contains images of \(1500 \times 1500\), cropped to \(512 \times 512\), with \(137\) training images, \(4\) validation images, and \(10\) test images, and is described as having lower ground resolution and label accuracy relative to WHU. Optimization uses Binary Cross Entropy + Dice Loss, AdamW with initial learning rate \(1\mathrm{e}{-3}\), IoU validation after each epoch, and a schedule that halves the learning rate if IoU does not improve for \(10\) epochs. The batch size is \(16\) for WHU and \(4\) for MASS [2507.20809].

This architectural configuration situates SCA as the encoder-side mechanism for semantic feature extraction, while UNet++ supplies the decoder-side multi-scale aggregation. A plausible implication is that the reported gains attributed to SCA arise not only from improved long-range coordinate-aware modeling in the encoder, but also from the compatibility of those enriched features with nested skip fusion in the decoder.

## 6. Empirical performance, robustness, and scope

The reported quantitative results place SCANet ahead of recent state-of-the-art methods on both benchmark datasets. On WHU, SCANet achieves IoU \(91.61\), Precision \(95.92\), Recall \(95.67\), and F1 \(95.79\), outperforming ConvBNet at IoU \(91.12\) and BCTNet at IoU \(91.15\), for an IoU improvement of \(+0.46\%\) over the prior state of the art. On MASS, SCANet achieves IoU \(75.49\), Precision \(88.38\), Recall \(84.30\), and F1 \(86.29\), corresponding to an IoU improvement of \(+0.45\%\) over BCTNet at IoU \(75.04\) [2507.20809].

The ablation results on WHU attribute a substantial part of this improvement to SCA itself. The baseline ResNet + UNet++ obtains IoU \(88.21\) and F1 \(93.63\); adding SA yields IoU \(90.51\) and F1 \(95.02\); adding CA yields IoU \(90.62\) and F1 \(95.06\); SCA with UNet yields IoU \(90.41\) and F1 \(94.91\); and SCA with UNet++ yields IoU \(91.61\) and F1 \(95.79\). Across ResNet-14, ResNet-26, ResNet-50, and ResNet-101 backbones, SCANet is reported to yield consistent IoU gains over both ResNeSt and ResNet + CA while keeping parameters equal to the corresponding ResNeSt setup [2507.20809].

Qualitative analyses further support the proposed mechanism. Grad-CAM++ visualizations show stronger focus on buildings, especially small and dense structures, and improved handling of edges and holes such as inner courtyards. Diagonal pixel similarity matrices from Stage 4 show an expanded effective receptive field and stronger long-range spatial correlations than plain ResNet or ResNeSt [2507.20809].

The reported robustness claims are that SCANet works well across dense small buildings, sparse medium buildings, large continuous roofs, shadows, and visually similar materials. At the same time, the paper identifies several limitations. It does not report sensitivity analyses for \(K\) and \(R\); SCA remains CNN-centric despite the possibility that transformer backbones may further improve remote dependency modeling; and the method may still face difficulties under extreme occlusions or very low-resolution imagery where fine positional encoding alone is insufficient [2507.20809].

Beyond building extraction, the authors state that SCA’s axis-wise coordinate encoding and split-fusion make it applicable to medical segmentation such as vessels, road extraction in aerial images, instance segmentation with thin structures, and other edge-sensitive applications. This suggests that the defining contribution of SCA is not restricted to a particular dataset, but to a design pattern that combines coordinate-aware pooling with split-attention diversity in a form intended for 2D CNN-based dense prediction [2507.20809].

Source: https://www.emergentmind.com/topics/split-coordinate-attention-sca