Next Article in Journal
Integrating Multi-Source Geoscientific Data via Geologically Constrained Feature Engineering for Gold Prospectivity Mapping: A Case Study of Jiaoxibei, China
Previous Article in Journal
Geometry-Aware InSAR Feedback Purification Sampling for Negative Sample Selection in Landslide Susceptibility Assessment: A Case Study in the Shigatse Region
Previous Article in Special Issue
A Feature-Optimized Deep Learning Framework for Mapping and Spatial Characterization of Tea Plantations in Complex Mountain Landscapes
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

SPFMamba: A Mamba-Based Network with Semantic Prompt and Frequency-Adaptive Fusion for Remote Sensing Image Semantic Segmentation

College of Astronautics, Nanjing University of Aeronautics and Astronautics, Nanjing 211106, China
*
Author to whom correspondence should be addressed.
Remote Sens. 2026, 18(15), 2592; https://doi.org/10.3390/rs18152592
Submission received: 24 June 2026 / Revised: 1 August 2026 / Accepted: 3 August 2026 / Published: 5 August 2026

Highlights

What are the main findings?
  • SPFMamba builds upon Mamba and combines semantic prompt global–local modeling with frequency-adaptive feature fusion to segment high-resolution remote sensing imagery.
  • The proposed SPGLM block enhances semantic consistency and spatial continuity through prompt-guided global scanning and multidirectional local perception, while the HFAFM strengthens high-frequency details to improve boundary delineation and small-scale object representation.
What are the implications of the main findings?
  • Experiments on three public datasets show that SPFMamba achieves strong segmentation performance with only 17.85 M parameters, demonstrating its effectiveness for complex land-cover segmentation.
  • This study offers an efficient Mamba-based global–local modeling and semantic-guided detail fusion paradigm that can be extended to fine-grained remote sensing image interpretation tasks.

Abstract

Modern remote sensing images (RSIs) provide increasingly fine spatial detail, making pronounced scale variations and complex spatial distributions of land-cover classes more apparent and thereby increasing the difficulty of semantic segmentation. Recent remote sensing semantic segmentation methods therefore have increasingly adopted Transformer- and Mamba-based models to improve global contextual modeling. However, these models often suffer from intraclass inconsistency and interclass feature confusion, leading to fragmented object structures and imprecise boundary delineation. Accordingly, we develop SPFMamba, an architecture built around Mamba that combines semantic prompting with frequency-adaptive fusion, thereby improving global context modeling and fine-detail representation. During feature reconstruction, we propose a semantic prompt global–local Mamba (SPGLM) block to jointly model global semantic information and local spatial cues. Its parallel semantic prompt global and multidirectional local perception branches promote semantically coherent and spatially continuous feature distributions, thereby effectively preserving the structural integrity of ground objects. To further alleviate cross-level semantic discrepancies and strengthen the representation of small-scale targets, we design a high-frequency adaptive fusion module (HFAFM). It first refines high-frequency responses in shallow layers to retain small-scale object structures and boundary cues. Subsequently, deep semantic priors guide local cross-attention, allowing low-level spatial cues to be selectively integrated with deeper semantic representations. Evaluations across ISPRS Vaihingen, ISPRS Potsdam, and OpenEarthMap datasets show that SPFMamba delivers favorable segmentation accuracy with only 17.85 M parameters, while showing improved preservation of object structures and fine spatial details in qualitative comparisons.

1. Introduction

Recent progress in satellite and unmanned aerial vehicle imaging has made high-resolution remote sensing imagery (HRSIs) increasingly accessible, thereby facilitating Earth observation and scene analysis. Semantic segmentation constitutes a core task in RSI interpretation [1,2], focusing on fine-grained pixel-level classification [3]. This technique has been widely used in various practical scenarios, including military scene analysis [4], environmental protection [5], natural disaster monitoring [6], and land-use analysis [7]. Earlier machine-learning approaches [8], represented by random forests [9,10], support vector machines [11], and conditional random fields [12], generally exhibit limited effectiveness in semantic segmentation of HRSIs.
Deep neural networks have substantially advanced HRSI semantic segmentation by automatically learning multilevel and discriminative visual representations from input imagery [13,14]. Currently, deep learning methods based on convolutional neural networks (CNNs) and Transformers are the most widely used approaches [15,16]. Fully convolutional networks (FCNs) [17] pioneered the application of CNNs to image segmentation, achieving remarkable performance. However, the loss of spatial details during downsampling often results in coarse segmentation results. Subsequently, U-Net [18] employed a symmetric encoder–decoder structure, in which skip connections compensate for missing spatial details and improve segmentation accuracy. Nevertheless, traditional skip connections are still limited in bridging semantic gaps and scale discrepancies across multi-level features. In response, various feature fusion strategies have been proposed to improve representation capability. For instance, the attention feature fusion (AFF) module [19] introduces a unified attention mechanism to effectively mitigate semantic and scale inconsistencies during cross-level feature aggregation. Gradient decoupling guided network (GDGNet) [20] designs the global–local context fusion (GLCF) module comprising two parallel branches, through which low- and high-level features are adaptively combined to enhance feature representation.
Unlike natural images, RSIs contain large-scale objects with significant intraclass texture variations. Relying solely on local contextual information for pixel-wise classification leads to fragmented object structures. Different land-cover classes may exhibit high appearance similarity in local regions, while fine details of small-scale objects and boundary regions are often degraded, as shown in Figure 1, further increasing the difficulty of fine-grained segmentation. To address the difficulty of precisely delineating boundaries between different classes, Adaptive Patch Reshaping (APR) [21] jointly partitions the input image and its corresponding label patches and reassigns the resulting subregions to appropriate classes according to an information-theoretic criterion. From the perspective of model-level feature learning, effectively extracting global and local contextual information remains crucial for accurate pixel-level class representation. Transformer-based methods [22,23] have been widely adopted, leveraging self-attention operations to effectively capture global interactions [24] and significantly enhance segmentation performance. However, excessive reliance on global interactions may induce interference among similar features across different objects, thereby reducing feature discriminability and causing feature confusion [25], resulting in incomplete object structures and blurred boundaries. Furthermore, Transformer-based methods often incur high computational costs. Existing CNN- and Transformer-based approaches still face challenges in complex RSI semantic segmentation tasks.
By building on state space models (SSMs), Mamba provides an efficient mechanism for capturing long-range dependencies while keeping the computational cost proportional to the sequence length. This efficiency makes it well suited to semantic segmentation of RSIs. Vision Mamba [26] pioneered the application of bidirectional Mamba blocks in vision tasks, while VMamba [27] introduced the visual state-space (VSS) blocks and 2-D selective scanning (SS2D) modules to facilitate contextual information interaction and modeling through multidirectional scanning paths. Recent studies have extended Mamba-based architectures to a broad range of remote sensing applications, ranging from panchromatic sharpening [28], semantic segmentation [29,30,31], change detection [32], image fusion [33] and image classification [34,35]. For image fusion tasks, representative methods such as RFN-Nest [36] and SDNet [37] enhance the information preservation and detail representation of fused images by integrating complementary information from multiple source images. More recently, spatial–frequency joint enhancement mechanisms have been introduced into Mamba-based image fusion. SFMFusion [33] incorporates spatial–frequency enhancement into the Mamba block and employs a dynamic fusion Mamba block for feature fusion. However, current Mamba-based segmentation methods still encounter certain limitations. Most existing approaches directly employ VSS blocks containing SS2D modules for feature extraction, failing to adequately address multiscale local interactions and the inherent constraints of causal scanning sequences in complex HRSI scenes.
In response to these limitations, we present SPFMamba, a segmentation architecture centered on Mamba that leverages semantic prompting to guide global context modeling and adaptively integrates enhanced high-frequency details with deep semantic information. SPFMamba comprises two primary modules: the semantic prompt global–local Mamba (SPGLM) block and the high-frequency adaptive fusion module (HFAFM). Specifically, SPGLM introduces semantic prompts into the selective scanning process to facilitate global context modeling and employs strip convolutions to capture multidirectional local information, thereby strengthening both global dependency modeling and local feature extraction. The HFAFM leverages a high-frequency extraction mechanism and pixel-wise cross-attention to adaptively fuse shallow details guided by deep semantic features, thereby strengthening small-scale object representation and boundary delineation. The main contributions are threefold:
(1)
SPFMamba is developed as a segmentation architecture centered on Mamba for HRSIs segmentation. It extracts features with high intraclass consistency and interclass discriminability while maintaining a relatively small model size, thereby producing more complete object structures and clearer segmentation boundaries.
(2)
The SPGLM block is proposed, combining learnable prompt-guided global modeling with multidirectional local perception to mitigate the inherent causal constraints of sequential scanning and jointly capture global semantic information and local spatial details.
(3)
The HFAFM is introduced to enhance shallow high-frequency details in the frequency domain and achieve deep semantic-guided adaptive fusion via cross-attention, thereby reducing cross-level semantic inconsistency and alleviating the loss of small-object details.

2. Related Work

2.1. CNN- and Transformer-Based Approaches for Semantic Segmentation

