Abstract This paper introduces Region-based Novel Class Discovery and Localization (RNCDL), a framework that learns to detect and categorize unknown object classes in uncurated images without human supervision. By leveraging a region proposal network trained on known classes and a novel self-supervised clustering approach with a long-tailed distribution prior, the model successfully discovers and localizes new objects in the wild, significantly outperforming prior baselines.
The Challenge of Novel Class Discovery and Localization (NCDL)
Traditional object detectors require massive amounts of bounding box annotations, which becomes prohibitively expensive for rare classes in the "long tail" of real-world data. While "Novel Class Discovery" (NCD) methods exist to group unlabeled images, they typically assume idealized, curated datasets where objects are already perfectly cropped and classes are evenly balanced.
This paper tackles a much harder, more realistic problem: Novel Class Discovery and Localization (NCDL). The goal is to take raw, uncurated images containing a mix of known and unknown objects, and automatically localize and group the unknown objects into distinct semantic categories without any explicit labels.
Proposed Method: RNCDL
The authors propose RNCDL, built on top of a standard two-stage detector (Mask R-CNN). The training happens in two distinct phases:
- Supervised Pre-training (Source Domain): The model is trained on a labeled dataset to learn a class-agnostic Region Proposal Network (RPN), bounding box regression, and a primary classification head for the known classes.
- Self-Supervised Discovery (Target Domain): On an unlabeled dataset, the backbone, RPN, and box heads are frozen. A secondary classification head is added for novel classes. The model generates region proposals and uses online constrained clustering (via the Sinkhorn-Knopp algorithm) to assign soft pseudo-labels to these regions.
Key Innovations
- Long-tailed Clustering Prior: Instead of assuming novel classes are uniformly distributed (a common assumption in standard NCD), they enforce a log-normal distribution prior during clustering to reflect the natural frequency of objects in the real world.
- Memory Module: They store Region of Interest (RoI) features from past batches in a queue to ensure a diverse set of samples when computing clustering assignments.
- Swapping Multi-view Assignments: To enforce consistency, the model generates pseudo-labels for two augmented views of the same image and swaps them, forcing the network to predict consistent classes regardless of the augmentation.
Datasets and Key Results
The primary testbed is a combination of COCO and LVIS. The model is trained on a subset of COCO (80 known classes) and uses the rest of the images (containing 1200+ LVIS classes) as the unlabeled target set to discover new classes. They also utilize Visual Genome (VG) v1.4 for a large-scale cross-dataset generalization experiment.
RNCDL shatters previous state-of-the-art baselines adapted for this task:
- On the COCO+LVIS benchmark, it achieves 5.42 mAP on novel classes, compared to just 0.61 mAP for the previous best NCD method (UNO).
- It maintains strong performance on known classes, achieving 25.00 mAP (vs. UNO's 21.09 mAP).
- Overall, RNCDL reaches 6.92 mAP across all classes, a massive jump from the 2.18 mAP of competing approaches.
Ablations show that the memory module alone adds ~4.0 mAP to the novel class performance, and the long-tailed clustering prior adds over 1.1 mAP compared to a uniform prior.
Key Insights and Limitations
Real-world distributions aren't uniform: Previous NCD methods force discovered clusters to be roughly equal in size (equipartition). This paper proves that using a long-tailed prior significantly improves discovery performance, as it better models the reality that a few classes appear constantly while most appear rarely.
Freezing prevents forgetting and divergence: Training an R-CNN end-to-end with noisy self-supervised signals often leads to divergence. Freezing the backbone and RPN during the discovery phase stabilizes training while still allowing the novel classification head to learn rich semantic groupings.
Limitations & Future Work: * RPN Bottleneck: Because the backbone and RPN are frozen during the discovery phase, the model can only discover objects that the class-agnostic RPN successfully proposes. If the RPN misses an object entirely, it cannot be discovered. * Static Backbone: Successfully updating the backbone feature extractor during the self-supervised phase (without causing divergence) could further boost localization and segmentation performance. * Hyperparameter Dependency: The number of novel classes (e.g., 3000) must be set empirically prior to the discovery phase, requiring some guesswork about the target dataset's granularity.
Summary updated