NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Hybrid Spectral Denoising Transformer with Guided Attention

Zeqiang Lai, Chenggang Yan, Ying Fu

Introduction

Hyperspectral imaging (HSI) captures detailed spectral information across hundreds of narrow bands, enabling precise material identification. However, the narrow-band nature of HSI sensors often results in significant noise, including Gaussian, impulse, and stripe artifacts. Existing denoising approaches typically face a "trilemma": CNNs are effective for local patterns but computationally expensive; recurrent models struggle with long-range spectral correlations; and Transformers often suffer from quadratic complexity and rigid architectures that cannot handle varying numbers of spectral bands.

To overcome these challenges, we introduce the Hybrid Spectral Denoising Transformer (HSDT). This architecture combines the local precision of convolutions with the global modeling capabilities of Transformers, optimized for the unique structure of hyperspectral data.

Methodology

The HSDT is a U-shaped network built upon three novel components designed for efficiency and flexibility:

  1. Spectral-Spatial Separable Convolution (S3Conv): To avoid the heavy computational cost of standard 3D convolutions, S3Conv splits the operation into parallel spatial and spectral branches. This design is "band-agnostic," allowing the model to process images with any number of spectral bands without retraining.
  2. Guided Spectral Self-Attention (GSSA): Unlike traditional Transformers that attend to spatial pixels, GSSA performs self-attention across the spectral dimension. This reduces complexity from quadratic to linear relative to the number of pixels. It incorporates Learnable Queries (LQ) that capture global statistics of clean HSIs, guiding the model to prioritize informative bands with higher Signal-to-Noise Ratios (SNR).
  3. Self-Modulated Feed-Forward Network (SM-FFN): This component uses a gating mechanism to amplify activations in high-information regions (like edges and textures) while suppressing noise in flat areas.
The HSDT architecture (a) and its core components: S3Conv (b), GSSA (c), and SM-FFN (d).

Experiments and Results

The model was evaluated on benchmark datasets including ICVL, CAVE, and RealHSI, as well as the 210-band Urban dataset to test generalization.

Performance and Efficiency

HSDT achieves state-of-the-art (SOTA) accuracy across various noise levels. For instance, on the ICVL dataset with heavy noise ($\sigma=70$), the large version (HSDT-L) achieved a PSNR of 40.59 dB, significantly outperforming previous leaders like SST and Restormer.

Beyond accuracy, HSDT is remarkably efficient. The small version (HSDT-S) utilizes only 0.13M parameters, a fraction of the size of competing models like Restormer (26.2M) or GRUNet (14.2M), while maintaining superior performance and faster runtimes.

Performance trade-offs of HSDT compared to network-based and optimization-based methods. HSDT occupies the top-left region, indicating high PSNR with low runtime.

Zero-Shot Generalization

A key advantage of the HSDT architecture is its flexibility. A single model trained on 31-band data can be applied directly to a 210-band image (zero-shot) and still outperform specialized models, demonstrating the robustness of the band-agnostic S3Conv and spectral attention mechanism.

Conclusion

The Hybrid Spectral Denoising Transformer (HSDT) effectively resolves the HSI denoising trilemma. By shifting attention to the spectral dimension and utilizing learnable queries, it provides a lightweight, high-performance solution that generalizes across different sensor types. Future work will explore conditioning learnable queries on estimated noise levels to further enhance guidance in extreme blind denoising scenarios.

Summary updated

BibTeX
@inproceedings{lai2023hybrid,
  author = {Zeqiang Lai and Chenggang Yan and Ying Fu},
  title = {{Hybrid Spectral Denoising Transformer with Guided Attention}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
  doi = {10.1109/iccv51070.2023.01201},
}
Figure