Skip to Content
  • Article
  • Open Access

19 March 2026

29 Pages

Optimized Reinforcement Learning-Driven Model for Remote Sensing Change Detection

,
,
and
1
School of Electric Power, Inner Mongolia University of Technology, Hohhot 010080, China
2
Intelligent Energy Technology and Equipment Engineering Research Center of Colleges and Universities of Inner Mongolia Autonomous Region, Inner Mongolia University of Technology, Hohhot 010080, China
3
Inner Mongolia Key Laboratory of Electrical and Mechanical Control, Inner Mongolia University of Technology, Hohhot 010080, China
4
School of Electronic Information and Electrical Engineering, Shanghai Jiao Tong University, Shanghai 200240, China
This article belongs to the Section AI in Imaging

Abstract

In recent years, deep learning has driven remarkable progress in remote sensing change detection (CD); however, practical deployment is still hindered by two limitations. First, CD results are easily degraded by imaging-induced uncertainties—mixed pixels and blurred boundaries, radiometric inconsistencies (e.g., shadows and seasonal illumination changes), and slight residual misregistration—leading to pseudo-changes and fragmented boundaries. Second, prevailing methods follow a static one-pass inference paradigm and lack an explicit feedback mechanism for adaptive error correction, which weakens generalization in complex or unseen scenes. To address these issues, we propose a feedback-driven CD framework that integrates a dual-branch U-Net with deep reinforcement learning (RL) for pixel-level probabilistic iterative refinement of an initial change probability map. The backbone produces a preliminary posterior estimate of change likelihood from multi-scale bi-temporal features, while a PPO-based RL agent formulates refinement as a Markov decision process. The agent leverages a state representation that fuses multi-scale features, prediction confidence/uncertainty, and spatial consistency cues (e.g., neighborhood coherence and edge responses) to apply multi-step corrective actions. From an imaging and interpretation perspective, the RL module can be viewed as a learnable, self-adaptive imaging optimization mechanism: for high-risk regions affected by blurred boundaries, radiometric inconsistencies, and local misalignment, the agent performs feedback-driven multi-step corrections to improve boundary fidelity and spatial coherence while suppressing pseudo-changes caused by shadows and illumination variations. Experiments on four datasets (CDD, SYSU-CD, PVCD, and BRIGHT) verify consistent improvements. Using SiamU-Net as an example, the proposed RL refinement increases mIoU by 3.07, 2.54, 6.13, and 3.1 points on CDD, SYSU-CD, PVCD, and BRIGHT, respectively, with similarly consistent gains observed when the same RL module is integrated into other representative CD backbones.

1. Introduction

As a fundamental task in remote sensing image analysis, change detection aims to identify surface changes from multi-temporal imagery acquired over the same geographic area and serves as a key enabling technique for applications such as dynamic land-use monitoring, disaster assessment and response, urban expansion analysis, and ecological environment evaluation [1,2]. With the continuous increase in observation frequency and spatial resolution, practical deployments demand change detection methods that are not only accurate and efficient but also capable of maintaining stable generalization under complex scenes, varying imaging conditions, and cross-region transfer. Conventional methods rely on manual interpretation or handcrafted features (e.g., differencing, ratioing, and PCA) and often exhibit limited robustness under complex terrains, illumination variations, and highly spectrally similar backgrounds, making them inadequate for large-scale automated processing.
In recent years, deep learning has been widely adopted for remote sensing change detection. By building end-to-end neural networks (e.g., Siamese architectures, dual-branch U-Net variants, and multi-scale feature fusion models), these approaches can learn discriminative representations from bi-temporal imagery and substantially improve the level of automation and overall accuracy [3,4,5,6]. However, in complex remote sensing scenarios, existing deep learning–based change detection methods still face several major challenges. First, change detection typically operates under severe class imbalance and cluttered backgrounds; predictions are easily affected by local textures, shadows, seasonal variations, and slight residual misregistration, resulting in pseudo-changes. Second, when change boundaries are ambiguous, object scales vary, or noise/interference is strong, a single-shot forward inference often fails to achieve both reliable boundary delineation and detail preservation. Third, although networks can fit a predefined loss during training, their inference behavior remains largely “static”: once a prediction is produced, the model lacks an explicit feedback mechanism to adaptively correct errors, and the errors tend to accumulate under unseen scenes, imaging-condition shifts, or novel object patterns. In other words, the bottleneck is not merely representation capacity but the absence of feedback-driven self-correction during inference—an ability that is particularly critical for boundary- and pseudo-change–sensitive change detection.
To address these issues, prior work has explored multiple directions. Boundary-aware losses (e.g., Boundary Loss, Hausdorff Distance Loss, and edge-aware Dice loss) explicitly constrain boundary errors to enhance edge delineation [7,8,9]; graph-based post-processing such as conditional random fields (CRFs) improves spatial coherence [10]; and architectural innovations based on vision Transformers, state-space modeling (e.g., Mamba), or large foundation models strengthen global dependency modeling and multi-scale representations for complex scenes [11,12,13]. Recently, Transformer-based change detection models (e.g., BIT, ChangeFormer, and SwinSUNet) [14,15,16] and state-space–model–based variants (e.g., Mamba-CD, AM-CD and CDMamba) [17,18,19] have become active research topics and achieved promising performance. Nevertheless, most of these improvements still follow a static optimization paradigm: models are trained to optimize a fixed objective, and inference remains a one-pass prediction process. In difficult local regions caused by strong noise, weak boundaries, or residual misregistration, an explicit “prediction–feedback–correction” iterative procedure is typically absent. Therefore, enabling change detection models with dynamic, self-adaptive optimization capability beyond static inference remains an important open problem.
The above limitations motivate researchers to explore deep reinforcement learning (RL) for visual segmentation. RL is characterized by a closed-loop mechanism of “state–action–reward–update”, which naturally models feedback-driven sequential decision-making and iterative optimization and thus provides a principled route to correct local errors that cannot be adequately handled by a single forward pass. Existing RL-based studies in visual segmentation suggest that sequential decision-making and iterative refinement are well suited for boundary refinement and local error correction. For example, Duan et al. proposed RL-CoSeg by formulating co-segmentation as a Markov decision process (MDP) and iteratively improving foreground boundary quality via RL [19]. Furuta et al. introduced pixelRL, a pixel-wise multi-step RL framework for image processing tasks such as denoising and enhancement, where an action sequence progressively adjusts pixel-level representations [20]. Han et al. modeled video object segmentation as an MDP and learned a cutting-agent to perform multi-step segmentation decisions, adapting to evolving targets in temporal sequences [21]. Vecchio et al. further explored multi-agent formulations for video object segmentation and interactive feedback modeling, enabling policy updates to better absorb feedback from different sub-tasks and local regions [22]. Collectively, these works demonstrate that RL can explicitly incorporate “error feedback” into segmentation optimization, providing methodological evidence for pixel-level iterative correction in remote sensing change detection [22,23,24,25,26,27].
Remote sensing change detection differs from the above segmentation settings: it relies on bi-temporal discrepancies and is affected by misregistration, seasonal/illumination changes, spectral ambiguity, and strong class imbalance [28,29,30,31]. Accordingly, the RL state, actions, and rewards must be designed specifically for these factors [32]. Although RL-based change detection is still nascent, its feedback-driven refinement naturally supports boundary sharpening, pseudo-change suppression, and scene-adaptive generalization beyond static inference [33,34,35].
Motivated by these considerations, this paper proposes a hybrid change detection framework that integrates a dual-branch U-Net with deep reinforcement learning to achieve feedback-driven iterative refinement of the initial change probability map [36]. The dual-branch U-Net extracts multi-scale representations and produces an initial change probability map, while the RL module organizes multi-scale fused features, confidence/uncertainty cues, and spatial consistency information into the state and outputs pixel-level corrective actions through a learned policy. By refining the probability map over multiple steps, the proposed framework enhances boundary delineation and suppresses pseudo-changes [37]. Different from fixed-rule post-processing (e.g., CRF or morphology), the RL module is formulated as an MDP and learns a generalizable correction policy via reward feedback, enabling the model to adaptively select correction directions and magnitudes according to region structures and prediction uncertainty.
From an imaging and interpretation perspective, the introduced RL module is not merely used to “improve classification accuracy” but can be viewed as a feedback-driven, self-adaptive optimization mechanism for interpretation quality. After the deep network produces an initial change probability map, we regard it as a posterior estimate of the underlying change distribution, and the RL agent performs pixel-wise corrections through multi-step iterations [38]. The optimization objective corresponds to more intrinsic interpretation-quality dimensions in remote sensing, including boundary fidelity, spatial coherence, and the reliability of spatio-spectral representations. The RL state explicitly incorporates confidence/uncertainty and spatial consistency constraints (e.g., neighborhood consistency, connectivity, and edge responses), allowing the agent to distinguish “reliable” from “high-risk” regions and apply differentiated correction strategies. In this way, the framework adaptively suppresses imaging uncertainties such as blurred boundaries, shadow interference, texture similarity, and slight residual misregistration. Moreover, the feedback-driven iterative refinement is extensible: when sensor resolution, noise levels, or spectral channels vary, richer spatio-spectral consistency cues and sensor-related constraints can be integrated into the RL state and reward. In this work, we first validate the effectiveness of the proposed framework under an RGB input setting, providing a foundation for future extensions to multi-spectral or multi-resolution scenarios.
In summary, the main contributions of this work are threefold:
(1)
We introduce a PPO-driven pixel-level probabilistic iterative correction mechanism for remote sensing change detection, enabling dynamic refinement of static initial predictions.
(2)
We design a change-detection–oriented RL formulation with state representations that integrate multi-scale features, confidence/uncertainty cues, and spatial consistency signals, allowing adaptive refinement in boundary-ambiguous and pseudo-change–prone regions.
(3)
We validate the proposed framework on multiple public benchmarks and a real-world PV change detection dataset, and provide comparative and ablation analyses to quantify the contributions of key components.

