Skip to content
Open access

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

Nov 2026 · Proceedings of the AAAI Symposium Series · 0 citations

Abstract

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 introduce the Spatial Input Adapter (SIA), a lightweight module that combines the target pixel spectrum with a learned weighted aggregation of neighboring spectra before passing the result through a frozen pretrained encoder. This local combination enriches each pixel, enabling better feature extraction from pretrained models and improving downstream classification. SIA preserves spectral dimensionality and wavelength alignment, enabling spatial adaptation without modifying the pretrained backbone. For a p x p patch, it introduces only p^2 trainable adapter parameters, which are optimized jointly with a linear classifier. We evaluate SIA with the HyperSL-Small backbone on six hyperspectral classification benchmarks using spatially separated data splits. Compared with center-pixel linear probing, SIA improves average accuracy and overall accuracy by 8.42% and 6.47%, respectively, and Cohen's Kappa by 7.95. These results demonstrate that learned input-space spatial aggregation can substantially improve hyperspectral classification with a minimal increase in trainable parameters.

Read PDF

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