After FCNs [17] were introduced, CNN-based architectures became the dominant framework for semantic segmentation. Nevertheless, their decoder design tends to neglect spatial information in 2-D images, often producing severely fragmented segmentation results. To mitigate this problem, U-Net [18] adopted a symmetric encoder–decoder architecture. Shallow spatial cues are transferred to the decoder and combined with high-level semantic representations through long skip connections. This design helps produce feature maps with both fine spatial resolution and strong semantic information, which are essential for accurate semantic segmentation. Nevertheless, such feature connection mechanisms are usually unaware of whether the fusion is appropriately tailored to the representation of specific objects.
To enhance feature fusion capabilities, attention mechanisms have been widely incorporated to facilitate adaptive weighted fusion. Selective kernel network (SKNet) [38] proposes a nonlinear fusion strategy based on the channel attention mechanism. However, it primarily focuses on soft feature selection within a single feature level, failing to address feature fusion across layers in skip connections. To this end, the AFF module [19] presents a general attention-based fusion framework designed to alleviate semantic and scale inconsistencies during cross-layer feature aggregation. GDGNet [20] leverages feature weighting and attention mechanisms to develop a GLCF module, enabling low-level spatial cues to be adaptively combined with high-level semantic representations.
As the spatial resolution of RSIs increases, objects exhibit strong local similarities, rendering global contextual information essential for accurate segmentation. By introducing transformers into networks [39,40,41,42] for global context extraction, researchers have addressed the inherent limitations associated with restricted local receptive fields. UNetFormer [43] constructs its decoder with a global–local transformer block (GLTB) where parallel global and local branches are used to integrate multiscale contextual information and spatial details. CST-UNet [44] employs two parallel encoders based on CNNs and Swin Transformer to extract texture details and global semantics. Multilevel context-aware segmentation network (MCSNet) [45] adopts the CSWin Transformer as its backbone, utilizing its cross-shaped window attention mechanism to model global context. CGGLNet [46] introduces a category-guided supervised transformer module (CGSTM) to estimate potential pixel-class information, thereby enhancing intraclass aggregation and interclass separability. Transformer architectures are effective at modeling global context; however, their application to HRSIs incurs considerable computational overhead and may introduce feature aliasing. Moreover, during cross-layer feature fusion, deep semantic features can overwhelm shallow spatial details, leading to imbalanced feature representations and making small objects more difficult to segment accurately.
In the present study, an HFAFM is proposed to enhance discriminative feature learning for small objects. By introducing high-frequency enhancement mechanisms into both spatial and channel branches, the proposed module strengthens edge and texture information in shallow features and further leverages a pixel-wise cross-attention mechanism to achieve semantic-guided detail completion. Consequently, this approach helps preserve shallow detail cues and enhances the representation of subtle structures in small objects, thereby mitigating spatial-detail degradation caused by downsampling while maintaining semantic consistency in RSIs.

2.2. Mamba-Based Semantic Segmentation Methods

Inspired by Mamba’s capacity for linear-complexity global dependency modeling, researchers have recently introduced Mamba into the vision domain as an efficient alternative to conventional convolutional and Transformer-based architectures. Specifically, Vision Mamba [26] and VMamba [27] achieve efficient visual representation learning by incorporating a bidirectional SSM and an SS2D module, respectively.
Following the emergence of vision Mamba models, researchers began applying them to the semantic segmentation of RSIs. Existing Mamba-based methods are generally divided into two categories. The first category mainly adopts Mamba-based encoder architectures. RS3Mamba [47] incorporates VSS blocks into a complementary branch, providing global contextual cues for the convolutional main branch. PPMamba [29] constructs its encoder–decoder architecture using ResBlocks and PPMamba modules, enabling each local region to selectively incorporate richer global contextual information. WCMamba [48] enhances feature representation by integrating wavelet transforms and proposes a pyramid wavelet convolution Mamba module (PWCMamba) to improve multiscale feature modeling and global–local context integration. The second group utilizes Mamba-based decoders. UMFormer [49] presents a heterogeneous encoder–decoder design, in which convolutional layers form the encoder, a Transformer operates at the intermediate stage, and Mamba modules constitute the decoder. Its global–local vision state-space (GL-VSS) block supplements global representations with local contextual cues. GLVMamba [50] enhances global and local context aggregation in a Mamba decoder by incorporating a global–local VSS (GLVSS) block. PyramidMamba [30] incorporates a pyramid fusion Mamba (PFM) module into the decoder, reducing semantic redundancy in feature fusion.
In this paper, SPGLM is proposed to efficiently bolster the global context interaction capabilities of the network. Specifically, SPGLM introduces a semantic prompt-guided selective scanning mechanism in which learnable prompts are embedded into Mamba’s state-space formulation to effectively mitigate inherent causal limitations and information-forgetting issues in conventional SSMs. Additionally, SPGLM integrates an asymmetric convolution-based local branch, facilitating collaborative modeling of elongated object geometries and multiscale spatial details in complex scenes while maintaining linear computational complexity. Consequently, this approach facilitates more consistent segmentation predictions for semantically identical pixels or regions distributed across different spatial locations from a global perspective.

3. Methodology

This section presents the architecture and key components of SPFMamba. Section 3.1 outlines the overall design of SPFMamba. Section 3.2 and Section 3.3 detail the SPGLM block and HFAFM, respectively. Section 3.4 presents the loss function.

3.1. Network Architecture

Figure 2 depicts the overall design of SPFMamba. The network follows an encoder–decoder layout with skip connections. A lightweight ResNet-18 was adopted as the backbone, with four ResBlock stages progressively encoding multiscale spatial representations. During decoding, the SPGLM block was introduced to strengthen global–local contextual interaction in the feature reconstruction process. Within the intermediate skip connections, a selective feature fusion module (SFM) was incorporated to perform a selective weighted sum operation, aggregating features derived from ResBlocks with those generated by the SPGLM block. Subsequently, the HFAFM was introduced at the final decoder skip connection, where deep semantic information produced by the SPGLM block was integrated with early spatial cues extracted by the first ResBlock to better capture fine-grained structures in urban scenes. The reconstructed feature maps are finally processed by a segmentation head, comprising bilinear interpolation and ReLU activation to recover the input resolution and generate the final segmentation results. The weighted sum operation of the SFM is formulated as follows:
W 1 , W 2 = Softmax ( [ σ ( Conv 1 × 1 ( GAP ( F 1 ) ) ) , σ ( Conv 1 × 1 ( GAP ( F S P G L M ) ) ) ] )
F S F M = W 1 F 1 + W 2 F S P G L M
where denotes element-wise multiplication; F1 denotes the channel-aligned feature maps extracted from the ResNet backbone; FSPGLM denotes the feature maps obtained by 2× upsampling the output of the SPGLM block; Conv 1 × 1 ( ) is a 1 × 1 convolution, GAP ( ) indicates global average pooling.

3.2. Semantic Prompt Global–Local Mamba Block

With the continuous improvement of RSI spatial resolution, land-cover objects exhibit increasingly rich, fine-grained texture details, offering neural networks greater potential for learning discriminative representations. However, this also increases the risk of feature overlap among different categories, thereby exacerbating interclass confusion. Moreover, in complex scenarios—such as roads occluded by shadows cast by high-rise buildings—relying solely on local information often fails to provide sufficient context for accurate object recognition. By leveraging scene-level contextual cues, the network can characterize global spatial organization, such as road network continuity and holistic building contours, thereby effectively reducing misclassifications. Therefore, simultaneously modeling long-range global dependencies and multiscale local features is essential to obtain representations characterized by strong intraclass consistency and enhanced interclass separability.
As illustrated in Figure 3b, the SPGLM block is designed to address the above challenges. In the global branch, the semantic-guided selective scanning 2D (SGSS2D) module injects semantic prompts into the output matrix of the SSM, facilitating semantic-aware adaptive retrieval. These learnable prompts can represent specific sets of pixels sharing similar semantic attributes, which effectively compensates for the loss of contextual details caused by sequential scanning, thereby establishing consistent feature associations across long-range spatial distances. In the local branch, asymmetric convolutions are employed to extract directional geometric details, thereby capturing fine-grained local representations of multiscale targets. By integrating global context and local structural details, SPGLM significantly enhances semantic segmentation performance for RSIs. The following sections detail the key components of the SPGLM block.
Compared with the original VSS block architecture (Figure 3a) [27], the proposed SPGLM is structurally optimized to leverage the advantage of SSMs in long-range dependency modeling with linear computational complexity [51]. The input feature x B × H × W × C was processed by two parallel global and local branches, as shown in Figure 3b, where B, H, W and C denote the batch size, feature-map height, feature-map width, and channel dimension, respectively. The channel dimension C was set to 512, 256, and 128 at the three decoder stages, respectively. In the global branch, the input feature first underwent layer normalization (LN) and linear projection to expand the channel dimension to 2C. The projected representation was then refined by a depthwise separable convolution followed by SiLU activation, and the resulting feature was passed to the SGSS2D module. Inspired by MambaIRv2 [51], the SGSS2D enhances the original SS2D by modifying the output matrix C S S M L × d of the SSM (where L = HW denotes the flattened image sequence length and d represents the number of hidden states). Specifically, learnable semantic prompts were injected into matrix CSSM to mitigate the lack of adaptive semantic awareness in the original SS2D when processing complex remote sensing scenes. This design facilitates the global querying of relevant pixels sharing similar semantic attributes across the image.
As shown in Figure 3c, we first adopt a low-rank decoupling strategy to construct a prompt pool P T × d comprising T learnable semantic prompts:
P = M N , M T × r , N r × d , r min T , d
where N denotes the semantic basis matrix used to construct prompts. M is the coefficient matrix that combines the basis features within a specific block to generate instance-relevant prompts. r denotes the internal rank. This low-rank parameterization lowers the parameter overhead while improving the representation capacity of the prompts.
To achieve pixel-wise adaptive prompt selection, given the input feature x L × C was projected from C to T channels via a linear layer. A LogSoftmax function was then applied to estimate the sampling probability of each prompt in P with respect to the current input x i ( i = 1 , 2 , , L ) . Gumbel-Softmax trick [52] was then utilized to generate a routing matrix R L × T . Subsequently, instance-specific prompts were obtained through matrix multiplication P = R P , where P R L × d . Finally, the generated instance-specific prompt P was incorporated into the output matrix CSSM via residual addition (Figure 3d). The corresponding formulation is expressed as:
A ¯ , B ¯ = exp ( Δ A ) , Δ B
h t = A ¯ h t 1 + B ¯ x t
y t = ( C S S M + P ) h t + D x t
y = y 1 , y 2 , , y L
where Δ denotes the timescale parameter used to discretize the continuous system parameters Δ A and Δ B into their discrete counterparts A ¯ and B ¯ ; xt and yt denote the input feature and output feature at time step t; h t d signifies the hidden state at time step t; CSSM is the output matrix; P R L × d indicates the generated instance-specific semantic prompt; D represents the feed-forward projection parameters; and L denotes the flattened image sequence length.
By incorporating prompt learning into the four-directional scanning paths, the SGSS2D module enables each query pixel to attend to regions sharing similar semantic attributes across the image via prompts. This mechanism facilitates adaptive aggregation of global contextual information and promotes deep feature interaction, thereby significantly enhancing intraclass consistency in land-cover representation. Subsequently, the one-dimensional sequence features extracted along different scanning directions were reshaped and reorganized into a 2-D representation aligned with the input spatial resolution. This process constructs a semantically guided global receptive field, facilitating effective global context modeling. The overall formulation is expressed as:
X g l o b a l = LN ( SGSS 2 D ( SiLU ( DW Conv ( Linear ( LN ( X ) ) ) ) ) )
where Xglobal denotes the output feature of the global branch; Linear ( ) denotes linear projection; LN ( ) represents layer normalization; SiLU ( ) signifies the activation function; DW Conv ( ) indicates depthwise separable convolution; and SGSS 2 D ( ) refers to the SGSS2D module.
In the local branch, parallel horizontal and vertical strip convolutions were adopted to model the diverse geometric patterns and prominent directional properties of RSI objects. This design also mitigates the weakness of SSMs in fine-grained local feature representation due to their limited inductive bias [53,54]. This design employs orthogonal convolutional paths to effectively capture directional geometric patterns, thereby enhancing multiscale spatial detail representation. The process is formulated as follows:
X l o c a l = CBR 3 × 3 ( CBR 3 × 1 ( CBR 1 × 1 ( X ) ) + CBR 1 × 3 ( CBR 1 × 1 ( X ) ) )
where CBR a × b ( ) represents a composite operator consisting sequentially of an a × b convolution, batch normalization and ReLU activation.
Finally, the global semantic features Xglobal and the local geometric detail features Xlocal were fused via channel-wise concatenation. A convolutional layer is subsequently applied to facilitate feature interaction and channel alignment, further enriching the semantic representation and yielding fine-grained global–local contextual features. The fusion process is defined as follows:
X S P G L M = X + CBR 3 × 3 ( Concat ( X g l o b a l , X l o c a l ) )
where XSPGLM denotes the output feature of the SPGLM block; Concat ( ) represents channel concatenation.

