[Paper Review] Unsupervised Feature Learning by Cross-Level Instance-Group Discrimination
This paper proposes Cross-Level Instance-Group Discrimination (CLD), a contrastive self-supervised learning method that enhances feature representation by jointly optimizing instance-level and group-level discrimination. By clustering features into semantic groups and applying contrastive loss between instances and their group prototypes, CLD improves downstream classification accuracy, achieving state-of-the-art results on ImageNet-100 (81.7% top-1 accuracy with MoCo+CLD).
Unsupervised feature learning has made great strides with contrastive learning based on instance discrimination and invariant mapping, as benchmarked on curated class-balanced datasets. However, natural data could be highly correlated and long-tail distributed. Natural between-instance similarity conflicts with the presumed instance distinction, causing unstable training and poor performance. Our idea is to discover and integrate between-instance similarity into contrastive learning, not directly by instance grouping, but by cross-level discrimination (CLD) between instances and local instance groups. While invariant mapping of each instance is imposed by attraction within its augmented views, between-instance similarity could emerge from common repulsion against instance groups. Our batch-wise and cross-view comparisons also greatly improve the positive/negative sample ratio of contrastive learning and achieve better invariant mapping. To effect both grouping and discrimination objectives, we impose them on features separately derived from a shared representation. In addition, we propose normalized projection heads and unsupervised hyper-parameter tuning for the first time. Our extensive experimentation demonstrates that CLD is a lean and powerful add-on to existing methods such as NPID, MoCo, InfoMin, and BYOL on highly correlated, long-tail, or balanced datasets. It not only achieves new state-of-the-art on self-supervision, semi-supervision, and transfer learning benchmarks, but also beats MoCo v2 and SimCLR on every reported performance attained with a much larger compute. CLD effectively brings unsupervised learning closer to natural data and real-world applications. Our code is publicly available at: https://github.com/frank-xwang/CLD-UnsupervisedLearning.
Motivation & Objective
- Address the limitation of instance-level contrastive learning in capturing semantic structure by introducing group-level discrimination.
- Improve feature representation quality by leveraging coarse-grained group prototypes to guide instance-level contrastive learning.
- Reduce sensitivity to hyperparameters like temperature T and balance between instance and group loss via controlled weighting.
- Demonstrate improved generalization on downstream tasks such as linear probing, object detection, and semi-supervised learning.
- Validate the effectiveness of CLD across diverse datasets including ImageNet, CIFAR, STL-10, and Kitchen-HC with high correlation across views.
Proposed method
- Apply spherical k-means clustering to group feature embeddings into k semantic clusters, using cosine similarity to compute cluster centroids.
- Introduce a joint contrastive loss combining instance-level and group-level discrimination: minimize similarity between positive pairs while maximizing separation between negative instances and group prototypes.
- Use a learnable weighting hyperparameter λ to balance the contributions of instance-level and group-level contrastive objectives.
- Apply temperature scaling T to the contrastive loss, with T_I = T_G for both instance and group terms, and optimize via cosine learning rate scheduling.
- Implement CLD as a plug-in module compatible with existing contrastive frameworks like MoCo, NPID, and BYOL, enabling end-to-end training with standard data augmentations.
- Utilize a memory bank for negative keys in MoCo-style training, with ablation studies on memory bank size to balance local and global mutual information.
Experimental results
Research questions
- RQ1Can joint instance-group discrimination improve self-supervised representation learning beyond instance-level contrastive learning?
- RQ2How does the choice of clustering method (k-means vs. spectral clustering) affect the quality of group prototypes and downstream performance?
- RQ3What is the optimal balance between instance-level and group-level contrastive signals, as controlled by λ?
- RQ4How sensitive is CLD to temperature T, and does group-level regularization reduce this sensitivity compared to standard contrastive learning?
- RQ5Does CLD improve zero-shot generalization and retrieval performance on semantically similar but visually distinct samples?
Key findings
- CLD achieves 81.7% top-1 accuracy on ImageNet-100 using MoCo+CLD, outperforming MoCo by 4.1 percentage points and setting a new SOTA.
- With λ = 0.25, CLD achieves optimal performance, while increasing λ beyond 1.0 degrades accuracy by up to 3.1% due to over-penalization of group-level signals.
- Temperature T = 0.2 yields the best performance on both CIFAR-100 and ImageNet-100, and CLD reduces sensitivity to T compared to baseline methods.
- CLD significantly improves retrieval quality: NPID+CLD successfully retrieves semantically similar images (e.g., chocolate sauce) that NPID fails to retrieve due to texture bias.
- On the Kitchen-HC dataset with high view correlation, CLD maintains strong performance, indicating robustness to correlated positive samples.
- In semi-supervised learning, CLD with a linear head achieves state-of-the-art performance on 1% and 10% ImageNet-1k labeled splits, with optimal hyperparameters at base LR 0.01 and head multiplier 100.
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.