Unsupervised Pansharpening Based on Self-Attention Mechanism

Ying Qu, Razieh Kaviani Baghbaderani, Hairong Qi, Chiman Kwan · DOI

Abstract: Pansharpening is the process of fusing a multispectral image (MSI) of low-spatial-resolution (LR) but rich spectral characteristics with a panchromatic image (PAN) of high-spatial-resolution (HR) but poor spectral characteristics. Traditional methods usually inject the extracted high-frequency details from PAN into the up-sampled MSI. Recent deep learning endeavors are mostly supervised, assuming the HR MSI is available, which is unrealistic for satellite imagery. Furthermore, these methods often fail to fully exploit the rich spectral characteristics of the MSI. Due to the prevalence of mixed pixels in satellite images—where each pixel covers multiple constituent materials—pansharpening at the sub-pixel level is essential. In this paper, we propose an unsupervised pansharpening (UP) method in a deep-learning framework based on the self-attention mechanism (SAM), referred to as UP-SAM. The contribution is three-fold: a self-attention mechanism for spatial-varying detail extraction and injection; attention representations derived from mixed pixels using a stacked network with a stick-breaking structure; and spatial-varying functions that significantly improve reconstruction accuracy.

Introduction

Pansharpening aims to synthesize a high-resolution multispectral image by combining the spectral richness of an LR MSI with the spatial detail of an HR PAN image. However, the field faces three major hurdles. First, the lack of ground truth makes supervised deep learning models impractical, as satellite sensors do not capture high-resolution multispectral data directly. Second, the mixed pixel problem arises because satellite pixels often cover large areas containing multiple materials (e.g., grass, asphalt, and water), which traditional segmentation-based methods fail to address. Finally, sensor variability often causes supervised models to perform poorly when applied to data from sensors they were not specifically trained on.

The UP-SAM Framework

To address these challenges, we introduce UP-SAM (Unsupervised Pansharpening based on Self-Attention Mechanism). This framework treats pansharpening as a pixel-variant, sub-pixel problem, learning the mapping function directly from the specific pair of LR MSI and HR PAN images provided at test time.

The overall framework of the proposed UP-SAM method, highlighting the self-attention mechanism for detail extraction and injection.

Stacked Self-Attention and Spectral Unmixing

Instead of standard convolutional layers, the model utilizes a stacked self-attention network powered by a "stick-breaking" structure. This concept, borrowed from Bayesian nonparametrics, ensures that the attention weights for different materials within a single pixel are non-negative and sum to one. This effectively performs spectral unmixing, allowing the model to identify what materials exist at a sub-pixel level.

Spatial-Varying Detail Injection

Unlike "global" methods that apply uniform sharpening across the entire image, UP-SAM uses attention maps to estimate unique injection coefficients for different materials. This allows the model to inject sharp details from the PAN image into the MSI without "smearing" colors or introducing spectral distortion, as the injection is tailored to the specific spectral signature of the pixel's constituents.

Experimental Evaluation

The model was evaluated on four real-world satellite datasets: GeoEye-1 (GE), Ikonos (IK), WorldView-2 (WV2), and WorldView-3 (WV3). These datasets cover a range of 4 to 8 spectral bands, testing the model's robustness across different sensor types in both reduced-resolution and full-resolution scenarios.

Visual comparison of spectral signatures and attention representations (S1-S4) demonstrating sub-pixel accuracy compared to traditional K-means clustering.

Key Results

  • Quantitative Superiority: UP-SAM consistently outperformed eight state-of-the-art methods, including GSA, PRACS, and the supervised Target-CNN. On the Ikonos dataset, it achieved a PSNR of 34.63, the highest among all unsupervised methods.
  • Visual Fidelity: Qualitative results demonstrate that UP-SAM produces sharper edges and more accurate colors, particularly for small objects and complex boundaries where other methods introduce "ringing" artifacts or spectral bleeding.
  • Robustness: On the challenging WorldView-3 dataset, UP-SAM remained the top performer, while supervised models trained on different datasets saw significant performance drops due to sensor mismatch.

Discussion and Conclusion

UP-SAM demonstrates that treating self-attention as a physical representation of material abundance allows for superior pansharpening without the need for ground truth data. By moving beyond rigid segments and sharpening based on spectral signatures, the model avoids the blurriness common in mixed-pixel areas.

However, there is a trade-off in computational efficiency. While UP-SAM eliminates the training phase, its per-image processing time is higher than traditional methods, taking roughly 565 seconds for a 320x320 image on a CPU compared to 0.19s for GSA. Future work will focus on optimizing the network architecture for speed and exploring non-linear mixing models to further enhance real-time satellite data processing.

Summary updated

Abstract

Pansharpening is to fuse a multispectral image (MSI) of low-spatial-resolution (LR) but rich spectral characteristics with a panchromatic image (PAN) of high-spatial-resolution (HR) but poor spectral characteristics. Traditional methods usually inject the extracted high-frequency details from PAN into the up-sampled MSI. Recent deep learning endeavors are mostly supervised assuming the HR MSI is available, which is unrealistic especially for satellite images. Nonetheless, these methods could not fully exploit the rich spectral characteristics in the MSI. Due to the wide existence of mixed pixels in satellite images where each pixel tends to cover more than one constituent material, pansharpening at the subpixel level becomes essential. In this paper, we propose an unsupervised pansharpening (UP) method in a deep-learning framework to address the above challenges based on the self-attention mechanism (SAM), referred to as UP-SAM. The contribution of this paper is three-fold. First, the self-attention mechanism is proposed where the spatial varying detail extraction and injection functions are estimated according to the attention representations indicating spectral characteristics of the MSI with sub-pixel accuracy. Second, such attention representations are derived from mixed pixels with the proposed stacked attention network powered with a stick-breaking structure to meet the physical constraints of mixed pixel formulations. Third, the detail extraction and injection functions are spatial varying based on the attention representations, which largely improves the reconstruction accuracy. Extensive experimental results demonstrate that the proposed approach is able to reconstruct sharper MSI of different types, with more details and less spectral distortion as compared to the state-of-the-art.
BibTeX
@article{qu2021unsupervised,
  author = {Ying Qu and Razieh Kaviani Baghbaderani and Hairong Qi and Chiman Kwan},
  title = {{Unsupervised Pansharpening Based on Self-Attention Mechanism}},
  journal = {IEEE Trans. Geosci. Remote. Sens.},
  year = {2021},
  url = {https://openreview.net/forum?id=PUuPpsiIC1},
}
Figure