TL;DR
This paper introduces Gated Domain-Invariant Feature Disentanglement (GDIFD), a novel method for Domain Generalizable Object Detection (DGOD). GDIFD disentangles domain-specific features from domain-invariant features at the channel level using a Channel Gate Module, leading to improved object detection performance on unseen domains.
What Problem Does This Paper Address?
Object detection models trained on one dataset (source domain) often perform poorly when applied to data from a different domain (target domain) due to domain shift. This is a significant challenge in real-world applications where data distributions can vary widely. Domain Generalizable Object Detection (DGOD) aims to train models that can generalize to unseen domains without requiring any data or labels from those target domains during training. Existing methods often struggle to effectively separate domain-specific information from the features crucial for object detection, leading to performance degradation. This paper addresses the challenge of achieving cleaner disentanglement of these feature types to improve generalization.
Methods
The core of this work is the Gated Domain-Invariant Feature Disentanglement (GDIFD) module. GDIFD leverages the insight that domain category can be treated as an attribute of the input data, suggesting that specific feature channels could be dedicated to domain-specific information.
The key components are:
- Channel Gate Module (CGM): This module learns to output a channel-wise gate signal ($S_{di}$) that is close to either 0 or 1. This signal acts as a mask.
- Channel-wise Disentanglement: The input feature map ($F_b$) is element-wise multiplied with $S_{di}$ to obtain the domain-invariant representation ($F_{di}$) and with $1 - S_{di}$ to obtain the domain-specific representation ($F_{ds}$). This effectively filters out domain-specific channels.
- Domain Classification Loss ($L_{D-cls}$): A domain classifier is trained on $F_{ds}$ to predict the domain of origin, encouraging $F_{ds}$ to capture domain-specific information.
- Gate Loss ($L_{gate}$): This novel loss function encourages the gate signals ($S_{di}$) to be close to 0 or 1, promoting a cleaner binary separation of channels into domain-invariant and domain-specific. This is a key differentiator from standard channel attention mechanisms.
- Adversarial Domain Classification Loss ($L_{D-adv}$): Similar to existing methods, this loss is applied to $F_{di}$ to further remove any remaining domain-specific information, ensuring $F_{di}$ is truly domain-invariant.
The GDIFD module is integrated into a standard FCOS object detection framework.
Datasets
The experiments were conducted on the following large-scale object detection datasets:
- BDD100k: A diverse driving dataset.
- Cityscapes: Urban driving scenes.
- Foggy Cityscapes: A synthetic foggy version of Cityscapes.
- KITTI: A dataset for autonomous driving.
- SIM 10k: A virtual dataset rendered by a gaming engine.
The paper describes two main DGOD settings: one using eight shared categories across BDD100k, Cityscapes, and Foggy Cityscapes, and another using only the "car" category across all five datasets.
Key Insights and Ideas
- Channel-level disentanglement is sufficient: The authors propose that domain-specific information can be effectively isolated into specific feature channels, simplifying the disentanglement process.
- Domain category as an explicit attribute: Treating the domain category as an attribute allows for targeted channel masking, rather than relying on more complex feature alignment strategies.
- Binary gate signals for cleaner separation: The proposed gate loss forces the channel gate signals to be close to 0 or 1, leading to a more distinct separation of domain-invariant and domain-specific features compared to continuous attention weights.
- Lightweight and effective: GDIFD is presented as a lightweight module that can be easily integrated into existing detectors, offering significant performance gains without the complexity of multi-backbone architectures.
Key Results
- The proposed GDIFD method achieves state-of-the-art performance on several DGOD benchmarks, outperforming the previous state-of-the-art method DIDN and a strong baseline.
- For example, in one setting, GDIFD achieved a mAP of 36.8% compared to DIDN's 33.4% and the baseline's 33.9% (using ResNet-50). With ResNet-101, GDIFD achieved 38.3% mAP.
- GDIFD also demonstrates superiority over other lightweight DRL methods (like those from UDAOD research) when applied to DGOD, which often negatively impact performance.
- Ablation studies confirm the effectiveness of both the gate loss and the special initialization of the Channel Gate Module.
Limitations and Future Work
- Domain Generalization vs. Adaptation: While the paper focuses on DGOD, the authors briefly explore its extension to Unsupervised Domain Adaptation (UDAOD) and show promising results, suggesting potential for broader applicability.
- Future Exploration: The authors state their intention to explore the power of GDIFD on other DG and UDA tasks in the future.
- Potential for further optimization: While GDIFD is presented as lightweight, further research could explore even more efficient implementations or adaptive strategies for channel selection.
Summary updated