NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Let Go of Your Labels with Unsupervised Transfer

Artyom Gadetsky, Yulun Jiang, Maria Brbic

Abstract

Transfer learning has traditionally relied on either massive labeled datasets or human-provided class names for zero-shot inference. This paper introduces TURTLE (Unsupervised Transfer via Max-Margin Labeling), a framework for "fully unsupervised transfer" that uncovers the underlying labels of a dataset without any human guidance. By searching for labelings that maximize classification margins across multiple foundation model spaces—such as CLIP and DINOv2—TURTLE achieves state-of-the-art unsupervised performance. Notably, it often matches or outperforms zero-shot methods that rely on human-provided class names, achieving 72.9% accuracy on ImageNet-1K in a fully unsupervised manner.

1. Introduction

Modern computer vision relies heavily on foundation models like CLIP, which enable "zero-shot" transfer to new tasks. However, even zero-shot models require human intervention in the form of class names or descriptions (e.g., "a photo of a dog"). The challenge of fully unsupervised transfer is to identify the "human-intended" categories of a new, unlabeled dataset given only the number of classes, without any textual prompts or labeled examples.

While standard clustering algorithms like K-Means can group data, they often fail to capture the semantic nuances embedded in foundation models. TURTLE bridges this gap by leveraging the geometric properties of representation spaces to discover labels that are inherently "natural" to the models' learned features.

2. The TURTLE Framework

2.1 The Maximum Margin Principle

The core hypothesis of TURTLE is rooted in the maximum margin principle. In supervised learning, a robust linear classifier is one that maintains a large margin between different classes. TURTLE reverses this logic: if we search for a labeling that allows a linear model to achieve the largest possible margin, that labeling is likely to correspond to the ground-truth human categories. The authors mathematically demonstrate that finding a labeling that generalizes well is equivalent to maximizing these margins.

2.2 Bilevel Optimization

TURTLE implements this principle through a two-tier optimization process:

  • Inner Loop: Trains a linear classifier to fit a candidate labeling.
  • Outer Loop: Updates a task encoder to find a labeling that maximizes the resulting classifier's margin.

To ensure efficiency, the framework uses a first-order approximation for the bilevel optimization, making TURTLE approximately 10x faster than previous unsupervised transfer methods like HUME.

2.3 Multi-Space Guidance

A key innovation in TURTLE is its use of multiple representation spaces simultaneously. By looking at diverse foundation models—specifically CLIP (trained on text-image pairs) and DINOv2 (trained via self-supervision on images)—TURTLE searches for a labeling that is geometrically natural in both spaces. CLIP provides semantic "common sense," while DINOv2 contributes robust visual features, creating a more comprehensive guidance system than any single model could provide.

3. Experimental Setup

TURTLE was evaluated on a comprehensive benchmark of 26 vision datasets, including:

  • General Objects: ImageNet, CIFAR10/100, and STL10.
  • Fine-Grained Categories: Food101, Flowers102, Birdsnap, and Oxford Pets.
  • Specialized Domains: EuroSAT (satellite imagery), GTSRB (traffic signs), and KITTI (distance estimation).
  • Abstract/Semantic Tasks: HatefulMemes and Rendered SST2 (sentiment analysis).

The foundation model backbones remained frozen throughout all experiments; TURTLE only learned the labeling function, ensuring no task-specific retraining was required.

4. Results and Discussion

4.1 State-of-the-Art Performance

TURTLE established new records for unsupervised performance across the 26-dataset suite. On ImageNet-1K, TURTLE achieved 72.9% accuracy, a 5.5% improvement over the previous best unsupervised method. This result is particularly significant given the scale and complexity of the ImageNet dataset.

4.2 Surpassing Zero-Shot Baselines

In a surprising result, TURTLE outperformed CLIP’s zero-shot performance on 15 out of 26 datasets, despite having access to less information (no class names). This suggests that the geometric structure of the representation space often contains more accurate task information than the noisy text-image alignments used in zero-shot prompting.

4.3 Efficiency and Scalability

Despite the complexity of bilevel optimization, TURTLE is remarkably efficient. It can complete the labeling process for ImageNet in less than five minutes on a single GPU. Furthermore, the authors found a high correlation (0.87) between unsupervised and supervised performance, suggesting that as foundation models improve, the necessity for explicit labels may diminish.

5. Limitations and Future Directions

While TURTLE represents a significant step forward, it currently requires the user to specify the number of classes ($C$) beforehand. Automating the discovery of the optimal number of clusters remains an open challenge. Additionally, the method's success is tied to the quality of the underlying foundation models; if a model has not learned features relevant to a specific task (such as complex OCR or counting), TURTLE will struggle to find the correct labeling. Future work may focus on dynamically weighting different representation spaces based on the specific characteristics of the target dataset.

Summary updated

BibTeX
@inproceedings{gadetsky2024let,
  author = {Artyom Gadetsky and Yulun Jiang and Maria Brbic},
  title = {{Let Go of Your Labels with Unsupervised Transfer}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=RZHRnnGcEx},
}
Figure