# 🔥 Update
**2026.05.20**
- 🔥 HyperSIGMA is selected as a ESI Hot Paper!
**2025.11.24**
- **HyperGlobal-450K** can be assesed through **Baidu Drive (百度网盘) **.
**2025.11.15**
- 🏆 HyperSIGMA is selected as a Highly Cited Paper!
**2025.04.08**
- The main paper is online published! Please see **[here](https://ieeexplore.ieee.org/document/10949864)**.
**2025.04.02**
- The **[arXiv](https://arxiv.org/abs/2406.11519)** is updated with more details. Stay tuned for further updates!
- **HyperGlobal-450K** has been released! Please refer to **[here](https://huggingface.co/datasets/WHU-Sigma/HyperGlobal-450K)**.
**2025.03.31**
- We are delighted to annouce **HyperSIGMA** has been accepted by **IEEE TPAMI**!
**2024.10.22**
- Scripts for **[Image Super-Resolution](https://huggingface.co/datasets/WHU-Sigma/HyperSIGMA_Datasets/tree/main/HyperSIGMA_super-resolution)**.
- Checkpoints for **[Image Denoising](https://huggingface.co/WHU-Sigma/HyperSIGMA/tree/main/Denoising_models)**.
**2024.07.18**
- Models can be downloaded from both **Baidu Drive (百度网盘) ** and **[Hugging Face 🤗](https://huggingface.co/WHU-Sigma/HyperSIGMA/tree/main)**.
- Datasets for HSI denoising have been released for research use only. Please check it **[here](https://huggingface.co/datasets/WHU-Sigma/HyperSIGMA_Datasets/tree/main/HyperSIGMA_denoising)**.
**2024.06.18**
- The paper is post on arXiv! **([arXiv 2406.11519](https://arxiv.org/abs/2406.11519))**
# 🌞 Overview
**HyperSIGMA** is the first billion-level foundation model specifically designed for HSI interpretation. To tackle the
spectral and spatial redundancy challenges in HSIs, we introduce a novel sparse sampling attention (SSA) mechanism, which effectively
promotes the learning of diverse contextual features and serves as the basic block of HyperSIGMA. HyperSIGMA integrates spatial and
spectral features using a specially designed spectral enhancement module.
**Figure 1. Framework of HyperSIGMA.**
Extensive experiments on various high-level and low-level HSI tasks demonstrate HyperSIGMA’s versatility and superior representational capability compared to current state-of-the-art methods. It outperforms advanced models like SpectralGPT, even those specifically designed for these tasks.
**Figure 2. HyperSIGMA demonstrates superior performance across 16 datasets and 7 tasks, including both high-level and low-level hyperspectral tasks, as well as multispectral scenes.**
# 📖 Datasets
To train the foundational model, we collected hyperspectral remote sensing image samples from around the globe, constructing a large-scale hyperspectral dataset named **HyperGlobal-450K** for pre-training. **[HyperGlobal-450K](https://huggingface.co/datasets/WHU-Sigma/HyperGlobal-450K)** contains over 20 million three-band images, far exceeding the scale of existing hyperspectral datasets.
**Figure 3. The distribution of HyperGlobal-450K samples across the globe, comprising 1,701 images (1,486 EO-1 and 215 GF-5B) with hundreds of spectral bands.**
# 🚀 Pretrained Models
| Pretrain | Backbone | Model Weights |
| :------- | :------: | :------: |
| Spatial_MAE | ViT-B | [Baidu Drive](https://pan.baidu.com/s/1kShixCeWhPGde-vLLxQLJg?pwd=vruc) & [Hugging Face](https://huggingface.co/WHU-Sigma/HyperSIGMA/blob/main/spat-vit-base-ultra-checkpoint-1599.pth)|
| Spatial_MAE | ViT-L | [Baidu Drive](https://pan.baidu.com/s/11iwHFh8sfg9S-inxOYtJlA?pwd=d2qs) & [Hugging Face](https://huggingface.co/WHU-Sigma/HyperSIGMA/blob/main/spat-vit-large-ultra-checkpoint-1599.pth)|
| Spatial_MAE | ViT-H | [Baidu Drive](https://pan.baidu.com/s/1gV9A_XmTCBRw90zjSt90ZQ?pwd=knuu) & [Hugging Face](https://huggingface.co/WHU-Sigma/HyperSIGMA/blob/main/spat-vit-huge-ultra-checkpoint-1599.pth)|
| Spectral_MAE | ViT-B | [Baidu Drive](https://pan.baidu.com/s/1VinBf4qnN98aa6z7TZ-ENQ?pwd=mi2y) & [Hugging Face](https://huggingface.co/WHU-Sigma/HyperSIGMA/blob/main/spec-vit-base-ultra-checkpoint-1599.pth)|
| Spectral_MAE | ViT-L | [Baidu Drive](https://pan.baidu.com/s/1tF2rG-T_65QA3UaG4K9Lhg?pwd=xvdd) & [Hugging Face](https://huggingface.co/WHU-Sigma/HyperSIGMA/blob/main/spec-vit-large-ultra-checkpoint-1599.pth)|
| Spectral_MAE | ViT-H | [Baidu Drive](https://pan.baidu.com/s/1Di9ffWuzxPZUagBCU4Px2w?pwd=bi9r) & [Hugging Face](https://huggingface.co/WHU-Sigma/HyperSIGMA/blob/main/spec-vit-huge-ultra-checkpoint-1599.pth) |
# 🔨 Usage
## Pretraining
We pretrain the HyperSIGMA with SLURM. This is an example of pretraining the large version of Spatial ViT:
```
srun -J spatmae -p xahdnormal --gres=dcu:4 --ntasks=64 --ntasks-per-node=4 --cpus-per-task=8 --kill-on-bad-exit=1 \
python main_pretrain_Spat.py \
--model 'spat_mae_l' --norm_pix_loss \
--data_path [pretrain data path] \
--output_dir [model saved patch] \
--log_dir [log saved path] \
--blr 1.5e-4 --batch_size 32 --gpu_num 64 --port 60001
```
Another example of pretraining the huge version of Spectral ViT:
```
srun -J specmae -p xahdnormal --gres=dcu:4 --ntasks=128 --ntasks-per-node=4 --cpus-per-task=8 --kill-on-bad-exit=1 \
python main_pretrain_Spec.py \
--model 'spec_mae_h' --norm_pix_loss \
--data_path [pretrain data path] \
--output_dir [model saved patch] \
--log_dir [log saved path] \
--blr 1.5e-4 --batch_size 16 --gpu_num 128 --port 60004 --epochs 1600 --mask_ratio 0.75 \
--use_ckpt 'True'
```
The training can be recovered by setting `--resume`
```
--resume [path of saved model]
```
## Finetuning
***Image Classification***:
Please refer to [ImageClassification-README](https://github.com/WHU-Sigma/HyperSIGMA/tree/main/ImageClassification).
***Target Detection & Anomaly Detection***:
Please refer to [HyperspectralDetection-README](https://github.com/WHU-Sigma/HyperSIGMA/blob/main/HyperspectralDetection).
***Change Detection***:
Please refer to [ChangeDetection-README](https://github.com/WHU-Sigma/HyperSIGMA/tree/main/ChangeDetection).
***Spectral Unmixing***:
Please refer to [HyperspectralUnmixing-README](https://github.com/WHU-Sigma/HyperSIGMA/blob/main/HyperspectralUnmixing).
***Denoising***:
Please refer to [Denoising-README](https://github.com/WHU-Sigma/HyperSIGMA/tree/main/ImageDenoising).
***Super-Resolution***:
Please refer to [SR-README](https://github.com/WHU-Sigma/HyperSIGMA/tree/main/ImageSuperResolution).
***Multispectral Change Detection***:
Please refer to [MultispectralCD-README](https://github.com/WHU-Sigma/HyperSIGMA/tree/main/MultispectralCD).
# ⭐ Citation
If you find our HyperSIGMA helpful, please give a ⭐ and cite it as follows:
```
@ARTICLE{hypersigma,
author={Wang, Di and Hu, Meiqi and Jin, Yao and Miao, Yuchun and Yang, Jiaqi and Xu, Yichu and Qin, Xiaolei and Ma, Jiaqi and Sun, Lingyu and Li, Chenxing and Fu, Chuan and Chen, Hongruixuan and Han, Chengxi and Yokoya, Naoto and Zhang, Jing and Xu, Minqiang and Liu, Lin and Zhang, Lefei and Wu, Chen and Du, Bo and Tao, Dacheng and Zhang, Liangpei},
journal={IEEE Transactions on Pattern Analysis and Machine Intelligence},
title={HyperSIGMA: Hyperspectral Intelligence Comprehension Foundation Model},
year={2025},
volume={47},
number={8},
pages={6427-6444},
keywords={Hyperspectral imaging;Foundation models;Transformers;Feature extraction;Training;Computer vision;Satellites;Computational modeling;Cameras;Scalability;Remote sensing;hyperspectral image;foundation model;attention;vision transformer;large-scale dataset},
doi={10.1109/TPAMI.2025.3557581}
}
```
# 🎺 Statement
For any other questions please contact di.wang at [gmail.com](mailto:wd74108520@gmail.com) or [whu.edu.cn](mailto:d_wang@whu.edu.cn), and chengxi.han at [whu.edu.cn](mailto:chengxihan@whu.edu.cn).
# 💖 Thanks
This project is based on [MMCV](https://github.com/open-mmlab/mmcv), [MAE](https://github.com/facebookresearch/mae), [Swin Transformer](https://github.com/microsoft/Swin-Transformer), [VSA](https://github.com/ViTAE-Transformer/ViTAE-VSA), [RVSA](https://github.com/ViTAE-Transformer/Remote-Sensing-RVSA), [DAT](https://github.com/LeapLabTHU/DAT), [HTD-IRN](https://github.com/shendb2022/HTD-IRN), [GT-HAD](https://github.com/jeline0110/GT-HAD), [MSDformer](https://github.com/Tomchenshi/MSDformer), [SST-Former](https://github.com/yanhengwang-heu/IEEE_TGRS_SSTFormer), [SST](https://github.com/MyuLi/SST), [CNNAEU](https://ieeexplore.ieee.org/document/9096565) and [DeepTrans](https://github.com/preetam22n/DeepTrans-HSU). Thanks for their wonderful work!
[](https://star-history.com/#WHU-Sigma/HyperSIGMA&Date)