3.3. High-Frequency Adaptive Fusion Module

RSIs contain abundant fine-grained details. However, small-scale objects (e.g., vehicles) often occupy only a few pixels, which makes their characteristics vulnerable to distortion or suppression from background clutter during downsampling. To mitigate this issue, skip connections are widely adopted to integrate multilevel features. Features at different depths exhibit significant representational disparities: shallow features maintain detailed spatial information but lack strong semantic representation, while deep features offer improved semantic discriminability at the cost of fine spatial structures. To effectively integrate shallow spatial features with deep semantic content, existing approaches often utilize element-wise addition or channel concatenation. These fusion strategies usually rely on fixed weighting schemes and cannot adaptively adjust feature contributions according to image content, limiting the complementary interaction between spatial details and semantic information. To address these limitations, we introduced HFAFM, illustrated in Figure 4. This module explicitly enhances high-frequency details and introduces pixel-level local cross-attention to achieve cross-layer alignment and feature fusion guided by deep semantic information. By integrating shallow spatial information with deep semantics, HFAFM improves the discriminability and consistency of small-scale objects and structural features.
Specifically, the HFAFM comprises two submodules: the multiscale high-frequency enhancement feature module (MHFEM) and the local-window cross-attention adaptive fusion module (LCFM). As illustrated in Figure 4a, the features output by the first ResBlock were fed into the MHFEM for small-object detail enhancement. MHFEM employs channel and spatial branches to selectively refine fine-grained feature responses. Since small-scale objects occupy only a limited proportion of the original feature maps, directly computing weights from global features is susceptible to interference from low-frequency homogeneous backgrounds. Therefore, we employ a high-pass filter M that suppresses low-frequency components while preserving high-frequency information [55,56,57], as defined below:
M ( i , j ) = 0 , i < α H , j < α W 1 , otherwise , α 0 , 1
where α is set to 0.3 and controls the suppression range of low-frequency components, thereby reducing low-frequency content while retaining high-frequency information associated with object boundaries and textures. H and W denote the height and width of the image, respectively.
In the channel branch, to enhance channels containing critical detail information, a two-dimensional discrete cosine transform (DCT) first mapped the input feature Fres to frequency-domain coefficients. The high-pass filter M was then applied, followed by the inverse DCT (IDCT) to restore the feature to the spatial domain, yielding a preliminary enhanced feature Fhigh_c. Considering that different channels contribute unequally to detail representation, the channel-wise statistics Favg and Fmax were derived from Fhigh_c through average- and max-pooling operations with an output size of k × k, where k is set to 16. These statistics were further fused to generate channel attention weights, which were multiplied with Fres to obtain F c h a n n e l . The process is described below:
F avg = h = 1 k w = 1 k [ ReLU ( Avg Pool k ( F h i g h _ c ) ) ] h , w
F max = h = 1 k w = 1 k [ ReLU ( Max Pool k ( F h i g h _ c ) ) ] h , w
F c h a n n e l = F res σ ( CBR 1 × 1 ( CBR 1 × 1 ( F avg ) + CBR 1 × 1 ( F max ) ) )
where Max Pool k ( ) and Avg Pool k ( ) denote max pooling and average pooling with an output size of k × k, respectively.
Within the spatial branch, high-pass filters were applied in parallel to the input feature map and its downsampled feature to capture multiscale structural information of small-scale targets. The frequency-domain features at the two scales were fused and subsequently mapped to the spatial domain via IDCT to yield a spatial attention mask Mspatial. Multiplying this mask by the original feature map enhances feature responses in high-frequency salient regions, enhancing the edge and texture representations of small objects. This procedure is formulated as follows:
M s p a t i a l =   IDCT ( DCT ( F r e s ) M + U p 2 × ( DCT ( Down 2 × ( F r e s ) ) M ) )
F s p a t i a l = F r e s M s p a t i a l
where DCT ( ) and IDCT ( ) represent the discrete cosine transform and its inverse, respectively. Down 2 × ( ) and U p 2 × ( ) indicate the 2× downsampling and upsampling implemented by bilinear interpolation.
To adaptively combine the spatial and channel representations, a gated fusion mechanism was introduced at the final stage. Specifically, Fspatial and Fchannel were concatenated to dynamically generate an input-dependent gating weight g, facilitating the weighted aggregation of both feature streams:
g = sigmoid ( CB 1 × 1 ( Concat ( F s p a t i a l , F c h a n n e l ) ) )
F H F E M = Re LU ( GN ( Conv 3 × 3 ( g F s p a t i a l + ( 1 g ) F c h a n n e l ) ) )
where Concat ( ) denotes channel concatenation; sigmoid ( ) represents the activation function; Conv 3 × 3 ( ) denotes a 3 × 3 convolutional layer; GN ( ) indicates group normalization; and Re LU ( ) denotes activation function.
To enhance semantic consistency between deep and shallow features while facilitating cross-level alignment, the LCFM performs weighted fusion of the enhanced shallow high-frequency details FMHFEM under the guidance of the deep semantic feature Fx, thereby improving the representation of small-scale targets, as illustrated in Figure 4b. Specifically, the deep representation Fx was first upsampled to ensure that its spatial resolution is consistent with that of FMHFEM. Subsequently, the upsampled Fx was projected into the query matrix Q, while FMHFEM was projected into the key and value matrices K and V. To balance computational efficiency and local modeling capability, we divided the feature map into disjoint local windows along the spatial dimensions. The input feature is x B × H × W × C , and the window size is P = p1 × p2, where p 1 = p 2 = 16 . After a reshaping operation, the feature map is rearranged into a series of local windows, resulting in a feature representation of x B × H p 1 × W p 2 × P × C . In each local window, the similarity between Q and K is computed, and the resulting attention weights are normalized using the Softmax function to aggregate V. This process enables the deep feature representation to adaptively aggregate semantically relevant shallow detail information from V within each window, thereby achieving pixel-wise adaptive feature interaction. The attention operation is defined as:
A t t e n t i o n ( Q , K , V ) = Softmax ( Q K T d ) V
where d denotes the channel dimension and d is the scaling factor for normalization.
Finally, the attention output Fattention was merged with the upsampled Fx via a residual connection. The combined representation was refined by a 3 × 3 convolution for spatial integration. A pixel-wise weight map generated by a 1 × 1 convolution was further used to adaptively recalibrate the fused features. This design effectively preserves shallow edge and texture cues, improving the model’s performance in capturing small-scale objects and structural details in complex remote sensing scenes.

3.4. Loss Function

A multi-head supervision strategy was adopted to enhance the training stability of SPFMamba. This strategy consists of a semantic segmentation head and an auxiliary boundary head. The overall loss function is composed of a main loss and an auxiliary loss.
To mitigate class imbalance and preserve regional consistency, the main loss is defined below:
L c e = 1 N n = 1 N k = 1 K y k n log y ^ k n
L d i c e = 1 2 N n = 1 N k = 1 K y k n y ^ k n y k n + y ^ k n
L m a i n = L c e + L d i c e
where N gives the total pixel count; K specifies the number of classes; y n denotes the one-hot encoded ground-truth semantic label; and y ^ k n represents the predicted probability that pixel n belongs to class k, where n 1 , , N .
Considering that multiscale features contain rich structural cues, we introduced an auxiliary boundary branch to explicitly enhance boundary awareness. Specifically, features from different decoder stages, namely h2, h3, and h4 were resampled to a common spatial size, concatenated and then processed by a convolutional layer to obtain a boundary-aware representation. The auxiliary head then transforms this representation into a boundary estimate yedge. Meanwhile, the ground-truth boundary label gedge was constructed from the ground-truth segmentation mask using a Laplacian operator followed by binarization. Finally, a binary Dice loss was adopted to measure the consistency of the predicted boundary with ground-truth boundary. The overall loss is:
L = L m a i n + λ L a u x ( y e d g e , g e d g e )
where λ denotes the trade-off hyperparameter between the two loss terms, empirically determined as 0.4 through ablation experiments.

4. Experiments

4.1. Datasets