2. Materials

2.1. Datasets and Study Area

This study evaluates the proposed method on three public benchmarks and a newly constructed photovoltaic change detection dataset (PVCD). PVCD was collected over eight typical PV farm sites located in the Kubuqi Desert (Ordos, Inner Mongolia), a dune-dominated region on the northern margin of the Ordos Plateau. In recent years, large-scale PV stations have been rapidly deployed in this area, where PV arrays exhibit dense, regular patterns that provide representative targets for remote sensing change detection.
Change Detection Dataset (CDD): CDD is a widely used benchmark consisting of bi-temporal remote sensing image pairs with pixel-level binary labels (change/unchanged) across diverse environments (e.g., urban, cropland, water, and woodland). In this study, we used 15,598 pairs in total, with 10,000 for training and the remaining pairs split into validation and testing.
SYSU-CD Dataset: SYSU-CD contains 20,000 bi-temporal image pairs with change annotations covering diverse change patterns (e.g., building construction/demolition, road expansion, and farmland conversion). We followed the standard split of 12,000/4000/4000 for training/validation/testing.
BRIGHT Dataset: BRIGHT is an open-access [23], globally distributed, event-diverse multimodal dataset curated for AI-based disaster response. It covers five natural disasters and two man-made disasters across 14 regions worldwide, providing about 4200 paired optical and SAR images with a spatial resolution of 0.3–1 m, and includes over 380,000 building instances for fine-grained damage-related analysis. Following the official partition, we used 2890 image pairs for training and 349 pairs for testing; the remaining samples were reserved for validation in our implementation. For consistency with the RGB-only setting used throughout this study, we used the optical imagery from BRIGHT as model input.
Photovoltaic Change Detection Dataset (PVCD): UAV-based multi-temporal imagery was collected over eight PV farm areas in the Kubuqi Desert. After geometric correction and mosaicking, orthorectified images were generated (5500 × 3262 to 11,000 × 6700 pixels), cropped into 256 × 256 patches, and augmented (rotation, flipping, and brightness adjustment), yielding 11,000 high-resolution image pairs with pixel-level change labels.
To prevent data leakage caused by spatial autocorrelation, we adopted geographically disjoint splits. For CDD, SYSU-CD, and BRIGHT, we used the official train/val/test partitions. For PVCD, the validation and testing samples were collected from independent sample areas that were never used during training.

2.2. Data Acquisition and Preprocessing

2.2.1. UAV-Based Multispectral Data Acquisition and Preprocessing

The key technical specifications of the UAV and sensors are summarized in Table 1.
Table 1. Technical specifications of the DJI Matrice 300 RTK UAV.
The experimental data used in this study were acquired using the DJI Matrice 300 RTK industrial-grade UAV (DJI Innovations Co., Ltd., Shenzhen, China). The UAV was equipped with an MS600Pro multispectral gimbal camera (Changguang Yuchen Information Technology and Equipment Co., Ltd., Qingdao, China), which provides a spatial resolution of 1.3 megapixels and captures spectral data within the 400–1000 nm range. The MS600Pro includes six spectral bands centered at 450 nm, 555 nm, 660 nm, 720 nm, 750 nm, and 840 nm, corresponding to the blue, green, red, and three near-infrared bands, respectively. The UAV system integrates a high-precision satellite navigation module, enabling autonomous flight path planning within the study area.
Data were purposefully acquired in June 2025, as this period coincides with the prevalence of stable illumination conditions, which are ideal for the operation of PV panels. Although the equipment captured both visible and near-infrared imagery, only the RGB visible bands were used for analysis in this study [39]. The core contribution of this work lies in validating the dynamic optimization capability of deep reinforcement learning (RL) for change detection—particularly in boundary refinement and pseudo-change suppression. This enhancement mechanism primarily relies on spatial geometric features and contextual semantic information, which can be adequately captured by the high-resolution texture information provided by RGB bands (e.g., contours of photovoltaic panels and building edges). Meanwhile, the publicly available datasets employed in our experiments are widely adopted RGB-only benchmarks in the change detection community; maintaining consistent RGB inputs across all datasets ensures a fair and direct performance comparison with existing state-of-the-art methods. Given that the application of RL to change detection remains an emerging research direction, this study focuses on establishing its effectiveness on RGB bands as a foundational step, with the extension to multi-spectral information reserved for future exploration [40]. Thus, all datasets uniformly use RGB bands (Figure 1). A small pilot on PVCD with RGB + NIR (reported in Figure S1 in the Supplementary Materials) indicates that the RL refinement exhibits consistent trends in boundary improvement and false-alarm reduction under both RGB-only and RGB + NIR settings.
Figure 1. Remotely sensed image of an individual acquisition site. (a) Image at 450 nm, (b) Image at 555 nm, (c) Image at 660 nm, (d) Fused image generated from the three bands.
Prior to image collection, a calibration panel provided with the camera was used to capture reference images, compensating for illumination variations caused by different times or weather conditions and reducing radiometric inconsistencies. After assembling the UAV system, the boundary of the study area was imported into the flight control software, and subregion flight routes planned based on remote sensing imagery. The flight mission parameters were set as follows: flight altitude of 120 m, forward overlap of 70%, and side overlap of 80%. Data acquisition was carried out under near-clear-sky weather conditions (cloud cover < 10%) between 10:00 AM and 14:00 PM local time to ensure image consistency by minimizing angular variations in solar illumination. The UAV flight speed was set to 11 m/s, with a ground sampling distance (GSD) of 6 cm and an image spatial resolution of 2.5 cm. An S-shaped flight path was adopted to ensure complete coverage and spatial continuity across the study area. To mitigate overlap variation caused by acceleration, deceleration during turns and wind gusts as the UAV was flying, an equidistant image capture mode was employed to enhance data stability.
Figure 2 shows the sequence of steps that were followed to compile UAV remote sensing data that were used in this study.
Figure 2. Sequence of steps that were followed to compile UAV remote sensing data.
After data collection, the multispectral imagery was processed using the YuSense Map software (Changguang Yuchen Information Technology and Equipment Co., Ltd., Qingdao, China), which is compatible with the MS600Pro gimbal camera. This software was used for image registration and mosaicking to generate a high-precision orthophoto footprint coverages of study area’s sample sites (Figure 3). The resulting orthophoto provides a reliable data foundation for subsequent photovoltaic panel change detection and analysis.
Figure 3. UAV-derived orthophoto coverages of the study area’s sample sites. (a) Sample area 1, (b) Sample area 2, (c) Sample area 3, (d) Sample area 4.

2.2.2. Construction of the Photovoltaic Panel Remote Sensing Change Detection Dataset

To construct the PV panel remote sensing change detection dataset, this study focused on identifying changes in the presence or absence of PV panels within the study area. The post-change imagery was obtained from UAV-based visible light remote sensing data, while the pre-change imagery could not be collected via UAV due to temporal constraints and the unavailability of earlier on-site data. This limitation was addressed by using temporally corresponding, historical visible light imagery of the same region which was obtained from Ovi Earth (Beijing Yuansheng Huanet Technology Co., Ltd., Beijing, China).
The UAV images were geotagged with RTK-based GNSS/IMU information and processed to generate an orthorectified mosaic. Specifically, the UAV imagery was orthorectified and mosaicked in the MS600Pro supporting software (Yusense Map V3.1.0) to produce georeferenced GeoTIFF products. The historical Ovi Earth images were reprojected to the same coordinate reference system as the UAV orthomosaic (e.g., WGS84/UTM) and co-registered to the UAV mosaic using a two-stage strategy: (i) coarse alignment based on geocoordinates, followed by (ii) fine registration using manually selected tie points from stable, non-changing landmarks (e.g., road intersections and building corners). An affine (or low-order polynomial) transformation was estimated from the tie points, and resampling was performed using bilinear interpolation. Registration accuracy was evaluated using independent check points that were not involved in model fitting, and image pairs were retained only when the alignment RMSE was below 1.0 pixel; otherwise, samples with noticeable residual misalignment were excluded to avoid pseudo-changes caused by registration errors [41].
To reduce illumination-induced variability, radiometric calibration was conducted for the UAV imagery using a calibrated gray reference panel captured under the same illumination conditions during data acquisition. The panel reflectance values were 0.62 at 450 nm, 0.61 at 555 nm, and 0.61 at 660 nm. After data collection, the built-in radiometric correction workflow in Yusense Map was applied to perform panel-based calibration and radiometric correction, producing reflectance-consistent UAV images for subsequent annotation and dataset construction [42]. Thereafter, ENVI (V5.6) was employed to manually annotate PV panel regions and generate pixel-level change labels, resulting in the final PV panel change detection dataset. Since PV panel boundaries can be ambiguous due to shadowing, mixed pixels, and slight residual misregistration, manual labeling may introduce small uncertainties, mainly around object edges. To reduce inter-annotator variability, the annotations followed a unified guideline and were additionally reviewed to correct ambiguous regions, thereby minimizing potential label noise in the constructed dataset. Figure 4 shows representative samples of the constructed dataset.
Figure 4. Data samples for PV panel change detection. (a) Time 1 Imagery, (b) Time 2 Imagery, (c) Ground Truth (GT).

