Linearly-evolved Transformer for Pan-sharpening

Junming Hou, Zihan Cao, Naishan Zheng, Xuan Li, Xiaoyu Chen, Xinyang Liu, Xiaofeng Cong, Danfeng Hong, Man Zhou

Introduction

Pan-sharpening is a critical image fusion task in remote sensing, aimed at combining the high spectral resolution of multispectral (MS) images with the high spatial resolution of panchromatic (PAN) images. While Vision Transformers (ViTs) have set new benchmarks in this field due to their global modeling capabilities, their deployment on resource-constrained satellite hardware remains challenging. This paper introduces the Linearly-evolved Transformer (LFormer), a lightweight framework that achieves state-of-the-art performance with significantly reduced computational overhead.

The Challenge: Redundancy and Complexity

Standard high-performance pan-sharpening models often rely on "cascaded" Transformer blocks. This approach suffers from two primary drawbacks:

  1. Quadratic Complexity: The self-attention mechanism's computational cost grows quadratically with image size, making it unsuitable for real-time satellite processing.
  2. Feature Redundancy: Empirical observations show that attention maps in successive cascaded layers are highly similar. Recalculating these maps repeatedly is computationally wasteful.

Methodology: Linear Evolution

LFormer addresses these issues by replacing the traditional cascaded architecture with a Linear Evolution Mechanism. Instead of computing full self-attention at every stage, LFormer computes a standard cross-attention map once and then "evolves" it through subsequent stages using efficient 1D depth-wise convolutions ($1 \times 5$ kernels).

Comparison between standard cascaded self-attention (a) and the proposed linearly-evolved chains (b).

The architecture consists of two main branches:

  • LFormer Branch: Handles global feature representation and the evolution of attention weights.
  • Feature Integration Branch: Utilizes Sobel operators and residual convolution blocks to extract and inject sharp spatial details back into the fused features.

This design allows the model to approximate the performance of deep cascaded chains with linear complexity, significantly reducing the memory and processing footprint.

Experimental Results

LFormer was evaluated on major satellite datasets, including WorldView-3 (WV3) and GaoFen-2 (GF2). The results demonstrate a superior balance between accuracy and efficiency.

On the GF2 dataset, LFormer achieved a PSNR of 44.19 dB, surpassing the previous state-of-the-art (InvFormer) by over 1.3 dB while using only 0.59M parameters and 2.4G FLOPs. This represents a significant reduction in footprint compared to models that require over 2M parameters for lower performance. Visual analysis via error maps confirms that LFormer produces fewer residuals, particularly in preserving sharp edges and spectral consistency.

Key Insights

  • Efficiency-Performance Frontier: LFormer occupies the optimal "top-left" region of the performance-vs-complexity curve, delivering high-fidelity results at a fraction of the cost of traditional Transformers.
  • Theoretical Foundation: The paper provides a formal derivation showing that $N$ cascaded Transformer layers can be simplified into a single Transformer followed by $N-1$ linear operators without significant loss of representational power.

Conclusion and Future Work

LFormer proves that high-performance pan-sharpening does not necessitate heavy, redundant architectures. By leveraging linear evolution, it brings sophisticated Transformer-based fusion to edge devices. Future research will explore the applicability of this mechanism to other low-resource restoration tasks, such as UHD video processing and standard image super-resolution.

Summary updated

BibTeX
@inproceedings{hou2024linearly,
  author = {Junming Hou and Zihan Cao and Naishan Zheng and Xuan Li and Xiaoyu Chen and Xinyang Liu and Xiaofeng Cong and Danfeng Hong and Man Zhou},
  title = {{Linearly-evolved Transformer for Pan-sharpening}},
  booktitle = {ACM Multimedia},
  year = {2024},
  doi = {10.1145/3664647.3680979},
}
Figure