ISPRS Vaihingen: The Vaihingen dataset comprises 33 true orthophoto (TOP) images with a ground sampling distance (GSD) of 9 cm. Each TOP image consists of three spectral bands, namely near-infrared, red, and green. In addition, digital surface model (DSM) and normalized digital surface model (nDSM) are provided for this dataset. The dataset contains six land-cover categories, including five foreground classes (impervious surfaces, buildings, low vegetation, trees, and cars) and one background class (clutter). Following the commonly used split in previous studies [46], 16 tiles were allocated to training and the rest to testing, after which they were cropped into 1024 × 1024-pixel patches.
ISPRS Potsdam: The Potsdam dataset contains 38 TOP tiles, each measuring 6000 × 6000 pixels at a GSD of 5 cm. The semantic categories are identical to those in the Vaihingen dataset. In addition to DSM and nDSM data, each tile provides four spectral bands, namely red, green, blue, and near-infrared. Only the RGB bands were used as input in our experiments. Of the 38 tiles, 23 were used for training, tile 7_10 was excluded because of annotation errors, and the remaining tiles were reserved for testing. All retained tiles were cropped into 1024 × 1024-pixel patches.
OpenEarthMap: The OpenEarthMap dataset comprises 5000 images collected from 97 regions across 44 countries on 6 continents. The GSD ranges from 0.25 m to 0.5 m. It includes eight land-cover types: bareland, rangeland, developed space, road, tree, water, agriculture land, and building. Since the official test set is not publicly released, the validation set was adopted for quantitative evaluation in our experiments. Before being fed into the network, all images were resized to a fixed size of 1024 × 1024 pixels.

4.2. Implementation Details

Experiments were carried out in PyTorch 2.2.1 on a server with a single NVIDIA 3090 Ti GPU (NVIDIA Corporation, Santa Clara, CA, USA). The model was optimized using AdamW, and the encoder was initialized with pretrained weights. Specifically, the learning rates were initialized as 6 × 10−5 for the encoder and 6 × 10−4 for the remaining learnable parameters, while the weight decay coefficient was fixed at 0.01. In addition, a cosine annealing strategy was adopted to update the learning rate during the training process. During network training, the images were augmented through random cropping, flipping, and multiscale resizing. The model was trained for 105 epochs with a batch size of 4.

4.3. Evaluation Metrics

The proposed model was evaluated from two aspects, namely model performance and model complexity. The complexity metrics include floating-point operations (FLOPs) and the number of parameters, all computed with an input size of 3 × 1024 × 1024. The performance metrics include overall accuracy (OA), mean F1 score (mF1), and mean intersection over union (mIoU).

5. Results

5.1. Ablation Studies

5.1.1. Effectiveness of Each Module in SPFMamba

Ablation experiments were conducted on two datasets under identical training settings to quantify the contributions of individual modules and their combinations. The quantitative results are shown in Table 1.
The baseline model is built upon a U-Net architecture with ResNet-18 as the backbone. The decoder employs the original VSS block, while the SFM is used for feature fusion between adjacent layers. Subsequently, the original VSS blocks were replaced with SPGLM to improve the joint capture of global context and local details across multiple feature scales, yielding Baseline+SPGLM. Across both datasets, this model improves mF1, OA, and mIoU by at least 0.39%, 0.36%, and 0.66%, respectively. Although the introduction of SPGLM increases the parameter count by approximately 5.53 M and the computational cost by about 28.67 GFLOPs, its superior feature modeling capability contributes to noticeable performance gains in complex scenes. Introducing the HFAFM into the baseline yields the Baseline+HFAFM, which increases mF1, OA, and mIoU by at least 0.20%, 0.16%, and 0.34%, respectively. Notably, the HFAFM introduces only 0.10 M additional parameters and has little impact on overall model complexity, while still providing stable performance improvements, demonstrating its effectiveness in feature fusion.
Finally, SPGLM and the HFAFM were jointly integrated to form the complete SPFMamba (Baseline+SPGLM+HFAFM). The results indicate that these modules exhibit good complementarity in feature extraction and fusion. Compared with the baseline, SPFMamba achieves improvements on both datasets, with minimum gains of 0.68%, 0.81%, and 1.17% in mF1, OA, and mIoU, respectively. These ablation studies validate the efficacy of the proposed global–local context modeling and feature fusion strategy.

5.1.2. Setting of the Number of SPGLM Blocks in the Decoder

To examine how the number of SPGLM blocks affects performance, we evaluated three configurations: [4,3,3], [8,6,6], and [16,12,12], as shown in Table 2. The [8,6,6] configuration achieves the best segmentation performance, indicating that this configuration provides a favorable balance between model depth and representation capability. Parameter count and FLOPs increase with deeper configurations. Compared with the [4,3,3] configuration, the [8,6,6] setting benefits from increased decoder depth and enhanced feature representation. However, when the depth is increased to [16,12,12], the model performance instead decreases, with mF1, OA, and mIoU decreasing by 0.40%, 0.34%, and 0.70%, respectively. This indicates that excessive model complexity may introduce optimization difficulties and make the model more prone to overfitting, thereby leading to performance degradation. Therefore, the [8,6,6] configuration is adopted as the default setting.

5.1.3. Ablation Study on the Semantic Prompt Mechanism and Its Hyperparameters

To evaluate the contribution of the semantic prompt, we removed the semantic prompt mechanism introduced in Equation (6) while keeping the SPGLM structure and all other network components unchanged, as shown in Table 3. Compared with the variant without semantic prompts, the proposed model improves mF1, OA, and mIoU by 0.44%, 0.39%, and 0.74%, respectively. This indicates that the semantic prompt enhances the semantic awareness of SSM readout and facilitates the aggregation of long-range contextual information.
The proposed SPGLM module incorporates a prompt-learning mechanism to aggregate global similar-pixel context information and integrate it into the SSM, mitigating the causal limitation of the scanning mechanism. The mechanism comprises two key hyperparameters: prompt-pool size T and semantic-decoupling internal rank r . Specifically, T determines the number of learnable semantic prototypes in the prompt pool, while r controls the dimensionality of the low-rank prompt embedding. Considering the significant intraclass variability of remote sensing objects, T is set larger than the number of classes in the dataset, with the aim of using richer semantic primitives to characterize the diverse appearances of the same category across different textures, illumination conditions, and contextual environments.
To analyze how T and r affect model performance and computational complexity, ablation experiments are conducted on the Vaihingen dataset with three representative configurations: ( T , r ) = (32,16), (64,32), (128,64). Table 4 shows that when T and r are set to relatively small values, the limited prompt pool capacity and low-dimensional prompt representation constrain the model’s ability to capture complex semantic variations in remote sensing scenes, leading to inferior segmentation performance. When ( T , r ) = ( 64 , 32 ) , the model obtains the optimal performance, suggesting that a moderate number of prompts and an appropriate inner rank can provide a favorable trade-off between semantic richness and feature discriminability. When ( T , r ) is increased to (128, 64), both the parameter count and FLOPs increase, whereas the model performance shows no further improvement and even deteriorates. This phenomenon may be attributed to the feature redundancy introduced by an excessively large prompt pool and higher-dimensional prompt representations, as well as the potential risk of overfitting. Considering both segmentation accuracy and computational efficiency, T = 64 and r = 32 are adopted as the default configuration of the SPGLM block.

5.1.4. Ablation Study on the Kernel Size in the Local Branch

To investigate the effect of kernel size on local feature aggregation in Equation (9), we replaced the original 3 × 3 convolution with 5 × 5 and 7 × 7 convolutions, while keeping all other network structures and training settings unchanged. Table 5 shows that the 3 × 3 kernel yields the strongest overall results, with an mF1 of 91.33%, an OA of 91.67%, and an mIoU of 84.26%. Compared with the 5 × 5 and 7 × 7 kernels, the 3 × 3 kernel improves mIoU by 0.15% and 0.41%, respectively. Because the strip convolutions and the SGSS2D branch already capture directional local context and long-range dependencies, larger kernels provide limited additional information and may oversmooth fine-grained structures. Therefore, the 3 × 3 configuration is adopted as the default setting.

5.1.5. Hyperparameter Selection for the Loss Function

The overall loss function consists of two components, with λ controlling the contribution of the auxiliary loss. To determine an appropriate value, λ was evaluated under five settings: 0.2, 0.4, 0.6, 0.8, and 1.0. Table 6 shows the experimental results. When λ changes from 0.2 to 0.4, the segmentation performance is enhanced, reaching its optimum at λ = 0.4 . This suggests that appropriately increasing the weight of the auxiliary boundary loss imposes more effective structural constraints, improving boundary awareness and overall segmentation accuracy. However, when λ exceeds 0.4, all performance metrics decline to varying degrees. This may be attributed to the excessively large weight assigned to the auxiliary loss, which causes the model to overemphasize boundary constraints, thereby impairing the learning of the primary segmentation task and ultimately degrading the overall segmentation performance. Therefore, λ = 0.4 is selected as the optimal value.

5.2. Comparative Experimental Results

The proposed SPFMamba was compared with several advanced segmentation methods, including multiscale attention-based ABCNet [58], edge information embedding-based EIGNet [59], frequency-domain enhancement-based AFENet [60], Transformer-based methods DC-Swin [61], UNetFormer [43], CGGLNet [46], SFFNet [62], and the Mamba-based methods PyramidMamba [30], RS3Mamba [47], and PPMamba [29].

5.2.1. Results on Vaihingen