3. Methods

3.1. Architecture Overview

Figure 5 shows the proposed network architecture.
Figure 5. Overall Framework of the Proposed Method. Modules marked with indicate frozen parameters, whereas modules marked with indicate trainable parameters.
As depicted in Figure 5, the proposed change detection architecture takes bi-temporal remote sensing images as input. A shared-weight U-Net network is first pre-trained to achieve competent change detection performance. This pre-training follows the conventional deep learning paradigm: using the same dataset and data split as the subsequent reinforcement learning stage, the network is trained until the validation loss stabilizes and no longer decreases significantly. After pre-training, the encoder parameters are frozen to serve as a feature extractor. The frozen encoder processes the input bi-temporal remote sensing images, generating multi-scale features that encapsulate both low-level spatial details and high-level semantic information of ground objects.
Subsequently, the multi-scale features extracted by the U-Net encoder are fed into a specifically designed multi-scale feature fusion module. This module fuses the multi-scale features derived from the two temporal images to enhance the discriminability of change-related features and suppress irrelevant redundant information. Ultimately, it outputs fused multi-scale features, which serve as the fundamental visual feature input for the subsequent RL branch.
Parallel to the feature extraction process, the pre-trained U-Net outputs an initial binary prediction map, which discriminates between “change” and “no-change” classes. Based on this initial prediction map, two auxiliary cue maps are constructed to guide the RL-based optimization process: one is the confidence map, which is derived from the probability distribution of the U-Net’s output logits to quantify the reliability of the U-Net’s predictive output for each pixel; the other is the spatial consistency map, which is obtained by analyzing the neighborhood similarity of pixels in the initial prediction map to evaluate the spatial continuity of the predicted change regions.
The RL branch serves as the core dynamic optimization component of the proposed architecture. Its state input is formulated by concatenating four components, namely the fused multi-scale features, initial prediction map, confidence map, and spatial consistency map. Under the guidance of pre-defined reward signals, the RL branch iteratively adjusts its optimization policy to refine the initial prediction map. It is noteworthy that the architecture incorporates a dynamic state update mechanism: subsequent to each iteration of optimization, the initial prediction map is updated to the corrected result generated by the RL branch; the confidence map is recalculated based on the updated prediction map via a pseudo-logit construction strategy; and the spatial consistency map is renewed by analyzing the local neighborhood continuity of the updated prediction map. This dynamic update mechanism forms a closed-loop optimization process of “state-action-reward-update” within the RL branch.
Overall, the proposed architecture integrates the superior feature extraction capability of the pre-trained U-Net with the dynamic optimization advantage of RL, forming a two-stage framework. In the first stage, the U-Net is employed to complete preliminary feature extraction and change prediction. In the second stage, the RL branch is leveraged to implement adaptive refinement of the prediction results under the guidance of confidence and spatial consistency cues. The entire architecture achieves an organic integration of static feature learning and dynamic result optimization, laying a solid foundation for enhancing the accuracy and robustness of change detection [43,44,45].

3.2. Feature Fusion Module

The multi-scale feature fusion module, based on an attention mechanism, takes the multi-scale features extracted by the Siamese U-Net encoder as input. It implements a three-step process—channel alignment, attention enhancement, and resolution reconstruction—to fuse and enhance cross-scale features, ultimately outputting a high-resolution feature map rich in semantic contextual information. The fusion module is illustrated in Figure 6.
Figure 6. Structure of the fusion module.
In the illustration shown above, the module first employs parallel 1D convolutions to unify the channel dimensions of input features from different scales by reducing the semantic gaps across these scales after which, Subsequently, a sequentially structured dual attention mechanism, comprising channel and spatial attention is introduced. The channel attention component calibrates feature importance by leveraging global average pooling followed by a two-layer MLP to learn channel-wise significance which enhances the response of discriminative features. The spatial attention component aggregates features along the channel dimension using both average and max pooling operations. A convolutional layer then processes these aggregated features to generate a spatial weight map, which accentuates change-sensitive regions [46,47,48].
Following attention enhancement, the multi-scale features are upsampled to the target resolution via bilinear interpolation and concatenated along the channel dimension to preserve multi-scale contextual information. Finally, a 1 × 1 convolution followed by two 3 × 3 convolutional layers are applied to fuse and refine the features, strengthening their representational capacity and ensuring local consistency.

3.3. Reinforcement Learning-Based Optimization Module Design

3.3.1. State Representation

