arXiv:2609.01786cs.CVSep 2026

Manuscript Offprint

arXiv:2609.01786

Ten Architectures, One Error: Shared Failure Modes in Hyperspectral Classification under Spatially Disjoint Evaluation

Ehsan Faghih, Fatemeh Ashrafi, Marguerite Moore, Zahra Saki

Abstract

Hyperspectral image classification still relies heavily on random pixel splits within a single scene. The Salinas dataset, randomly split, is among the most widely used datasets for comparing different architectures. However, under a random split method, a large fraction of test pixels fall immediately adjacent to a training pixel, which inflates reported accuracy. This work introduces a leakage-free evaluation protocol linking spatial separation to the model's receptive field. Applying this protocol across ten different architectures, including classical, spectral, spectral-spatial, transformer, vision-backbone, and state-space families, shows that Macro-F1 drops by 0.147 on average and model rankings change by as many as five places. Furthermore, leakage-free evaluation limits which architectures can be tested on a given benchmark. Since each partition supports patches only within a finite radius, reporting this radius alongside the receptive field is essential for fair comparison. In addition, this study reveals that all ten architectures misclassify largely the same pixels, pointing to a spectral ambiguity in the data that none of them resolves.

1. Introduction

Hyperspectral image (HSI) classification has historically been benchmarked on a small recurring set of single-scene datasets, particularly Indian Pines, Pavia University, and Salinas, with training and test pixels commonly sampled at random from within the same scene, yielding very high reported Overall Accuracy (OA) and performance metrics [9, 10, 13, 14, 18, 23]. This evaluation practice remains common in recent work. In 2026, Huang et al. [7] randomly allocated only 0.5% of the labeled Salinas pixels to training, 0.5% to validation, and the remaining 99% to testing and, nevertheless, reported 99.05% OA. Similarly, Zhong et al. [24] used random 1% / 1% / 98%

(training/validation/test) partitions on Salinas and reported 99.31 ± 0.26% OA. These near-ceiling results persist despite extremely limited labeled training sets. Meanwhile, HSI classifiers have progressed from convolutional architectures [18] to spectral transformers [6], state-space models [21], and foundation models [20], often evaluated under heterogeneous dataset splits and training regimes.

Random pixel splitting is not neutral for spatially auto-correlated data. Adjacent pixels within homogeneous regions are strongly spatially correlated, so a test pixel drawn in close proximity to a training pixel provides less independent evidence of generalization [22]. Patch-based models compound the problem: during training, their receptive fields cross the partition boundary and expose pixels that belong to the neighboring test partition [14]. The ecology and geostatistics literatures have measured this effect directly. Roberts et al. [17] showed that ignoring dependence structure underestimates predictive error, and proposed blocked cross-validation as the remedy. In a drone-based tree-species segmentation study, Kattenborn et al. [8] found that random validation overestimated CNN performance by up to 28%. Similarly, when Ploton et al. [16] applied spatial validation to tropical biomass models, the explanatory power reported under random validation fell to near zero. Blocking, however, is specified in terms of distance between partitions, not in terms of what a model actually consumes; for patch-based classifiers the two differ, and the gap is where leakage survives. Mainstream vision has confronted a different form of leakage: 3.3% of CIFAR-10 and 10% of CIFAR-100 test images duplicate a training image, and the benchmark was reissued once this was measured [2]. Within HSI, the concern has surfaced twice, and both studies released a leakage-aware split [14, 25].

Existing leakage-aware studies demonstrate the problem on limited sets of architectures [14, 25]. Neither reports the spatial separation its partition achieves nor re-evaluates a cross-generational set of models under an equal hyperparameter budget. Whether the rankings this literature reports survive spatially disjoint evaluation is therefore untested.

This work answers that question on Salinas. The first contribution is a leakage-free evaluation protocol whose admissibility criterion ties spatial separation to model receptive field, with a frozen hash-verified split and a released common evaluation subset on which every model is scored identically. The second is a reusable audit procedure, applicable to any benchmark built from spatially structured data, covering partition disjointness, receptive-field admissibility, mask-composition bias, and a spectral probe that measures the protocol's effect before any model is trained. The third contribution is a benchmark of ten architectures spanning classical, spectral, spectral-spatial, transformer, vision-backbone, and state-space families. Every model receives the same budget of 90 hyperparameter trials, convergence is checked and reported per model, and results are averaged over five seeds. Published comparisons in this literature rarely hold tuning effort equal across architectures, so reported rankings partly reflect how hard each model was tuned rather than the architectures themselves.

Leakage-free evaluation changes what the benchmark reports. Rankings shift by as many as five places: Spectral-Former [6] ranks third under random splitting but falls to eighth under spatially disjoint evaluation, behind a tuned RBF-SVM [12] and a random forest [3]. At matched training-set size, every model performs worse, with a mean drop of 0.147 Macro-F1 and a maximum drop of 0.228. The architectures differ substantially in Macro-F1, yet they fail on the same pixels. On a single seed, 83% of the wrong predictions on universally misclassified pixels are one directional confusion between two classes that are never spatially adjacent in the scene; across all five seeds, 1,156 pixels are misclassified by all ten models. The limitation is spectral, not spatial. Finally, the training partition supports patches only up to a radius smaller than HyperSIGMA's published configuration requires [20], creating a direct trade-off between strict leakage-free evaluation and large-context architectures on a scene of this size.

References (23)