Abstract
Few-shot classification (FSC) aims to recognize novel categories from extremely limited labeled data. A significant challenge in FSC is the distribution gap between the labeled base set used for training and the unlabeled or sparsely labeled novel set encountered during inference. This paper introduces Self-supervised Network Evolution (SNE), a three-stage framework that adapts a pre-trained network to the specific distribution of novel classes. By integrating deep clustering for label propagation with a self-supervised rotation-prediction task, SNE evolves the embedding space to better represent new categories. Experimental results on miniImageNet, CIFAR-FS, and FC100 demonstrate that SNE significantly outperforms existing state-of-the-art methods, particularly in one-shot scenarios.
Introduction
The primary goal of few-shot classification is to enable AI systems to learn new concepts with human-like efficiency. Traditional approaches typically train a feature extractor on a large, labeled "base set" and apply it to a "novel set." However, these methods often struggle when there is a substantial distribution gap between the two sets—for instance, when a model trained on birds is asked to classify car models. Most existing frameworks assume a static embedding space, failing to leverage the structural information inherent in the novel data distribution.
Methodology: The Evolution Process
The SNE framework proposes a dynamic adaptation of the neural network through a three-stage evolution process.
- Base Embedding: A standard ResNet-12 backbone is initially trained on the labeled base dataset to establish a robust foundational feature extractor.
- Label Propagation via Deep Clustering: To bridge the gap to the novel domain, SNE employs an unsupervised clustering algorithm (SCAN). This step groups unlabeled images from the novel classes and assigns them "pseudo-labels," capturing the latent distribution of the new data.
- Dual-Task Network Evolution: The network is then refined using a dual-task learning objective:
- Supervised Task: The model is trained on the generated pseudo-labels.
- Self-Supervised Task: To mitigate the noise inherent in unsupervised clustering, a rotation-prediction task (0°, 90°, 180°, 270°) is introduced. This forces the model to learn structural semantic features independent of the potentially erroneous cluster labels.
- Adaptive Loss Weighting: The framework utilizes homoscedastic uncertainty to automatically balance the supervised and self-supervised losses, removing the need for manual hyperparameter tuning.
Experimental Evaluation
The performance of SNE was evaluated on three standard benchmarks: miniImageNet, CIFAR-FS, and FC100. The latter is particularly challenging as classes are split by "super-classes," maximizing the distribution gap.
Key Results
SNE achieved state-of-the-art results across all benchmarks. On miniImageNet, it reached 71.02% accuracy in the 1-shot 5-way task, a 3.25% improvement over previous leaders. In the cross-domain scenario (training on miniImageNet and testing on CIFAR-FS), SNE maintained a high accuracy of 67.79%, highlighting its strong generalization capabilities.
Discussion and Insights
The core philosophy of SNE is that a network should not be static; it must evolve its internal logic to suit the "neighborhood" of the new classes it encounters. The inclusion of self-supervision acts as a critical stabilizer, ensuring that even if clustering produces noisy labels, the model still learns meaningful object structures.
Visual analysis using t-SNE confirms this evolution. While the base network often perceives novel classes as overlapping clusters, the evolved SNE network effectively separates them into distinct, manageable groupings.
Conclusion and Future Work
While SNE offers significant performance gains, it introduces additional computational overhead during the evolution phase. Furthermore, its reliance on a pool of unlabeled data from the novel domain suggests potential limitations in "pure" few-shot settings where such data is unavailable. Future research will focus on optimizing the computational efficiency of the evolution process and exploring alternative self-supervised pretext tasks to further enhance robustness.
Summary updated