Unsupervised Adversarial Depth Estimation Using Cycled Generative Networks

Andrea Pilzer, Dan Xu, Mihai Marian Puscas, Elisa Ricci, Nicu Sebe · DOI

Estimating depth from a single RGB image—monocular depth estimation—is a critical challenge for autonomous systems. While supervised models achieve high accuracy, they rely on expensive ground-truth data like LiDAR. This paper presents a novel unsupervised framework that leverages a Cycled Generative Adversarial Network (GAN) trained on stereo image pairs, achieving state-of-the-art results without ground-truth depth.

The Challenge of Unsupervised Depth

Monocular depth estimation is inherently ill-posed, as multiple 3D scenes can project to the same 2D image. Existing unsupervised methods typically use stereo pairs to predict a disparity map, warping one image to reconstruct the other. However, simple pixel-wise reconstruction losses often struggle with complex textures and occlusions. This paper aims to improve the quality and robustness of these unsupervised predictions by introducing adversarial learning and cyclic constraints.

Methodology: Cycled Adversarial Learning

The proposed architecture treats depth estimation as an image-synthesis problem within a GAN framework. The core innovation is the "Cycled Generative Network," which enforces consistency across a closed loop.

Evolution of unsupervised stereo depth estimation methods, from traditional approaches to the proposed cycled adversarial framework.

1. The Cycled Architecture

The model employs two generative sub-networks, $G_l$ and $G_r$. $G_l$ predicts a disparity map from a left image ($I_l$) to synthesize a right image ($\hat{I}_r$). Subsequently, $G_r$ takes the synthesized right image to reconstruct the original left image ($\hat{I}_l$). This "closed-loop" constraint ensures minimal information loss during transformation, providing a stronger learning signal than one-way prediction.

2. Adversarial Training

Unlike methods relying solely on $L_1$ reconstruction loss, this framework introduces Discriminators ($D_l, D_r$). These components attempt to distinguish between real camera images and synthesized views. By forcing the generators to produce realistic images, the model implicitly learns more accurate and geometrically consistent disparity (depth) maps.

3. Disparity Fusion and Efficiency

Each sub-network generates two disparity maps which are fused via a learned $1 \times 1$ convolution to produce a refined final output. To optimize memory usage, the encoders for both generators share parameters, maintaining performance while reducing the footprint.

Experimental Results

The model was evaluated on the KITTI and Cityscapes datasets, two benchmarks for autonomous driving.

Quantitative Performance

On the KITTI "Eigen split," the "Full-Cycle + D" model achieved an Absolute Relative (Abs Rel) error of 0.144 (when capped at 50m), outperforming the benchmark Godard et al. (2017) model (0.148). Ablation studies confirmed that the addition of the Discriminator ("+D") consistently improved performance across all metrics.

Qualitative Comparison

Visually, the proposed method produces sharper depth maps with better-defined object boundaries compared to previous unsupervised methods.

Qualitative comparison of depth maps. The proposed method ("Ours") shows improved clarity and structural consistency compared to previous unsupervised approaches.

Key Insights

  • Realism as a Proxy for Accuracy: The adversarial "Aha" moment was realizing that if a synthesized image looks "fake," the underlying depth geometry is likely incorrect. Optimizing for realism directly improves depth estimation.
  • Cycle Consistency: The full loop (Left $\rightarrow$ Right $\rightarrow$ Left) prevents the network from converging on local minima that do not represent true 3D geometry.
  • Monocular Deployment: Although trained on stereo pairs, the model performs inference on a single image, making it suitable for real-time deployment (approx. 0.140s per image on a Tesla K80).

Conclusion and Future Work

This work demonstrates that adversarial learning and cyclic constraints significantly enhance unsupervised depth estimation. While the requirement for calibrated stereo pairs during training remains a constraint, the results are highly competitive with supervised alternatives. Future research may explore attention mechanisms and graphical models to further refine structural consistency in complex scenes.

Summary updated

BibTeX
@inproceedings{pilzer2018unsupervised,
  author = {Andrea Pilzer and Dan Xu and Mihai Marian Puscas and Elisa Ricci and Nicu Sebe},
  title = {{Unsupervised Adversarial Depth Estimation Using Cycled Generative Networks}},
  booktitle = {3DV},
  year = {2018},
  doi = {10.1109/3dv.2018.00073},
}
Figure