Abstract
Unsupervised clustering of hyperspectral images (HSI) is a critical task due to the high cost of manual labeling. This paper presents SPGCC (Superpixel Graph Contrastive Clustering), a framework that integrates hybrid 3D/2D convolutional pre-training with graph-based contrastive learning. By utilizing semantic-invariant augmentations—Pixel Sampling Augmentation (PSA) and Model Weight Augmentation (MWA)—SPGCC addresses structural loss and computational complexity issues inherent in traditional methods. Experimental results on three benchmark datasets demonstrate that SPGCC achieves a significant accuracy improvement of 2.5% to 2.7% over state-of-the-art methods while maintaining high computational efficiency.
Introduction
Hyperspectral images (HSI) provide detailed spectral information across hundreds of bands, enabling precise land-cover classification. However, the lack of labeled data necessitates effective unsupervised clustering techniques. Current methods often suffer from three major gaps: structural information loss due to data simplification, high computational costs (especially subspace clustering with $O(n^3)$ complexity), and the "negative pair" trap in contrastive learning, where samples from the same class are incorrectly pushed apart in the embedding space.
Methodology
The SPGCC framework follows a multi-stage pipeline designed for both accuracy and efficiency.
Hybrid Pixel-Level Pre-training
To capture complex 3D spatial-spectral relationships without the overhead of full 3D-CNNs, a Variational Autoencoder (VAE) with mixed 3D and 2D convolutional layers is employed. This stage extracts robust high-order features before the graph-based clustering begins.
Superpixel Graph Construction
To mitigate computational complexity, the HSI is segmented into superpixels (homogeneous irregular regions). These superpixels serve as nodes in a graph, with edges representing spatial adjacency. This approach significantly reduces the number of elements to be processed compared to pixel-wise methods, preventing "Out of Memory" errors on large-scale images.
Semantic-Invariant Augmentations
The framework introduces two novel augmentation strategies to generate contrastive "views" without altering the underlying semantics:
- Pixel Sampling Augmentation (PSA): Randomly samples a single pixel within a superpixel to represent its features.
- Model Weight Augmentation (MWA): Uses dual unshared branches in the final Graph Convolutional Network (GCN) layer to create different perspectives of the same node.
Dual-Level Optimization
The optimization objective combines Sample-Level Alignment (SLA) and Clustering-Center-Level Contrast (CLC). SLA pulls augmented views of the same superpixel together, while CLC pushes different cluster centers apart. By focusing contrast on cluster centers rather than individual samples, the model preserves intra-class similarity.
Experimental Results
The model was evaluated on three standard benchmarks: India Pines, Salinas, and Pavia University.
SPGCC consistently outperformed ten baseline methods, including K-means, GCOT, and DGAE. Key performance metrics include:
- Accuracy: Achieved Overall Accuracy (OA) of 67.59% (India Pines), 84.47% (Salinas), and 62.68% (Pavia University), representing a ~2.5% jump over the next best performing methods.
- Efficiency: SPGCC successfully processed larger datasets like Salinas in approximately 150 seconds, whereas several traditional subspace methods failed due to memory constraints.
- Visual Quality: Clustering maps generated by SPGCC exhibit clearer boundaries and more homogeneous regions compared to baseline methods, as confirmed by t-SNE visualizations.
Conclusion
SPGCC offers a robust solution for HSI clustering by combining efficient superpixel-based graph learning with innovative semantic-invariant contrastive augmentations. By shifting the contrastive focus to cluster centers and utilizing high-confidence samples, the model preserves cluster structure while achieving state-of-the-art performance. Future work will explore mining more complex, non-spatial correlations between superpixels to further refine clustering in highly heterogeneous areas.
Summary updated