State representation is a crucial prerequisite for the effective operation of the RL module, as its design quality directly determines whether the RL agent can accurately perceive the current environment and make rational optimization decisions [49].
The state S t of the RL module at each step consists of four core components. The detailed composition of the state space is elaborated as follows:
(1) Fused feature maps
The fused feature maps are derived from the attention mechanism-based multi-scale feature fusion module. As the fundamental visual feature input to the RL branch, these fused feature maps provide essential visual contextual support, laying a solid foundation for the RL network to implement targeted optimization of segmentation results.
(2) Segmentation Prediction Map from the Current Iteration
This component is the core optimization object of the RL policy network. In the first iteration, the segmentation prediction map is the initial binary change map output by the pre-trained U-Net, representing the preliminary judgment of the deep segmentation model on the change areas. In subsequent iterations, this map is updated to the corrected segmentation result output by the RL policy network in the previous iteration, serving as the starting point for the current optimization policy of the RL agent. This component reflects the current “segmentation intent” of the framework and records the continuous attention and adjustment process applied to the target change regions across historical iterations; incorporating this map into the state provides the RL network with guidance on which regions to focus on, thereby avoiding excessive exploration by the RL agent.
(3) Segmentation Error Feedback Map
The confidence map functions as a critical auxiliary cue for quantifying the reliability of the current segmentation predictions. Its generation is intrinsically linked to the model’s logits output during the initial iteration and the dynamic correction behavior of the RL agent in all subsequent iterations [50].
During the first iteration, the confidence map is computed directly from the logits output of the pre-trained U-Net via probability transformation. Let z i , j ∈ R 2 denote the logits vector for pixel i j from the U-Net, with its two dimensions corresponding to the “no-change” (class 1) and “change” (class 2) categories, respectively. The class probability for the pixel is obtained by applying the Softmax function:
p i , j , k = S o f t m a x z i , j , k = exp z i , j , k ∑ m = 1 2 exp z i , j , m ,   k = 1 , 2
where p i , j , k (1) is the probability of pixel i j belonging to class k . The initial confidence score c i , j 0 (2) (where the superscript 0 denotes the initial iteration) is then defined as the maximum class probability across the two categories:
c i , j 0 = m a x { p i , j , 1 , p i , j , 2 }
Here, c i , j 0 ∈ [ 0 , 1 ] , with a higher value indicating a more reliable initial prediction for that pixel by the U-Net.
Imaging-driven rationale. In optical remote sensing/UAV orthophotos, the separability of “change vs. no-change” at each pixel is strongly constrained by imaging physics and sensor sampling: (i) spectral similarity between target and background (e.g., desert sand vs. certain PV materials under varying illumination/viewing angles) leads to weak inter-class evidence; (ii) high-frequency texture and repetitive patterns (e.g., PV panel arrays) can cause local feature ambiguity; (iii) boundary mixing caused by finite spatial resolution, point spread function (PSF), orthorectification resampling, and compression introduces mixed pixels and blurred edges; and (iv) illumination/shadow variation and slight misregistration can produce pseudo-changes around high-contrast edges. These effects typically reduce the Softmax separation between the two classes, making the posterior distribution less peaked and thereby lowering the confidence.
To make this link explicit, besides using c i , j 0 = max p i , j , 1 , p i , j , 2 , one may equivalently interpret uncertainty via the probability margin or entropy:
∆ p i , j = p ( i , j , 2 ) − p ( i , j , 1 )
H ( i , j ) = − ∑ k = 1 2 p ( i , j , k ) l o g p ( i , j , k )
A small ∆ p i , j (3) (or large H ( i , j ) (4)) is frequently observed near object boundaries, weak-texture regions, or spectrally similar areas, which is consistent with the imaging-induced ambiguity described above. In this sense, the confidence map serves as an “imaging-aware reliability proxy” that guides the RL agent to prioritize corrections where the segmentation is most likely affected by resolution limits, texture confusion, or spectral/illumination artifacts.
For subsequent iterations t (where t ≥ 1 ), the segmentation prediction is the binary mask M i , j t ∈ { 0 , 1 } corrected by the RL agent ( M i , j t = 1 for “change”, M i , j t = 0 for “no-change”). Since this corrected mask lacks inherent logits, we introduce a pseudo-logit construction strategy based on a pixel’s cumulative correction history to generate the confidence map. A core variable n i , j t is defined, representing the cumulative number of times the label for pixel i j has been modified from the initial iteration up to the current iteration t . Thus, n i , j t ≥ 0 , where n i , j t = 0 indicates the pixel’s label has never been changed, and n i , j t ≥ 1 means it has been modified n i , j t times.
The confidence score c i , j t (5) for pixel i j at iteration t is dynamically adjusted based on n i , j t , following the principle that confidence should decrease with an increasing number of modifications until a minimum threshold is reached. This is formalized as:
c i , j t = m a x { c max − Δ c × n i , j t , c min }
where c max = 0.9 represents the maximum confidence assigned to unmodified pixels, Δ c = 0.2 is the confidence decrement applied per modification, and c min = 0.3 is the minimum confidence threshold. The maximum confidence c max is not set to 1.0 to avoid the reinforcement learning (RL) agent losing its ability to correct initial prediction errors. The selection of this value is based on a statistical analysis of the Softmax probabilities of correctly predicted pixels by the pre-trained model on the validation set, where the mean value is approximately 0.91 and the median is 0.89; thus, c max is set to 0.9.
The design of the minimum confidence threshold c min = 0.3 and the single modification decrement Δ c = 0.2 is intended to guide the RL agent to focus on key uncertain regions, while avoiding excessive density of confidence values that would lead to an overly large state space. If the distribution of intermediate confidence values is too dense, it will significantly increase the exploration difficulty of the RL agent. This mechanism ensures that initially stable pixels obtain high confidence, and the confidence gradually decays in a controllable and interpretable manner during multiple modifications, ultimately stabilizing around the set minimum threshold [51,52,53].
To generate corresponding pseudo-logits z ^ i , j t ∈ R 2 that are consistent with the score c i , j t , we construct them to satisfy the Softmax probability constraint where the probability of the current assigned label equal c i , j t :
z ^ i , j t = l n ( 1 − c i , j t c i , j t ) , 0                                               i f   M i , j t = 1 0 , l n ( 1 − c i , j t c i , j t )                                               i f   M i , j t = 0
Substituting z ^ i , j t (6) into the S o f t m a x function verifies that m a x Softmax ( z ^ i , j t ) = c i , j t , ensuring consistency. This pseudo-logit construction method directly links the RL agent’s correction history (encapsulated in n i , j t ) to the confidence map. Consequently, the map dynamically reflects the reliability of the ever-evolving segmentation results and strategically guides the RL agent to focus its optimization efforts on low-confidence pixels—those that have been frequently modified.
Physical meaning of correction-history confidence. The cumulative modification count n i , j t is not only a learning heuristic but also a practical indicator of “persistent ambiguity” under real imaging conditions: pixels repeatedly flipped across iterations tend to concentrate around (a) boundaries blurred by PSF/resampling, (b) thin structures close to the sensor ground sampling distance (GSD), (c) shadow edges that move temporally, and (d) misregistration-induced double-edge patterns. Therefore, decreasing confidence with increasing n i , j t can be justified as an imaging-consistent rule: repeated corrections imply that the local evidence is unstable under the resolution/noise/texture constraints, so the RL agent should treat such pixels as low-reliability and rely more on neighborhood structure and fused multi-scale features to resolve them.
(4) Spatial Consistency Map
The spatial consistency map is designed based on the spatial distribution characteristics of ground objects in remote sensing images (i.e., authentic change regions are typically spatially contiguous). It evaluates the spatial continuity of the change regions in the current segmentation prediction map by analyzing the neighborhood similarity of pixels.
In both the first and subsequent iterations, the spatial consistency map is calculated using a 3 × 3 convolutional kernel: the convolutional kernel slides over the current segmentation prediction map to count the number of pixels with the same segmentation label as the central pixel in the 3 × 3 neighborhood. The count value is then normalized by the total number of pixels in the neighborhood (i.e., 9) to obtain the spatial consistency score of each pixel. A higher score indicates that the pixel’s segmentation label is more consistent with its neighboring pixels, meaning the region is more likely to be an authentic change or no-change region. By incorporating this map into the state space, the RL agent can identify isolated erroneous pixels (with low spatial consistency scores) that violate the spatial laws of ground objects and perform targeted correction.
Let N ( i , j ) = u , v | u ∈ i − 1 , i , i + 1 , v ∈ j − 1 , j , j + 1 denote the 3 × 3 neighborhood and M ( i , j ) t ∈ 0 , 1 be the current binary mask. The spatial consistency score is defined as:
S ( i , j ) t = 1 N ( i , j ) ∑ ( u , v ) ∈ N ( i , j ) 1 ( M u , v t = M i , j t )
where 1 ( · ) is the indicator function and N ( i , j ) = 9 (border pixels handled by padding or valid neighborhood size).
Imaging-driven rationale and relation to texture/boundaries/artifacts. Under finite spatial resolution and PSF blur, truly changed objects in optical remote sensing typically occupy multiple adjacent pixels and form connected components at a scale larger than random noise; conversely, isolated single-pixel changes are often caused by sensor noise, quantization/compression artifacts, orthorectification resampling, or slight misregistration (especially around high-contrast edges). Thus, S ( i , j ) t (7) acts as a local “contiguity prior” consistent with imaging formation and sampling, suppressing pepper-noise-like false alarms and promoting region-level continuity.
Importantly, boundaries are a special case: genuine object edges naturally have mixed neighborhoods (lower S ( i , j ) t (7)), particularly when the boundary width is close to the GSD or when texture is highly anisotropic (e.g., PV panel grid patterns). Therefore, the spatial consistency map is not used alone; it is jointly interpreted with (i) the fused feature maps (providing texture/edge evidence) and (ii) the confidence map (capturing spectral/illumination ambiguity). This joint state allows the RL policy to distinguish “low-consistency due to true boundaries” from “low-consistency due to imaging artifacts,” preserving sharp edges when supported by feature evidence while removing isolated artifacts when confidence is low and neighborhood support is absent.
In summary, the state space integrates multi-dimensional information including visual features, segmentation results, prediction reliability, and spatial distribution laws. This comprehensive state representation enables the RL agent to fully perceive the current optimization status, thereby making more accurate and efficient correction decisions. The four components of the state space are concatenated along the channel dimension to form a unified input tensor for the RL policy network, ensuring the compatibility and integrity of the input information.

3.3.2. Reward Function

To effectively guide the RL policy network in optimizing the initial semantic segmentation results, this paper designs a reward function based on the performance improvement in change detection. The core objective of the reward function is to measure the degree of overall performance enhancement in the segmentation result after each policy adjustment compared to the original prediction, thereby incentivizing the policy network to progressively correct misclassified areas.
The proposed reward function comprehensively considers two metrics: the improvement in mean Intersection over Union (mIoU) and the improvement in mean F1-score (mF1):
ΔmIoU: Measures the increase in the average Intersection over Union between the prediction and the ground truth label before and after the policy optimization.
ΔmF1: Measures the improvement in overall prediction accuracy, balancing both precision and recall.
The final immediate reward r t at step t is defined as follows:
r t = m I o U a f t e r − m I o U b e f o r e + m F 1 a f t e r − m F 1 b e f o r e
where:
m I o U a f t e r , m I o U b e f o r e represent the m I o U before and after optimization, respectively.
m F 1 a f t e r , m F 1 b e f o r e represent the mF1-score before and after optimization, respectively.
To account for the impact of each policy adjustment on subsequent segmentation performance, the discounted cumulative reward R t is introduced:
R t = r t + γ r t + 1 + γ 2 r t + 2 + … + γ T − t r T
where:
γ ∈ [ 0 , 1 ] is the discount factor, determining the present value of future rewards.
T is the total number of steps in the entire optimization process.

3.3.3. Reinforcement Learning Training Mechanism

