AU-super: superpixel scale optimization and training data augmentation strategy for hyperspectral image classification

Yiran Wang, Lingling Li, Mingming Xu, Shanwei Liu, Muhammad Yasir, Manuel Á. Aguilar, Fernando J. AguilarFrontiers in Remote Sensing 2025

Abstract

The spectral information of each pixel in hyperspectral images contains valuable information about object properties, although accurate labeling is required in supervised classification to guide the model in distinguishing different land cover types. However, labeling data for hyperspectral images is difficult to obtain, especially in complex or remote areas. This results in a shortage of labeled samples, which prevents the model from fully learning the features of different classes. To overcome this challenge, this work proposes a hyperspectral image classification method, called AU-Super, that combines adaptive superpixel scale selection, superpixel label expansion, and data augmentation. First, an adaptive method is developed to determine an appropriate superpixel segmentation scale based on feature values, thereby ensuring that superpixel segmentation effectively captures the spatiospectral information of the image. Second, feature extraction is performed at the previously estimated superpixel scale. Third, pixel labels are converted to superpixel labels to reduce the effects of labeling noise during the training process. Furthermore, superpixel-level label-based data augmentation techniques are introduced to mitigate the problem of under-labeled patterns. The comparative results against various state-of-the-art algorithms demonstrate that AU-Super-RF consistently achieves superior performance across multiple accuracy metrics. Under few-shot training scenarios (with only 1–10 samples per class) on the Indian Pines, Salinas, and Pavia University datasets, it improves overall accuracy by 3%–7%, average accuracy by 2%–6%, and the Kappa coefficient by 3%–8%, highlighting the robustness and practical utility of the method.

Introduction

Hyperspectral imaging (HSI) provides a dense spectral signature for every pixel, enabling precise identification of materials and land cover. However, the high dimensionality of HSI data coupled with the scarcity of labeled training samples creates a significant challenge for supervised classification. In remote sensing, obtaining ground truth labels is often labor-intensive and expensive, leading to "few-shot" scenarios where only a handful of samples are available per class.

Furthermore, the use of superpixels—groups of spatially adjacent pixels with similar spectral characteristics—has become a standard way to incorporate spatial information and reduce computational complexity. However, the effectiveness of superpixel-based methods is highly sensitive to the chosen scale (the number or size of superpixels). Traditionally, this scale is determined through manual trial-and-error, which lacks objectivity and scalability.

Methodology: The AU-super Framework

The proposed AU-super framework addresses these challenges through a three-stage pipeline: automated scale selection, label expansion, and feature-level data augmentation.

1. Automated Superpixel Scale Selection

Instead of manual tuning, AU-super employs an adaptive method based on Explained Variation (EV). The algorithm iteratively segments the image at various scales and calculates the EV to measure how well the superpixels represent the original image features. This process relies on quantifying the information content and variation within the image's graph-based structure. By identifying the "elbow point" in the EV curve—the point where increasing the number of superpixels yields diminishing returns in captured detail—the system automatically selects an optimal scale that balances detail with generalizability.

Illustration of entropy rate variations in graph-based structures, representing the mathematical basis for quantifying information in adaptive superpixel segmentation.

2. Superpixel Label Expansion and Denoising

To mitigate the impact of pixel-level labeling noise, AU-super converts pixel labels into superpixel labels. Using a majority voting strategy, the most frequent label within a superpixel is assigned to the entire group. This process effectively "denoises" the training data by enforcing spatial consistency and ignoring isolated mislabeled pixels (the "salt-and-pepper" effect).

3. Feature-Level Data Augmentation

To bolster the model's performance in few-shot settings, the authors introduce three data augmentation techniques applied at the superpixel feature level:

  • Interval Swapping: Randomly exchanging feature subsets between two samples of the same class to create synthetic variations.
  • Smoothing: Averaging a feature vector with those of its spatial neighbors to simulate local spectral continuity.
  • Gaussian Perturbation: Adding controlled Gaussian noise to feature vectors to improve the robustness of the classifier against spectral variations.

The final classification is performed using a Random Forest (RF) classifier, which is known for its stability and efficiency when dealing with small training sets.

Experimental Results

The AU-super framework was evaluated on three benchmark HSI datasets: Indian Pines (agricultural), Pavia University (urban), and Salinas (high-resolution agricultural). The experiments focused on extreme few-shot conditions, using only 1 to 10 training samples per class.

Performance Highlights

  • Superior Accuracy: AU-super consistently outperformed state-of-the-art methods like BAMS-FE and MSuperPCA. On the Salinas dataset, the model achieved an exceptional 99.65% Overall Accuracy (OA) with just a single training sample per class.
  • Robustness: Across all datasets, the method improved OA by 3%–7% and the Kappa coefficient by 3%–8% compared to existing benchmarks.
  • Visual Quality: Classification maps produced by AU-super show significantly smoother boundaries and reduced noise compared to pixel-based or non-adaptive superpixel methods, particularly in heterogeneous areas like forests and road networks.

Conclusion and Future Directions

AU-super demonstrates that combining adaptive spatial partitioning with targeted feature augmentation can overcome the severe data limitations common in remote sensing. By automating the scale selection process, it removes a major source of human bias and improves the reproducibility of HSI classification.

Future research will explore extending this framework to multi-temporal data for change detection and integrating these superpixel strategies with more advanced architectures like Graph Neural Networks (GNNs) or Transformers to further enhance feature representation. Additionally, combining AU-super with active learning could further minimize the human effort required for labeling in complex environments.

Summary updated

BibTeX
@inproceedings{wang2025au,
  author = {Yiran Wang and Lingling Li and Mingming Xu and Shanwei Liu and Muhammad Yasir and Manuel Á. Aguilar and Fernando J. Aguilar},
  title = {{AU-super: superpixel scale optimization and training data augmentation strategy for hyperspectral image classification}},
  booktitle = {Frontiers in Remote Sensing},
  year = {2025},
  doi = {10.3389/frsen.2025.1685140},
}
Figure