TL;DR
This paper introduces name-only continual learning (NOCL), a paradigm where models adapt to new visual categories using only their names, bypassing the need for expensive manual annotation. By leveraging parallelized web scraping to build massive, uncurated datasets on the fly, the authors demonstrate that "webly-supervised" models can match or even outperform those trained on meticulously labeled data, while being orders of magnitude faster and cheaper to deploy.
What Problem Does This Paper Address?
Traditional Continual Learning (CL) assumes a steady stream of high-quality, human-annotated data. In reality, manual labeling is a massive bottleneck: annotating a mid-sized dataset like CLEAR10 can cost thousands of dollars and take days. For industries with rapidly shifting inventories or trends—like e-commerce or fast fashion—this delay is unacceptable.
Existing "name-only" approaches try to solve this by using generative models (like Stable Diffusion) to create training images or by retrieving samples from static datasets like LAION-5B. However, generative methods are computationally expensive, and static datasets quickly become outdated. The authors ask: Can we simply use the live, ever-evolving internet as our training set for continual learning?
Methods
The authors propose a pipeline called C2C (Categories to Classifier). The process is elegantly simple:
- Querying & Downloading: When new categories arrive, the system generates search queries using the category name plus an auxiliary suffix (e.g., "snapdragon" + "flower") to ensure relevance. It then scrapes images from Google, Bing, DuckDuckGo, and Flickr.
- Parallelization: To make this viable for real-time adaptation, they optimized the pipeline to query multiple engines concurrently, achieving a 600% speedup over standard methods.
- Training: Instead of full fine-tuning, they extract features using a frozen self-supervised backbone (like ResNet50 MoCoV3) and train a simple linear layer or MLP adapter on the noisy web data.
Datasets
The study evaluates C2C across several contexts:
- Fine-grained Benchmarks: FGVC Aircraft, Flowers102, OxfordIIITPets, Stanford Cars, and BirdSnap.
- CL Benchmarks: Split-CIFAR100 (class-incremental), Split-PACS (domain-incremental), and CLEAR10 (time-incremental).
- EvoTrends (New): A novel benchmark introduced in this paper that tracks trending products from 2000 to 2020 (e.g., from the PlayStation 2 to N95 masks). This dataset reflects real-world "trend" shifts rather than arbitrary class increments.
Key Insights and Ideas
- Scale Trumps Curation: The most surprising finding is that uncurated, noisy web data often leads to better classifiers than expert-annotated data. The reason is scale: web-scraped sets are typically 15x to 150x larger than their manual counterparts. This volume allows the model to learn a more robust representation that generalizes better to test sets.
- The Web is a Living Database: Unlike static datasets, the web stays current. For the "EvoTrends" task, the internet provides immediate access to visual data for new concepts that didn't exist when older datasets were compiled.
- Efficiency is King: Generating a dataset of 150k samples using diffusion models takes roughly 32 hours on 8 A100 GPUs. Scraping the same amount of data takes just 15 minutes on a basic CPU.
- KNN is a Strong Baseline: In low-compute, name-only settings, a simple K-Nearest Neighbors (KNN) approach often outperforms linear probing, especially when the training budget is "tight" (see Figure 6).
Key Results
- Outperforming Manual Labels: In fine-grained tasks, models trained on C2C data outperformed those trained on manually annotated (MA) data by 1% to 19% in most cases (see Figure 4).
- Beating the SOTA: C2C outperformed state-of-the-art name-only methods (which use generative models or LAION retrieval) by 5% to 25% in absolute accuracy (see Figure 3).
- Speedup: The entire process—from downloading images to training the model—for a benchmark like Split-CIFAR100 takes only 32 minutes, compared to the days required for manual annotation.
Limitations and Future Work
- Domain Gaps: The method struggles when there is a fundamental mismatch between web search results and the test environment. For example, in the CLEAR10 "bus" class, web images show the exterior of buses, while the test set contains interior shots, leading to a performance drop.
- Niche Domains: The authors acknowledge that this approach may not work for niche fields like medical imaging, where relevant data isn't publicly available on general search engines.
- Online Learning: The current framework is "continual" but not yet "online" (i.e., it doesn't yet handle a continuous, unbatched stream of individual images).
- Future Direction: A promising next step is incorporating test-time adaptation, using the specific characteristics of unlabeled test images to further refine the web search queries.
Summary updated