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

Synthetic-to-Real Domain Adaptation for Lane Detection

Noa Garnett, Roy Uziel, Netalee Efrat, Dan Levi

Abstract

Lane detection is critical for autonomous driving, yet acquiring large-scale labeled real-world datasets is prohibitively expensive. This paper explores Synthetic-to-Real Domain Adaptation (DA) to leverage "free" synthetic data. We propose a novel autoencoder-based approach featuring a "logical lane" bottleneck and gradient reconstruction to bridge the domain gap. Our method achieves near-fully supervised performance using only 10% of target domain labels, significantly reducing the human labeling effort required for robust lane detection.

Introduction: The Labeling Bottleneck

Reliable lane detection requires exposure to diverse road conditions, geographies, and lighting. While raw video data is abundant, manual annotation of lane markings is a significant logistical hurdle. Synthetic data from simulators provides an alternative with automatic ground-truth labels, but models trained solely on synthetic data often fail in real-world environments due to the "domain gap"—the discrepancy in visual textures and complexity between simulated and real images.

Methodology: Bridging the Domain Gap

To address the domain gap, we focus on universal features that persist across domains, specifically image gradients.

The Autoencoder with Logical Lane Bottleneck

Our primary contribution is an autoencoder architecture designed for image reconstruction. Instead of direct mapping, the model reconstructs the gradients of real-world images. The information flow is constrained through a "logical lane" bottleneck. By using a Generative Adversarial Network (GAN), we ensure this bottleneck resembles top-view lane markings, which are easily generated synthetically. This forces the network to associate lane markings with image gradients, effectively "discovering" lanes in real-world data without direct supervision.

Self-Supervised Orientation Prediction

We further enhance feature robustness through a self-supervision task. The model predicts the vehicle's orientation (straight, 5° left, or 5° right) from cropped top-view images. This auxiliary task encourages the model to internalize the geometric relationships essential for accurate lane positioning.

Datasets

The effectiveness of our approach was validated across four datasets, ranging from simple procedural simulations to massive real-world benchmarks.

Examples of the procedurally generated synthetic training data used to bootstrap the model.
  1. Synthetic Dataset: 50,000 procedurally generated images with varied geometry and lighting.
  2. tuSimple: A benchmark focused on highway scenes (3,626 images).
  3. llamas: A large-scale dataset with over 100,000 labeled images.
  4. 3DLanes: A diverse collection of 330,000 images covering highway and rural environments.

Key Results and Analysis

Our experiments focused on Unsupervised Domain Adaptation (UDA) and Semi-Supervised Domain Adaptation (SSDA).

Performance in Semi-Supervised Settings

The autoencoder approach demonstrated exceptional label efficiency. On the llamas and tuSimple datasets, using only 10% of the available real-world labels allowed the model to recover nearly the full accuracy of a fully supervised model.

Closing the Gap in Unsupervised Settings

In the UDA setting (zero real-world labels), combining the autoencoder with image translation (e.g., CycleGAN) and self-supervision closed the performance gap between synthetic-only and fully supervised baselines by 80.5% on tuSimple and 71.6% on llamas.

Lane detection results on real-world data showing both perspective and top-view (BEV) projections.

Conclusion and Future Directions

By focusing on structural priors like gradients and logical lane geometry, we can effectively adapt synthetic knowledge to real-world driving scenarios. While purely unsupervised training remains a challenge for stability, the 10% label threshold offers a practical path forward for industrial applications. Future work will extend these 2D bird's-eye view (BEV) techniques to 3D lane detection to better handle complex road topography.

Summary updated

BibTeX
@inproceedings{garnett2020synthetic,
  author = {Noa Garnett and Roy Uziel and Netalee Efrat and Dan Levi},
  title = {{Synthetic-to-Real Domain Adaptation for Lane Detection}},
  booktitle = {ACCV},
  year = {2020},
  url = {https://openreview.net/forum?id=sVNcKlxzpkr},
}
Figure