Abstract
Weakly Supervised Object Localization (WSOL) aims to identify the spatial extent of objects using only image-level labels. While research in this field typically focuses on architectural or algorithmic improvements, this paper investigates a fundamental but overlooked factor: label granularity. By introducing iNatLoc500, a large-scale hierarchical benchmark, we demonstrate that the specificity of training labels significantly impacts localization performance. Our findings reveal that "coarser" labels (e.g., "bird" instead of "Great Horned Owl") often lead to superior localization by forcing models to focus on the entire object rather than just its most discriminative parts.
Introduction
In computer vision, the cost of annotating bounding boxes is a major bottleneck for scaling object localization. Weakly Supervised Object Localization (WSOL) offers a solution by training models to locate objects using only cheap, image-level tags. However, WSOL often suffers from a "partial activation" problem: models trained on highly specific labels tend to focus exclusively on the most distinctive features—such as a bird’s beak or a dog’s ear—rather than the object's full body.
This paper explores whether the level of label granularity—how specific or vague a label is—can be leveraged to improve localization. We introduce a new benchmark, iNatLoc500, to systematically study this effect across a consistent taxonomic hierarchy.
The Specificity Trap in WSOL
The core challenge in WSOL is that classification and localization are often at cross-purposes. To distinguish a "Bald Eagle" from a "Golden Eagle," a deep learning model only needs to identify a small, highly discriminative patch (like the white head). This "lazy" learning results in high classification accuracy but poor localization, as the resulting Class Activation Maps (CAM) only cover a fraction of the object.
By coarsening the labels (e.g., labeling both eagles simply as "Accipitriformes"), we remove the pressure on the model to find tiny, distinguishing features. This forces the network to learn more general features that characterize the entire category, leading to activation maps that better encompass the full object.
The iNatLoc500 Benchmark
To rigorously test the impact of granularity, we present iNatLoc500, a massive new dataset designed for hierarchical WSOL research. Unlike previous datasets like CUB-200-2011 or ImageNet, which lack a deep, consistent hierarchy, iNatLoc500 provides:
- Scale: 138,000 training images across 500 species.
- Hierarchy: A consistent 7-tier taxonomic structure (Kingdom, Phylum, Class, Order, Family, Genus, Species).
- Quality: 25,000 images with manually verified, high-quality bounding boxes for precise evaluation.
Methodology: Fixed-Granularity Training
Our approach involves "Fixed-granularity training." Instead of using the most specific labels available, we re-label the dataset at various levels of the taxonomic hierarchy and train standard localization models (such as CAM or CutMix) from scratch. We then compare this against "CAM-Agg," a baseline that trains on fine-grained labels but aggregates the resulting activations at a higher level during inference.
Key Insights
1. Granularity Trumps Algorithms
One of the most striking findings is that choosing the optimal label granularity provides a larger performance boost than switching between different WSOL algorithms. On iNatLoc500, coarsening labels improved the localization accuracy (MaxBoxAccV2) of the standard CAM baseline by 5.1 points and the CutMix algorithm by 6.6 points. This suggests that data labeling strategy is just as critical as model architecture.
2. The "Goldilocks" Zone
Localization performance follows a bell curve relative to granularity. If labels are too specific (Species), the model focuses on small parts. If they are too broad (Phylum), the model may begin to activate on global context, such as "water" for aquatic animals or "grass" for terrestrial ones, causing the activation maps to fragment. The "sweet spot" typically lies at the Family or Order level.
3. Data Efficiency
Training on coarse labels is remarkably efficient. Our experiments show that a model trained on "Family" level labels can match the localization performance of a "Species" level model while using 15x fewer labeled images. This has significant implications for reducing the cost of building localized computer vision systems.
Conclusion and Future Work
This research demonstrates that label granularity is a primary driver of success in weakly supervised object localization. While coarse labels improve the model's ability to find an object, they naturally reduce its ability to identify it specifically. This trade-off suggests that future WSOL research should move toward multi-granularity frameworks or automated systems that can dynamically select the optimal level of coarseness for a given image.
While iNatLoc500 focuses on biological categories, the principles of the "specificity trap" likely extend to other domains, such as medical imaging or industrial inspection, where hierarchical relationships are prevalent.
Summary updated