1. Introduction
Earth observation technology has advanced at a fast pace which makes multi-temporal remote sensing imagery an essential data source for tracking surface changes. The trend demonstrates that RSICC has become more vital for implementation in disaster emergency response, urban planning decisions, and ecological environment assessment [
1,
2]. As shown in
Figure 1, this technology enables users to understand remote sensing data better through its ability to convert remote sensing data into human-readable semantic information for land surface dynamics monitoring [
3,
4].
RSICC represents an upcoming research field that develops from the combination of remote sensing image change detection (RSICD) and image captioning (IC). Traditional change detection methods evolved from early change vector analysis [
5] to deep learning-based Siamese network structures [
6,
7], and finally achieve significant progress in pixel-level and object-level change localization [
8,
9]. Meanwhile, remote sensing image captioning technology has evolved from using CNN-RNN networks to Transformer networks which have improved both semantic understanding and language generation capabilities [
10,
11,
12]. RSICC inherits the spatial localization capability of change detection for bi-temporal image differences while adopting the language expression mechanism of image captioning, realizing the transformation from pixel-level changes to semantic-level descriptions through vision-language cross-modal learning [
13,
14]. The release of large-scale annotated datasets such as LEVIR-CC and LEVIR-MCI in 2022 brought this new field into existence while drawing numerous researchers to study it [
15,
16].
Current mainstream RSICC methods adopt encoder–decoder architectures. The encoder extracts visual change features from bi-temporal remote sensing images, experiencing an evolution from local to global modeling. CNN backbones (such as ResNet [
17] and VGG [
18]) long dominated visual feature extraction through Siamese structures or difference networks for bi-temporal difference modeling, though the local receptive field of convolutions limited the model’s ability to capture long-range spatial correlations. In recent years, Transformer architectures have demonstrated significant advantages in RSICC tasks through the global modeling capability of self-attention mechanisms [
15,
19,
20,
21], with multi-scale feature aggregation and hierarchical attention mechanisms further improving change localization accuracy [
22,
23]. Concurrently, large-scale pre-trained vision-language models such as CLIP [
24] have enhanced the cross-modal representation capability of encoders [
25,
26]. The decoder side has similarly undergone technological iterations: while recurrent networks like LSTM can model sequential dependencies, they suffer from long-range information decay; Transformer-based autoregressive decoders [
27] align visual features with text embeddings through multi-head cross-attention, addressing long-distance dependency modeling while maintaining parallel computation efficiency.
Despite the promising application prospects of RSICC, its practical deployment still faces several technical bottlenecks. First, the severe foreground-background imbalance problem cannot be ignored [
8]. In urban monitoring scenarios, for instance, change regions usually occupy a small fraction of the image, while the vast majority consists of unchanged elements such as roads and buildings. Current global attention mechanisms distribute computation uniformly across all spatial positions, resulting in insufficient focus on the actual locations of change. Second, the multi-scale characteristics of remote sensing scenes further exacerbate modeling difficulty [
28,
29]. The extent of object-level changes including building demolition and road construction reaches hundreds of meters but vegetation degradation and surface texture changes appear at scales of less than fifty meters. Models require multigranular representation capabilities from local to global to simultaneously comprehend these change phenomena spanning two orders of magnitude. Third, the Vision Transformers widely used in current methods suffer from quadratic computational complexity with respect to sequence length, resulting in prohibitive inference costs when processing high-resolution remote sensing images whose token sequences far exceed those of natural images.
Recently, The State Space Model (particularly Mamba [
30]) have emerged in computer vision as a promising alternative that addresses the above challenges simultaneously. Mamba’s selective state space mechanism offers a principled solution: its input-dependent filtering can naturally prioritize change-relevant tokens over static background, alleviating the foreground-background imbalance; meanwhile, its linear complexity
overcomes the quadratic bottleneck of Transformers for long sequences. Subsequent works such as LocalMamba [
31] and PlainMamba [
32] further refined scanning strategies for visual tasks. In the remote sensing domain, RSCaMa [
33] and ChangeMamba [
34] validated SSMs’ efficiency advantages for bi-temporal analysis.
However, existing Mamba-based methods still exhibit limitations [
33,
35]: models lack effective multi-granularity modeling from detailed spatial patterns to high-level semantic representations, leading to insufficient localization of salient change regions. To systematically address these challenges, we propose PM3Net (Progressive Mamba Mask-guided Multigranular Network), an efficient change captioning framework specifically designed for RSICC tasks. The model comprises four core modules: a Progressive Mask-guided Encoder (PME), a Mask-guided Feature Enhancement (MFE) module, a visual feature extractor, and a language decoder. The pre-trained CLIP vision transformer [
24] extracts bi-temporal remote sensing images into token sequences, then passing through
N PME layers for progressive change modeling. PME layers in the model use spatial and semantic dual-source differences to create change masks directing bidirectional Mamba [
30,
36,
37] to detect spatial change patterns through mask-modulated difference features. Subsequently, the framework uses aggregated features to guide temporal interaction for modeling inter-temporal evolution relationships. The MFE module accepts all PME layer outputs to generate multigranular visual embeddings
through mask weighting and cross-layer fusion. Finally, an N-layer Transformer decoder hierarchically receives visual features of corresponding granularity, generating change description sentences autoregressively through cross-attention mechanisms.
The main contributions of this paper are summarized as follows:
We introduce a dual-source change mask generation mechanism that fuses spatial differences (L2 norm) and semantic differences (cosine distance) to construct change saliency maps, enabling more robust localization of multi-scale change regions.
We design the Progressive Mask-guided Encoder (PME), where each PME layer comprises two stages: mask-modulated spatial difference modeling and aggregated feature-guided temporal interaction. Multi-layer cascaded structure allows multigranular change modeling starting with specific details before moving to semantic understanding through its different layers. This module contains shallow layers detecting small surface pattern and boundary line changes, while deep layers identify both object categories and their spatial connections to achieve human-like change perception beginning with specific details and ending with general understanding.
We propose the Mask-guided Feature Enhancement (MFE) module, performing mask weighting and learnable cross-layer fusion on each PME layer output. It preserves multi-scale semantics while effectively suppressing background interference in description generation. MFE produces detailed multi-scale feature sets used to feed the Transformer decoder layers processing PME outputs. The decoder uses this hierarchical alignment mechanism to focus on visual changes at their correct scales, helping it use the encoder’s multiple visual embedding scales effectively.
The remainder of this paper is organized as follows:
Section 2 reviews related work on remote sensing image change captioning and state space models;
Section 3 elaborates on PM3Net’s architectural design, including dual-source mask generation, PME, and MFE module implementation details;
Section 4 introduces experimental setup, datasets, and evaluation metrics, and presents experimental results, ablation studies, and visualization analysis;
Section 5 concludes the paper and discusses future research directions.
3. Methodology
Intuitively, PM3Net follows a three-stage pipeline:
detect where changes occur,
understand what changes mean at multiple scales, and
describe them in natural language. As shown in
Figure 2, PM3Net employs an encoder–decoder structure containing four essential components that include visual feature extraction, Progressive Mask-guided Encoder (PME), Mask-guided Feature Enhancement (MFE) module, and language decoder. This system processes two remote sensing images
containing independent visual token sequences that result from a pre-trained CLIP Vision Transformer followed by
N PME layers for sequential change modeling. PME produces change masks through dual-source spatial and semantic differences, then using Mamba to find spatial changes before applying these masks to difference features for spatial pattern detection and using combined features to model how elements change between time points. The “progressive” property is visualized in this part, where masks evolve from capturing low-level textures in shallow layers to highlighting high-level semantic change objects in deeper layers. This hierarchical refinement enables the model to transition from pixel-level discrepancy detection to object-level change perception. MFE accepts all PME layer outputs to generate multigranular visual embeddings
through mask weighting and cross-layer fusion. An
N-layer Transformer decoder receives visual features of different scales through its hierarchical structure to produce change description sentences through cross-attention mechanisms.
3.1. Visual Feature Extraction
Remote sensing image change captioning relies on successful semantic alignment between visual and language representation spaces because it functions as a cross-modal task. We employ a pre-trained CLIP Vision Transformer (ViT) [
24] as the visual feature extraction backbone. Pre-training CLIP through contrastive learning on extensive image-text datasets enables its visual encoder to transform visual data into a common representation which matches language embedding spaces thus creating an optimal starting point for visual-text interaction.
Given bi-temporal remote sensing images
, we independently encode both images to preserve the independence of each temporal phase’s features, avoiding information confusion from premature fusion. ViT [
44] divides each image into
L patches transforming them into token sequences through linear projection to obtain feature representations
through multiple Transformer encoding layers. Encoded features receive learnable positional embeddings
which produce the first set of feature representations.
Position-aware token sequences serve as inputs to PME modules, functioning to generate detailed visual semantic representations for multiple levels of change modeling.
3.2. Progressive Mask-Guided Encoder (PME)
The PME module consists of three layers, answering three questions in sequence:
where did changes occur (dual-source mask generation),
what are the spatial change patterns (DiffSSM), and
how do bi-temporal features relate (AggSSM). The progressive hierarchy of
N stacked layers begins with shallow layers which identify small texture variations before deep layers identify semantic changes. The PM3Net system uses PME as its fundamental component by handling changes at different scales and distant spatial relationships, addressing two critical RSICC task requirements. Conventional approaches mainly depend on two main techniques: the fixed receptive field convolution and the global attention mechanisms, resulting in
computational operations for their execution [
27]. Multi-layer cascaded structure of PME enables progressive change modeling through three layers producing fused features
and change masks
at each level.
Figure 3 illustrates the detailed architecture of PME. Each of its three layers contains three essential elements. These components include: (1) dual-source mask generation, (2) spatial difference modeling (DiffSSM), and (3) aggregated feature-guided temporal interaction (AggSSM).
Selective State Space Model (SSM) constitute the core computational unit of PME for efficient long-range dependency modeling. SSM performs sequence modeling at a time complexity of
O(
L) through discretized state space equations, lower than traditional self-attention mechanisms. Given input sequence
, SSM performs modeling through the following state space equations:
Four main components comprise this model: the hidden state
and three discretized state matrices
. Input-dependent functions define its parameters, enabling Mamba to choose what information will be transmitted. Better expressiveness is achieved through its bidirectional scanning mechanism running forward scan
and backward scan
at the same time to detect both forward and backward sequence relationships.
3.2.1. Dual-Source Mask Generation Module
Change masks serve as the core guidance signal of PME to determine model performance in detecting high-quality change regions. Unlike methods using only the L2 norm for spatial difference construction [
33], we propose a dual-source mask generation mechanism fusing spatial and semantic complementary measures to address their respective theoretical restrictions. Specifically, the L2 norm effectively captures the magnitude of intensity variations (e.g., brightness or color shifts) but remains vulnerable to illumination and seasonal noise. In contrast, the cosine distance measures the orientation shift in high-dimensional feature space, which corresponds to semantic category transitions while being invariant to absolute intensity changes. By integrating these two distinct geometric measures, the generated masks remain robust against imaging interference while staying highly sensitive to substantial geographical alterations.
Figure 4 shows the detailed structure of the dual-source mask generation module. Given layer
l input features
, the module first computes spatial and semantic difference measures, concatenates them, and fuses them through a learnable linear layer to produce the final change mask:
where
and
are globally shared fusion parameters. We deliberately employ the shared fusion weights between all layers to decrease parameter numbers while maintaining mask comparison ability between different network levels. Rather than introducing heavy attention-based fusion resulting in quadratic complexity, this design relies on the inherent filtering capability of the mask-guided weighting to suppress background noise. The linear fusion acts as a learned gate that aligns the confidence levels of spatial and semantic differences, ensuring that only regions verified by both measures are emphasized in the subsequent progressive encoding stages. The mask value range
represents each token’s change confidence.
3.2.2. Spatial Difference Modeling Module
DiffSSM uses the change mask to amplify difference features in high-confidence change regions while preserving original information elsewhere (
Figure 5). The raw difference
captures bi-temporal variations but does not distinguish changed from unchanged areas in signal strength. Mask modulation adaptively enhances this signal to construct the difference activation branch:
For each temporal phase feature
(
), spatial difference modeling proceeds through preprocessing, bidirectional SSM scanning, and gated fusion with the difference activation branch:
Difference features control information weight distribution between forward and backward paths, concentrating on complete bidirectional context in areas with major changes while maintaining the original features in unmodified areas through residual connections.
3.2.3. Aggregated Feature-Guided Temporal Interaction
DiffSSM models spatial change patterns within each temporal phase independently; AggSSM complements this by explicitly modeling cross-temporal relationships through bi-temporal token interleaving (
Figure 6). Aggregated features combine information from both time periods through element-wise addition, serving as activation gates to emphasize shared context:
Bi-temporal tokens are interleaved into a single sequence for explicit inter-temporal interaction, then processed through preprocessing and bidirectional SSM scanning:
The aggregated activation branch is expanded to match the interleaved sequence length, then fused outputs are split to recover bi-temporal features:
where
and
are recovered by extracting odd and even positions from
respectively.
is the final fused feature output of layer
l PME.
3.3. Mask-Guided Feature Enhancement (MFE)
While PME extracts change features at each granularity independently, MFE integrates them into a coherent multi-scale representation by using masks to re-weight features and fusing adjacent layers so that shallow features inherit semantic context from deeper ones. As shown in
Figure 7, MFE combines multigranular features from all PME outputs through three sequential operations: mask weighting, cross-layer fusion, and residual projection.
First, mask-weighted enhancement amplifies change regions across all layers:
Then, cross-layer fusion enables shallow features to incorporate deeper semantic information. For the deepest layer (
), weighted features are directly output; for other layers (
), current and next layer features are concatenated and fused:
where
is the layer-specific fusion weight matrix.
Finally, residual projection enhances feature expressiveness:
MFE output produces improved feature representations representing each PME output. Multigranular visual embeddings pass through the decoder layers, performing hierarchical visual-text alignment operations.
Notably, the MFE module adopts a simple concatenation followed by linear projection instead of complex gated fusion mechanisms, such as the CFS module used in IHM-SNet [
35]. This design is motivated by two considerations. First, it preserves the linear-time complexity
of the Mamba architecture, which is important for modeling long-sequence remote sensing data. Second, since the primary selective capability is already introduced by the mask-guided weighting strategy, additional heavy fusion operators may provide limited benefit.
3.4. Language Decoder
The decoder uses a multi-layer Transformer structure that matches the encoder structure having three layers (
). Decoder layers receive output features from MFE as
to achieve step-by-step visual-text alignment. After
N decoder layers, the final layer hidden state
is projected to vocabulary space through a linear projection layer:
where
V denotes the size of the vocabulary. Hierarchical structure allows decoder layers at various depths to process visual features at their respective detail levels: early decoder layers process detailed features to produce particular descriptive words while deeper layers process semantic information to create abstract relation words and logical connectives.
3.5. Training Objective
Training process of PM3Net occurs through end-to-end learning using a combined loss function that includes both language generation accuracy and specific mask prediction evaluation. Through this joint training approach, PME module learns to detect important changes in space while also enabling the decoder to produce meaningful text descriptions from better visual inputs.
3.5.1. Caption Generation Loss
Primary training objective for the language decoder is the standard cross-entropy loss. Caption loss function maximizes the probability of correct captions for given bi-temporal image pairs
and their corresponding ground truth change descriptions
.
where
is the one-hot label vector and
the model-predicted probability distribution. Teacher forcing supervises the decoder output through this loss function during training.
3.5.2. Mask Supervision Loss
To provide explicit guidance for the PME module’s change region perception, we introduce mask supervision using the binary change masks
provided by datasets such as LEVIR-MCI. Each PME layer mask
produces one loss function which unites pixel accuracy with region overlap evaluation.
Pixel-wise differences between ground truth and predicted images are calculated through BCE loss and region overlap is evaluated through Dice loss. Hyperparameter
(set to 0.5 in our experiments) balances these two complementary objectives.
Progressive nature of PME requires us to use a layer-wise weighting scheme giving more weight to masks that appear near the output:
The layer-wise decay factor
assigns progressively higher weights to deeper PME layers, reflecting that deeper layers produce masks closer to the final representation consumed by the decoder and thus merit stronger supervision, while shallower layers benefit from relaxed constraints to preserve fine-grained local patterns. Both
and
gradients jointly flow through the shared fused features
, enabling cross-modal alignment between visual encoding and language generation.
3.5.3. Joint Training Objective
Final training objective combines both losses:
where
determines how much visual supervision affects the language processing task. We selected
through grid search over
on the LEVIR-MCI validation set. The sensitivity analysis of the hyperparameter is provided in
Section 4.6.5.
It is important to note that the ground truth masks are used only during training as supervision signals and do not participate in the forward pass. During inference, the model relies entirely on its learned dual-source mask generation mechanism.
5. Conclusions
This paper introduces PM3Net as a progressive mask-guided multigranular network for RSICC tasks. The dual-source mask generation mechanism fusing spatial L2 norm and semantic cosine distance differences produces robust change localization results, leading to 2.7% CIDEr improvement over L2-only guidance. The Progressive Mask-guided Encoder performs multigranular modeling through cascaded Mamba layers with linear complexity, improving CIDEr by 3.1% over the baseline. The Mask-guided Feature Enhancement module produces multi-scale visual embeddings through cross-layer fusion, adding a further 2.3% gain. On LEVIR-MCI, PM3Net achieves CIDEr of 139.82 and BLEU-4 of 66.89, surpassing RSCaMa by 2.4% and 2.5%. On WHU-CDC, CIDEr reaches 148.26 and BLEU-4 reaches 73.05, with 2.7% improvements on both metrics.
However, the research contains multiple restrictions that need to be addressed. The dual-source mask generation relies on ground truth binary masks during training, limiting the model’s applicability to datasets without pixel-level annotations. Nevertheless, this reliance is not intrinsic to the architecture: our ablation (
Table 7) shows that training without mask supervision still achieves CIDEr of 137.48, only 1.7% below the supervised setting, suggesting that the dual-source mechanism can learn effective change localization from caption gradients alone. While PM3Net shows strong resistance to changes in lighting conditions, its performance becomes less accurate when clouds heavily block the view. The present system design supports processing of bi-temporal data pairs, but it may need major design changes to process multiple time sequences for ongoing surveillance operations.
Our future work will explore adapting PME to visual encoders of varying scales, developing cross-dataset transfer learning, and extending to video-level temporal change captioning.