Ultra Fast Structure-Aware Deep Lane Detection

Zequn Qin, Huanyu Wang, Xi Li

Abstract

Lane detection is a critical component of autonomous driving systems, yet traditional pixel-wise segmentation approaches often fail to meet the real-time processing requirements of modern vehicles. This paper introduces a novel formulation that treats lane detection as a row-based selection problem. By leveraging global features and a specialized structural loss, the proposed method achieves state-of-the-art accuracy on major benchmarks while operating at speeds over 300 FPS—at least four times faster than previous leading methods.

Introduction

Modern Advanced Driver Assistance Systems (ADAS) rely heavily on accurate lane detection. However, existing deep learning models face two primary challenges: computational efficiency and the "no-visual-clue" problem. Standard semantic segmentation classifies every pixel ($H \times W$), which is prohibitively expensive for multi-camera setups. Furthermore, local receptive fields in segmentation models struggle when lanes are occluded by traffic, blurred by lighting, or worn away. Humans overcome this by using global context—the overall road shape and traffic flow—to infer lane positions.

Methodology

Row-based Selection

To address efficiency, the authors shift the problem from dense pixel classification to sparse row-based selection. The model uses predefined row anchors and divides each row into a grid of cells. Instead of classifying every pixel, the network predicts which cell in each row anchor contains the lane.

The row-based selection mechanism uses predefined row anchors and a grid of cells to identify lane positions efficiently.

This approach reduces the classification search space from $H \times W$ to $C \times h$, where $C$ is the number of lanes and $h$ is the number of row anchors.

Global Features and Structural Loss

Unlike segmentation models that rely on local patches, this architecture utilizes global features derived from the entire image. This allows the network to handle occlusions by learning from the surrounding environment. To ensure spatial consistency, the authors introduced a Lane Structural Loss consisting of:

  • Similarity Loss ($L_{sim}$): Ensures continuity by encouraging lane positions in adjacent rows to be close.
  • Shape Loss ($L_{shp}$): Uses second-order differences to enforce smoothness and realistic road curvature.

Additionally, an auxiliary segmentation branch is used during training to help the feature extractor learn fine-grained local details, but it is discarded during inference to maintain high speed.

Experimental Results

The model was evaluated on the TuSimple and CULane datasets. CULane is particularly challenging, featuring scenarios like "Night," "Shadow," and "Crowded."

Performance and Speed

The ResNet-18 version of the model achieves a staggering 322.5 FPS, while the ResNet-34 version reaches 175.4 FPS. In comparison, the previous state-of-the-art SCNN runs at only 7.5 FPS.

Qualitative results across various challenging scenarios, including crowded traffic and night-time driving, demonstrating the model's robustness.

On the CULane dataset, the model achieved a 72.3 F1-measure, outperforming both SCNN (71.6) and SAD (70.8). The global feature approach proved especially effective in "No-line" and "Shadow" categories, where visual evidence is sparse.

Discussion and Conclusion

While the model is exceptionally fast, it has some limitations. The vertical resolution is fixed by the predefined row anchors, which might be suboptimal for unusual camera angles or complex vertical road structures. Additionally, the horizontal grid assumes a certain resolution that could be challenged by extremely sharp turns.

In conclusion, by reimagining lane detection as a sparse selection task rather than dense segmentation, this work demonstrates that global context and structural priors can lead to massive gains in both speed and robustness. This row-based selection logic offers a promising direction for other structural detection tasks in computer vision.

Summary updated

BibTeX
@inproceedings{qin2020ultra,
  author = {Zequn Qin and Huanyu Wang and Xi Li},
  title = {{Ultra Fast Structure-Aware Deep Lane Detection}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  doi = {10.1007/978-3-030-58586-0\_17},
}
Figure