In this study, to optimize the initial segmentation results and achieve fine-grained adjustment of change regions, the RL module employs the Proximal Policy Optimization (PPO) algorithm for training, with the overall procedure being illustrated in Figure 7 below. As an efficient and stable policy gradient method, PPO introduces a clipping mechanism during policy updates. This effectively mitigates training instability caused by drastic shifts in the policy distribution, making it particularly suitable for the present task characterized by a complex state space, sparse feedback signals, and an optimization process requiring multi-iteration adjustments [54]. The RL training mechanism is illustrated in Figure 7.
Figure 7. Reinforcement Learning Training Process.
At each iteration, the RL module receives the state s t . Based on this input, the policy network (Actor) outputs a pixel-level action a t , which performs fine-grained adjustments to the current segmentation probabilities according to:
p i t + 1 = c l i p p i t + d i t ,   i = 1 , … , N
where p i t (10) is the segmentation probability of the i -th pixel, d i t is the adjustment value output by the policy network, and the c l i p function constrains the probability to the interval [ 0 , 1 ] .
The Actor-Critic architecture within the PPO framework consists of:
Policy Network (Actor): Learns a parameterized policy π θ ( a |s) to generate pixel-level actions.
Value Network (Critic): Estimates the state value V ϕ s , to assist in computing the advantage function A ( s , a ) :
A s t , a t = R t − V ϕ s t
where R t (9) denotes the cumulative reward.
The policy network is updated based on the clipped probability ratio, with its policy loss defined as:
L p o l i c y θ = − E t min r t θ A s t , a t , c l i p r t θ , 1 − ϵ , 1 + ϵ A s t , a t
The value network is updated by minimizing the mean squared error between the predicted state value and the cumulative reward:
L v a l u e ϕ = 1 2 ∑ t ( R t − V ϕ S t ) 2
Furthermore, to prevent the policy from collapsing to a deterministic output and to encourage exploration, an entropy regularization term H [ π θ ] for the policy is incorporated during training. The final combined loss function is:
L = L p o l i c y + L v a l u e − β H [ π θ ]
The reward function is defined based on the improvement in segmentation performance, jointly considering the mIoU and mF1 metrics: a positive reward is given if the result improves over the previous prediction, while a negative reward is assigned upon degradation, thereby guiding the policy towards better performance.
The RL process employs multi-episode iterative optimization. In each episode, the policy network continuously refines the segmentation probabilities until convergence. To ensure training efficiency and prevent overfitting, a dynamic termination mechanism is implemented: an episode concludes automatically when either the maximum number of iterations is reached, or the improvement in performance over two consecutive rounds falls below a predefined threshold [55].

4. Results and Discussion

4.1. Experimental Setup

4.1.1. Implementation Details

During the experiments, all input multi-temporal remote sensing images were resized to 256 × 256 patches before being fed into the network to meet model input requirements and reduce computational overhead. The prediction results were restored to the original image resolution during the inference stage for final performance evaluation.
Regarding the training pipeline, the deep learning branch first generated an initial change detection result based on the Siamese U-Net. This initial segmentation map was then used as one of the inputs to the RL module. The RL component was trained using the PPO algorithm, with its training and testing sets strictly aligned with the previously defined partitions of the CDD, SYSU-CD, and PVCD datasets.
For the action space design, a discrete action set was defined as:
A = { ± 0.1 , ± 0.2 , ± 0.5 }
where each action represents an increment or decrement applied to the current pixel’s segmentation probability. The final output probability is constrained to the interval [0, 1] using a clip function to ensure numerical stability.
It is worth noting that the PPO algorithm, as a policy gradient–based RL method, is inherently insensitive to the absolute magnitude of discrete action values. The optimization direction of the policy is primarily determined by the advantage function, which evaluates the relative benefit of each action under the current state. Therefore, as long as the action value range remains within a reasonable scale—avoiding excessively large values that cause oscillation and overly small values that slow convergence—the policy network can autonomously learn the appropriate action selection strategy for different regions. This property allows the proposed framework to maintain adaptability and stability while performing pixel-level probabilistic refinements.
In terms of hyperparameter settings, PPO training was conducted in an online manner with the batch size fixed at 1, optimizing one image pair step-by-step per iteration. The learning rate was initialized to 0.001 and gradually decayed during training. The Adam optimizer was employed, with the discount factor γ = 0.95 , the PPO clipping parameter ϵ = 0.2 , and the entropy regularization coefficient β = 0.01 to encourage exploration and prevent premature policy collapse. All RL experiments were conducted with fixed random seeds (Python V3.8/NumPy V1.24.4/PyTorch V1.13.0), using seeds {0, 1, 2}. The PPO Actor–Critic network contains 2,677,352 parameters in total (shared encoder: 675,521; Actor head: 690,086; Critic head: 1,311,745). The exact model configuration is provided in Appendix A.
For the training iterations, the maximum training steps were set to 60,000 for the SYSU-CD dataset, 40,000 for the CDD dataset, and 30,000 for the PVCD dataset.
Furthermore, to prevent overfitting, a dynamic early stopping mechanism was introduced during the experiments: training was automatically terminated if the improvement on the validation set (measured by mIoU and F1-score) remained below ∆ = 0.01 for K = 5 consecutive evaluations. The evaluation metrics employed were mIoU and the F1-score, providing a comprehensive assessment of the model’s performance in terms of both pixel-level accuracy and overall consistency in identifying change regions.

4.1.2. Comparative Experiments on Segmentation Methods

To evaluate the effectiveness of the proposed reinforcement learning (RL)-enhanced framework, we conducted systematic experiments on three public datasets (CDD, SYSU-CD, and BRIGHT) as well as our self-constructed PVCD. In addition, to further verify the generalization and plug-and-play capability of the RL module, we applied the same RL optimization strategy to three representative deep change detection networks, including SNUNet-CD and two Transformer-based models (BIT and ChangeFormer). The main objective of these experiments is to examine whether the RL mechanism can consistently refine initial segmentation results across different network architectures and under different data distributions and imaging conditions, rather than being effective only for a single backbone.
As shown in Table 2, integrating the proposed RL refinement consistently improves the corresponding pretrained baselines across key evaluation metrics on all four datasets (CDD, SYSU-CD, PVCD, and BRIGHT). Specifically, using SiamU-Net as an example, the RL-enhanced model improves mIoU by 3.07 points on CDD, 2.54 points on SYSU-CD (with more complex scenes and diverse change patterns), 6.13 points on PVCD, and 3.1 points on BRIGHT. Moreover, the same RL module yields consistent performance gains when combined with other representative change detection backbones, with mIoU and F1-score generally improving across datasets. These results indicate that the proposed RL mechanism provides robust adaptability and iterative refinement capability under diverse image characteristics and change scenarios.
Table 2. Segmentation accuracies of the models on the two datasets.
As illustrated in Figure 8, Figure 9, Figure 10 and Figure 11, the visual results provide intuitive evidence of the improvements achieved by RL. In representative scenes, the initial predictions produced by the pretrained backbone often suffer from blurred boundaries, fragmented regions, and local omissions. After RL-based refinement, these errors are reduced, yielding outputs with improved spatial continuity, more complete object shapes, and sharper boundaries that better match the ground truth. Notably, the larger improvement on PVCD can be attributed to the acquired imagery, which typically has higher imaging quality and stronger spatial coherence, making the spatial-consistency–guided RL refinement more effective.
Figure 8. Visualization results on the CDD dataset (spatial resolution: 0.03–1.0 m). (a) Pre-event image; (b) Post-event image; (c) SiamU-Net prediction; (d) SiamU-Net + RL refinement; (e) GT. False positives are highlighted in red, and false negatives are indicated in green.
Figure 9. Visualization results on the SYSU-CD dataset (spatial resolution: 0.5 m GSD). (a) Pre-event image; (b) Post-event image; (c) SiamU-Net prediction; (d) SiamU-Net + RL refinement; (e) GT.
Figure 10. Visual depictions of the results from the PVCD dataset. (spatial resolution: 1 m GSD). (a) Pre-event image; (b) Post-event image; (c) SiamU-Net prediction; (d) SiamU-Net + RL refinement; (e) GT.
Figure 11. Visual depictions of the results from the BRIGHT dataset (optical imagery; spatial resolution: 0.3–1 m). (a) Pre-event image; (b) Post-event image; (c) SiamU-Net prediction; (d) SiamU-Net + RL refinement; (e) GT.
From an imaging perspective, these gains stem from how the RL agent leverages confidence and spatial-consistency cues to mitigate common remote-sensing uncertainties. Boundary blur is often related to limited spatial resolution and mixed pixels along object contours, where the evidence is unstable and confidence tends to be low; RL therefore performs multi-step, small-amplitude probability corrections in these uncertain boundary regions to improve boundary fidelity. Meanwhile, shadow/illumination differences, radiometric inconsistencies, orthorectification resampling artifacts, and residual misregistration can induce isolated or weakly connected pseudo-change responses. By incorporating a spatial consistency map, RL suppresses such locally incoherent artifacts while preserving true boundaries where neighborhood agreement naturally drops. Overall, RL acts as a feedback-driven, adaptive interpretation constraint that refines the posterior change map, sharpening boundaries. Zoomed-in boundary insets for visual verification are provided in the Supplementary Materials (Figure S2).
In summary, the experimental results comprehensively validate the effectiveness of the proposed RL optimization mechanism. The method not only achieves consistent improvements in quantitative metrics but also delivers superior qualitative performance, exhibiting stronger semantic consistency and regional integrity in the visualized results. These findings confirm its practical value and generalization capability in remote sensing change detection tasks.
After introducing RL, the computational metrics of the network are shown in Table 3.
Table 3. Comparison of computational performance between networks.

