Multi-level Domain Adaptation for Lane Detection

Chenguang Li, Boheng Zhang, Jia Shi, Guangliang Cheng

Abstract

We focus on bridging domain discrepancy in lane detection among different scenarios to greatly reduce extra annotation and re-training costs for autonomous driving. Critical factors hinder the performance improvement of cross-domain lane detection that conventional methods only focus on pixel-wise loss while ignoring shape and position priors of lanes. To address the issue, we propose the Multi-level Domain Adaptation (MLDA) framework, a new perspective to handle cross-domain lane detection at three complementary semantic levels of pixel, instance and category. Specifically, at pixel level, we propose to apply cross-class confidence constraints in self-training to tackle the imbalanced confidence distribution of lane and background. At instance level, we go beyond pixels to treat segmented lanes as instances and facilitate discriminative features in target domain with triplet learning, which effectively rebuilds the semantic context of lanes and contributes to alleviating the feature confusion. At category level, we propose an adaptive inter-domain embedding module to utilize the position prior of lanes during adaptation. In two challenging datasets, i.e. TuSimple and CULane, our approach improves lane detection performance by a large margin with gains of 8.8% on accuracy and 7.4% on F1-score respectively, compared with state-of-the-art domain adaptation algorithms.

Introduction

Lane detection is a fundamental task for autonomous driving systems, particularly for functions like Lane Keeping Assist (LKA). However, deep learning models often struggle with domain shift—the performance drop when a model trained on one environment (source domain) is applied to another (target domain). For instance, a model trained on clear highway scenes (TuSimple) may fail in complex urban environments with shadows and heavy traffic (CULane).

Overview of domain adaptation for lane detection across TuSimple and CULane datasets.

While Unsupervised Domain Adaptation (UDA) offers a way to bridge this gap without manual labeling of the target domain, standard methods often focus solely on pixel-level statistics. This approach neglects the unique structural properties of lanes, such as their thin geometry and specific spatial priors, often resulting in fragmented or missing lane predictions.

The MLDA Framework

The proposed Multi-level Domain Adaptation (MLDA) framework addresses domain discrepancy at three complementary semantic levels: pixel, instance, and category.

The MLDA framework architecture, illustrating adaptation at pixel, instance, and category levels.

1. Pixel-level Adaptation

To handle the extreme class imbalance between lane pixels and background, the framework employs cross-class confidence constraints during self-training. By setting class-specific thresholds for pseudo-labels, the model avoids being overwhelmed by the high-confidence background, ensuring that lane features are effectively learned in the target domain.

2. Instance-level Adaptation

Moving beyond individual pixels, MLDA treats lanes as coherent instances. It introduces Edge Pooling, a probability-driven technique that expands lane masks to reconnect fragmented segments. These refined masks are used in a Triplet Learning scheme, which pulls lane features together while pushing background features away in the embedding space, enhancing feature discriminability.

3. Category-level Adaptation

Lanes possess strong spatial priors, typically appearing on the road surface and converging toward the horizon. The Adaptive Inter-domain Embedding module utilizes spatial and channel attention to focus the adaptation process on these relevant regions, preventing the model from being distracted by irrelevant background elements like the sky or buildings.

Experimental Results

The MLDA framework was evaluated on the TuSimple and CULane benchmarks. The results demonstrate significant improvements over existing state-of-the-art UDA methods:

  • Accuracy Boost: On the CULane $\rightarrow$ TuSimple task, MLDA achieved an accuracy of 89.7%, representing an 8.8% gain over previous methods.
  • F1-Score Improvement: On the TuSimple $\rightarrow$ CULane task, the framework improved the F1-score by 7.4% compared to the second-best method.
  • Qualitative Robustness: The model shows superior performance in challenging scenarios, such as night scenes and crossroads, where it maintains lane continuity better than baseline methods.

Conclusion

The MLDA framework provides a comprehensive approach to cross-domain lane detection by integrating pixel, instance, and category-level adaptations. By leveraging structural and spatial priors, it significantly reduces the need for costly manual annotations in new environments. Future work will explore temporal consistency in video sequences to further improve detection under extreme occlusion.

Summary updated

BibTeX
@inproceedings{li2022multi,
  author = {Chenguang Li and Boheng Zhang and Jia Shi and Guangliang Cheng},
  title = {{Multi-level Domain Adaptation for Lane Detection}},
  booktitle = {Workshops @ CVPR},
  year = {2022},
  url = {https://openreview.net/forum?id=MzYyRQFsWy},
}
Figure