Following the same protocol as in previous experiments, the accuracy results for the clutter/background class are not reported. Table 7 indicates that SPFMamba attains the highest overall performance, surpassing the second-ranked method by 0.28% in mF1, 0.50% in mIoU, and 0.26% in OA. It also achieves the top F1 and IoU scores for nearly all categories except tree. Notably, for the small-scale car class, SPFMamba achieves the best F1 of 90.74% and IoU of 83.04%, outperforming the second-best method by 0.44% and 0.72%.
As shown in Figure 5, ABCNet enhances contextual modeling by introducing an attention mechanism, but it still suffers from incomplete object boundaries and local misclassification in complex regions. Transformer-based methods, such as UNetFormer, SFFNet, and DC-Swin, enhance global dependency modeling and improve structural representation, while DC-Swin is also advantageous in preserving intra-object integrity. However, these methods still show limitations in fine-grained segmentation of complex topological regions, often leading to confusion between adjacent objects, imprecise boundary localization, and local merging or misclassification. EIGNet improves boundary smoothness, but remains susceptible to false edges, resulting in incomplete segmentation. CGGLNet incorporates category information guidance and performs well in extracting large-scale buildings, but it still has limitations in complex local regions. In particular, category confusion and boundary adhesion remain evident in areas where vehicles are adjacent to surrounding objects and where shadow interference is strong. RS3Mamba and PPMamba employ SS2D for global context modeling, but they still exhibit missed detections and misclassifications when identifying small vehicles in low vegetation areas. AFENet enhances high-frequency details and supplements low-frequency context through adaptive frequency separation to improve boundary localization in certain vegetation regions, but building segmentation under shadow interference still suffers from insufficient connectivity and local fragmentation. Overall, SPFMamba outperforms the other methods, especially in the complex regions highlighted by the pink boxes. For large-scale buildings, SPFMamba maintains intra-class semantic consistency and avoids fragmentation or holes, thereby producing more complete segmentation results. For spatially adjacent targets, such as low vegetation patches on impervious surfaces or buildings under shadow interference, SPFMamba accurately identifies the separation regions between adjacent objects, effectively mitigating boundary merging in complex adjacent areas and producing clear and independent object contours. For small targets, SPFMamba demonstrates stronger structural preservation and finer detail discrimination, reducing missed detections and misclassifications and enabling more accurate extraction of small targets. These observations indicate that SPFMamba can produce more complete and precise segmentation results for objects of varying scales in complex scenes.

5.2.2. Results on Potsdam

As reported in Table 8, SPFMamba was further evaluated on the larger ISPRS Potsdam dataset. Following the evaluation practice commonly used in previous studies, the accuracy results associated with clutter/background are not reported, since this category is sparsely represented in the dataset. SPFMamba ranks first in mF1, mIoU, and OA, exceeding the runner-up by 0.20%, 0.34%, and 0.25%. It also achieves the best performance in F1 and IoU across all classes. For the car class, the F1 and IoU reach 96.72% and 93.65%, respectively, outperforming representative Mamba-based methods such as RS3Mamba and PPMamba.
To facilitate intuitive comparison, visual results on several challenging test scenes are presented in Figure 6. Specifically, in the first and third scenes, the buildings marked by pink boxes exhibit local textures highly similar to impervious surfaces and background, rendering them susceptible to misclassification. In the second scene, small cars are easily obscured by complex background noise, often leading to false positives and missed detections. Compared with other methods, SPFMamba maintains high segmentation accuracy in these challenging regions, exhibiting more complete object structures and clearer boundary localization, especially within the pink-boxed areas. This indicates that the introduced SPGLM block, by leveraging semantic prompts and efficient sequence modeling, captures global contextual information more effectively, thereby enhancing intraclass feature consistency and improving interclass discriminability. The HFAFM strengthens edge and texture responses in the frequency domain for high-frequency details, such as small vehicles and building boundaries, while effectively suppressing interference from low-frequency background noise. Consequently, under the guidance of deep semantic features, the model preserves spatial details more effectively, leading to superior performance in both object completeness and boundary localization accuracy. Overall, SPFMamba not only achieves more complete segmentation of multiscale targets on the Potsdam dataset, but also demonstrates stronger boundary localization capability and finer local detail representation in complex backgrounds, further validating its effectiveness and robustness for semantic segmentation of remote sensing images.

5.2.3. Results on OpenEarthMap

To assess its generalization across geographically diverse regions, SPFMamba was further tested on the OpenEarthMap dataset, which contains geographically diverse scenes worldwide. As reported in Table 9, SPFMamba ranks first among all compared methods, reaching 79.34% mF1, 80.74% OA, and 66.74% mIoU. Compared with the respective second-best methods for individual metrics, SPFMamba improves mF1, OA, and mIoU by 0.24%, 0.79%, and 0.55%, respectively. SPFMamba achieves the highest F1 scores and IoU values in most classes. In particular, for the structurally complex road class, SPFMamba obtains F1 and IoU values of 80.32% and 67.11%, improving upon the runner-up SFFNet by 1.15% and 1.59% for these two metrics.
As illustrated in Figure 7, in the first and third scenes, roads among densely arranged buildings exhibit pronounced intraclass heterogeneity due to variations in illumination and shadow, surface materials, and road geometry. In the second scene, the water surface is partially obscured by aquatic vegetation, which often confounds models relying primarily on local information. Benefiting from the effective global-context modeling of SPGLM, SPFMamba mitigates local visual ambiguity, preserves the topological continuity of roads at complex intersections, and accurately delineates water bodies by exploiting water-body morphology and contextual cues from adjacent land-cover patterns. The fourth scene presents another challenging case, where water and bareland exhibit high spectral and textural similarity, causing many competing methods to produce fragmented predictions or imprecise boundary localization. In contrast, by effectively integrating multilevel semantic information with fine-grained detail features, SPFMamba achieves more complete segmentation with more continuous object contours and fewer fragmented regions. Overall, SPFMamba provides improved object integrity and more precise boundary delineation in ambiguous regions of large-scale, complex scenes.

6. Discussion

6.1. Model Complexity Analysis

The parameter counts and FLOPs of different methods are presented in Table 10. Most CNN-based methods contain fewer parameters than Transformer-based models, but their segmentation performance is generally lower, indicating that local convolutions alone may be inadequate for capturing non-local dependencies and scene-level contextual cues in HRSIs. In contrast, SPFMamba achieves better segmentation performance while maintaining a relatively compact model size and low computational cost. Compared with CGGLNet, SPFMamba uses only 17.85 M parameters and 85.18 G FLOPs, corresponding to reductions of 19.03 M parameters and 523.15 G FLOPs, while increasing mIoU from 83.76% to 84.26%. Compared with other Mamba-based methods, SPFMamba uses substantially fewer parameters and FLOPs, yet outperforms RS3Mamba and PPMamba in mIoU by 2.42% and 1.15%, respectively. This demonstrates the superior accuracy–efficiency balance of SPFMamba.

6.2. Heatmap Visualization of SPGLM

We adopt Gradient-weighted Class Activation Mapping (Grad-CAM) [63] to compare the activation patterns at the input and output of the SPGLM block, with the aim of analyzing the response regions of different target categories and investigating the role of SPGLM in global and local context modeling. Figure 8 compares the activation maps derived from the original features, the VSS block, and SPGLM. The original features show noticeable confusion and noise across the response regions of different categories. After the VSS block, the spatial integrity of the feature responses is improved, although some irrelevant activations still remain. By contrast, the feature responses after SPGLM are not only more concentrated within the target regions but also provide more complete coverage of the target objects. The improvement is more evident for buildings and trees of varying sizes, where SPGLM produces more consistent responses across scales than the VSS block. These results indicate that SPGLM establishes stronger contextual dependencies across spatial scales, thereby yielding more distinctive feature representations for different object categories in complex scenes.

7. Conclusions

In this work, we develop SPFMamba for HRSI semantic segmentation to address pronounced scale variations among objects and the loss of fine details. The proposed SPGLM enhances the discriminative representation of multiscale objects by jointly modeling global and local contextual information. The HFAFM leverages frequency-domain priors to strengthen high-frequency detail responses and improve the representation of small objects and boundary regions through shallow–deep feature interaction. SPFMamba achieved mIoU of 84.26%, 87.34%, and 66.74% on the ISPRS Vaihingen, ISPRS Potsdam, and OpenEarthMap datasets. Moreover, SPFMamba contains only 17.85 M parameters while maintaining competitive segmentation performance with reduced computational overhead. Future work will investigate multimodal fusion strategies, such as incorporating DSM or synthetic aperture radar (SAR) data, to improve robustness and discriminative capability in scenarios with shadow occlusion, complex structures, and spectral confusion.

Author Contributions

M.W. wrote the manuscript and designed the comparative experiments; J.L. (Jiahang Liu) supervised the study, designed the architecture, and revised the manuscript; X.S. and Y.N. made suggestions for the manuscript and assisted M.W. in conducting the experiments. J.C. and J.L. (Ji Luan) made suggestions for the experiments and assisted in revising the manuscript. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported in part by the Deep Earth Probe and Mineral Resources Exploration—National Science and Technology Major Project under Grant 2025ZD1008600 (Corresponding author: Jiahang Liu).

Data Availability Statement

