UGSA-Net: Uncertainty-Gated Attention and Self-Supervised Alignment for Calibration-Aware Hyperspectral Image Classification
Houari Youcef Moudjib, Haibin Duan, Zain Anwar Ali, Adam A. Q. Mohammed
Key points
From the paper's conclusion- We propose UGSA-Net, an ambiguity-guided spatial–spectral transformer that infers a per-pixel ambiguity field without direct label supervision.
Abstract
Uniform spatial weighting in patch-based hyperspectral classifiers indiscriminately aggregates spectral information, even when individual pixels are already class-diagnostic, degrading accuracy and interpretability. We propose UGSA-Net, an ambiguity-guided spatial–spectral transformer that infers a per-pixel ambiguity field without direct label supervision. A lightweight ambiguity head maps each token to a scalar in (0,1), trained end-to-end with no target of its own, so that the field is shaped only by the training losses that reach it through the token mixer. This field dually modulates the token mixer: it biases query and key projections with a spectral angle mapper (SAM) prior to emphasise spectrally similar patches, and rescales token outputs to amplify contributions from ambiguous locations. The value pathway remains unmodulated, so the network reweights spatial information without distorting the spectral content entering the mixture. The ambiguity head and the classification backbone are trained end-to-end, following a self-supervised latent-alignment stage that uses no labels; model selection jointly scores overall accuracy (OA), few-shot accuracy and expected calibration error (ECE) on validation data. Across six benchmark scenes from four sensors, under a stratified pixel-level split in which training and test windows overlap, UGSA-Net exceeds 98.9% OA on every scene over three runs, and on Indian Pines it is comparable to competing architectures retrained under the same protocol. These values are upper bounds rather than estimates for new scenes: on two of the six scenes, almost no labelled pixel has a competing class inside the 9×9 input window. A single validation-tuned temperature reduces ECE from 0.24–0.28 to below 0.016 without changing any prediction, revealing that residual miscalibration is governed by the decision head rather than by the data representations. The benefit of ambiguity gating emerges when labels are scarce: with a reduced training set on Indian Pines, gating raised OA over the ungated model on all three partitions, in either direction, whereas, with the full training set, component effects fall within run-to-run variation.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- MGWT: Hyperspectral Image Classification Based on a Multi-Granularity Weight Transformer NetworkRemote Sensing · 2026
- ECSA-UNet: End-to-End Compressive Spatial-Spectral Attention UNet for Hyperspectral Image ClassificationRemote Sensing · 2026
- DB-CASSE-Net: A Dual-Branch Network with Constrained Adaptive Spatial Sampling and Spectral Enhancement for Hyperspectral UnmixingRemote Sensing · 2026
- SSST-GAN: A Sampling-Based Spatial-Spectral Transformer and Generative Adversarial Network for Hyperspectral UnmixingIEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing · 2026
- SEUM: An Improved UniMatch Framework with Multi-Branch Spatial-Spectral Encoding and Adaptive Class-Aware Pseudo-Labeling for Semi-Supervised Hyperspectral Image Classification.Entropy (Basel, Switzerland) · 2026
- Transformers meet hyperspectral imaging: A comprehensive study of models, challenges and open problemsEngineering Applications of Artificial Intelligence · 2026