Abstract
Hyperspectral imaging (HSI) provides critical spectral information for material identification, yet it is frequently compromised by significant noise due to the narrow bandwidth of individual sensors. This paper presents the Spectral Enhanced Rectangle Transformer (SERT), a novel architecture designed to address the dual challenges of spatial non-local similarity and spectral correlation. By integrating a unique Rectangle Self-Attention (RA) mechanism with a Global Low-rank Memory Unit (MU), SERT effectively suppresses complex noise while preserving fine structural details. Experimental results across synthetic and real-world datasets demonstrate that SERT achieves state-of-the-art performance with superior computational efficiency compared to existing Transformer-based models.
Introduction
Hyperspectral images (HSIs) capture hundreds of narrow spectral bands, creating a unique "spectral fingerprint" for every pixel. This high-dimensional data is invaluable for remote sensing, medical imaging, and agriculture. However, the physical constraints of HSI sensors—where light is divided across many bands—result in low photon counts and high noise levels.
Traditional denoising methods often struggle with two primary issues. First, Convolutional Neural Networks (CNNs) possess a limited receptive field, making it difficult to capture the long-range spatial patterns (non-local self-similarity) inherent in natural scenes. Second, while HSI bands are highly correlated (exhibiting a "low-rank" property), standard vision Transformers are typically optimized for RGB data and fail to explicitly model these deep spectral relationships. SERT is proposed to bridge these gaps by combining flexible spatial attention with a learned spectral subspace.
Methodology
Spatial Rectangle Self-Attention (RA)
To overcome the computational burden of global self-attention while maintaining a wide receptive field, SERT utilizes Rectangle Self-Attention. Unlike the square windows used in models like Swin Transformer, SERT employs alternating horizontal and vertical rectangular windows. This configuration allows the model to capture non-local similarities across greater distances without the quadratic cost of full-image attention. To facilitate information exchange between these distinct orientations, the model incorporates a "spectral shuffle" operation, ensuring that spatial features are integrated across the spectral dimension.
Spectral Enhancement (SE) Module
The Spectral Enhancement module is designed to exploit the global spectral correlations of the HSI. At its core is the Global Low-rank Memory Unit (MU). Traditional denoising often relies on Singular Value Decomposition (SVD) to find a low-rank representation for each individual image, a process that is computationally expensive. In contrast, SERT’s MU acts as a learned dictionary of "clean" spectral signatures derived from the entire training dataset. When processing noisy patches, the SE module projects the data into this learned, clean, low-rank subspace, effectively filtering out noise that does not align with the global spectral statistics.
Experimental Results
Datasets
The performance of SERT was validated on three major benchmarks:
- ICVL Dataset: Used for large-scale synthetic testing, simulating Gaussian and complex noise (stripes, deadlines, and impulse noise).
- Urban Dataset: A real-world HSI benchmark. Lacking a ground truth, the model was pre-trained on the APEX dataset to handle its specific sensor characteristics.
- Realistic Dataset: Consisting of 59 pairs of real-world noisy and clean HSIs, this dataset provided a rigorous test of the model's ability to generalize to actual sensor degradation.
Quantitative and Qualitative Performance
SERT established new state-of-the-art (SOTA) benchmarks across all tested datasets. On the ICVL dataset under complex noise conditions, SERT outperformed the previous leading method, QRNN3D, by over 0.9 dB in Peak Signal-to-Noise Ratio (PSNR). On the Realistic dataset, it achieved a 0.5 dB improvement over MAC-Net.
Beyond accuracy, SERT demonstrates significant computational advantages. It requires 1018.9 GFLOPs, roughly one-third of the 3652.8 GFLOPs required by Restormer, while delivering higher denoising quality. Qualitatively, SERT is particularly effective at removing "stripe noise"—vertical artifacts common in satellite imagery—which often persist as ghosting artifacts in other deep learning models.
Conclusion
The Spectral Enhanced Rectangle Transformer (SERT) represents a significant advancement in HSI denoising. By combining the efficiency of rectangular spatial attention with the global modeling power of a learned low-rank memory unit, SERT achieves a superior balance of performance and computational cost. Future work will explore the adaptation of the SERT architecture for related HSI tasks, such as super-resolution and inpainting, and investigate more adaptive memory units capable of real-time calibration to specific sensor hardware.
Summary updated