TL;DR
This paper introduces "name-only continual learning," a scenario where models must adapt to new categories using only their names, without any labeled training data. The authors propose a method to leverage the internet by querying and downloading uncurated web data, demonstrating that this approach can match or even surpass manually annotated datasets in performance while drastically reducing cost and time.
What Problem Does This Paper Address?
Traditional Continual Learning (CL) relies heavily on having well-curated, annotated datasets for each new category or domain shift. However, manually annotating data is incredibly expensive and time-consuming, making it impractical for real-world applications like commercial image classification systems that need to adapt rapidly to changing inventory or trends. This paper tackles the challenge of adapting CL models when manual annotation is impossible, introducing a "name-only continual learning" setting. In this setting, the learner only receives category names and must adapt using publicly available resources, without any pre-existing labeled examples for the new classes.
Methods
The core of the proposed method, termed "C2C" (Categories to Classifier), involves two main steps:
- Querying and Downloading Uncurated Webly-Supervised Data: Instead of relying on manual labels, the system queries search engines (Google, Bing, Flickr, DuckDuckGo) using category names combined with auxiliary suffixes to refine search results (e.g., "snapdragon flower"). To mitigate issues with explicit content, safe-search features are enabled, and queries are manually checked. The authors also developed an optimized pipeline that significantly speeds up the scraping and downloading process.
- Classifier Training with Computational Budgets: The downloaded data, which is uncurated and potentially noisy, is used to train a classifier. This training is performed under a defined computational budget ($C_t$), which is crucial for making the approach practical. The model is trained on data from the current timestep as well as all previous timesteps to maintain performance on older classes.
Datasets
The paper evaluates its approach on several standard fine-grained classification datasets and introduces a new benchmark:
- Standard Datasets: FGVC Aircraft, Flowers102, OxfordIIITPets, Stanford Cars, BirdSnap, PACS, CLEAR10, and CIFAR100.
- New Benchmark: EvoTrends. This dataset is designed to reflect real-world trends and is class-incremental. It spans 21 years (2000-2020) and features 39 trending product classes that emerge naturally over time, mimicking a more realistic CL scenario than arbitrarily chosen classes.
Key Insights and Ideas
- The Internet as a Cost-Effective Annotation Source: The paper strongly suggests that the vastness of the internet, when harnessed effectively, can serve as a powerful and surprisingly reliable source of training data, even for fine-grained classification tasks, without the need for manual labeling.
- Scale Trumps Curated Quality (to an extent): The superior performance of webly-supervised data, despite its uncurated nature, is largely attributed to its sheer scale. The authors found that when they limited the web data to match the size of manually annotated datasets, performance dropped significantly, highlighting the importance of data volume.
- Name-Only CL is Feasible and Practical: The proposed name-only CL approach, combined with computational budgeting, offers a viable path towards continually updating models without the prohibitive costs of manual annotation.
- Domain Gaps are the Primary Challenge: While web data can be noisy, the most significant performance drops in CL scenarios were attributed to domain gaps (e.g., interior vs. exterior bus images in CLEAR10, or quick drawings vs. detailed sketches in PACS), rather than the inherent noise of web data itself.
Key Results
- Competitive Performance: In non-continual settings, models trained on their webly-supervised data achieved performance comparable to, and in some cases superior to, models trained on manually annotated datasets, with improvements of up to 19%.
- Outperforming State-of-the-Art Name-Only Methods: The approach achieved up to a 25% boost in accuracy compared to existing name-only classification methods that use generative models or retrieval from large datasets like LAION-5B.
- Small Performance Gaps in CL: When applied to various continual learning scenarios (class, domain, and time-incremental), the method consistently showed only a small performance gap compared to models trained on manually annotated datasets.
- Exceptional Time and Cost Efficiency: The entire process of querying, downloading, and training for a continual learning scenario can be completed in minutes to hours, at a cost of less than $15 on AWS servers, a stark contrast to the thousands of dollars and days required for manual annotation.
- EvoTrends Benchmark: The EvoTrends dataset was created in minutes and demonstrated the method's ability to adapt to evolving trends. The approach outperformed zero-shot CLIP on this dataset.
Limitations and Future Work
- Domain Gaps: The paper acknowledges that significant domain gaps between web-collected data and test sets (e.g., interior vs. exterior bus images, sketch styles) can lead to performance discrepancies.
- Computational Budgets: While the method performs well under budget constraints, further exploration of optimal budget allocation could be beneficial.
- Data Collection Limitations: The approach may not be suitable for highly specialized domains (e.g., medicine) where manual collection is essential due to data sharing constraints or the lack of readily available web data.
- Future Work: The authors suggest extending the setting to test-time adaptation using the web, exploring online continual learning for rapid adaptation to incoming streams, and addressing data collection limitations for niche domains. They also note that while class-balanced sampling didn't significantly improve performance, exploring long-tailed loss functions might be a future avenue.
Summary updated