Integrating Auxiliary Information in Self-supervised Learning

Yao-Hung Hubert Tsai, Tianqin Li, Weixin Liu, Peiyuan Liao, Ruslan Salakhutdinov, Louis-Philippe MorencyarXiv 2021

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:

  1. 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.
  2. 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.
The Cl-InfoNCE framework integrates auxiliary information like data attributes and hierarchies into the contrastive learning process to form semantically meaningful 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

BibTeX
@misc{tsai2021integrating,
  author = {Yao-Hung Hubert Tsai and Tianqin Li and Weixin Liu and Peiyuan Liao and Ruslan Salakhutdinov and Louis-Philippe Morency},
  title = {{Integrating Auxiliary Information in Self-supervised Learning}},
  year = {2021},
  eprint = {2106.02869},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.02869},
}
Figure