4.2. Validation

4.2.1. Validation of State Space Design

To validate the rationale behind the state space design in our proposed RL framework, systematic ablation studies were conducted across four datasets.
Regarding feature fusion, we configured different levels of feature combination:
  • Single-Scale (High-Level): Utilizing only the highest-level features.
  • Two-Scale Fusion: Fusing features from the last two levels.
  • Three-Scale Fusion: Fusing features from the last three levels.
  • Four-Scale Fusion: Fusing features from all four levels.
Experimental results indicated that the model employing three-scale fusion achieved the best performance across all metrics on both datasets, while incorporating all four levels did not yield significant further improvement. This suggests that a moderate degree of multi-scale fusion in state modeling achieves an optimal balance between performance and computational efficiency.
For the validation of state components, we adopted the best-performing Three-Scale Fusion model as the baseline and conducted controlled experiments by individually removing three key components from the state space, namely the initial prediction map, confidence map, and spatial consistency map:
  • w/o Initial Prediction Map: Removing the initial prediction map to examine the role of preliminary segmentation judgment information in guiding the RL agent’s optimization process.
  • w/o Confidence Map: Removing the confidence map to investigate the impact of prediction reliability information on the optimization performance of the RL agent.
  • w/o Spatial Consistency Map: Removing the spatial consistency map to evaluate the significance of spatial distribution prior information for guiding accurate change region correction.
Table 4 shows the results of ablation analysis.
Table 4. Ablation Results.
Table 4 results show that removing any single component causes a significant performance drop, confirming the indispensability of all three in state representation. Notably, removing the initial prediction map leads to the most pronounced performance degradation, further verifying its critical role.
In summary, the ablation study systematically validates the effectiveness of our state space design. The results demonstrate that: in terms of feature fusion, integrating the last three encoder levels (conv3, conv4, conv5) optimally balances semantic information and spatial details, which boosts the proposed method’s performance by providing usable environmental details. Regarding component composition, the multi-scale fused features establish the foundation for global perception, the initial prediction map ensures the coherence of iterative optimization, the confidence map guarantees the targeting of optimization by highlighting uncertain regions, and the spatial consistency map aids in distinguishing authentic change regions based on spatial prior knowledge. These components work synergistically to form the critical informational foundation that drives the agent towards efficient pixel-level optimization.

4.2.2. Sensitivity Analysis of Hyperparameters

To investigate the sensitivity of the proposed framework to key hyperparameters, we conducted experiments on four benchmark change detection datasets (CDD, SYSU-CD, PVCD, BRIGHT). The hyperparameter examined here is the pixel-level action set A in PPO.
We defined three discrete action sets:
  • A1: {±0.05, ±0.1, ±0.2}
  • A2: {±0.1, ±0.2, ±0.5}
  • A3: {±0.2, ±0.5, ±1.0}
Each action represents an increment or decrement applied to the current pixel’s segmentation probability. Experimental results show that the moderate action set A2 consistently achieves the best balance between segmentation accuracy (mIoU and F1-score) and training efficiency across all datasets. Very small steps (A1) lead to slower convergence, whereas overly large steps (A3) reduce accuracy due to overshooting. Table 5 shows the results of the sensitivity analysis for different action sets across the three datasets.
Table 5. Sensitivity Analysis of Action Set on Four Datasets.
The sensitivity analysis demonstrates that the pixel-level action set significantly affects both segmentation accuracy and convergence. Across all three datasets (CDD, SYSU-CD, PVCD, BRIGHT), the moderate action set A2 {±0.1, ±0.2, ±0.5} consistently achieves the best balance, yielding the highest mIoU and F1 while requiring fewer convergence iterations. Small steps (A1) result in slower convergence, whereas large steps (A3) reduce accuracy due to overshooting. These results indicate that appropriately sized action increments are crucial for effective pixel-level refinement, and A2 is the most suitable choice for robust and efficient change detection across different datasets.

4.2.3. Limitations Analysis

Although the proposed RL-enhanced framework delivers consistent improvements in most scenarios, noticeable performance degradation can still occur under certain challenging conditions. Figure 12 illustrates representative failure cases where change targets are extremely small, highly numerous, and densely distributed, often accompanied by complex local textures or high-frequency background patterns. In such cases, the model is more prone to missing a large portion of micro-target changes, producing fragmented “salt-and-pepper” predictions, and confusing boundaries due to adhesion between adjacent targets. Even after RL-based refinement, the overall gain becomes substantially smaller, and local errors may persist, including over-suppression of true micro-changes or blurred delineation. This limitation mainly stems from the fact that, when targets are too small and densely packed, the initial segmentation evidence and confidence estimates become less stable, while neighborhood-consistency cues become less discriminative because true changes themselves no longer form clearly coherent regions. As the RL module essentially performs iterative corrections on the initial probability map, its refinement ability is constrained by the quality of the initial prediction and the separability of local patterns, making it difficult to recover changes that are largely missed at the first stage and sometimes leading to conservative smoothing. From an application perspective, such scenes should be treated as high-uncertainty cases, where additional verification (e.g., higher-resolution imagery or manual inspection) may be required to mitigate the risk of omissions. Future work may improve robustness in this regime by enhancing small-target feature preservation and representation, introducing priors tailored to dense micro-change patterns, and designing state representations and action policies that better fit densely distributed tiny objects.
Figure 12. Representative failure cases. (a) Pre-event image; (b) Post-event image; (c) Ground truth (GT); (d) SiamU-Net prediction; (e) SiamU-Net + RL refinement.

5. Conclusions

This paper presents an RL-enhanced remote sensing change detection framework that integrates deep learning with reinforcement learning to mitigate limitations of static one-pass inference, particularly for boundary refinement and pseudo-change suppression. The proposed approach couples a change detection backbone with a PPO-based RL module that performs feedback-driven, multi-step probabilistic refinement on the initial change probability map, enabling adaptive correction of local errors beyond fixed-rule post-processing.
Comprehensive experiments on three public benchmarks (CDD, SYSU-CD, and BRIGHT) and our self-constructed PVCD dataset demonstrate that the proposed RL refinement yields consistent gains across datasets and network architectures. Using SiamU-Net as an example, the RL-enhanced model improves mIoU by 3.07 points on CDD, 2.54 points on SYSU-CD, 6.13 points on PVCD, and 3.1 points on BRIGHT; similar improvements are also observed when the RL module is integrated with other representative backbones. Qualitative results further show reduced fragmentation and local omissions, producing change maps with improved spatial continuity, shape integrity, and boundary clarity.
From an imaging and interpretation perspective, these improvements arise from the RL agent’s use of confidence/uncertainty and spatial-consistency cues to mitigate common remote-sensing uncertainties. Low-confidence boundary pixels—often associated with limited spatial resolution and mixed pixels—are refined through iterative, small-step corrections to enhance boundary fidelity. Meanwhile, shadow/illumination variability, radiometric inconsistencies, orthorectification resampling artifacts, and residual misregistration may induce isolated or weakly connected pseudo-changes; incorporating spatial-consistency cues helps suppress such incoherent responses while preserving true boundaries where neighborhood agreement naturally decreases. Overall, the RL module acts as a feedback-driven, adaptive interpretation constraint that sharpens boundaries and reduces artifact-driven false alarms.
Despite the promising results, several limitations remain. Refinement effectiveness can be influenced by sensor-dependent imaging characteristics (e.g., GSD, spectral configuration, noise level, and preprocessing), which affect confidence estimation and local coherence. Moreover, performance may degrade when change targets are extremely small and densely distributed over complex high-frequency textures, where initial evidence becomes unstable and neighborhood consistency is less discriminative; consequently, RL may yield smaller gains or over-suppress micro-changes. Since the RL module iteratively corrects the initial probability map, its capability is constrained by initial prediction quality and local separability. Future work will improve efficiency (e.g., adaptive stopping and lightweight policies), strengthen robustness for dense micro-change scenarios, and extend the current RGB setting to incorporate multispectral cues and sensor-related constraints for broader applicability.
In summary, this study demonstrates that reinforcement learning can serve as an effective, imaging-aware refinement mechanism for remote sensing change detection, improving interpretation quality (boundary fidelity and spatial coherence) alongside accuracy, while highlighting challenging conditions that warrant further investigation.

Supplementary Materials

The following supporting information can be downloaded at https://www.mdpi.com/article/10.3390/jimaging12030139/s1: Figure S1: Qualitative comparison of RL refinement under RGB-only and RGB+NIR inputs on the PVCD pilot subset; Table S1: Pilot comparison of RGB-only vs. RGB+NIR on a PVCD subset; Figure S2: High-Resolution Mosaics and Zoom-in Boundary Verification; Table S2: RL gains stratified by dataset type and resolution/GSD proxy.

Author Contributions

