Integrating Auxiliary Information in Self-supervised Learning
Introduction
Self-supervised learning (SSL) has transformed artificial intelligence by enabling models to learn from vast amounts of unlabeled data. Most popular SSL methods, such as SimCLR or MoCo, rely on "instance discrimination," treating every individual image as its own unique class. While effective, this approach ignores the semantic similarity between different instances—for example, two different images of a "golden retriever" are treated as unrelated classes.
While manual labeling can solve this, it is expensive and slow. Conversely, "auxiliary information"—such as hashtags, image attributes, or metadata—is abundant and cheap but often noisy. This research introduces Clustering InfoNCE (Cl-InfoNCE), a novel objective that leverages this structured auxiliary information to help models understand that semantically similar objects belong together.
Methodology
The authors propose a two-step framework to bridge the gap between unsupervised and supervised learning:
- Cluster Construction: Data is grouped based on auxiliary information. For discrete attributes (e.g., "has wings"), attributes are ranked by entropy to form informative clusters. For hierarchical data (e.g., WordNet), a specific level in the tree is selected to define categories.
- Cl-InfoNCE Objective: Unlike standard InfoNCE, which only pulls together two "views" (augmentations) of the same image, Cl-InfoNCE pulls together views of any images within the same cluster while pushing away images from different clusters.
Crucially, Cl-InfoNCE is a generalization: if every cluster contains only one image, it reverts to standard SSL; if clusters match ground-truth labels, it becomes Supervised Contrastive Learning.
Key Insights
- Information-Theoretic Link: The researchers proved that feature quality is tied to high Mutual Information (how much clusters reveal about actual labels) and low Conditional Entropy (the amount of noise in the clusters).
- Contrastive vs. Predictive: The study shows that contrasting (Cl-InfoNCE) is superior to predicting auxiliary labels because it is more robust to noise and does not require a massive final classifier layer.
- Unsupervised Utility: Even without external auxiliary info, Cl-InfoNCE can be used with standard K-means clustering. This "self-clustering" approach outperformed state-of-the-art methods like Prototypical Contrastive Learning (PCL).
Results and Performance
The model was evaluated across diverse datasets, including UT-zappos50K (shoes), CUB-200-2011 (birds), and ImageNet-100.
- Bridging the Gap: On the Wider Attribute dataset, standard SSL achieved 40.2% accuracy. Cl-InfoNCE jumped to 45.5%, moving significantly closer to the fully supervised baseline of 49.9%.
- State-of-the-Art Unsupervised Learning: In purely unsupervised settings using K-means, Cl-InfoNCE achieved 77.9% on ImageNet-100, beating PCL (68.9%) and MoCo (59.4%).
- Efficiency: As a non-parametric method, it scales better to datasets with millions of clusters compared to predictive models.
Limitations and Future Work
While powerful, the method currently requires clear ways to form clusters, which is challenging for continuous data like GPS coordinates. Additionally, the authors highlight privacy concerns, as auxiliary information can sometimes leak sensitive data into model representations. Future research will focus on handling highly unstructured or "wild" auxiliary data where noise levels are even higher.
Summary updated