MST++: Multi-stage Spectral-wise Transformer for Efficient Spectral Reconstruction

Yuanhao Cai, Jing Lin, Zudi Lin, Haoqian Wang, Yulun Zhang +3 more
4/17/2022
382 citations
cs.CV
transformer-attention

Official code: caiyuanhao1998/MST-plus-plus (569 stars, Python, MIT, last commit 2025-11-11). Most starred: caiyuanhao1998/MST, a community implementation (1,121 stars, Python, MIT, last commit 2025-10-10, 2.0× the official stars). 1 more implementation below.

Abstract

Existing leading methods for spectral reconstruction (SR) focus on designing deeper or wider convolutional neural networks (CNNs) to learn the end-to-end mapping from the RGB image to its hyperspectral image (HSI). These CNN-based methods achieve impressive restoration performance while showing limitations in capturing the long-range dependencies and self-similarity prior.

Show full abstract

To cope with this problem, we propose a novel Transformer-based method, Multi-stage Spectral-wise Transformer (MST++), for efficient spectral reconstruction. In particular, we employ Spectral-wise Multi-head Self-attention (S-MSA) that is based on the HSI spatially sparse while spectrally self-similar nature to compose the basic unit, Spectral-wise Attention Block (SAB). Then SABs build up Single-stage Spectral-wise Transformer (SST) that exploits a U-shaped structure to extract multi-resolution contextual information. Finally, our MST++, cascaded by several SSTs, progressively improves the reconstruction quality from coarse to fine. Comprehensive experiments show that our MST++ significantly outperforms other state-of-the-art methods. In the NTIRE 2022 Spectral Reconstruction Challenge, our approach won the First place. Code and pre-trained models are publicly available at https://github.com/caiyuanhao1998/MST-plus-plus.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
caiyuanhao1998/MST-plus-plusOfficial569PythonMIT2025-11-11
caiyuanhao1998/MSTCommunity1,121PythonMIT2025-10-10
MIT

"MST++: Multi-stage Spectral-wise Transformer for Efficient Spectral Reconstruction" (CVPRW 2022) & (Winner of NTIRE 2022 Spectral Recovery Challenge) and a toolbox for spectral reconstruction

56980Python, MATLABMar 28, 20221 years agoMIT
hyperspectral-image-reconstructionimage-restorationntirespectral-reconstructionspectral-superresolution
caiyuanhao1998/MSTCommunity100%
MIT

A toolbox for spectral compressive imaging reconstruction including MST (CVPR 2022), CST (ECCV 2022), DAUHST (NeurIPS 2022), BiSCI (NeurIPS 2023), HDNet (CVPR 2022), MST++ (CVPRW 2022), etc.

1,12190Python, MATLABMar 4, 20221 years agoMIT
binarized-neural-networksbnnhyperspectral-imagesimage-restorationntire+4 more

Similar Papers

Cite this paper

@article{cai2022mst,
  title  = {MST++: Multi-stage Spectral-wise Transformer for Efficient Spectral Reconstruction},
  author = {Yuanhao Cai and Jing Lin and Zudi Lin and Haoqian Wang and Yulun Zhang and Hanspeter Pfister and Radu Timofte and Luc Van Gool},
  year   = {2022},
  eprint = {2204.07908},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.07908}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2204.07908.svg)](https://codeofpaper.com/paper/2204.07908)

Discussion