Abstract
Traditional object detection models are limited by a closed-set assumption, failing to generalize to unseen categories. While Open-Set Object Detection (OSOD) identifies novel objects as "unknown," it lacks the ability to categorize them. This paper introduces Open-Set Object Detection and Discovery (OSODD), a task that extends OSOD by automatically clustering detected unknown objects into distinct novel categories without human supervision. We propose a two-stage framework utilizing an unknown-aware Region Proposal Network and constrained k-means clustering, demonstrating significant improvements in both detection and discovery metrics on standard benchmarks.
Introduction: Beyond the "Unknown" Label
Standard object detection models typically operate in a closed-world environment, where they are only capable of identifying classes present in their training data. When encountering novel objects, these models often misclassify them into known categories or ignore them entirely.
Open-Set Object Detection (OSOD) was introduced to mitigate this by enabling models to explicitly label unseen objects as "unknown." However, OSOD creates a bottleneck for autonomous learning: it treats all novel objects as a monolithic group. For instance, a robot encountering a toaster and a microwave for the first time would label both simply as "unknown," requiring human intervention to differentiate them.
The proposed Open-Set Object Detection and Discovery (OSODD) task addresses this by automatically discovering the underlying structure of the unknown space. By grouping similar novel objects together, the system can identify multiple new categories (e.g., "Novel Class 1" and "Novel Class 2") autonomously, facilitating scalable and continuous learning.
Methodology
The authors propose a two-stage framework to implement OSODD:
1. Object Detection and Retrieval (ODR)
The first stage utilizes a modified Faster R-CNN architecture. Key innovations include:
- Unknown-aware Region Proposal Network (RPN): This component is trained to identify regions that exhibit "objectness" but do not align with the feature signatures of known classes.
- Prototype-based Contrastive Loss: To enhance feature discriminability, the model forces known object features to cluster around class-specific "prototypes" in the latent space, effectively pushing unknown features into a separate, less occupied region.
2. Object Category Discovery (OCD)
Detected unknown objects are stored in a "working memory" for further analysis.
- Unsupervised Contrastive Learning: The model employs a mix-up augmentation strategy to learn robust visual representations of unknown objects without labels.
- Semi-supervised Constrained K-means: This clustering approach uses known class centroids as fixed anchors. This prevents "semantic drift"—where known classes might merge with new discoveries—while simultaneously partitioning the unknown space into coherent new clusters.
Experimental Evaluation
The framework was evaluated using a benchmark derived from Pascal VOC 2007 and MS-COCO, structured into three incremental tasks (Task-1, Task-2, Task-3). In Task-1, 20 VOC classes were treated as "known," while 60 COCO classes were "unknown." As tasks progressed, more classes were transitioned from unknown to known to simulate a lifelong learning scenario.
Key Results
The OSODD model consistently outperformed existing baselines like ORE and standard Faster R-CNN:
- Detection Performance: In Task-1, the model achieved a mean Average Precision (mAP) of 56.02 and an Unknown Detection Recall (UDR) of 20.10.
- Discovery Quality: Using Normalized Mutual Information (NMI) to measure clustering accuracy, the model scored 11.0 in Task-1, significantly outperforming standard k-means (8.5) and the FINCH algorithm (2.8).
- Qualitative Analysis: The model successfully identified distinct clusters for novel objects such as "zebras," "fire hydrants," and "stop signs" before receiving any explicit labels for these categories.
Discussion and Future Work
The research highlights several critical insights for autonomous AI:
- Dual Memory Systems: Maintaining separate memories for known and working (unknown) data allows the model to leverage existing knowledge to better define novelty.
- Constraints and Anchoring: Using known classes as anchors during clustering is essential to maintain the integrity of the existing knowledge base.
However, challenges remain. The model currently struggles with "long-tail" novel categories that have few samples. Additionally, localization failures in the RPN can prevent the discovery module from ever seeing certain objects. Future work will focus on improving "objectness" detection and handling class imbalance in the discovery phase.
This work marks a significant step toward open-world AI systems capable of expanding their own knowledge bases with minimal human supervision.
Summary updated