The original contributions presented in the study are included in the article; further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Mo, Y.; Wu, Y.; Yang, X.; Liu, F.; Liao, Y. Review the state-of-the-art technologies of semantic segmentation based on deep learning. Neurocomputing 2022, 493, 626–646. [Google Scholar] [CrossRef] [Scilit]
  2. Kotaridis, I.; Lazaridou, M. Remote sensing image segmentation advances: A meta-analysis. ISPRS J. Photogramm. Remote Sens. 2021, 173, 309–322. [Google Scholar] [CrossRef] [Scilit]
  3. Cheng, G.; Xie, X.; Han, J.; Guo, L.; Xia, G.-S. Remote sensing image scene classification meets deep learning: Challenges, methods, benchmarks, and opportunities. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2020, 13, 3735–3756. [Google Scholar] [CrossRef] [Scilit]
  4. Bandarupally, H.; Talusani, H.R.; Sridevi, T. Detection of military targets from satellite images using deep convolutional neural networks. In Proceedings of the IEEE 5th International Conference on Computing Communication and Automation (ICCCA), Coimbatore, India, 27–29 February 2020; pp. 531–535. [Google Scholar]
  5. Jamali, A.; Roy, S.K.; Li, J.; Ghamisi, P. TransU-Net++: Rethinking attention gated TransU-Net for deforestation mapping. Int. J. Appl. Earth Obs. Geoinf. 2023, 120, 103332. [Google Scholar] [CrossRef] [Scilit]
  6. Fu, Y.; Li, W.; Fan, S.; Jiang, Y.; Bai, H. CAL-Net: Conditional attention lightweight network for in-orbit landslide detection. IEEE Trans. Geosci. Remote Sens. 2023, 61, 4408515. [Google Scholar] [CrossRef] [Scilit]
  7. Jia, P.; Chen, C.; Zhang, D.; Sang, Y.; Zhang, L. Semantic segmentation of deep learning remote sensing images based on band combination principle: Application in urban planning and land use. Comput. Commun. 2024, 217, 97–106. [Google Scholar] [CrossRef] [Scilit]
  8. Ghanbari, H.; Mahdianpari, M.; Homayouni, S.; Mohammadimanesh, F. A meta-analysis of convolutional neural networks for remote sensing applications. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2021, 14, 3602–3613. [Google Scholar] [CrossRef] [Scilit]
  9. Pal, M. Random forest classifier for remote sensing classification. Int. J. Remote Sens. 2005, 26, 217–222. [Google Scholar] [CrossRef] [Scilit]
  10. Mi, L.; Chen, Z. Corrigendum to “Superpixel-enhanced deep neural forest for remote sensing image semantic segmentation” [ISPRS J. Photogramm. Remote Sens. 159 (2020) 140–152]. ISPRS J. Photogramm. Remote Sens. 2020, 168, 153–155. [Google Scholar] [CrossRef] [Scilit]
  11. Guo, Y.; Jia, X.; Paull, D. Effective sequential classifier training for SVM-based multitemporal remote sensing image classification. IEEE Trans. Image Process. 2018, 27, 3036–3048. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  12. Krähenbühl, P.; Koltun, V. Efficient inference in fully connected crfs with gaussian edge potentials. In Advances in Neural Information Processing Systems 24; Curran Associates, Inc.: New York, NY, USA, 2011. [Google Scholar]
  13. Zhu, X.X.; Tuia, D.; Mou, L.; Xia, G.-S.; Zhang, L.; Xu, F.; Fraundorfer, F. Deep learning in remote sensing: A comprehensive review and list of resources. IEEE Geosci. Remote Sens. Mag. 2017, 5, 8–36. [Google Scholar] [CrossRef] [Scilit]
  14. Li, X.; Xu, F.; Zhang, J.; Zhang, H.; Lyu, X.; Liu, F.; Gao, H.; Kaup, A. Frequency-Guided Denoising Network for Semantic Segmentation of Remote Sensing Images. IEEE Trans. Geosci. Remote Sens. 2026, 64, 10232–10236. [Google Scholar] [CrossRef] [Scilit]
  15. He, K.; Zhang, X.; Ren, S.; Sun, J. Deep residual learning for image recognition. In Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA, 27–30 June 2016; pp. 770–778. [Google Scholar]
  16. Wu, H.; Huang, P.; Zhang, M.; Tang, W.; Yu, X. CMTFNet: CNN and multiscale transformer fusion network for remote-sensing image semantic segmentation. IEEE Trans. Geosci. Remote Sens. 2023, 61, 2004612. [Google Scholar] [CrossRef] [Scilit]
  17. Long, J.; Shelhamer, E.; Darrell, T. Fully convolutional networks for semantic segmentation. In Proceedings of the 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Boston, MA, USA, 7–12 June 2015; pp. 3431–3440. [Google Scholar]
  18. Ronneberger, O.; Fischer, P.; Brox, T. U-net: Convolutional networks for biomedical image segmentation. In Proceedings of the 18th International Conference on Medical Image Computing and Computer-Assisted Intervention (MICCAI), Munich, Germany, 5–9 October 2015; pp. 234–241. [Google Scholar]
  19. Dai, Y.; Gieseke, F.; Oehmcke, S.; Wu, Y.; Barnard, K. Attentional feature fusion. In Proceedings of the 2021 IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), Waikoloa, HI, USA, 3–8 January 2021; pp. 3560–3569. [Google Scholar]
  20. Wang, K.; Zhang, X.; Wang, X.; Yu, L. Gradient Decoupling Guided Network for High-Resolution Remote Sensing Segmentation. IEEE Trans. Geosci. Remote Sens. 2025, 63, 5623518. [Google Scholar] [CrossRef] [Scilit]
  21. Kosarevych, R.; Lutsyk, O.; Rusyn, B.; Pits, N.; Maksymyuk, T.; Volosin, M. Adaptive Patch Reshaping for Edge-Based Semantic Segmentation in Remote Sensing. IEEE Access 2026, 14, 38951–38964. [Google Scholar] [CrossRef] [Scilit]
  22. Ma, X.; Zhang, X.; Wang, Z.; Pun, M.-O. Unsupervised domain adaptation augmented by mutually boosted attention for semantic segmentation of VHR remote sensing images. IEEE Trans. Geosci. Remote Sens. 2023, 61, 5400515. [Google Scholar] [CrossRef] [Scilit]
  23. Chen, J.; Mei, J.; Li, X.; Lu, Y.; Yu, Q.; Wei, Q.; Luo, X.; Xie, Y.; Adeli, E.; Wang, Y. TransUNet: Rethinking the U-Net architecture design for medical image segmentation through the lens of transformers. Med. Image Anal. 2024, 97, 103280. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  24. Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, Ł.; Polosukhin, I. Attention is all you need. In Advances in Neural Information Processing Systems 30; Curran Associates, Inc.: New York, NY, USA, 2017. [Google Scholar]
  25. Liu, Y.; Zhang, Y.; Wang, Y.; Hou, F.; Yuan, J.; Tian, J.; Zhang, Y.; Shi, Z.; Fan, J.; He, Z. A survey of visual transformers. IEEE Trans. Neural Netw. Learn. Syst. 2023, 35, 7478–7498. [Google Scholar]
  26. Zhu, L.; Liao, B.; Zhang, Q.; Wang, X.; Liu, W.; Wang, X. Vision mamba: Efficient visual representation learning with bidirectional state space model. arXiv 2024, arXiv:2401.09417. [Google Scholar]
  27. Liu, Y.; Tian, Y.; Zhao, Y.; Yu, H.; Xie, L.; Wang, Y.; Ye, Q.; Jiao, J.; Liu, Y. Vmamba: Visual state space model. In Advances in Neural Information Processing Systems 37; Curran Associates, Inc.: New York, NY, USA, 2024; pp. 103031–103063. [Google Scholar]
  28. He, X.; Cao, K.; Zhang, J.; Yan, K.; Wang, Y.; Li, R.; Xie, C.; Hong, D.; Zhou, M. Pan-mamba: Effective pan-sharpening with state space model. Inf. Fusion 2025, 115, 102779. [Google Scholar] [CrossRef] [Scilit]
  29. Mu, J.; Zhou, S.; Sun, X. PPMamba: Enhancing Semantic Segmentation in Remote Sensing Imagery by SS2D. IEEE Geosci. Remote Sens. Lett. 2024, 22, 6001705. [Google Scholar]
  30. Wang, L.B.; Li, D.X.; Dong, S.J.; Meng, X.L.; Zhang, X.K.; Hong, D.F. PyramidMamba: Rethinking pyramid feature fusion with selective space state model for semantic segmentation of remote sensing imagery. Int. J. Appl. Earth Obs. Geoinf. 2025, 144, 104884. [Google Scholar] [CrossRef] [Scilit]
  31. Li, X.; Xu, F.; Li, J.; Su, Y.; Li, L.; Lyu, X.; Xu, Z.; Kaup, A. Frequency domain-enhanced spectral-spatial fusion transformer for semantic segmentation of remote sensing images. Inf. Fusion 2026, 132, 104248. [Google Scholar] [CrossRef] [Scilit]
  32. Chen, H.; Song, J.; Han, C.; Xia, J.; Yokoya, N. ChangeMamba: Remote sensing change detection with spatiotemporal state space model. IEEE Trans. Geosci. Remote Sens. 2024, 62, 4409720. [Google Scholar] [CrossRef] [Scilit]
  33. Sun, H.; Lv, L.; Zhang, P.; Tang, T.; Tian, F.; Sun, W.; Lu, H. Spatial-Frequency Enhanced Mamba for Multi-Modal Image Fusion. IEEE Trans. Image Process. 2025, 34, 7684–7696. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  34. Chen, K.; Chen, B.; Liu, C.; Li, W.; Zou, Z.; Shi, Z. RSMamba: Remote sensing image classification with state space model. IEEE Geosci. Remote Sens. Lett. 2024, 21, 8002605. [Google Scholar] [CrossRef] [Scilit]
  35. Zhou, W.; Kamata, S.-I.; Wang, H.; Wong, M.S.; Hou, H.C. Mamba-in-mamba: Centralized mamba-cross-scan in tokenized mamba model for hyperspectral image classification. Neurocomputing 2025, 613, 128751. [Google Scholar] [CrossRef] [Scilit]
  36. Li, H.; Wu, X.-J.; Kittler, J. RFN-Nest: An end-to-end residual fusion network for infrared and visible images. Inf. Fusion 2021, 73, 72–86. [Google Scholar] [CrossRef] [Scilit]
  37. Zhang, H.; Ma, J. SDNet: A versatile squeeze-and-decomposition network for real-time image fusion. Int. J. Comput. Vis. 2021, 129, 2761–2785. [Google Scholar] [CrossRef] [Scilit]
  38. Li, X.; Wang, W.; Hu, X.; Yang, J. Selective kernel networks. In Proceedings of the 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Long Beach, CA, USA, 15–20 June 2019; pp. 510–519. [Google Scholar]
  39. Zheng, S.; Lu, J.; Zhao, H.; Zhu, X.; Luo, Z.; Wang, Y.; Fu, Y.; Feng, J.; Xiang, T.; Torr, P.H. Rethinking semantic segmentation from a sequence-to-sequence perspective with transformers. In Proceedings of the 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Nashville, TN, USA, 20–25 June 2021; pp. 6881–6890. [Google Scholar]
  40. Liu, Z.; Lin, Y.; Cao, Y.; Hu, H.; Wei, Y.; Zhang, Z.; Lin, S.; Guo, B. Swin transformer: Hierarchical vision transformer using shifted windows. In Proceedings of the 2021 IEEE/CVF International Conference on Computer Vision (ICCV), Montreal, QC, Canada, 10–17 October 2021; pp. 10012–10022. [Google Scholar]
  41. Strudel, R.; Garcia, R.; Laptev, I.; Schmid, C. Segmenter: Transformer for semantic segmentation. In Proceedings of the 2021 IEEE/CVF International Conference on Computer Vision (ICCV), Montreal, QC, Canada, 10–17 October 2021; pp. 7262–7272. [Google Scholar]
  42. He, X.; Zhou, Y.; Zhao, J.; Zhang, D.; Yao, R.; Xue, Y. Swin transformer embedding UNet for remote sensing image semantic segmentation. IEEE Trans. Geosci. Remote Sens. 2022, 60, 4408715. [Google Scholar] [CrossRef] [Scilit]
  43. Wang, L.; Li, R.; Zhang, C.; Fang, S.; Duan, C.; Meng, X.; Atkinson, P.M. UNetFormer: A UNet-like transformer for efficient semantic segmentation of remote sensing urban scene imagery. ISPRS J. Photogramm. Remote Sens. 2022, 190, 196–214. [Google Scholar] [CrossRef] [Scilit]
  44. Fan, L.; Zhou, Y.; Liu, H.; Li, Y.; Cao, D. Combining Swin transformer with UNet for remote sensing image semantic segmentation. IEEE Trans. Geosci. Remote Sens. 2023, 61, 5530111. [Google Scholar] [CrossRef] [Scilit]
  45. Chen, Y.; Wang, Y.; Xiong, S.; Lu, X.; Zhu, X.X.; Mou, L. Integrating detailed features and global contexts for semantic segmentation in ultrahigh-resolution remote sensing images. IEEE Trans. Geosci. Remote Sens. 2024, 62, 4703914. [Google Scholar] [CrossRef] [Scilit]
  46. Ni, Y.; Liu, J.; Chi, W.; Wang, X.; Li, D. CGGLNet: Semantic segmentation network for remote sensing images based on category-guided global–local feature interaction. IEEE Trans. Geosci. Remote Sens. 2024, 62, 5615617. [Google Scholar] [CrossRef] [Scilit]
  47. Ma, X.; Zhang, X.; Pun, M.-O. RS3Mamba: Visual state space model for remote sensing image semantic segmentation. IEEE Geosci. Remote Sens. Lett. 2024, 21, 6011405. [Google Scholar] [CrossRef] [Scilit]
  48. Zhan, C.; Yang, K. WCMamba: Enhancing high-resolution remote sensing image semantic segmentation with pyramid wavelet convolution and SS2D. Knowl.-Based Syst. 2025, 324, 113877. [Google Scholar] [CrossRef] [Scilit]
  49. Li, L.; Yi, J.; Fan, H.; Lin, H. A Lightweight Semantic Segmentation Network Based on Self-attention Mechanism and State Space Model for Efficient Urban Scene Segmentation. IEEE Trans. Geosci. Remote Sens. 2025, 63, 4703215. [Google Scholar] [CrossRef] [Scilit]
  50. Li, H.; Pan, H.; Liu, X.; Ren, J.; Du, Z.; Cao, J. GLVMamba: A Global-Local Visual State Space Model for Remote Sensing Image Segmentation. IEEE Trans. Geosci. Remote Sens. 2025, 63, 4412115. [Google Scholar] [CrossRef] [Scilit]
  51. Guo, H.; Guo, Y.; Zha, Y.; Zhang, Y.; Li, W.; Dai, T.; Xia, S.-T.; Li, Y. Mambairv2: Attentive state space restoration. In Proceedings of the 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Nashville, TN, USA, 10–17 June 2025; pp. 28124–28133. [Google Scholar]
  52. Jang, E.; Gu, S.; Poole, B. Categorical reparameterization with gumbel-softmax. arXiv 2016, arXiv:1611.01144. [Google Scholar]
  53. Guo, H.; Li, J.; Dai, T.; Ouyang, Z.; Ren, X.; Xia, S.-T. Mambair: A simple baseline for image restoration with state-space model. In Proceedings of the 18th European Conference on Computer Vision (ECCV), Milan, Italy, 29 September–4 October 2024; pp. 222–241. [Google Scholar]
  54. Weng, J.; Yan, Z.; Tai, Y.; Qian, J.; Yang, J.; Li, J. Mamballie: Implicit retinex-aware low light enhancement with global-then-local state space. In Advances in Neural Information Processing Systems 37; Curran Associates, Inc.: New York, NY, USA, 2024; pp. 27440–27462. [Google Scholar]
  55. Zhao, J.; Liu, F.; Mo, B. An algorithm of dim and small target detection based on wavelet transform and image fusion. In Proceedings of the 5th International Symposium on Computational Intelligence and Design (ISCID), Hangzhou, China, 28–29 October 2012; pp. 43–45. [Google Scholar]
  56. Achanta, R.; Hemami, S.; Estrada, F.; Susstrunk, S. Frequency-tuned salient region detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Miami Beach, FL, USA, 20–25 June 2009; pp. 1597–1604. [Google Scholar]
  57. Li, X.; Xu, F.; Yu, A.; Lyu, X.; Gao, H.; Zhou, J. A frequency decoupling network for semantic segmentation of remote sensing images. IEEE Trans. Geosci. Remote Sens. 2025, 63, 5607921. [Google Scholar] [CrossRef] [Scilit]
  58. Li, R.; Zheng, S.; Zhang, C.; Duan, C.; Wang, L.; Atkinson, P.M. ABCNet: Attentive bilateral contextual network for efficient semantic segmentation of fine-resolution remotely sensed imagery. ISPRS J. Photogramm. Remote Sens. 2021, 181, 84–98. [Google Scholar] [CrossRef] [Scilit]
  59. Ni, Y.; Liu, J.; Cui, J.; Yang, Y.; Wang, X. Edge guidance network for semantic segmentation of high-resolution remote sensing images. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2023, 16, 9382–9395. [Google Scholar] [CrossRef] [Scilit]
  60. Gao, F.; Fu, M.; Cao, J.; Dong, J.; Du, Q. Adaptive Frequency Enhancement Network for Remote Sensing Image Semantic Segmentation. IEEE Trans. Geosci. Remote Sens. 2025, 63, 5619415. [Google Scholar] [CrossRef] [Scilit]
  61. Wang, L.; Li, R.; Duan, C.; Zhang, C.; Meng, X.; Fang, S. A novel transformer based semantic segmentation scheme for fine-resolution remote sensing images. IEEE Geosci. Remote Sens. Lett. 2022, 19, 6506105. [Google Scholar] [CrossRef] [Scilit]
  62. Yang, Y.; Yuan, G.; Li, J. SFFNet: A wavelet-based spatial and frequency domain fusion network for remote sensing segmentation. IEEE Trans. Geosci. Remote Sens. 2024, 62, 3000617. [Google Scholar] [CrossRef] [Scilit]
  63. Selvaraju, R.R.; Cogswell, M.; Das, A.; Vedantam, R.; Parikh, D.; Batra, D. Grad-CAM: Visual explanations from deep networks via gradient-based localization. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), Venice, Italy, 22–29 October 2017; pp. 618–626. [Google Scholar]
