| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This is the official repository for the paper "LESSViT: Robust Hyperspectral Representation Learning under Spectral Configuration Shift".
Authors: Haozhe Si, Yuxuan Wan, Yuqing Wang, Minh Do, Han Zhao.
Modeling hyperspectral imagery (HSI) across different sensors presents a fundamental challenge due to variations in wavelength coverage, band sampling, and channel dimensionality. We introduce LESSViT (Low-rank Efficient Spatial–Spectral Vision Transformer), a sensor-flexible architecture for cross-spectral generalization.
Our contributions are:
We pre-train LESSViT using HyperMAE on the SpectralEarth benchmark (EnMAP hyperspectral data) for 200 epochs.
To launch pre-training, run:
bash launch_train.shSee GeospatialFM/scripts/args.py for full argument descriptions.
We evaluate LESSViT under a cross-spectral generalization setting on the SpectralEarth benchmark. Models are pre-trained and fine-tuned on a fixed channel configuration (C120_VNIR+) and evaluated across four spectral settings:
| Setting | Description |
|---|---|
| id | In-distribution (C120_VNIR+) |
| ood_a | Spectral shift (C120_SWIR+) |
| ood_complement | Unseen wavelengths (C82, disjoint from training) |
| ood_full | Channel expansion (C202, all channels) |
Downstream datasets: enmap_cdl, enmap_corine, enmap_eurocrops, enmap_bdforet, enmap_bnetd.
To launch fine-tuning on a SpectralEarth dataset, run:
bash launch_finetune.shwhich wraps:
python3 GeospatialFM/finetune/finetune.py \
--dataset_name ${DATASET_NAME} \
--task_type ${TASK_TYPE} \
--data_dir ${DATA_DIR} \
--gen_task ${GEN_TASK} \
--model_name ${MODEL_NAME} \
--pretrained_model_path ${PRETRAINED_MODEL_PATH} \
--run_name ${RUN_NAME} \
--output_dir ${OUTPUT_DIR}See GeospatialFM/finetune/args.py for full argument descriptions, and GeospatialFM/models/registry.py for the full set of supported baseline encoders.
Pre-trained model checkpoints will be released soon. Stay tuned!
If you find our work helpful, please cite our paper:
@misc{si2026lessvitrobusthyperspectralrepresentation,
title={LESSViT: Robust Hyperspectral Representation Learning under Spectral Configuration Shift},
author={Haozhe Si and Yuxuan Wan and Yuqing Wang and Minh Do and Han Zhao},
year={2026},
eprint={2605.18541},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2605.18541},
}| Back | FazBrowse Home | New Git URL |