Abstract
Measuring concept generalization, i.e., the extent to which models trained on a set of (seen) visual concepts can be leveraged to recognize a new set of (unseen) concepts, is a popular way of evaluating visual representations, especially in a self-supervised learning framework. Nonetheless, the choice of unseen concepts for such an evaluation is usually made arbitrarily, and independently from the seen concepts used to train representations, thus ignoring any semantic relationships between the two. In this paper, we argue that the semantic relationships between seen and unseen concepts affect generalization performance and propose ImageNet-CoG, a novel benchmark on the ImageNet-21K (IN-21K) dataset that enables measuring concept generalization in a principled way. Our benchmark leverages expert knowledge that comes from WordNet in order to define a sequence of unseen IN-21K concept sets that are semantically more and more distant from the ImageNet-1K (IN-1K) subset, a ubiquitous training set. This allows us to benchmark visual representations learned on IN-1K out-of-the box. We conduct a large-scale study encompassing 31 convolution and transformer-based models and show how different architectures, levels of supervision, regularization techniques and use of web data impact the concept generalization performance.
Introduction: Beyond Binary Generalization
In computer vision, the quality of a learned representation is typically assessed by its performance on downstream tasks involving "unseen" concepts. However, standard evaluation protocols often treat generalization as a binary state—either a concept was seen during training or it was not. This approach ignores the rich semantic relationships between classes. For instance, a model trained on "Tiger cats" should naturally find it easier to recognize a "European wildcat" than a "Sea squirt."
The authors argue that generalization exists on a spectrum. Without a structured way to measure semantic distance, the true limits and characteristics of visual representations remain opaque. To address this, they introduce ImageNet-CoG, a benchmark designed to evaluate concept generalization in a principled, distance-aware manner.
The ImageNet-CoG Benchmark
The researchers developed a systematic framework to measure Concept Generalization (CoG) by leveraging the WordNet hierarchy that underpins ImageNet.
Methodology
- Semantic Ranking: They calculated the "Lin similarity" between the 1,000 "seen" classes of ImageNet-1K (IN-1K) and the remaining ~21,000 "unseen" classes in ImageNet-21K.
- Benchmark Construction: They selected approximately 5,000 eligible unseen concepts and ranked them by their maximum similarity to any IN-1K concept. These were then partitioned into five disjoint levels ($L_1$ to $L_5$), each containing 1,000 concepts. $L_1$ represents concepts semantically closest to the training set, while $L_5$ contains the most distant ones.
Evaluation Protocol
To isolate representation quality, pretrained models are used as frozen feature extractors. Simple linear classifiers are then trained on these features for each of the five CoG levels. This protocol allows for a clear comparison across different architectures and training paradigms.
Key Insights and Results
The study evaluated 31 state-of-the-art models, revealing several critical trends in how visual models generalize:
- The Semantic Gradient: Performance drops monotonically across all models as semantic distance increases. For a standard ResNet50, Top-1 accuracy falls from ~75% on seen concepts to ~45% on $L_5$ concepts.
- Self-Supervision vs. Supervision: Self-supervised models (e.g., DINO, SwAV, BYOL) consistently outperform supervised counterparts of similar size on unseen concepts. This suggests that label-free learning produces more "universal" features.
- The Transformer Overfitting Paradox: While Vision Transformers (ViTs) show impressive performance on seen concepts, they tend to overfit more than CNNs. Their performance gains on IN-1K often diminish significantly when tested on the most distant unseen concepts ($L_5$).
- Impact of Regularization: Techniques like MixUp and CutMix, while beneficial for IN-1K accuracy, can hinder generalization to semantically distant concepts by making models too specialized to the training distribution.
- The Power of Web-Scale Data: Models trained on massive, noisy web datasets (like CLIP) exhibit the most robust generalization, particularly on the challenging $L_5$ level.
Conclusion
ImageNet-CoG provides a much-needed structured lens for evaluating visual representations. By moving beyond arbitrary "unseen" sets to a semantic gradient, researchers can better understand the trade-offs between training accuracy and broad generalization. Future work may explore how fine-tuning affects this gradient and investigate automated ways to define semantic distance beyond the WordNet hierarchy.
Summary updated