Figure 1. Typical challenges in RSI semantic segmentation: (a) Intraclass variation. (b,c) Interclass similarity. (d) Small objects.
Figure 1. Typical challenges in RSI semantic segmentation: (a) Intraclass variation. (b,c) Interclass similarity. (d) Small objects.
Remotesensing 18 02592 g001
Figure 2. Overview of the SPFMamba architecture. ResNet-18 serves as the backbone for multiscale feature extraction. H and W denote the height and width of the input image, respectively.
Figure 2. Overview of the SPFMamba architecture. ResNet-18 serves as the backbone for multiscale feature extraction. H and W denote the height and width of the input image, respectively.
Remotesensing 18 02592 g002
Figure 3. Architecture of the SPGLM block: (a) Baseline VSS block design. (b) Proposed SPGLM design. (c) Detailed design of the semantic prompt pool. (d) Detailed structure of the SGSS2D.
Figure 3. Architecture of the SPGLM block: (a) Baseline VSS block design. (b) Proposed SPGLM design. (c) Detailed design of the semantic prompt pool. (d) Detailed structure of the SGSS2D.
Remotesensing 18 02592 g003
Figure 4. (a) Structure of the MHFEM. (b) Overall framework of the HFAFM, illustrating the cross-level interaction and adaptive fusion process.
Figure 4. (a) Structure of the MHFEM. (b) Overall framework of the HFAFM, illustrating the cross-level interaction and adaptive fusion process.
Remotesensing 18 02592 g004
Figure 5. Visual comparisons on ISPRS Vaihingen dataset. Regions marked by pink boxes indicate areas with significantly improved segmentation performance.
Figure 5. Visual comparisons on ISPRS Vaihingen dataset. Regions marked by pink boxes indicate areas with significantly improved segmentation performance.
Remotesensing 18 02592 g005
Figure 6. Visual comparisons on ISPRS Potsdam dataset. Regions marked by pink boxes indicate areas with significantly improved segmentation performance.
Figure 6. Visual comparisons on ISPRS Potsdam dataset. Regions marked by pink boxes indicate areas with significantly improved segmentation performance.
Remotesensing 18 02592 g006
Figure 7. Visual comparisons on the OpenEarthMap dataset. Regions marked by pink boxes indicate areas with significantly improved segmentation performance.
Figure 7. Visual comparisons on the OpenEarthMap dataset. Regions marked by pink boxes indicate areas with significantly improved segmentation performance.
Remotesensing 18 02592 g007
Figure 8. Category-specific feature response heatmaps before and after processing. From left to right: original feature responses, responses after the VSS block, and responses after SPGLM.
Figure 8. Category-specific feature response heatmaps before and after processing. From left to right: original feature responses, responses after the VSS block, and responses after SPGLM.
Remotesensing 18 02592 g008
Table 1. The ablation experimental results of each module on the Vaihingen dataset.
Table 1. The ablation experimental results of each module on the Vaihingen dataset.
DatasetMethodmF1 (%)OA (%)mIoU (%)Params (M)FLOPs (G)
VaihingenBaseline90.2090.8482.3912.2146.91
Baseline + SPGLM91.0191.5283.7017.7475.58
Baseline + HFAFM90.7091.1083.1812.3156.52
Baseline + SPGLM + HFAFM91.3391.6784.2617.8585.18
PotsdamBaseline92.4490.9786.1712.2146.91
Baseline + SPGLM92.8391.3386.8317.7475.58
Baseline + HFAFM92.6491.1386.5112.3156.52
Baseline + SPGLM + HFAFM93.1291.7887.3417.8585.18
Boldface denotes the best result in each column.
Table 2. Ablation experiment on SPGLM block count setting on the Vaihingen dataset.
Table 2. Ablation experiment on SPGLM block count setting on the Vaihingen dataset.
Block ConfigurationmF1 (%)OA (%)mIoU (%)Params (M)FLOPs (G)
[4,3,3]90.5991.1683.0114.7669.68
[8,6,6]91.3391.6784.2617.8585.18
[16,12,12]90.9391.3383.5624.02116.20
Boldface denotes the best result in each column.
Table 3. Ablation study on the semantic prompt mechanism in the SPGLM block on the Vaihingen dataset.
Table 3. Ablation study on the semantic prompt mechanism in the SPGLM block on the Vaihingen dataset.
Semantic PromptmF1 (%)OA (%)mIoU (%)
×90.8991.2883.52
91.3391.6784.26
“×” and “√” indicate that the semantic prompt mechanism is disabled and enabled, respectively.
Table 4. Ablation experiment on the hyperparameters of SPGLM block on the Vaihingen dataset.
Table 4. Ablation experiment on the hyperparameters of SPGLM block on the Vaihingen dataset.
T r mF1 (%)OA (%)mIoU (%)Params (M)FLOPs (G)
321690.9791.4083.6317.7985.05
643291.3391.6784.2617.8585.18
1286490.6991.2083.1818.0485.46
Boldface denotes the best result in each column.
Table 5. Ablation study on the convolution kernel size in Equation (9) on the Vaihingen dataset.
Table 5. Ablation study on the convolution kernel size in Equation (9) on the Vaihingen dataset.
k × kmF1 (%)OA (%)mIoU (%)
3 × 391.3391.6784.26
5 × 591.2591.6684.11
7 × 791.0991.5283.85
Boldface denotes the best result in each column.
Table 6. Ablation study on the loss weight λ on the Vaihingen dataset.
Table 6. Ablation study on the loss weight λ on the Vaihingen dataset.
λ mF1 (%)OA (%)mIoU (%)
0.291.2791.5984.15
0.491.3391.6784.26
0.691.3091.5984.20
0.891.2991.6084.18
1.091.2691.5984.12
Boldface denotes the best result in each column.
Table 7. Comparison results on the ISPRS Vaihingen dataset.
Table 7. Comparison results on the ISPRS Vaihingen dataset.
MethodPer-Class F1 Score(%)/Per-Class IoU Score (%)mF1 (%)OA (%)mIoU (%)
Imp.Surf.BuildingLow VegTreeCar
ABCNet [58]92.52/86.0895.23/90.8983.65/71.8989.84/81.5586.22/75.7889.4990.4781.24
DC-Swin [61]92.84/86.6596.01/92.3384.16/72.6689.28/80.6484.62/73.3389.3890.7981.12
UNetFormer [43]92.64/86.3095.55/91.4984.05/72.4889.77/81.4487.39/77.6089.8890.7281.86
EIGNet [59]92.50/86.0595.86/92.0585.12/74.0990.62/82.8587.52/77.8190.3291.0082.57
CGGLNet [46]93.07/87.0496.13/92.5685.34/74.4290.38/82.4590.30/82.3291.0591.4183.76
SFFNet [62]93.15/87.1795.92/92.1684.80/73.6090.39/82.4790.20/82.1490.8991.2483.51
RS3Mamba [47]92.73/86.4595.37/91.1685.04/73.9890.09/81.9786.13/75.6489.8790.9181.84
PyramidMamba [30]92.75/86.4996.00/92.3184.90/73.7690.23/82.2087.78/78.2390.3391.1482.60
PPMamba [29]93.11/87.1295.94/92.2085.02/73.9490.50/82.6588.68/79.6690.6591.3283.11
AFENet [60]93.13/87.1495.68/91.7185.17/74.1790.44/82.5589.50/80.9990.7891.2683.31
Ours93.59/87.9696.39/93.0385.38/74.4890.57/82.7690.74/83.0491.3391.6784.26
Best results in bold, second best underlined.
Table 8. Comparison results on the ISPRS Potsdam dataset.
Table 8. Comparison results on the ISPRS Potsdam dataset.
MethodPer-Class F1 Score (%)/Per-Class IoU Score (%)mF1 (%)OA (%)mIoU (%)
Imp.Surf.BuildingLow VegTreeCar
ABCNet [58]92.67/86.3596.56/93.3687.16/77.2488.64/79.6096.01/92.3392.2190.5685.78
DC-Swin [61]93.14/87.1696.88/93.9487.41/77.6488.40/79.2295.38/91.1692.2490.9085.83
UNetFormer [43]92.76/86.5096.58/93.3986.95/76.9288.29/79.0496.03/92.3692.1290.5885.64
EIGNet [59]92.82/86.6196.58/93.3887.34/77.5288.77/79.8096.58/93.3992.4290.7186.14
CGGLNet [46]93.43/87.6697.31/94.7587.90/78.4289.20/80.5196.64/93.4792.9091.4386.97
SFFNet [62]93.50/87.8097.22/94.5887.92/78.4589.23/80.5696.56/93.3492.8991.4386.95
RS3Mamba [47]93.64/88.0497.17/94.5087.77/78.2189.09/80.3296.33/92.9392.8091.2786.80
PyramidMamba [30]93.54/87.8797.06/94.3088.00/78.5789.11/80.3796.50/93.2492.8491.4786.87
PPMamba [29]93.66/88.0797.14/94.4488.15/78.8088.99/80.1796.21/92.7092.8391.5086.84
AFENet [60]93.77/88.2897.10/94.3687.88/78.3889.23/80.5596.62/93.4692.9291.5387.00
Ours93.89/88.4997.31/94.7688.22/78.9289.43/80.8996.72/93.6593.1291.7887.34
Best results in bold, second best underlined.
Table 9. Comparison results on the OpenEarthMap dataset.
Table 9. Comparison results on the OpenEarthMap dataset.
MethodPer-Class F1 Score (%)/Per-Class IoU Score (%)mF1
(%)
OA
(%)
mIoU
(%)
BarelandRangelandDevelopedRoadTreeWaterAgricultureBuilding
ABCNet [58]56.53/39.4070.04/53.8966.88/50.2474.13/58.9080.32/67.1276.15/61.4884.21/72.7284.81/73.6374.1375.9559.67
DC-Swin [61]52.52/35.6169.00/52.6768.01/51.5374.02/58.7582.65/70.4385.93/75.3385.15/74.1586.94/76.9075.5377.7061.92
UnetFormer [43]55.12/38.0470.23/54.1269.53/53.3076.06/61.3782.31/69.9483.85/72.1985.81/75.1586.85/76.7676.2278.0863.47
EIGNet [59]55.80/38.6971.67/55.8569.35/53.0876.51/61.9681.91/69.3684.14/72.6286.92/76.8687.33/77.5276.7078.5463.24
CGGLNet [46]57.27/40.1272.24/56.5471.51/55.6677.22/62.8982.79/70.6385.11/74.0885.88/75.2586.88/76.8077.3678.9864.00
SFFNet [62]55.57/38.4872.77/57.2071.84/56.0579.17/65.5282.05/69.5788.68/79.6686.30/75.9088.77/79.8178.1479.7365.27
RS3Mamba [47]49.65/33.0271.27/55.3670.03/53.8975.90/61.1682.47/70.1883.34/71.4486.93/76.8887.15/77.2375.8478.5562.39
PyramidMamba [30]60.05/42.9171.42/55.5569.86/53.6875.73/60.9482.54/70.2785.82/75.1786.87/76.7986.81/76.7077.3878.6564.00
PPMamba [29]60.09/42.9573.63/58.2671.80/56.0178.30/64.3483.04/70.9986.16/75.6887.55/77.8588.16/78.8378.5979.9565.61
AFENet [60]64.08/47.1572.80/57.2471.74/55.9378.09/64.0682.96/70.8988.27/79.0087.01/77.0087.83/78.3079.1079.9066.19
Ours58.93/41.7774.41/59.2473.09/57.5980.32/67.1183.37/71.4888.21/78.9187.78/78.2288.61/79.5679.3480.7466.74
Best results in bold, second best underlined.
Table 10. Computational complexity analysis on the ISPRS Vaihingen dataset.
Table 10. Computational complexity analysis on the ISPRS Vaihingen dataset.
TypeMethodParams (M) ↓FLOPs (G) ↓mIoU (%) ↑
CNN-BasedABCNet [58]13.3762.5081.24
EIGNet [59]34.48319.9182.57
AFENet [60]20.24102.3683.31
Transformer-BasedDC-Swin [61]66.95277.2081.12
UNetFormer [43]11.7246.9781.86
CGGLNet [46]36.88608.3383.76
SFFNet [62]34.18206.7083.51
Mamba-BasedRS3Mamba [47]43.32253.2081.84
PyramidMamba [30]28.7674.7982.60
PPMamba [29]21.70189.0083.11
Ours 17.8585.1884.26
Bold: best result; ↓: lower is better; ↑: higher is better.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Wang, M.; Sun, X.; Liu, J.; Ni, Y.; Cui, J.; Luan, J. SPFMamba: A Mamba-Based Network with Semantic Prompt and Frequency-Adaptive Fusion for Remote Sensing Image Semantic Segmentation. Remote Sens. 2026, 18, 2592. https://doi.org/10.3390/rs18152592

AMA Style

Wang M, Sun X, Liu J, Ni Y, Cui J, Luan J. SPFMamba: A Mamba-Based Network with Semantic Prompt and Frequency-Adaptive Fusion for Remote Sensing Image Semantic Segmentation. Remote Sensing. 2026; 18(15):2592. https://doi.org/10.3390/rs18152592

Chicago/Turabian Style

Wang, Manlin, Xifu Sun, Jiahang Liu, Yue Ni, Jian Cui, and Ji Luan. 2026. "SPFMamba: A Mamba-Based Network with Semantic Prompt and Frequency-Adaptive Fusion for Remote Sensing Image Semantic Segmentation" Remote Sensing 18, no. 15: 2592. https://doi.org/10.3390/rs18152592

APA Style

Wang, M., Sun, X., Liu, J., Ni, Y., Cui, J., & Luan, J. (2026). SPFMamba: A Mamba-Based Network with Semantic Prompt and Frequency-Adaptive Fusion for Remote Sensing Image Semantic Segmentation. Remote Sensing, 18(15), 2592. https://doi.org/10.3390/rs18152592

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop