4.4. Results and Analysis
To evaluate model generalization under limited labeled samples, we adopted a random sampling strategy that selected only 10 samples per class for training, with all remaining labeled samples used for testing. All images were resized to
pixels to meet the input requirements of the baseline networks. As reported in
Table 1 and
Table 2, the proposed method attains the highest values for all four metrics on both datasets under the current experimental setting. Under the 10-shot setting, the results in
Table 1 indicate that performance is influenced not only by the amount of input information, but also by how that information is organized and matched to the backbone under limited supervision. The proposed method achieves the best overall performance on both datasets, suggesting that, in hyperspectral scene classification with limited samples, simply increasing the number of input channels is insufficient; the manner in which spectral and spatial cues are represented and integrated is equally important.
A consistent improvement is observed when moving from Scheme 1 to Scheme 2. Across all four backbones, the inclusion of NIR bands leads to better results on both datasets. This trend suggests that the additional near-infrared information provides complementary cues beyond those contained in an RGB-like representation. For remote sensing scene classification, scene categories are determined not only by visual appearance, but also by the material properties of the constituent regions. The fact that this trend is shared by all evaluated backbones further indicates that the contribution of NIR information is stable under the current protocol. By contrast, the effect of Scheme 3 is not consistent across architectures. Although AlexNet benefits from the Fusion setting, ViT, DeiT, and ResNet do not consistently outperform their corresponding RGB+NIR variants. This result suggests that the main difficulty lies not in whether richer hyperspectral information is useful, but in whether it can be transformed into a representation that remains learnable when only a small number of labeled samples is available. When the fusion process is not designed to organize spectral information in a manner aligned with scene recognition, the additional information may not translate into improved classification performance. Under the present setup, this issue appears to be more evident for generic visual backbones, particularly Transformer-based models, whose effectiveness is closely related to the way input tokens are formed and interpreted.
The comparison among backbones further supports this observation. ResNet provides the strongest competing performance in most settings, indicating that convolutional inductive biases remain effective for scene classification under limited supervision. Meanwhile, AlexNet achieves a more substantial performance gain under Scheme 3, indicating that the efficacy of feature fusion is not uniform across different settings. Taken together, these results indicate that the benefit of additional spectral information in hyperspectral scene classification with limited training samples depends not only on the information itself, but also on how it is structured, aggregated, and incorporated into the learning process.
To further examine the decision behavior of the proposed framework, we visualize class activation responses on HSRS-SC and HRSSC, as shown in
Figure 6 and
Figure 7. For each example, the first row shows the pseudo-RGB image, the second row presents the activation map, and the third row overlays the activation response on the pseudo-RGB image. The activation maps are generated from the final Transformer aggregation stage of the proposed model. Specifically, the target-class score is back-propagated to the superpixel tokens before the last aggregation block, and the resulting gradient-weighted token responses are mapped back to the image plane according to their corresponding superpixel locations. Therefore, the visualization indicates which image components contribute more strongly to the final prediction.
As shown in
Figure 6, on HSRS-SC, the activation responses are generally concentrated on visually meaningful and category-relevant components. For agricultural scenes, the model tends to highlight regular field patterns; for building-related categories, stronger responses appear over constructed structures and their surrounding layouts; for water scenes, the activations are mainly distributed over homogeneous water surfaces and nearby boundaries. These observations indicate that the proposed model does not rely on isolated pixels or scattered background responses. Instead, it collects evidence from coherent image components that are closely related to the predicted category. This behavior is consistent with the superpixel-guided design, where hyperspectral pixels are first grouped into compact units before being processed by the spectral branch.
As shown in
Figure 7, on HRSSC, the activation maps exhibit more diverse response patterns, which is reasonable given the larger number of categories and more heterogeneous image content in this dataset. The model tends to focus on category-related components, such as runways or open built-up structures in airport scenes, dense urban layouts in city scenes, vegetation-covered areas in farmland and forest scenes, and water bodies or shoreline structures in lake, river, ocean, and seaside scenes. Although HRSSC remains more challenging and contains stronger inter-class ambiguity, the activation responses are still mainly distributed over meaningful image components rather than irrelevant background areas. This observation is consistent with the quantitative results and confusion matrices, suggesting that the proposed spectral–spatial fusion framework can produce interpretable prediction evidence under limited supervision.
To examine the influence of different pretrained hyperspectral foundation model weights, we conducted an additional comparison by replacing only the pretrained initialization of the spectral branch while keeping the training strategy, classifier design, and evaluation protocol unchanged. Since the original foundation models differ in input organization, embedding design, and backbone structure, lightweight interface adaptations were applied when necessary so that the pretrained weights from HyperSIGMA [
42], SpectralEarth [
44], HyperFree [
43], and HyperSL [
46] could be incorporated into the same scene classification framework. Therefore, this experiment evaluates the transfer behavior of different pretrained weights within the proposed framework, rather than providing a direct comparison among the complete original foundation models.
On HSRS-SC [
47], all four initialization sources achieve relatively high classification performance, with OA values ranging from 94.38% to 97.15%. Among them, HyperSL obtains the highest results, reaching 97.15% OA, 96.77% AA, 96.27 Kappa, and 97.15% F1-score. Compared with the second-best initialization, HyperFree, the corresponding improvements are 1.05, 1.31, 1.38, and 1.12 percentage points, respectively. This result indicates that, under the current experimental setting, the HyperSL initialization is the most compatible with the proposed spectral branch on HSRS-SC.
A similar trend can be observed on HRSSC [
48]. HyperSL again achieves the highest values across all four metrics, with 83.52% OA, 81.28% AA, 80.88 Kappa, and 84.22% F1-score. The second-best results are obtained by HyperFree, which reaches 80.82% OA, 78.51% AA, 77.77 Kappa, and 81.37% F1-score. Thus, the gains of HyperSL over the second-best initialization are 2.70, 2.77, 3.11, and 2.85 percentage points in OA, AA, Kappa, and F1-score, respectively. The larger performance gap on HRSSC suggests that the choice of pretrained initialization has a more visible effect on this dataset under the current protocol.
The observed differences are consistent with the architectural relationship between the pretrained weights and the proposed spectral branch. In this work, the spectral branch processes region-level one-dimensional spectra obtained through superpixel aggregation. Therefore, pretrained weights derived from a model that explicitly encodes spectral sequences and incorporates wavelength-aware information can be more directly mapped to the proposed region-level spectral encoder. Under this setting, HyperSL provides a compatible initialization for the spectral encoder, since its pretraining formulation is also centered on one-dimensional spectral tokenization and wavelength-aware representation learning.The fundamental reason for the performance discrepancies among HyperSIGMA, SpectralEarth, HyperFree and HyperSL lies in their fundamentally different architectural assumptions at the design stage. For example, HyperSIGMA emphasizes spatial–spectral foundation modeling, SpectralEarth is built around spectral adaptation for large-scale hyperspectral pretraining, and HyperFree focuses on channel-adaptive and promptable hyperspectral inference. When their pretrained weights are adapted to the present framework, their original structural context cannot be preserved exactly. Consequently, the results in
Table 1 reflect their performance after adaptation to the proposed scene classification pipeline, rather than the full capability of the original models.
Based on the above content, HyperSL is adopted as the default pretrained initialization for the spectral branch. This choice because its one-dimensional spectral tokenization and wavelength-aware representation are more consistent with the input form and encoding process used in the proposed method. Under the current framework, this compatibility reduces the architectural mismatch during weight transfer and leads to the best overall results on both HSRS-SC and HRSSC.
4.4.1. Confusion Matrix Analysis
The confusion matrices in
Figure 8 and
Figure 9 provide a class-wise view of the prediction distributions under the three input schemes. Unlike OA, AA, Kappa, and F1-score, which summarize the overall classification performance, confusion matrices show how correctly and incorrectly classified samples are distributed across individual scene categories. A stronger concentration along the main diagonal indicates that more samples are assigned to their ground-truth classes, whereas off-diagonal entries reflect inter-class misclassification. Therefore, the confusion matrices are used as complementary evidence for interpreting the quantitative results in
Table 1.
For HSRS-SC, the confusion matrices generally show a relatively compact diagonal structure across most methods and input schemes. This pattern is consistent with the higher quantitative scores obtained on this dataset. The characteristics of HSRS-SC provide a useful context for this observation. The dataset contains five scene categories and has a spatial resolution of 1 m, with 48 spectral bands covering 380–1050 nm. Under this setting, the scene categories are represented with relatively fine spatial details, and the smaller label space results in fewer possible class-pair confusions. Accordingly, the off-diagonal responses in HSRS-SC are visually less dispersed than those observed in HRSSC. This does not indicate that the dataset is free of ambiguity, but it shows that most methods can correctly classify a large proportion of samples under the current 10-shot protocol. Within the HSRS-SC results, the proposed method presents a more concentrated diagonal distribution than the compared visual backbones. This observation is consistent with its highest OA, AA, Kappa, and F1-score on this dataset. The off-diagonal entries of the proposed method are still present, but they are visually weaker than those of the compared methods under the same evaluation setting. This suggests that the proposed region-level spectral modeling and scene-level aggregation are associated with a more stable class-wise prediction pattern on HSRS-SC. The improvement should be interpreted as a reduction in visible misclassification responses rather than as a complete elimination of class confusion.
For HRSSC, the confusion matrices show more distributed off-diagonal entries than those of HSRS-SC. This visual pattern agrees with the quantitative results, where all methods obtain lower absolute scores on HRSSC. Several dataset characteristics may be related to this difference. HRSSC contains 11 scene categories, including urban, agricultural, natural, fire-related, and water-related scenes. Compared with HSRS-SC, this larger and more diverse label space introduces more possible class-pair interactions in the confusion matrix. In addition, HRSSC provides 224 spectral bands over a broader wavelength range of 400–2500 nm, while its spatial resolution varies from 3 to 15 m. Under limited supervision, richer spectral dimensionality and variable spatial resolution may place higher demands on the model’s ability to learn stable scene-level representations. These factors provide a plausible background for the more visible inter-class confusion observed in the HRSSC matrices. The off-diagonal entries in HRSSC are not concentrated in a single method or a single input scheme; rather, they appear across different visual backbones and schemes. This indicates that the classification difficulty on HRSSC is not only related to a specific model architecture. Instead, it is also associated with the dataset’s larger category set and more heterogeneous scene composition. Several HRSSC categories may share similar visual layouts or related spectral characteristics at the scene level, particularly among natural and water-related scenes. Under the 10-shot setting, such similarities may increase the difficulty of separating fine-grained scene categories. The proposed method still shows a relatively clearer diagonal structure than the compared methods, which is consistent with its leading quantitative results on HRSSC. However, visible off-diagonal responses remain, indicating that further improvement is still possible for categories with subtle inter-class differences.
From Scheme 1 to Scheme 2, the diagonal patterns become clearer for several backbones, especially on HRSSC. This visual trend is consistent with the numerical results, where the introduction of an additional pseudo-color view improves the metrics of the evaluated visual backbones. The second pseudo-color view appears to provide complementary information beyond the single RGB-like input under the current band selection. However, this observation should be limited to the present experimental setting; it does not imply that any additional band combination would necessarily produce the same effect.
The behavior of Scheme 3 is more dependent on the backbone architecture. In the quantitative results, Scheme 3 improves some backbones but does not consistently outperform Scheme 2 for all models. The confusion matrices show a similar pattern: direct fusion with full-hyperspectral features does not always produce a cleaner diagonal structure. This suggests that the availability of richer spectral information alone is not sufficient to ensure lower class confusion. How the spectral and spatial features are encoded, aligned, and fused remains important for scene-level classification. This observation is consistent with the motivation of the proposed framework, in which hyperspectral information is first organized into superpixel-level spectral tokens before scene-level aggregation.
Across both datasets, the proposed method maintains a relatively concentrated diagonal structure compared with the evaluated baselines. On HSRS-SC, this appears as compact diagonal responses and weak off-diagonal entries. On HRSSC, where off-diagonal responses are generally more pronounced, the proposed method still shows a clearer diagonal pattern than the compared methods. This class-wise behavior is consistent with the aggregate performance reported in
Table 1. Taken together, the confusion matrices indicate that the proposed framework provides a more stable prediction distribution under the current hyperspectral scene classification setting.
Overall, the confusion matrix analysis supports three observations. First, HRSSC exhibits more visible inter-class confusion than HSRS-SC under the same evaluation protocol, which is consistent with its larger label space, broader spectral range, variable spatial resolution, and lower quantitative scores. Second, the additional pseudo-color view in Scheme 2 is associated with cleaner diagonal patterns for several backbones, in line with the corresponding metric improvements. Third, the proposed method shows a relatively stable diagonal concentration on both datasets, suggesting that superpixel-guided spectral representation and scene-level aggregation are useful for reducing class-wise prediction dispersion under the current experimental conditions.
4.4.2. Ablation Analysis
To further evaluate the contribution of the key components in the proposed framework, ablation experiments were conducted on HSRS-SC and HRSSC under the same 10-shot training protocol. As shown in
Table 3, three variants were considered: removing spectral foundation pretraining, replacing superpixel-guided aggregation with fixed grid partitioning, and removing both components simultaneously. The full model consistently achieves the best performance on both datasets, indicating that both pretrained spectral initialization and superpixel-guided input organization contribute to the final classification results.
When spectral foundation pretraining is removed, the spectral branch is initialized randomly, while the lightweight adaptation strategy and the remaining network structure are kept unchanged. This variant leads to a clear performance drop on both datasets. On HSRS-SC, OA, AA, Kappa, and F1 decrease by 2.39, 2.74, 3.15, and 2.43 percentage points, respectively. On HRSSC, the corresponding decreases are 2.62, 1.38, 2.94, and 2.22 percentage points. These results show that pretrained spectral initialization provides a more informative starting point for the spectral branch under limited supervision. Since only part of the spectral backbone is updated during training, random initialization makes it more difficult for the adapters and the partially unfrozen layers to learn effective spectral features from only a small number of labeled samples.
Replacing superpixel-guided aggregation with fixed grid partitioning also degrades performance on both datasets. Compared with the full model, the variant without superpixel-guided aggregation decreases by 2.02, 2.03, 2.64, and 2.03 percentage points in OA, AA, Kappa, and F1 on HSRS-SC, and by 2.40, 1.84, 2.65, and 2.01 percentage points on HRSSC. This result indicates that the way hyperspectral pixels are organized before spectral encoding has a direct effect on classification performance. Fixed grid partitioning imposes regular spatial divisions that may cut across object or material boundaries, whereas superpixels group pixels according to local spatial and spectral consistency. Therefore, the mean spectra obtained from superpixels are more likely to correspond to coherent components within the image, which benefits the subsequent Transformer-based aggregation.
A comparison between the two single-component ablations further suggests that pretrained initialization and superpixel-guided aggregation affect the model from different aspects. On HSRS-SC, removing pretraining causes a slightly larger decrease than replacing superpixels with fixed grids in OA, Kappa, and F1, suggesting that the spectral initialization plays a more visible role on this dataset. On HRSSC, the two variants show comparable decreases in OA, Kappa, and F1, while the decrease in AA is larger when superpixel-guided aggregation is removed. Since AA gives equal weight to each category, this result suggests that superpixel-based input organization may help reduce class-wise performance imbalance on the more category-diverse HRSSC dataset.
When both spectral pretraining and superpixel-guided aggregation are removed, the model obtains the lowest performance among all variants. Compared with the full model, OA, AA, Kappa, and F1 decrease by 3.59, 3.95, 4.70, and 3.65 percentage points on HSRS-SC, and by 4.34, 3.89, 4.87, and 4.07 percentage points on HRSSC. The degradation is larger than that caused by either component alone, indicating that the two designs provide complementary benefits. Spectral foundation pretraining improves the initialization of the spectral branch, while superpixel-guided aggregation determines how the input spectra are constructed before encoding. Their combination allows the model to start from a stronger spectral prior while using more spatially coherent input units.
It is also worth noting that the performance drop caused by removing both components is not simply the arithmetic sum of the two individual drops. This suggests that the two components interact within the same spectral branch rather than contributing independently. Superpixel-guided aggregation determines the form of the input spectra, while spectral pretraining determines how these spectra are encoded. Therefore, the full model benefits from their joint use, although their effects partially overlap in the overall learning process.
Overall, the ablation results demonstrate that both spectral foundation pretraining and superpixel-guided aggregation are important for the proposed framework. The former provides a stable and informative initialization under limited supervision, while the latter constructs more coherent superpixel spectra for classification. Together, these components enhance performance reliability on both datasets.
To further examine the sensitivity of the pseudo-RGB branch to wavelength selection, we evaluate several nearby target wavelength combinations around the default setting, and the corresponding results are reported in
Table 4. The results show that the classification performance remains relatively stable within the tested wavelength range. On HRSSC, the OA varies from 83.15% to 84.19%, while on HSRS-SC it ranges from 96.78% to 97.53%. These variations are limited compared with the overall performance level, indicating that the pseudo-RGB branch does not rely on an exact wavelength triplet. Instead, selecting nearby visible bands provides comparable spatial cues under the current experimental setting. Nevertheless, the best wavelength combination is not identical across the two datasets, suggesting that the optimal pseudo-RGB construction may still depend on sensor characteristics and scene composition.
To further evaluate the influence of the SLIC compactness parameter on superpixel construction, the corresponding sensitivity results are reported in
Table 5. The sensitivity analysis of the SLIC compactness parameter shows that the superpixel generation setting has a measurable influence on the final scene classification results. In the proposed framework, superpixels are used to organize pixels into local units before classification. Therefore, the compactness parameter affects the spatial form of these units and may further influence how local objects, boundaries, and structural patterns are represented. A smaller compactness value allows the partition to follow image content more flexibly, whereas a larger value enforces more regular superpixels. These two tendencies may lead to different descriptions of the spatial layout and object composition within a scene.
On HSRS-SC, the setting with compactness 5 achieves the best results across OA, AA, Kappa, and F1. When the compactness value is increased to 10 or 50, all metrics decrease slightly. This suggests that, under the current experimental setting, a moderate compactness value is more suitable for preserving the local organization of the scene. For scene classification, the label is determined by the overall arrangement and combination of different land cover components rather than by isolated pixels. Therefore, if the superpixels are either too irregular or overly constrained by spatial regularity, the resulting partition may provide a less stable description of the scene structure.
The trend on HRSSC is less uniform. Compactness 50 gives a slightly higher OA than compactness 5, but its AA is noticeably lower. This indicates that the improvement in overall accuracy does not correspond to a more balanced improvement across classes. Since OA is more affected by the total number of correctly classified samples, whereas AA gives equal importance to each class, the discrepancy between these two metrics suggests that a larger compactness value may benefit some categories while weakening the average class-wise performance. Considering both datasets and all metrics, compactness 5 is adopted as the default setting because it provides a more balanced result, rather than optimizing a single metric on one dataset.
The ablation on the number of unfrozen spectral Transformer blocks further examines the fine-tuning strategy used in the proposed framework. As shown in
Table 6, keeping the pretrained spectral backbone largely frozen yields the best or most stable performance on both datasets. When additional Transformer blocks are unfrozen, the results do not show consistent improvement; instead, several metrics decrease, especially under settings where two or three blocks are updated. This suggests that simply increasing the number of trainable pretrained layers is not necessarily beneficial in the current setting.
This trend is reasonable because only 10 labeled samples per class are available for training. Under such limited supervision, updating more parameters may make the model more sensitive to the specific sampled training examples, thereby reducing the benefit of the pretrained spectral representation. In contrast, freezing most of the spectral backbone helps preserve the knowledge learned during pretraining, while the task-specific trainable components provide sufficient flexibility for adapting the representation to scene classification. Therefore, the results support the use of a conservative fine-tuning strategy, in which most pretrained spectral parameters are retained and only a limited set of parameters is updated for downstream adaptation.
The multi-seed evaluation provides an additional assessment of the stability of the proposed method under different random sampling conditions. As shown in
Table 7, the performance variations remain relatively limited across the tested seeds. The standard deviations on HRSSC are slightly larger than those on HSRS-SC, which is consistent with the overall experimental trend that HRSSC presents a more challenging setting under the 10-shot protocol. These results suggest that the reported performance is not strongly dependent on a particular random split.
Table 8 reports the computational cost of different methods, which helps explain the accuracy–efficiency trade-off observed in
Table 1. The RGB-based baselines have the lowest computational cost because they only use a three-channel input. However, their accuracy is also lower than that of the proposed method on both datasets. The dual pseudo-RGB setting increases the computation of these backbones, but the improvement in classification accuracy is not consistent for all models. This shows that adding another pseudo-color input alone does not always provide a reliable gain.
The Fusion variants require much higher FLOPs, latency, and memory than the RGB and dual pseudo-RGB settings. This is expected because they directly introduce hyperspectral information into the visual backbones. However,
Table 1 shows that this direct fusion strategy does not consistently improve the classification results, especially on HRSSC. Therefore, the increase in computational cost does not necessarily translate into better performance when the spectral information is incorporated in a simple fusion manner.
Compared with these baselines, the proposed method requires more computation than RGB-only and dual pseudo-RGB models, but it achieves the best accuracy on both datasets. More importantly, its computational cost is much lower than that of the Fusion variants. For example, on HRSSC, the proposed method has higher FLOPs than RGB-based models due to the use of spectral information, but it remains clearly more efficient than the Fusion baselines while obtaining better classification results. This indicates that the proposed framework provides a reasonable trade-off between accuracy and computational cost under the current setting.
Overall, the results suggest that the performance improvement of the proposed method is not simply obtained by increasing model complexity. Instead, the method introduces additional computation to use hyperspectral information more effectively, while avoiding the much larger cost of directly processing full hyperspectral inputs with generic visual backbones.
4.4.3. Comparison with Representative Scene Classification Methods
Table 9 compares the proposed method with several representative remote sensing scene classification approaches on the HSRS-SC and HRSSC datasets. The proposed method achieves the highest values across all four metrics on both datasets. On HSRS-SC, the improvement over SKAL, MGML-FENet, and SSFNet is relatively clear, indicating that the proposed framework provides more effective discrimination under the current limited-sample setting.
On HRSSC, the performance differences among methods are smaller than those on HSRS-SC, but the proposed method still maintains consistent advantages in OA, AA, Kappa, and F1. This result is consistent with the observation that HRSSC is a more challenging dataset, where more scene categories and stronger inter-class similarity make classification more difficult. The improvement in both OA and class-related metrics suggests that the proposed method does not only increase the overall number of correct predictions, but also maintains more balanced classification performance across categories.
Among the compared methods, SSFNet obtains the strongest results on HRSSC, while MGML-FENet and SSFNet show competitive performance on HSRS-SC. Nevertheless, the proposed method consistently outperforms these representative methods on both datasets. These results indicate that the proposed framework is better suited to hyperspectral scene classification under the limited samples protocol.