TL;DR
This paper tackles the challenge of training object detectors on remote sensing images when the unlabeled data contains objects not present in the labeled set (out-of-distribution or OOD data). They propose an "Open-Set Semi-Supervised Object Detection" (OSSOD) method that uses a dynamic, class-specific feature bank and an adaptive threshold to effectively filter out these problematic OOD samples, leading to more robust and accurate detection.
What Problem Does This Paper Address?
Training accurate object detectors, especially for remote sensing images (RSIs), typically requires vast amounts of labeled data. While semi-supervised learning (SSL) offers a way to leverage abundant unlabeled data, standard SSL methods make a crucial assumption: all unlabeled data belongs to the same classes as the labeled data (in-distribution or ID). In real-world scenarios, particularly with RSIs, unlabeled datasets often contain "out-of-distribution" (OOD) objects that don't belong to any of the known ID classes. If these OOD samples are naively used to generate pseudo-labels, they can severely degrade the performance of the detector, a phenomenon they call "semantic expansion." This paper aims to solve this by developing a method that can effectively handle uncurated unlabeled data containing OOD samples.
Methods
The core of their approach is an "Open-Set Semi-Supervised Object Detection" (OSSOD) framework. It builds upon standard pseudo-labeling-based SSL methods but introduces a novel OOD detection module. This module has three key components:
- Class-wise Feature Bank (CFB): Instead of a single feature bank, they maintain separate feature banks for each class. These banks dynamically store feature representations of ID objects from labeled data using a First-In-First-Out (FIFO) queue. This dynamic update is crucial because the model's features evolve during training.
- OOD Score Generation: For each predicted bounding box from the unlabeled data, its features are compared against the CFB of its predicted class. They calculate an OOD score based on the similarity (cosine distance) to the k-nearest neighbors within that class's feature bank.
- Adaptive OOD Threshold: To decide whether a prediction is OOD, they don't use a fixed threshold. Instead, they estimate the distribution of OOD scores from the ID samples themselves. They fit a Gaussian distribution to these scores and use a threshold that adapts based on the mean, standard deviation, and the training epoch. This adaptive thresholding is designed to be more robust than fixed thresholds, especially as feature learning progresses.
Datasets
The proposed method was evaluated on two widely used remote sensing object detection datasets:
- DIOR: This dataset was used for controlled experiments, with specific splits of ID and OOD classes.
- DOTA-v1.0: This dataset was used to augment a fully labeled DIOR dataset with uncurated unlabeled data, simulating a more realistic scenario with class mismatches.
Key Insights and Ideas
- OOD data is a significant problem for standard SSL: The paper clearly demonstrates that simply applying existing SSL methods to uncurated RSI data with OOD samples leads to performance degradation, sometimes worse than using only labeled data.
- Class-specific OOD detection is more effective: Maintaining separate feature banks for each class allows for more nuanced OOD detection, as OOD samples are more likely to be misclassified as a specific ID class rather than just a generic "unknown."
- Dynamic feature banks are essential: Given that object detectors are continuously learning, the OOD detection mechanism needs to adapt. A dynamic CFB that updates with the model's evolving features is crucial for sustained performance.
- Adaptive thresholds are key to robustness: Relying on fixed thresholds for OOD detection is brittle. An adaptive threshold that considers the distribution of OOD scores from known classes and evolves with training epochs provides a more reliable way to filter OOD samples.
Key Results
- Significant performance improvement: The proposed OSSOD method consistently outperformed existing state-of-the-art OSSOD methods and standard SSL approaches (like Unbiased Teacher and Soft Teacher) on both DIOR and DOTA datasets, especially when dealing with heavily OOD-contaminated unlabeled data.
- Robustness to OOD data: In scenarios with mixed and pure OOD unlabeled data, their method maintained competitive performance, while other methods saw substantial drops. For example, on the L+U+M+O setting for Split1, their method achieved 42.7% AP, significantly better than UT (34.5%).
- Minimal computational overhead: The proposed OOD detection module adds only a slight computational cost compared to the base SSL trainer, making it practical for real-world applications.
- Qualitative improvements: Visualizations of pseudo-labels showed that their method was much better at avoiding the misclassification of OOD objects (e.g., airplanes) as ID objects compared to other methods.
Limitations and Future Work
- Limitations of DINO: The paper notes that the DINO model, pre-trained on natural images, struggles with the scale variations and specific characteristics of RSIs, making it less suitable for direct application without modifications.
- Future Work: The authors suggest that further exploration into more sophisticated OOD detection strategies and adaptive thresholding mechanisms could yield even better results. They also highlight the potential for their method to be applied to other domains beyond remote sensing.
Summary updated