Jathushan Rajasegaran, Salman Khan, Munawar Hayat, Fahad Shahbaz Khan, Mubarak Shah
Real-world contains an overwhelmingly large number of object classes, learning all of which at once is infeasible. Few shot learning is a promising learning paradigm due to its ability to learn out of order distributions quickly with only a few samples. Recent works [7, 41] show that simply learning a good feature embedding can outperform more sophisticated meta-learning and metric learning algorithms for few-shot learning. In this paper, we propose a simple approach to improve the representation capacity of deep neural networks for few-shot learning tasks. We follow a two-stage learning process: First, we train a neural network to maximize the entropy of the feature embedding, thus creating an optimal output manifold using a self-supervised auxiliary loss. In the second stage, we minimize the entropy on feature embedding by bringing self-supervised twins together, while constraining the manifold with student-teacher distillation. Our experiments show that, even in the first stage, self-supervision can outperform current state-of-the-art methods, with further gains achieved by our second stage distillation process. Our codes are available at: https://github.com/brjathu/SKD.
| Task | Dataset | Metric | Value | Model |
|---|---|---|---|---|
| Image Classification | CIFAR-FS 5-way (1-shot) | Accuracy | 76.9 | SKD |
| Image Classification | Mini-Imagenet 5-way (5-shot) | Accuracy | 83.54 | SKD |
| Image Classification | Mini-Imagenet 5-way (1-shot) | Accuracy | 67.04 | SKD |
| Image Classification | FC100 5-way (5-shot) | Accuracy | 63.1 | SKD |
| Image Classification | FC100 5-way (1-shot) | Accuracy | 46.5 | SKD |
| Image Classification | Tiered ImageNet 5-way (1-shot) | Accuracy | 72.03 | SKD |
| Image Classification | Tiered ImageNet 5-way (5-shot) | Accuracy | 86.66 | SKD |
| Image Classification | CIFAR-FS 5-way (5-shot) | Accuracy | 88.9 | SKD |
| Few-Shot Image Classification | CIFAR-FS 5-way (1-shot) | Accuracy | 76.9 | SKD |
| Few-Shot Image Classification | Mini-Imagenet 5-way (5-shot) | Accuracy | 83.54 | SKD |
| Few-Shot Image Classification | Mini-Imagenet 5-way (1-shot) | Accuracy | 67.04 | SKD |
| Few-Shot Image Classification | FC100 5-way (5-shot) | Accuracy | 63.1 | SKD |
| Few-Shot Image Classification | FC100 5-way (1-shot) | Accuracy | 46.5 | SKD |
| Few-Shot Image Classification | Tiered ImageNet 5-way (1-shot) | Accuracy | 72.03 | SKD |
| Few-Shot Image Classification | Tiered ImageNet 5-way (5-shot) | Accuracy | 86.66 | SKD |
| Few-Shot Image Classification | CIFAR-FS 5-way (5-shot) | Accuracy | 88.9 | SKD |