Abstract
In the unsupervised domain adaptation (UDA) depth estimation task, a common approach is to use bidirectional transformation networks to transfer styles between target and source domain inputs. However, this process often introduces defects such as "depth holes" and missing instance edges in the target domain output. This paper proposes an improved training network that incorporates an edge-guided self-attention mechanism and inter-domain edge consistency constraints. By enhancing the network's focus on high-frequency edge features and establishing structural invariants across domains, the proposed method effectively fills missing depth areas and maintains clear boundaries. Experimental results on benchmark datasets demonstrate that this approach produces higher-quality depth maps and outperforms existing state-of-the-art methods.
Introduction
Monocular depth estimation—predicting 3D depth from a single 2D image—is a critical component for autonomous driving and robotics. While supervised learning yields high accuracy, it requires massive amounts of LiDAR-captured ground truth data, which is expensive and difficult to obtain for diverse real-world environments.
Unsupervised Domain Adaptation (UDA) offers a solution by training models on synthetic data (where depth labels are easily generated) and adapting them to real-world target domains. However, current UDA methods often struggle with "depth holes" (incorrectly predicted infinite distances on reflective surfaces) and "edge bleeding" (blurry object boundaries). This research addresses these issues by prioritizing structural geometry through self-attention and edge-based supervision.
Methodology
Overall Architecture
The framework builds upon a symmetric domain adaptation architecture. It utilizes a style transfer mechanism to bridge the gap between synthetic (source) and real (target) images. The core of the system consists of two task networks ($SA-F_S$ and $SA-F_T$) that process the transformed images to predict depth.
Edge-Guided Self-Attention (SA)
To combat depth holes and improve global context, the authors introduce a self-attention module between the encoder and decoder. Unlike standard convolutions that focus on local neighborhoods, this module allows the network to capture long-range pixel correlations. This global view helps the model "inpainting" missing depth information by referencing surrounding structural features.
Edge Consistency Constraints
The model employs an auxiliary U-Net-based sub-network to predict edges. To supervise this without real-world labels, a pre-trained RCF-Net (Richer Convolutional Features) extracts pseudo-ground truth edges from target images. The "secret sauce" of the approach is the edge consistency constraint: the model is penalized if the edges predicted in the synthetic-styled version of a real image do not match those in the real-styled version. This forces the model to learn geometric features that are invariant to style changes.
Experimental Results
The study evaluated the model using the vKITTI (synthetic source), KITTI (real-world target), and Make3D (generalization test) datasets.
- Quantitative Performance: The method achieved an Absolute Relative Error (Abs Rel) of 0.117 on the KITTI dataset, a significant improvement over previous baselines like GASDA (0.124).
- Qualitative Improvements: Visual analysis confirms that the model produces significantly sharper contours for thin objects (poles, trees) and successfully patches holes previously seen in car windshields and building windows.
- Generalization: Testing on the Make3D dataset showed that the model successfully learned transferable geometric principles rather than just memorizing the KITTI environment.
Conclusion
By integrating edge-guided self-attention and structural consistency constraints, this research provides a robust framework for unsupervised depth estimation. The approach effectively mitigates common UDA artifacts, resulting in sharper, more accurate depth maps suitable for real-world navigation. Future work will explore expanding this architecture into multi-task learning environments involving semantic segmentation and optical flow.
Summary updated