Conceptualization, Z.X. and T.B.; methodology, Y.Z. (Yan Zhao) and T.B.; software, Y.Z. (Yan Zhao) validation, Y.Z. (Yan Zhao), T.B. and Y.Z. (Yulong Zhou); formal analysis, Y.Z. (Yan Zhao) and Y.Z. (Yulong Zhou); investigation, Y.Z. (Yan Zhao) resources, Z.X. and T.B.; data curation, Y.Z. (Yan Zhao) and Y.Z. (Yulong Zhou); writing—original draft preparation, Y.Z. (Yan Zhao) writing—review and editing, Y.Z. (Yan Zhao), Z.X., Y.Z. (Yulong Zhou) and T.B.; visualization, Y.Z. (Yulong Zhou); supervision, Z.X., Y.Z. (Yulong Zhou) and T.B.; project administration, Z.X. and T.B.; funding acquisition, Z.X. and T.B. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Natural Science Foundation of Inner Mongolia, grant number 2024QN04013; the Science and Technology Revitalization Project of Inner Mongolia, grant numbers 2022XYJG00001-14 and KJXM2024-02-07.

Institutional Review Board Statement

UAV data collection was conducted with permission from relevant stakeholders and in compliance with applicable laws and regulations. The imagery focuses on photovoltaic facilities and surrounding land cover; no personally identifiable information was collected, and the data are used solely for academic research purposes.

Data Availability Statement

The UAV remote sensing data collected and analyzed in this study involve photovoltaic facilities operated by relevant enterprises and therefore cannot be publicly shared due to privacy and confidentiality restrictions. Researchers interested in accessing the PVCD dataset for non-commercial academic research may contact the corresponding author upon reasonable request. A request should include (i) the applicant’s name, affiliation, and institutional email, (ii) a brief research plan and intended use, and (iii) a data management and security statement (e.g., secure storage, restricted access). Access may require signing a Data Use Agreement (DUA)/NDA, and the dataset must not be redistributed to third parties. Approved users are required to cite this paper and acknowledge the data source. To support reproducibility, the model implementation code has been released as open source at: https://github.com/zyl-mwy/RLCD (accessed on 10 January 2026).

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
CDChange Detection
RLReinforcement Learning
UAVUnmanned Aerial Vehicle
GTGround truth
PVPhotovoltaic
GSDGround Sampling Distance

Appendix A

Table A1 lists the network architecture and specific parameters of SiamU-Net.
Table A1. Network architecture and specific parameters of SiamU-Net.
Table A2 lists the network architecture and specific parameters of the multi-scale feature fusion module.
Table A2. Network architecture and specific parameters of the multi-scale feature fusion module.
Table A3 lists the network architecture and specific parameters of PPO.
Table A3. Network architecture and specific parameters of PPO.

