Two-Stage Random Alternation Framework for One-Shot Pansharpening

Haorui Chen, Zeyu Ren, J. R. Ren, Ran Ran, Jinliang Shao, Jie Huang, Liang-Jian DengarXiv 2025 · DOI

Abstract

Deep learning has substantially advanced pansharpening, achieving impressive fusion quality. However, a prevalent limitation is that conventional deep learning models, which typically rely on training datasets, often exhibit suboptimal generalization to unseen real-world image pairs. This restricts their practical utility when faced with real-world scenarios not included in the training datasets. To overcome this, we introduce a two-stage random alternating framework (TRA-PAN) that performs instance-specific optimization for any given Multispectral(MS)/Panchromatic(PAN) pair, ensuring robust and high-quality fusion. TRA-PAN effectively integrates strong supervision constraints from reduced-resolution images with the physical characteristics of the full-resolution images. The first stage introduces a pre-training procedure, which includes Degradation-Aware Modeling (DAM) to capture spectral degradation mappings, alongside a warm-up procedure designed to reduce training time and mitigate the adverse effects of reduced-resolution data. The second stage employs Random Alternation Optimization (RAO), randomly alternating between reduced- and full-resolution images to refine the fusion model progressively. This adaptive, per-instance optimization strategy, operating in a one-shot manner for each MS/PAN pair, yields superior high-resolution multispectral images. Experimental results demonstrate that TRA-PAN outperforms state-of-the-art (SOTA) methods in quantitative metrics and visual quality in real-world scenarios, underscoring its enhanced practical applicability and robustness.

The Pansharpening Generalization Gap

High-resolution multispectral (HRMS) imagery is a cornerstone of modern remote sensing, supporting applications from urban planning to environmental monitoring. However, due to physical sensor constraints, satellites typically capture two distinct data types: a low-resolution multispectral (MS) image rich in spectral information and a high-resolution panchromatic (PAN) image containing fine spatial details. Pansharpening is the critical process of fusing these two inputs to create a single high-resolution multispectral image.

The basic pansharpening task: fusing low-resolution multispectral (MS) and high-resolution panchromatic (PAN) images to produce HRMS.

While deep learning has significantly improved fusion quality, most existing models follow a "train-then-infer" paradigm. These models are trained on large, often simulated, datasets and then applied to new images. This approach frequently fails in real-world scenarios because the atmospheric conditions and sensor characteristics of the target images differ from the training data. This "generalization gap" results in spectral distortion and spatial blurring when models encounter unseen data.

The TRA-PAN Framework

To address the generalization gap, we propose the Two-Stage Random Alternation Framework (TRA-PAN). Unlike traditional models, TRA-PAN utilizes a "one-shot" approach, optimizing the fusion network specifically for each individual MS/PAN pair at the time of inference. This instance-specific optimization ensures the model adapts to the unique physical properties of every image.

The TRA-PAN architecture featuring alternating Full-resolution and Reduced-resolution branches to balance supervised and unsupervised learning.

Stage 1: Pre-training and Degradation-Aware Modeling

The first stage prepares the model through two key processes:

  1. Degradation-Aware Modeling (DAM): Rather than assuming a fixed degradation process, TRA-PAN uses a Multi-Layer Perceptron (MLP) to learn the specific, non-linear spectral degradation mapping from the input MS image to a low-resolution version of the PAN image. This allows the model to better understand the relationship between spectral and spatial components.
  2. Warm-up Procedure: The network is initially trained exclusively on full-resolution data. This counterintuitive "warm-up" helps the model find a stable initial parameter state, preventing it from overfitting to simulated downscaled data later in the process.

Stage 2: Random Alternation Optimization (RAO)

The core of TRA-PAN is the Random Alternation Optimization. During this stage, the model alternates between training on reduced-resolution images (which provide strong supervision via simulated ground truth) and full-resolution images (which provide unsupervised guidance based on the physical characteristics of the input). By randomly switching between these two branches, the model acts as its own regularizer, finding a global optimum that satisfies both the simulated constraints and the real-world physical properties of the specific image pair.

Experimental Results

TRA-PAN was evaluated against nine state-of-the-art (SOTA) methods using the WorldView-3 (WV3), QuickBird (QB), and GaoFen-2 (GF2) datasets. The framework consistently achieved superior results across all no-reference quality metrics:

  • WorldView-3: Achieved an HQNR (High-Quality No-Reference) score of 0.966, outperforming the next best method (PanMamba at 0.954).
  • QuickBird: Reached an HQNR of 0.924.
  • GaoFen-2: Reached an HQNR of 0.930.

Ablation studies confirmed that the random sampling strategy in Stage 2 is essential, as it significantly outperformed fixed training schedules that relied solely on one resolution level.

Conclusion

TRA-PAN offers a robust solution to the generalization challenges of deep learning in pansharpening. By shifting from universal models to instance-specific, one-shot optimization, the framework achieves high-fidelity results tailored to the unique characteristics of each satellite image. While this approach requires more computation time per image compared to pre-trained models, its superior accuracy and robustness make it a powerful tool for high-stakes remote sensing applications.

Summary updated

BibTeX
@misc{chen2025two,
  author = {Haorui Chen and Zeyu Ren and J. R. Ren and Ran Ran and Jinliang Shao and Jie Huang and Liang-Jian Deng},
  title = {{Two-Stage Random Alternation Framework for One-Shot Pansharpening}},
  year = {2025},
  eprint = {2505.06576},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.06576},
  howpublished = {arXiv},
}
Figure