Internet Explorer: Targeted Representation Learning on the Open Web

Alexander C. Li, Ellis Brown, Alexei A. Efros, Deepak Pathak · DOI

TL;DR

This paper introduces "Internet Explorer," a novel approach to training vision models by dynamically exploring the web for relevant data, rather than relying on static, pre-curated datasets. It achieves state-of-the-art performance on several benchmarks, often matching or exceeding large, pre-trained models like CLIP, using significantly less compute and data.

What Problem Does This Paper Address?

The current paradigm in computer vision involves pre-training massive models on enormous, static datasets like ImageNet or large web crawls. While these models capture a broad range of visual knowledge, they are inherently limited by the static nature and potential staleness of their training data. The internet, however, is a dynamic, ever-growing repository of billions of images uploaded daily. This paper addresses the challenge of effectively leveraging this dynamic resource to train specialized, high-performing vision models without the prohibitive computational cost of processing the entire internet. They propose a method that actively queries the web to find the most relevant data for a specific downstream task.

Methods

Internet Explorer operates in an iterative loop:

  1. Text-to-Image Search: It uses text queries to search the internet for relevant images. These queries are generated by combining semantic concepts (from WordNet) with descriptors (generated by a GPT-J language model) to create diverse and specific search terms.
  2. Self-Supervised Training (SSL): Downloaded images are used to train a small-scale model using self-supervised learning techniques (specifically, MoCo-v3 is used). This allows the model to learn useful representations without requiring any manual labels.
  3. Relevance Estimation: The system estimates the relevance of newly downloaded images to the target dataset by measuring their similarity in representation space. This "reward" signal is used to prioritize which images to train on and to guide future searches.
  4. Concept Distribution Update: Based on the estimated rewards, the system updates its concept sampling distribution to favor concepts that have yielded more relevant images in the past, balancing exploration and exploitation.

This process is designed to be "online," meaning it continuously learns and refines its search strategy based on the data it encounters.

Datasets

The paper evaluates Internet Explorer on several standard datasets:

  • Fine-grained classification: Birdsnap, Flowers-102, Food-101, Oxford-IIIT Pets.
  • Coarse-grained classification: PASCAL VOC 2007.
  • Domain-specific classification: ImageNet-100, FMOW-WILDS (satellite imagery).

They do not introduce new datasets but demonstrate the method's effectiveness across diverse existing benchmarks.

Key Insights and Ideas

  • The Internet as a Dynamic Dataset: The core idea is to treat the internet not as a static collection of data to be downloaded once, but as a live, interactive environment to be queried and explored.
  • Targeted Exploration Beats Brute Force: Actively searching for relevant data for a specific task is far more efficient than relying on general-purpose, static pre-training datasets.
  • Self-Supervised Learning is Key: SSL enables the model to learn from unlabeled internet data, making the process scalable and avoiding the need for manual annotation.
  • GPT-Powered Query Generation: Using GPT to generate descriptive modifiers for concepts significantly enhances the diversity and relevance of retrieved images.
  • Relevance Feedback Loop: The system's ability to estimate image relevance and use it to refine its search strategy is crucial for its efficiency.

Key Results

  • Performance: Internet Explorer significantly outperforms or matches the performance of large, pre-trained models like CLIP (using a similar-sized model) on multiple datasets. For example, on the Pets dataset, "Ours++" (with GPT descriptors) achieves 89.6% accuracy, compared to CLIP's 88.4%.
  • Efficiency: The method achieves these results using a single GPU desktop for only 30-40 hours, querying the internet over 10,000 times and downloading over 1 million images per target dataset. This is a fraction of the compute and data used by models like CLIP.
  • Generalization: The approach works across various domains, including natural images and satellite imagery, even when the WordNet vocabulary is not perfectly suited for the task.
  • Image Relevance: The paper demonstrates that their proposed image reward metric (15-NN similarity) is more robust than simpler metrics like 1-NN similarity or MoCo loss, avoiding issues with noisy or outlier images.

Limitations and Future Work

  • Test Set Leakage: While the paper shows minimal test set leakage (less than 0.6% on most datasets), it's a potential concern that needs to be monitored. The authors argue that the performance gains are not solely due to this leakage.
  • Search Engine Bias: Different search engines (Google, Flickr, LAION) yield varying results, with Google often performing best due to its strong indexing and weak supervision signals. The method is agnostic to the engine but performance can vary.
  • Computational Cost: While more efficient than training on massive static datasets, the iterative querying and training still require significant computation over 30-40 hours.
  • Future Work: The authors suggest expanding the vocabulary beyond WordNet (e.g., by incorporating Wikipedia data) to cover a broader range of concepts and technical terms. They also hint at the potential for more sophisticated query generation and relevance estimation strategies.

Summary updated

BibTeX
@inproceedings{li2023internet,
  author = {Alexander C. Li and Ellis Brown and Alexei A. Efros and Deepak Pathak},
  title = {{Internet Explorer: Targeted Representation Learning on the Open Web}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=QBUS4OXqvM},
}
Figure