[Paper Review] Towards Domain Generalization in Object Detection
This paper introduces Domain Generalization in Object Detection (DGOD), proposing a novel method called Region Aware Proposal reweighTing (RAPT) that reduces spurious correlations between domain-invariant and domain-specific features by learning proposal-level sample weights. RAPT significantly improves detector generalization across diverse, unseen distribution shifts—outperforming state-of-the-art methods on multiple cross-dataset benchmarks including density, context, and random shifts.
Despite the striking performance achieved by modern detectors when training and test data are sampled from the same or similar distribution, the generalization ability of detectors under unknown distribution shifts remains hardly studied. Recently several works discussed the detectors' adaptation ability to a specific target domain which are not readily applicable in real-world applications since detectors may encounter various environments or situations while pre-collecting all of them before training is inconceivable. In this paper, we study the critical problem, domain generalization in object detection (DGOD), where detectors are trained with source domains and evaluated on unknown target domains. To thoroughly evaluate detectors under unknown distribution shifts, we formulate the DGOD problem and propose a comprehensive evaluation benchmark to fill the vacancy. Moreover, we propose a novel method named Region Aware Proposal reweighTing (RAPT) to eliminate dependence within RoI features. Extensive experiments demonstrate that current DG methods fail to address the DGOD problem and our method outperforms other state-of-the-art counterparts.
Motivation & Objective
- To address the critical gap in evaluating object detectors under unknown distribution shifts, which are common in real-world applications like autonomous driving.
- To formulate the Domain Generalization in Object Detection (DGOD) problem, where models are trained on known source domains and tested on entirely unknown target domains.
- To develop a comprehensive cross-dataset evaluation benchmark with four distinct shift types: classic DG, density shift, context shift, and random shift.
- To propose a novel method, RAPT, that mitigates spurious correlations between irrelevant (e.g., context, style) and relevant (e.g., object class) features in region proposals.
- To demonstrate that current domain generalization and adaptation methods fail on unseen distribution shifts and that RAPT achieves state-of-the-art generalization performance.
Proposed method
- Proposes a new evaluation protocol that splits large-scale detection datasets into two groups—training and evaluation—based on distribution shifts such as density, context, and random splits.
- Introduces Region Aware Proposal reweighTing (RAPT), a sample reweighting mechanism that learns proposal-level weights to minimize statistical dependence between RoI features and domain-specific attributes.
- Applies RAPT as a plug-in module to existing proposal-based detectors (e.g., Faster R-CNN, RetinaNet, CrowdDet) by reweighting losses based on learned proposal importance.
- Uses a contrastive learning objective to encourage invariance in RoI features by reducing correlation between category-relevant and domain-related features.
- Employs clustering-based data grouping to simulate realistic distribution shifts, enabling evaluation of generalization under diverse, unseen test domains.
- Validates the method across four distinct shift settings: density shift (e.g., Caltech vs. CrowdHuman), context shift (e.g., street vs. open-world), and random splits of datasets.
Experimental results
Research questions
- RQ1How do modern object detectors perform when tested on entirely unknown distribution shifts not seen during training?
- RQ2What are the key failure modes of existing domain generalization and adaptation methods in object detection under unknown domain shifts?
- RQ3Can a proposal-level reweighting mechanism effectively reduce spurious correlations between domain-invariant and domain-specific features in object detection?
- RQ4To what extent can RAPT improve generalization across diverse distribution shifts such as changes in pedestrian density, scene context, and random dataset splits?
- RQ5Does RAPT generalize across different detector architectures and improve performance on both dense and sparse pedestrian detection scenarios?
Key findings
- Current domain generalization and adaptation methods fail to generalize to unknown distribution shifts in object detection, especially when test domains are not available during training.
- General object detectors like Faster R-CNN outperform specialized pedestrian detectors (e.g., CrowdDet, IterDet) on unseen dense or sparse scenes, indicating that specialized models do not learn invariant features.
- RAPT achieves state-of-the-art performance across all evaluation settings, including density shift, context shift, and random distribution shifts, consistently outperforming Faster R-CNN, RetinaNet, and specialized detectors.
- On the ECP dataset (dense scenes), RAPT improves performance over Faster R-CNN by 4.2% AP and over CrowdDet by 3.1% AP, demonstrating effectiveness in challenging dense scenarios.
- In context shift evaluations (e.g., training on non-traffic datasets like WiderPedestrian and testing on CityPersons), RAPT achieves the highest mAP across all settings, showing robustness to context distribution shifts.
- Visualizations confirm that RAPT generates more accurate and fewer erroneous bounding boxes under random distribution shifts, indicating improved generalization and reduced overfitting to domain-specific patterns.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.