References

  1. Lu, D.; Mausel, P.; Brondizio, E. Change detection techniques. Int. J. Remote Sens. 2004, 25, 2365–2401. [Google Scholar] [CrossRef] [Scilit]
  2. Gurjar, Y.; Wan, R.; Farahbakhsh, E.; Chandra, R. Landcover classification and change detection using remote sensing and machine learning: A case study of Western Fiji. arXiv 2025, arXiv:2509.13388. [Google Scholar] [CrossRef] [Scilit]
  3. Peng, D.; Zhang, Y.; Guan, H. End-to-end change detection for high resolution satellite images using improved UNet++. Remote Sens. 2019, 11, 1382. [Google Scholar] [CrossRef] [Scilit]
  4. Zhang, C.; Yue, P.; Tapete, D.; Jiang, L.; Shangguan, B.; Huang, L.; Liu, G. A deeply supervised image fusion network for change detection in high resolution bi-temporal remote sensing images. ISPRS J. Photogramm. Remote Sens. 2020, 166, 183–200. [Google Scholar] [CrossRef] [Scilit]
  5. Bandara, W.G.C.; Patel, V.M. A transformer-based siamese network for change detection. In Proceedings of the IGARSS 2022—2022 IEEE International Geoscience and Remote Sensing Symposium, Kuala Lumpur, Malaysia, 17–22 July 2022; IEEE: New York, NY, USA, 2022. [Google Scholar]
  6. Chen, H.; Li, W.; Chen, S.; Shi, Z. Semantic-aware dense representation learning for remote sensing image change detection. IEEE Trans. Geosci. Remote Sens. 2022, 60, 5630018. [Google Scholar] [CrossRef] [Scilit]
  7. Kervadec, H.; Bouchtiba, J.; Desrosiers, C.; Granger, E.; Dolz, J.; Ayed, I.B. Boundary loss for highly unbalanced segmentation. In International Conference on Medical Imaging with Deep Learning; PMLR: Cambridge, MA, USA, 2019. [Google Scholar]
  8. Karimi, D.; Salcudean, S.E. Reducing the hausdorff distance in medical image segmentation with convolutional neural networks. IEEE Trans. Med. Imaging 2019, 39, 499–513. [Google Scholar] [CrossRef] [Scilit]
  9. Zheng, Q.; Zheng, L.; Bai, Y.; Liu, H.; Deng, J.; Li, Y. Boundary-aware network with two-stage partial decoders for salient object detection in remote sensing images. IEEE Trans. Geosci. Remote Sens. 2023, 61, 5605713. [Google Scholar] [CrossRef] [Scilit]
  10. Zheng, S.; Jayasumana, S.; Romera-Paredes, B.; Vineet, V.; Su, Z.; Du, D.; Torr, P.H. Conditional random fields as recurrent neural networks. In Proceedings of the IEEE International Conference on Computer Vision, Santiago, Chile, 7–13 December 2015. [Google Scholar]
  11. Dosovitskiy, A.; Beyer, L.; Kolesnikov, A.; Weissenborn, D.; Zhai, X.; Unterthiner, T.; Houlsby, N. An image is worth 16 × 16 words: Transformers for image recognition at scale. arXiv 2020, arXiv:2010.11929. [Google Scholar]
  12. Gu, A.; Tri, D. Mamba: Linear-time sequence modeling with selective state spaces. In Proceedings of the First Conference on Language Modeling, Philadelphia, PA, USA, 7–9 October 2024. [Google Scholar]
  13. Kirillov, A.; Mintun, E.; Ravi, N.; Mao, H.; Rolland, C.; Gustafson, L.; Xiao, T.; Whitehead, S.; Berg, A.C.; Lo, W.-Y. Segment anything. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Paris, France, 2–6 October 2023. [Google Scholar]
  14. Chen, H.; Qi, Z.; Shi, Z. Remote sensing image change detection with transformers. IEEE Trans. Geosci. Remote Sens. 2021, 60, 5607514. [Google Scholar] [CrossRef] [Scilit]
  15. Zhang, C.; Wang, L.; Cheng, S.; Li, Y. SwinSUNet: Pure transformer network for remote sensing image change detection. IEEE Trans. Geosci. Remote Sens. 2022, 60, 5224713. [Google Scholar] [CrossRef] [Scilit]
  16. 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]
  17. Guo, Y.; Xu, Y.; Tang, G.; Yu, Z.; Zhao, Q.; Tang, Q. AM-CD: Joint attention and Mamba for remote sensing image change detection. Neurocomputing 2025, 647, 130607. [Google Scholar] [CrossRef] [Scilit]
  18. Zhang, H.; Chen, K.; Liu, C.; Chen, H.; Zou, Z.; Shi, Z. CDMamba: Incorporating local clues into mamba for remote sensing image binary change detection. IEEE Trans. Geosci. Remote. Sens. 2025, 63, 4405016. [Google Scholar] [CrossRef] [Scilit]
  19. Duan, X.; Liu, X.; Gong, X.; Han, M. RL-CoSeg: A novel image co-segmentation algorithm with deep reinforcement learning. arXiv 2022, arXiv:2204.05951. [Google Scholar]
  20. Furuta, R.; Inoue, N.; Yamasaki, T. Fully convolutional network with multi-step reinforcement learning for image processing. Proc. AAAI Conf. Artif. Intell. 2019, 33, 3598–3605. [Google Scholar] [CrossRef] [Scilit]
  21. Han, J.; Yang, L.; Zhang, D.; Chang, X.; Liang, X. Reinforcement cutting-agent learning for video object segmentation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 18–23 June 2018. [Google Scholar]
  22. Vecchio, G.; Palazzo, S.; Giordano, D.; Rundo, F. MASK-RL: Multiagent video object segmentation framework through reinforcement learning. IEEE Trans. Neural Netw. Learn. Syst. 2020, 31, 5103–5115. [Google Scholar] [CrossRef] [Scilit]
  23. Chen, H.; Song, J.; Dietrich, O.; Broni-Bediako, C.; Xuan, W.; Wang, J.; Shao, X.; Wei, Y.; Xia, J.; Lan, C.; et al. BRIGHT: A globally distributed multimodal building damage assessment dataset with very-high-resolution for all-weather disaster response. Earth Syst. Sci. Data 2025, 17, 6217–6253. [Google Scholar] [CrossRef] [Scilit]
  24. Daudt, R.C.; Le Saux, B.; Boulch, A. Fully convolutional siamese networks for change detection. In Proceedings of the 2018 25th IEEE International Conference on Image Processing (ICIP), Athens, Greece, 7–10 October 2018; IEEE: New York, NY, USA, 2018. [Google Scholar]
  25. Chen, H.; Wu, C.; Du, B.; Zhang, L.; Wang, L. Change detection in multisource VHR images via deep Siamese convolutional multiple-layers recurrent neural network. IEEE Trans. Geosci. Remote Sens. 2019, 58, 2848–2864. [Google Scholar] [CrossRef] [Scilit]
  26. Hochreiter, S.; Jürgen, S. Long short-term memory. Neural Comput. 1997, 9, 1735–1780. [Google Scholar] [CrossRef] [Scilit]
  27. Fang, S.; Li, K.; Shao, J.; Li, Z. SNUNet-CD: A densely connected Siamese network for change detection of VHR images. IEEE Geosci. Remote Sens. Lett. 2021, 19, 8007805. [Google Scholar] [CrossRef] [Scilit]
  28. Han, C.; Wu, C.; Guo, H.; Hu, M.; Chen, H. HANet: A hierarchical attention network for change detection with bitemporal very-high-resolution remote sensing images. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2023, 16, 3867–3878. [Google Scholar] [CrossRef] [Scilit]
  29. Han, C.; Wu, C.; Guo, H.; Hu, M.; Chen, H. Change Guiding Network: Incorporating Change Prior to Guide Change Detection in Remote Sensing Imagery. IEEE J. Sel. Top. Appl. Earth Obs. Remote. Sens. 2023, 16, 8395–8407. [Google Scholar] [CrossRef] [Scilit]
  30. Huang, Y.; Li, X.; Du, Z.; Shen, H. Spatiotemporal enhancement and interlevel fusion network for remote sensing images change detection. IEEE Trans. Geosci. Remote Sens. 2024, 62, 5609414. [Google Scholar] [CrossRef] [Scilit]
  31. Ashish, V. Attention is all you need. Adv. Neural Inf. Process. Syst. 2017, 30, 6000–6010. [Google Scholar]
  32. Bazi, Y.; Bashmal, L.; Rahhal, M.M.A.; Dayil, R.A.; Ajlan, N.A. Vision transformers for remote sensing image classification. Remote Sens. 2021, 13, 516. [Google Scholar] [CrossRef] [Scilit]
  33. Aleissaee, A.A.; Kumar, A.; Anwer, R.M.; Khan, S.; Cholakkal, H.; Xia, G.S.; Khan, F.S. Transformers in Remote Sensing: A Survey. arXiv 2022, arXiv:2209.01206. [Google Scholar] [CrossRef] [Scilit]
  34. 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 IEEE/CVF International Conference on Computer Vision, Montreal, QC, Canada, 10–17 October 2021. [Google Scholar]
  35. Zhang, K.; Zhao, X.; Zhang, F.; Ding, L.; Sun, J.; Bruzzone, L. Relation changes matter: Cross-temporal difference transformer for change detection in remote sensing images. IEEE Trans. Geosci. Remote Sens. 2023, 61, 5611615. [Google Scholar] [CrossRef] [Scilit]
  36. Mnih, V.; Kavukcuoglu, K.; Silver, D.; Graves, A.; Antonoglou, I.; Wierstra, D.; Riedmiller, M. Playing atari with deep reinforcement learning. arXiv 2013, arXiv:1312.5602. [Google Scholar] [CrossRef] [Scilit]
  37. Van, H.; Hado, A.G.; David, S. Deep reinforcement learning with double q-learning. In Proceedings of the AAAI’16: Proceedings of the Thirtieth AAAI Conference on Artificial Intelligence, Phoenix, AZ, USA, 12–17 February 2016; pp. 2094–2100. [Google Scholar]
  38. Sutton, R.S.; McAllester, D.; Singh, S.; Mansour, Y. Policy gradient methods for reinforcement learning with function approximation. Adv. Neural Inf. Process. Syst. 1999, 12, 1057–1063. [Google Scholar]
  39. Silver, D.; Lever, G.; Heess, N.; Degris, T.; Wierstra, D.; Riedmiller, M. Deterministic policy gradient algorithms. In International Conference on Machine Learning; PMLR: Cambridge, MA, USA, 2014. [Google Scholar]
  40. Lillicrap, T.P.; Hunt, J.J.; Pritzel, A.; Heess, N.M.O.; Erez, T.; Tassa, Y.; Silver, D.; Wierstra, D. Continuous control with deep reinforcement learning. arXiv 2015, arXiv:1509.02971. [Google Scholar]
  41. Mnih, V.; Badia, A.P.; Mirza, M.; Graves, A.; Lillicrap, T.; Harley, T.; Silver, D.; Kavukcuoglu, K. Asynchronous methods for deep reinforcement learning. In International Conference on Machine Learning; PMLR: Cambridge, MA, USA, 2016. [Google Scholar]
  42. Schulman, J.; Wolski, F.; Dhariwal, P.; Radford, A.; Klimov, O. Proximal policy optimization algorithms. arXiv 2017, arXiv:1707.06347. [Google Scholar] [CrossRef] [Scilit]
  43. Liao, X.; Li, W.; Xu, Q.; Wang, X.; Jin, B.; Zhang, X.; Zhang, Y.; Wang, Y. Iteratively-refined interactive 3D medical image segmentation with multi-agent reinforcement learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA, 13–19 June 2020. [Google Scholar]
  44. Ghajari, S.; Sistani, M.B.N. Improving the quality of image segmentation in Ultrasound images using Reinforcement Learning. Commun. Adv. Comput. Sci. Appl. 2017, 2017, 33–40. [Google Scholar] [CrossRef] [Scilit]
  45. Song, G.; Myeong, H.; Lee, K.M. Seednet: Automatic seed generation with deep reinforcement learning for robust interactive segmentation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 18–23 June 2018. [Google Scholar]
  46. Liu, Y.; Shi, S.; Wang, J.; Zhong, Y. Seeing beyond the patch: Scale-adaptive semantic segmentation of high-resolution remote sensing imagery based on reinforcement learning. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Paris, France, 1–6 October 2023. [Google Scholar]
  47. Casanova, A.; Pinheiro, P.O.; Rostamzadeh, N.; Pal, C.J. Reinforced active learning for image segmentation. arXiv 2020, arXiv:2002.06583. [Google Scholar] [CrossRef] [Scilit]
  48. Ning, X.; Zhang, H.; Zhang, R.; Huang, X. Multi-stage progressive change detection on high resolution remote sensing imagery. ISPRS J. Photogramm. Remote Sens. 2024, 207, 231–244. [Google Scholar] [CrossRef] [Scilit]
  49. Xu, W.; Chen, S.; Bi, F.; Wang, C.; Shu, X. GMFIMamba: Remote sensing change detection based on group Mamba feature interaction. Eng. Appl. Artif. Intell. 2026, 163, 112878. [Google Scholar] [CrossRef] [Scilit]
  50. He, N.; Wang, L.; Zheng, P.; Zhang, C.; Li, L. CBSASNet: A Siamese network based on channel bias split attention for remote sensing change detection. IEEE Trans. Geosci. Remote Sens. 2024, 62, 5630117. [Google Scholar] [CrossRef] [Scilit]
  51. Zhang, C.; Wang, L.; Cheng, S. HCGNet: A hybrid change detection network based on CNN and GNN. IEEE Trans. Geosci. Remote Sens. 2024, 62, 4401412. [Google Scholar] [CrossRef] [Scilit]
  52. Zhang, Y.; Wen, J.; Zhou, Y.; Yang, L.; Zhou, C.; Zhu, L. Multi-scale Fusion Lightweight Change Detection Network Based on Rich Information Extraction. In International Conference on Intelligent Computing; Springer Nature: Singapore, 2025. [Google Scholar]
  53. Zhang, D.; Li, H.; He, D.; Liu, N.; Cheng, L.; Wang, J.; Han, J. Unsupervised Pre-training with Language-Vision Prompts for Low-Data Instance Segmentation. IEEE Trans. Pattern Anal. Mach. Intell. 2025, 47, 8642–8657. [Google Scholar] [CrossRef] [Scilit]
  54. Wang, S.; Yang, X.; Lu, R.; Zhang, D.; Xie, W.; Su, S.; Zhang, Z. MROD-YOLO: Multimodal Joint Representation for Small Object Detection in Remote Sensing Imagery via Multi-Scale Iterative Aggregation. IEEE Trans. Geosci. Remote. Sens. 2025, 63, 4706314. [Google Scholar] [CrossRef] [Scilit]
  55. Li, H.; Li, J.; Zhang, D.; Wu, C.; Shi, J.; Zhao, C.; Feng, H.; Ding, E.; Wang, J.; Han, J. VDG: Vision-only dynamic gaussian for driving simulation. IEEE Robot. Autom. Lett. 2025, 10, 5138–5145. [Google Scholar] [CrossRef] [Scilit]
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.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.