[Paper Review] GPU-based Self-Organizing Maps for Post-Labeled Few-Shot Unsupervised Learning
This paper proposes a GPU-accelerated, post-labeled few-shot unsupervised learning method combining transfer learning with Self-Organizing Maps (SOMs) for edge deployment. By using a pre-trained Wide ResNet as a feature extractor and training SOMs on unlabeled data before assigning labels via few-shot examples, the approach achieves state-of-the-art performance on mini-ImageNet with 71.53% accuracy at 1-shot and 82.22% at 5-shot, using only post-hoc labeling without fine-tuning.
Few-shot classification is a challenge in machine learning where the goal is to train a classifier using a very limited number of labeled examples. This scenario is likely to occur frequently in real life, for example when data acquisition or labeling is expensive. In this work, we consider the problem of post-labeled few-shot unsupervised learning, a classification task where representations are learned in an unsupervised fashion, to be later labeled using very few annotated examples. We argue that this problem is very likely to occur on the edge, when the embedded device directly acquires the data, and the expert needed to perform labeling cannot be prompted often. To address this problem, we consider an algorithm consisting of the concatenation of transfer learning with clustering using Self-Organizing Maps (SOMs). We introduce a TensorFlow-based implementation to speed-up the process in multi-core CPUs and GPUs. Finally, we demonstrate the effectiveness of the method using standard off-the-shelf few-shot classification benchmarks.
Motivation & Objective
- Address the challenge of few-shot classification in edge AI systems where labeling is costly and infrequent.
- Develop a method that learns robust representations without labeled data during training, reserving labels for post-processing.
- Enable efficient, low-latency inference on embedded devices by leveraging hardware-friendly SOMs and GPU acceleration.
- Demonstrate that unsupervised SOM clustering with post-labeled prototypes can match or exceed supervised few-shot baselines.
Proposed method
- Use a pre-trained Wide ResNet (WRN) as a universal feature extractor for transfer learning.
- Train a Self-Organizing Map (SOM) on unlabeled target data to learn cluster prototypes in the feature space.
- Assign class labels to SOM neurons post-training using only a few annotated samples per class.
- Replace Euclidean distance with Cosine distance in SOM computation to improve generalization under transfer learning.
- Implement the SOM in TensorFlow with GPU support to accelerate training and inference.
- Use a two-stage pipeline: unsupervised SOM training followed by label assignment using minimal supervision.
Experimental results
Research questions
- RQ1Can unsupervised SOM clustering with post-labeled prototypes achieve competitive few-shot classification accuracy without fine-tuning?
- RQ2How does the choice of distance metric (Euclidean vs. Cosine) affect performance in transfer learning with few labels?
- RQ3To what extent can unlabeled data compensate for a lack of labeled examples in few-shot learning?
- RQ4How much speedup can be achieved using GPU acceleration in SOM training for real-time edge deployment?
Key findings
- The proposed method achieves 71.53% accuracy on the 1-shot mini-ImageNet benchmark, ranking second among unsupervised methods.
- At 5-shot, the method reaches 82.22% accuracy, placing it in the top three among existing approaches.
- Using Cosine distance instead of Euclidean distance improves accuracy by 4.68% to 5.9% across shot settings.
- The method demonstrates that unlabeled data can compensate for limited labeled data—e.g., [s=3, Q=250] matches [s=5, Q=25] in performance.
- The GPU-accelerated TensorFlow implementation achieves approximately 100× speedup over CPU-only execution.
- For s=1, a 25-neuron SOM achieves optimal performance, suggesting that larger maps may hinder convergence with minimal labels.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.