Abstract
Self-Classifier is a single-stage self-supervised learning method that simultaneously learns image representations and discovers underlying classes without human labels. By introducing a novel cross-entropy loss variant with a uniform prior, it prevents representation collapse without complex architectural heuristics like negative pairs or momentum encoders. Self-Classifier achieves state-of-the-art unsupervised classification performance on ImageNet, reaching 41.1% accuracy.
Introduction
Self-supervised learning (SSL) has traditionally relied on instance discrimination, where models learn by distinguishing between different images while grouping augmented views of the same image. However, this approach often pushes apart images belonging to the same semantic category. While deep clustering methods aim to group similar images, they are prone to "collapse"—a degenerate state where all images are assigned to a single cluster.
Existing solutions to collapse involve multi-stage pipelines, offline clustering, or complex architectural constraints. Self-Classifier addresses this by formulating a single-stage, end-to-end framework that prevents collapse through a mathematically grounded loss function rather than heuristic tricks.
Methodology
The Self-Classifier architecture consists of a shared backbone (e.g., ResNet-50) and multiple classification heads. Two augmented views of an image are processed through the network to produce class predictions.
Non-collapsing Loss Function
The core innovation is a cross-entropy loss variant that enforces a uniform prior on predicted labels. By applying Bayes' theorem and the law of total probability, the loss function penalizes solutions that do not distribute predictions evenly across all available classes. This ensures that the model avoids trivial collapsed solutions where all data points map to one class.
Multi-head Clustering
To improve generalization, the model utilizes multiple classification heads simultaneously, each targeting a different number of clusters (e.g., 1K, 2K, 4K, and 8K). This "over-clustering" acts as a regularizer, forcing the backbone to learn features that are robust across various granularities of semantic grouping.
Experimental Results
The model was evaluated on ImageNet for unsupervised classification and linear evaluation, as well as on downstream tasks like object detection on COCO.
Unsupervised Classification
Self-Classifier sets a new benchmark for unsupervised classification on ImageNet. As shown in the results table, it achieves 41.1% clustering accuracy (ACC) after 800 epochs, outperforming complex multi-stage methods like SCAN.
Linear Evaluation and Transfer Learning
When evaluated using the standard linear probe protocol on ImageNet, Self-Classifier achieves 74.2% top-1 accuracy, competing with top-tier SSL methods like SwAV and BYOL. Furthermore, it demonstrates strong transferability, outperforming baselines like MoCo-v2 by approximately 2% AP in object detection and instance segmentation on MS COCO.
Conclusion
Self-Classifier demonstrates that a well-formulated loss function can replace the complex heuristics typically required to prevent collapse in self-supervised clustering. By enforcing a uniform prior and leveraging multi-head over-clustering, the method achieves state-of-the-art results in a simple, single-stage training regime. Future work may address the requirement of pre-defining the number of classes and improving the separation of visually similar fine-grained categories.
Summary updated