LESSViT: Robust Hyperspectral Representation Learning under Spectral Configuration Shift

Haozhe Si, Yuxuan Wan, Yuqing Wang, Minh Do, Han Zhao
5/18/2026
cs.CV

No official code found. Best implementation: uiuctml/LESSViT (1 star, last commit 2026-05-19).

Abstract

Modeling hyperspectral imagery (HSI) across different sensors presents a fundamental challenge due to variations in wavelength coverage, band sampling, and channel dimensionality. As a result, models trained under a fixed spectral configuration often fail to generalize to other sensors. Existing Vision Transformer (ViT) approaches either rely on implicit spectral modeling with fixed channel assumptions or adopt explicit spatial-spectral attention with prohibitive computational cost, leading to a fundamental trade-off between efficiency and expressiveness. In this work, we introduce Low-rank Efficient Spatial-Spectral ViT (LESSViT), a sensor-flexible architecture for cross-spectral generalization. LESSViT is built on LESS Attention, a structured low-rank factorization that models joint spatial-spectral interactions through separable spatial and spectral components, reducing the complexity of full spatial-spectral attention from $O(N^2 C^2)$ to $O(rNC)$, where $N$ is the number of spatial tokens, $C$ is the number of spectral channels, and $r$ is the rank of the low-rank approximation. We further incorporate channel-agnostic patch embedding and wavelength-aware positional encoding to support flexible spectral inputs. To enable efficient and robust pretraining, we introduce a hyperspectral masked autoencoder (HyperMAE) with decoupled spatial-spectral masking and hierarchical channel sampling. We evaluate LESSViT under a cross-spectral generalization setting that simulates cross-sensor variability. Experiments on the SpectralEarth benchmark demonstrate that LESSViT improves robustness under spectral shifts while remaining competitive in-distribution, and explicit and efficient spatial-spectral modeling is essential for scalable and generalizable hyperspectral representation learning.

View on arXivView PDF

Code Implementations(1)

uiuctml/LESSViTCommunity71%

LESSViT: Robust Hyperspectral Representation Learning under Spectral Configuration Shift

10May 16, 20265 months ago

Similar Papers

Cite this paper

@article{si2026lessvit,
  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},
  url    = {http://arxiv.org/abs/2605.18541v1}
}

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/2605.18541.svg)](https://codeofpaper.com/paper/2605.18541)

Discussion