TL;DR
This paper introduces Open-World Weakly-Supervised Object Localization (OWSOL), a new task where models must locate both known and novel object categories using only image-level labels for a subset of the data. The authors propose a contrastive co-learning framework and a non-parametric Generalized Class Activation Map (G-CAM) that significantly outperforms existing methods in identifying and localizing unseen categories.
What Problem Does This Paper Address?
Traditional Weakly-Supervised Object Localization (WSOL) aims to find objects in an image using only image-level tags (e.g., "dog") rather than expensive bounding boxes. However, standard WSOL assumes a closed-world setting: the model only encounters categories it saw during training.
In real-world "open-world" scenarios, a system will inevitably encounter novel, unlabeled categories. Existing WSOL methods, which rely on fixed classification heads, struggle here. They often misclassify novel objects as known ones or produce "diffuse" activation maps that fail to pinpoint the object's location. As shown in Figure 1, a closed-set system might correctly identify a 'hummingbird' but only highlight its head, while completely failing to localize novel birds like 'brambling' or 'penguin'.
Methods
To tackle the OWSOL challenge, the authors propose a paradigm shift from parametric classification to contrastive representation co-learning.
- Contrastive Co-learning: The model is trained on a mix of labeled (known categories) and unlabeled (known + novel categories) data. It uses a supervised contrastive loss for labeled data and a novel multiple semantic centroids-driven contrastive loss for all data.
- Multiple Semantic Centroids: Instead of representing a category with a single vector, the model performs clustering to find multiple "centroids." The intuition is that different centroids can focus on different salient parts of an object (e.g., the head vs. the body), leading to a more complete localization.
- Generalized Class Activation Map (G-CAM): Standard CAM requires a learned weight matrix from a classification layer, which doesn't exist for novel classes. G-CAM replaces these weights with the discovered semantic centroids. By computing the similarity between these centroids and the image's feature map, the model can generate localization maps for any discovered cluster, known or novel.
Datasets
The authors established new benchmarks by re-organizing existing datasets to include a mix of labeled "Known" categories and unlabeled "Novel" categories.
- ImageNet-1K & iNatLoc500: Re-organized to split novel categories into two groups: Nov-S (novel categories from the same family as known ones, like different bird species) and Nov-D (novel categories from entirely different families).
- OpenImages150: A newly proposed benchmark derived from the OpenImages dataset specifically for OWSOL evaluation.
Key Insights and Ideas
- The "Discriminative Part" Trap: Standard WSOL often fails by only localizing the most "telling" part of an object (like a bird's beak). By forcing representations to associate with multiple semantic centroids, this method encourages the model to attend to the entire object region.
- Non-Parametric Flexibility: By moving away from fixed classification heads to a clustering-based approach, the model gains the flexibility to "discover" new categories in the feature space without needing explicit labels.
- Family Matters: The distinction between Nov-S and Nov-D is crucial. Novel objects that look similar to known ones (Nov-S) are easier to localize but harder to distinguish, while completely different objects (Nov-D) present the opposite challenge.
Key Results
The proposed method, G-CAM, consistently outperformed all adapted WSOL and Novel Category Discovery (NCD) baselines.
- Quantitative: On ImageNet-1K, G-CAM achieved a Clus-Loc Accuracy of 31.76% for all categories, nearly doubling the performance of the standard CAM baseline (17.49%).
- Qualitative: Visualizations show that G-CAM produces much tighter and more complete activation maps for novel objects compared to the diffuse or misplaced maps generated by traditional methods.
- Zero-Shot Ability: The model demonstrated a strong ability to localize categories it had never seen at all during training, showing that the learned feature space is truly generalizable.
Limitations and Future Work
The authors acknowledge that their current method treats all unlabeled data (both Nov-S and Nov-D) the same during representation learning. They suggest that fine-grained learning specifically designed to distinguish between these two types of novel categories could further improve performance. Additionally, the current approach relies on an estimation of the number of underlying classes, which remains a challenging open problem in unsupervised learning.
Summary updated