Skip to content
Preprint

A PyTorch Library for Hyperspectral Image Models: Technical Report

Sep 2026 · 0 citations · 97 references
Computer Science

TL;DR

Hyperspectral Image Models addresses challenges of fragmented repositories, incompatible tensor conventions, and non standardized evaluation through a modular framework unifying 55 representative models across six paradigms with a common registry, automatic 4D/5D tensor adaptation, and standardized constructors.

Abstract

Hyperspectral remote sensing has advanced across diverse deep learning paradigms, including spectral spatial CNNs, Vision Transformers, Mamba, graph neural networks, Kolmogorov Arnold networks, and self supervised masked autoencoding. Yet progress remains hindered by fragmented repositories, incompatible tensor conventions, and non standardized evaluation. Hyperspectral Image Models addresses these challenges through a modular framework unifying 55 representative models across six paradigms with a common registry, automatic 4D/5D tensor adaptation, and standardized constructors. It integrates 24 benchmark scenes from Airborne, Spaceborne, UAV, and Mars CRISM sensors, with caching, label remapping, PCA, explicit band selection or raw spectra, optional spatial max pooling, and arbitrary PxP patch extraction. To prevent inflated accuracy from overlapping windows, it supports class balanced random partitioning and spatially disjoint regional blocking with Chebyshev guard bands that eliminate train test pixel overlap. Experiments use a single config with deterministic seeds and complete provenance, generating LaTeX benchmark tables and classification maps. Across 1,320 model scene evaluations and 6,600 seeded runs, scene difficulty dominates architecture, with mean accuracy ranging from 96.40% on Botswana to 56.70% on Houston 2018, versus a 15 point spread across paradigm means. No paradigm universally dominates, while sub 1 M parameter models can match architectures two orders of magnitude larger. Code is publicly available at https://github.com/Tanishq251/Hyperspectral-Image-Models.

View source

Similar papers

Conference Oct 2026

Remote sensing hierarchical conditional transformer for hyperspectral image classification

RS-HCFormer is proposed, a hierarchical conditional encoding Transformer for hyperspectral image classification that substantially outperforms state-of-the-art methods in both accuracy and efficiency.

Qiang Li, Hao-Yue Xu, Jia-Ning Zhang et al. · 0 citations
Sep 2026

HyperSAM: A Promptable Foundation Model for Hyperspectral Remote Sensing

Extensive experiments show that HyperSAM obtains strong generalization on diverse hyperspectral tasks and that high-quality synthetic hyperspectral data can be more effective than simply scaling noisy hyperspectral supervision.

Li Pang, Xin-Qiao Wu, Jing Yao et al. · 0 citations
Open access Oct 2026

Spatial contextual learning for hyperspectral imagery classification using transformer encoder framework based ensemble model

This work proposes a four–stage hybrid framework for hyperspectral image classification that integrates spectral modeling and spatial feature extraction within a unified pipeline and compares the model with recent baselines, including DaViT.

Disha Goyal, Rashi Mishra, Mohit Somani et al. · 0 citations
Conference Oct 2026

Spatial-Spectral Patch-Based CNN for Hyperspectral Image Classification

Hyperspectral image classification is critical for remote sensing applications, but it remains challenging due to the high dimensionality and complex spectral–spatial correlations of hyperspectral data. In this paper, we propose a patch-based convolutional neural network (CNN) that effectively leverages both spatial an...

Nian Zhang, S. Rouamba · 0 citations
Open access Nov 2026

Beyond One Pixel: Parameter-Efficient Spatial Context Adaptation for Hyperspectral Image Classification

Pretrained hyperspectral foundational models enable parameter-efficient adaptation to downstream classification through linear probing. However, when applied to individual pixel spectra, this approach leaves local spatial context unused, potentially limiting discrimination between spectrally similar classes. We introdu...

Si-Qi Du, Deepak Kandel, Dimah Dera · 0 citations
Review Nov 2026

Fusing Multimodal CNN Features with Structurally-Masked Transformers for Hierarchical Sub-Pixel Tree Species Mapping

Precise forest species mapping using spaceborne hyperspectral data is challenging due to high spectral similarity and the inherent sub-pixel heterogeneity of natural forest stands. While traditional deep learning models exploit spatial context through convolutional architectures, these approaches can introduce noise in...

Mattia Ferrari, L. Bruzzone · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.