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

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

Chuanxia Zheng, Tat-Jen Cham, Jianfei Cai

Introduction

Estimating depth from a single RGB image is a classic ill-posed problem in computer vision. While supervised deep learning has achieved significant success, it typically requires massive datasets of image-depth pairs. Capturing accurate real-world depth data is challenging, often requiring expensive and difficult-to-calibrate hardware like LiDAR, which can produce sparse or noisy results.

Synthetic data from simulations offers a solution by providing perfect, dense depth maps for free. However, models trained solely on synthetic images often fail in real-world applications due to the domain gap—the difference in visual characteristics between synthetic and real environments. T²Net (Synthetic-to-Realistic Translation Network) addresses this by bridging the gap using a combination of synthetic data and unpaired real-world images.

Methodology

T²Net evolves from simpler domain adaptation strategies. While a naive approach trains directly on synthetic data, and a vanilla GAN-based approach translates synthetic images to a realistic style, T²Net introduces a more robust "wide-spectrum" translation and feature-level alignment.

Comparison of depth estimation architectures: Naive (synthetic only), Vanilla (GAN-based translation), and the proposed T²Net which incorporates reconstruction loss and feature-level discriminators.

The T²Net Architecture

The framework consists of two primary components trained in an end-to-end "twin pipeline":

  1. The Wide-Spectrum Translator ($G_{S \to R}$): Unlike standard GANs, this translator is trained on a spectrum. For synthetic images, it applies a GAN loss to induce realism. For real images, it is constrained by a reconstruction loss to act as an identity transform. This ensures the network modifies low-level textures (lighting, color) while strictly preserving the high-level geometric structures essential for depth estimation.
  2. The Task Prediction Network ($f_T$): This network predicts the depth map. It is trained on translated synthetic images using their original ground truth. To ensure consistency, a feature-level GAN ($D_{feat}$) forces the internal representations of both real and translated synthetic images to be indistinguishable to the predictor.
Detailed architecture of T²Net, illustrating the Translation Network (left) and Task Network (right). The diagram shows the flow of synthetic and real images through the generators, discriminators, and the task network with their respective losses.

Key Insights

  • Identity as Regularization: By forcing the translator to leave real images unchanged, the model is prevented from "hallucinating" or warping geometry during the synthetic-to-real translation.
  • Task-Driven Translation: Because the system is trained end-to-end, the depth estimation loss backpropagates into the translation network. This ensures the translation process specifically preserves depth cues rather than just making images look "pretty."
  • Efficiency: T²Net avoids the complexity and memory overhead of cycle-consistency checks (like those in CycleGAN) by using a simpler, unidirectional forward loss.

Experimental Results

T²Net was evaluated on indoor (SUNCG to NYU Depth v2) and outdoor (Virtual KITTI to KITTI) datasets, as well as the Make3D dataset for generalization testing. Despite never seeing a real-world ground truth depth map during training, T²Net achieved impressive results:

  • NYU Depth v2: T²Net achieved an Absolute Relative Error (Abs Rel) of 0.257, outperforming early fully-supervised models.
  • KITTI: The model improved the Abs Rel from 0.278 (synthetic-only training) to 0.169, representing a significant 9.1% absolute improvement.
  • Qualitative Performance: Visually, T²Net produces sharper object boundaries compared to unsupervised stereo-based methods, effectively capturing the geometry of complex scenes.

Conclusion and Future Work

T²Net demonstrates that synthetic data, when properly translated and regularized, can effectively substitute for expensive real-world labels. While it currently lags behind the latest state-of-the-art supervised models, it provides a powerful framework for "unpaired" learning. Future work will focus on improving generalization to objects poorly represented in synthetic data, such as glass surfaces, and exploring more diverse synthetic training environments.

Summary updated

BibTeX
@inproceedings{zheng2018t,
  author = {Chuanxia Zheng and Tat-Jen Cham and Jianfei Cai},
  title = {{T2Net: Synthetic-to-Realistic Translation for Solving Single-Image Depth Estimation Tasks}},
  booktitle = {European Conference on Computer Vision},
  year = {2018},
}
Figure