[Paper Review] Bag of Instances Aggregation Boosts Self-supervised Distillation
This paper proposes BINGO, a self-supervised distillation method that boosts small model performance by aggregating related instances into 'bags' based on similarity from a teacher model. By applying a dual distillation loss—inter-sample and intra-sample—BINGO transfers relational knowledge from the teacher, achieving SOTA results of 65.5% and 68.9% top-1 accuracy on ImageNet with ResNet-18 and ResNet-34, respectively, significantly outperforming prior methods.
Recent advances in self-supervised learning have experienced remarkable progress, especially for contrastive learning based methods, which regard each image as well as its augmentations as an individual class and try to distinguish them from all other images. However, due to the large quantity of exemplars, this kind of pretext task intrinsically suffers from slow convergence and is hard for optimization. This is especially true for small-scale models, in which we find the performance drops dramatically comparing with its supervised counterpart. In this paper, we propose a simple but effective distillation strategy for unsupervised learning. The highlight is that the relationship among similar samples counts and can be seamlessly transferred to the student to boost the performance. Our method, termed as BINGO, which is short for Bag of InstaNces aGgregatiOn, targets at transferring the relationship learned by the teacher to the student. Here bag of instances indicates a set of similar samples constructed by the teacher and are grouped within a bag, and the goal of distillation is to aggregate compact representations over the student with respect to instances in a bag. Notably, BINGO achieves new state-of-the-art performance on small-scale models, i.e., 65.5% and 68.9% top-1 accuracies with linear evaluation on ImageNet, using ResNet-18 and ResNet-34 as the backbones respectively, surpassing baselines (52.5% and 57.4% top-1 accuracies) by a significant margin. The code is available at https://github.com/haohang96/bingo.
Motivation & Objective
- To address the slow convergence and poor optimization of contrastive self-supervised learning in small models due to large-scale exemplar sets.
- To improve knowledge distillation in unsupervised learning by leveraging relational structure among highly similar samples rather than random instance pairs.
- To develop a relation-guided distillation strategy that transfers compact, bag-based representations from a large teacher model to a smaller student model.
- To achieve state-of-the-art performance in self-supervised representation learning for small-scale models without requiring labeled data.
Proposed method
- The method constructs 'bags' of highly similar instances by matching embeddings from a pretrained teacher model, grouping instances with high similarity to a given anchor as a bag.
- The bag-wise dataset replaces the standard instance-wise dataset, enabling distillation over structured groups of related samples.
- A dual distillation loss is introduced: intra-sample loss aligns augmentations of the same image in student and teacher networks, and inter-sample loss pulls all instances in a bag closer to the anchor.
- The bag construction uses similarity scores from the teacher’s embedding space, ensuring that only highly related samples are grouped together.
- The student model is trained using a modified contrastive objective that incorporates both instance-level and bag-level supervision.
- The approach is compatible with existing self-supervised frameworks and can be applied with minimal architectural changes.
Experimental results
Research questions
- RQ1Can aggregating highly similar samples into 'bags' improve knowledge distillation in self-supervised learning for small models?
- RQ2Does transferring relational knowledge among similar instances lead to better representation learning than relation-agnostic distillation methods?
- RQ3How does the performance of the student model compare when using only the teacher’s data relation (without weights) versus using both the teacher’s weights and relation?
- RQ4Can BINGO achieve state-of-the-art performance on ImageNet with small backbones like ResNet-18 and ResNet-34 under linear evaluation?
- RQ5How does the computational cost of BINGO compare to existing methods like SEED and DisCo under equivalent training epochs?
Key findings
- BINGO achieves a new state-of-the-art top-1 accuracy of 65.5% on ImageNet using ResNet-18 as the student model, surpassing the previous SOTA of 52.5%.
- With ResNet-34 as the student, BINGO reaches 68.9% top-1 accuracy, significantly outperforming the prior SOTA of 57.4%.
- When using only the teacher’s data relation (without pretrained weights), BINGO still achieves 62.2% accuracy, demonstrating the value of relational knowledge alone.
- Even under the same training cost (100 epochs), BINGO outperforms SEED (62.7% top-1) and matches DisCo (68.1% top-1) at 200 epochs, showing superior sample efficiency.
- The ablation study confirms that using the teacher’s pretrained weights and relation information together yields the best performance (64.0% with ResNet-18), indicating complementary benefits.
- BINGO’s computational cost is comparable to DisCo, and it maintains strong performance even when training time is limited, outperforming methods with longer training schedules.
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.