Self-Supervised Classification Network
About
We present Self-Classifier -- a novel self-supervised end-to-end classification learning approach. Self-Classifier learns labels and representations simultaneously in a single-stage end-to-end manner by optimizing for same-class prediction of two augmented views of the same sample. To guarantee non-degenerate solutions (i.e., solutions where all labels are assigned to the same class) we propose a mathematically motivated variant of the cross-entropy loss that has a uniform prior asserted on the predicted labels. In our theoretical analysis, we prove that degenerate solutions are not in the set of optimal solutions of our approach. Self-Classifier is simple to implement and scalable. Unlike other popular unsupervised classification and contrastive representation learning approaches, it does not require any form of pre-training, expectation-maximization, pseudo-labeling, external clustering, a second network, stop-gradient operation, or negative pairs. Despite its simplicity, our approach sets a new state of the art for unsupervised classification of ImageNet; and even achieves comparable to state-of-the-art results for unsupervised representation learning. Code is available at https://github.com/elad-amrani/self-classifier.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Object Detection | COCO 2017 (val) | AP41.5 | 2454 | |
| Image Classification | ImageNet-1k (val) | Top-1 Accuracy69.7 | 1453 | |
| Instance Segmentation | COCO 2017 (val) | -- | 1144 | |
| Image Classification | ImageNet-1k (val) | Top-1 Accuracy74.2 | 840 | |
| Object Detection | VOC 07+12 (test) | APall56.6 | 38 | |
| Unsupervised Classification | ImageNet (val) | Accuracy41.1 | 36 | |
| Clustering | ImageNet (val) | -- | 22 | |
| Unsupervised image classification | Entity13 BREEDS (val) | NMI73.6 | 8 | |
| Unsupervised image classification | Entity30 BREEDS (val) | NMI72.9 | 8 | |
| Unsupervised image classification | Nonliving26 BREEDS (val) | NMI72.2 | 8 |