NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

T2Net: Synthetic-to-Realistic Translation for Solving Single-Image Depth Estimation Tasks

TL;DR

This paper introduces T2Net, a novel framework for single-image depth estimation that leverages synthetic data and unpaired real images. By employing a "wide-spectrum" image translation network, T2Net effectively bridges the domain gap between synthetic and real images, achieving state-of-the-art results without requiring real image-depth pairs for training.

What Problem Does This Paper Address?

Estimating depth from a single 2D image is a challenging problem. Traditional supervised deep learning methods rely on large datasets of paired images and their corresponding depth maps. However, acquiring such datasets for real-world scenes is expensive and time-consuming, especially for specific environments. While synthetic data offers a readily available alternative, models trained solely on synthetic data often struggle to generalize to real-world images due to domain discrepancies in appearance (e.g., lighting, textures). Existing approaches to bridge this gap, such as using unpaired real images, often lack principled ways to ensure the translated images retain the original scene geometry crucial for accurate depth estimation.

Methods

T2Net proposes an end-to-end trainable architecture consisting of two main components:

  • Synthetic-to-Realistic Translation Network (GS→R): This network is designed to translate input images (either synthetic or real) into a more realistic domain. The key innovation here is the "wide-spectrum" approach:
  • When presented with synthetic images, GS→R is trained using a GAN loss to make them indistinguishable from real images.
  • When presented with real images, GS→R acts as an autoencoder, minimizing a reconstruction loss to ensure minimal perceptual changes, thereby preserving the original image's geometry. This dual-objective training is crucial for bridging the domain gap while maintaining geometric fidelity.
  • Depth Prediction Network (fr): This network takes the output from GS→R (or directly real images) and predicts the depth map. It is trained using:
  • A task loss on synthetic image-depth pairs to learn accurate depth estimation.
  • An additional feature-based GAN loss (LGANf) to ensure that the internal feature representations of real and translated-synthetic images are similar, further improving generalization.
  • A smoothness loss for real images to encourage reasonable depth variations, as ground truth depth is unavailable.

The entire T2Net framework is trained end-to-end, optimizing both the translation and depth prediction networks simultaneously.

Datasets

  • Synthetic Training Data:
    • SUNCG: Used to generate synthetic indoor RGB images and depth maps for the NYUDv2 dataset.
  • vKITTI: A photo-realistic synthetic dataset used for training on outdoor scenes, mimicking the real KITTI dataset.
  • Unpaired Real Images:
    • NYU Depth v2: Used for training the translation network.
  • KITTI: Used for training the translation network.
  • Evaluation Datasets:
    • NYU Depth v2: For evaluating indoor depth estimation performance.
  • KITTI: For evaluating outdoor depth estimation performance.
  • Make3D: Used for testing generalization capabilities.

Key Insights and Ideas

  • Wide-Spectrum Translation: The core idea is that a single translation network can learn to adapt both synthetic and real images to a common "realistic" domain. By using different loss functions (GAN for synthetic, reconstruction for real), the network is encouraged to make the minimal necessary changes, preserving geometric information.
  • Principled Domain Adaptation: Instead of heuristic regularization, the paper proposes a principled approach to domain adaptation by making the translation network agnostic to the input domain's origin (synthetic vs. real) and enforcing a consistent output domain.
  • End-to-End Training: Training the translation and depth prediction networks jointly allows for better synergy and optimization, leading to improved performance compared to separate training.
  • Feature-Level Alignment: Using a feature-based GAN loss helps align the internal representations of real and translated images, which is crucial for the depth prediction network to generalize well.

Key Results

  • NYU Depth v2 (Indoor): T2Net significantly outperforms baseline methods that use only synthetic data. While not surpassing the best fully-supervised methods trained on real paired data, T2Net outperforms earlier supervised methods that used real paired data, demonstrating its effectiveness without real pairs.
  • KITTI (Outdoor): T2Net shows a substantial absolute improvement over its all-synthetic trained model. It also outperforms previous methods trained on real paired data and real stereo data, even though it was trained without real paired data or stereo pairs.
  • Qualitative Results: The translated images visually resemble real images more closely than synthetic ones, preserving scene geometry. The predicted depth maps generated by T2Net show reasonable relative depths and distinct object shapes.
  • Generalization: T2Net demonstrates good generalization capabilities, performing reasonably well on the Make3D dataset even when trained on vKITTI and unpaired KITTI images.

Limitations and Future Work

  • Limitations:
    • While T2Net outperforms many methods, it does not surpass the absolute best fully-supervised methods trained on large amounts of real paired data.
  • The paper notes that for outdoor KITTI, the Dfeat loss (feature-level GAN) was not as beneficial, suggesting that the translated images were already very close to real KITTI images.
  • Some failure cases were observed on Make3D, particularly with large building windows not present in the synthetic training data.
  • Future Work: The authors intend to explore mechanisms that provide greater generalization capability across different datasets.

Summary updated

BibTeX
@inproceedings{2018t,
  title = {{T2Net: Synthetic-to-Realistic Translation for Solving Single-Image Depth Estimation Tasks}},
  booktitle = {European Conference on Computer Vision},
  year = {2018},
}
Figure