Abstract
GANDA (Geometry-Aware Network for Domain Adaptation) addresses the significant domain gap between synthetic training data and real-world images in semantic segmentation. By explicitly leveraging 3D geometric information, the framework converts 2D images into 3D point clouds to learn domain-invariant shapes and spatial relationships. This approach significantly improves performance on synthetic-to-real benchmarks, particularly for challenging small-object classes like poles and traffic lights. Notably, the 3D components are utilized only during training, ensuring that the final inference model remains computationally efficient.
Introduction
Semantic segmentation models typically require massive amounts of pixel-level labels, leading researchers to rely on synthetic datasets where labels are automatically generated. However, models trained on synthetic data often fail in real-world environments due to differences in lighting, texture, and camera styles—a problem known as the "domain gap."
Existing Unsupervised Domain Adaptation (UDA) methods primarily align domains using 2D features or estimated depth maps. These often fail to capture the intrinsic 3D topology of a scene. Standard 2D networks particularly struggle with small objects because their textures are easily lost or distorted during the domain shift. GANDA overcomes this by shifting the focus from volatile pixel colors to stable 3D geometric structures.
Methodology
The GANDA framework operates through a two-stage pipeline designed to bridge the gap between synthetic source domains and real-world target domains.
1. Depth-Aware Adversarial Adaptation
In the first stage, the model learns to predict depth in the target domain using available depth labels from the source domain. This process helps disentangle "structure" (depth and geometry) from "texture" (color and lighting). By isolating the structural components, the model establishes a foundation for more robust adaptation.
2. Geometry-Aware Adaptation (GAA)
The core innovation of GANDA is the Geometry-Aware Adaptation stage. The model combines RGB images with predicted depth maps to reconstruct 3D point clouds.
- 3D Point-based Encoder: Unlike 2D encoders that process pixel intensities, this encoder processes $(x, y, z)$ coordinates. These spatial coordinates are inherently more domain-invariant; for instance, the physical dimensions of a car remain consistent regardless of whether it is rendered in a game engine or captured by a real camera.
- Geometric Adaptation (GA) Module: This attention-based module aligns geometric features between the source and target domains, ensuring the model focuses on shared structural properties.
- Semantic-Geometric Consistency (SGC) Loss: A consistency loss (KL divergence) is employed to ensure that 2D semantic predictions and 3D geometric predictions are in agreement, reinforcing the model's understanding of object boundaries.
Experiments and Results
The model was evaluated on standard synthetic-to-real benchmarks, using GTA5 and SYNTHIA as source domains and Cityscapes as the target domain.
- State-of-the-Art Performance: GANDA achieved 74.5% mIoU on the GTA5 $\rightarrow$ Cityscapes task and 67.0% mIoU on the SYNTHIA $\rightarrow$ Cityscapes task, outperforming previous leading methods like HRDA.
- Small Object Accuracy: The geometric approach yielded dramatic improvements in difficult categories. In the SYNTHIA benchmark, categories such as "pole" and "traffic light" saw significant accuracy jumps because the 3D coordinates provided a sharper signal for object boundaries than downsampled 2D feature maps.
- Inference Efficiency: While the 3D processing adds overhead during training, the 3D components are discarded during inference. The final deployed model uses a standard 2D architecture, maintaining the same speed as traditional segmentation networks.
Conclusion
GANDA demonstrates that 3D geometry is a powerful invariant for domain adaptation. By shifting the problem into 3D space, the model naturally shrinks the domain gap and improves the recognition of structurally distinct but texturally small objects. While the quality of adaptation remains dependent on the accuracy of the initial depth estimation, GANDA provides a robust, plug-and-play framework for enhancing existing UDA methods.
Summary updated