Structure Guided Lane Detection

Jinming Su, Chao Chen, Ke Zhang, Junfeng Luo, Xiaoming Wei, Xiaolin Wei

Abstract

Recently, lane detection has made great progress with the rapid development of deep neural networks and autonomous driving. However, there exist three main problems: characterizing lanes, modeling the structural relationship between scenes and lanes, and supporting more attributes (e.g., instance and type) of lanes. In this paper, we propose a novel structure guided framework to solve these problems simultaneously. We introduce a new lane representation to characterize each instance and a top-down vanishing point guided anchoring mechanism to produce intensive anchors. Multi-level structural constraints—pixel-level perception, lane-level relation (parallelism), and image-level attention—are used to improve the perception of lanes. Extensive experiments on public benchmark datasets show that the proposed approach outperforms state-of-the-art methods with 117 FPS on a single GPU.

Introduction: The Challenges of Modern Lane Detection

Lane detection is a cornerstone of autonomous driving, yet it remains difficult due to three primary hurdles identified by the authors:

  1. Representation Chaos: There is no unified way to describe a lane. Different datasets use points, masks, markers, or grids, making generalization difficult for a single model.
  2. Ignoring Global Structure: Most models treat lane detection as a local pixel-classification task, ignoring global geometric structures like lane parallelism and convergence at a vanishing point in the distance.
  3. Attribute Complexity: Real-world systems require lane instances (which line is which) and types (solid, broken, yellow, etc.), which many architectures struggle to integrate efficiently.
Overview of lane detection challenges and structural guidance: (a) various representations, (b) structural constraints like vanishing points and parallelism, and (c) lane attributes.

Methodology: The SGNet Framework

The proposed SGNet (Structure Guided Network) tackles these issues through a "top-down meets bottom-up" approach, integrating geometric priors directly into the network architecture.

1. Box-Line Representation

Instead of predicting individual points, SGNet utilizes a "box-line" proposal. It calculates a minimum circumscribed rectangle for a lane instance and uses its center line for positioning. This unified approach allows the model to handle various annotation styles seamlessly.

2. Vanishing Point Guided (VPG) Anchoring

Standard object detection uses a grid of anchors. SGNet predicts the Vanishing Point (VP) of the scene first. Since lanes naturally radiate from the VP, the model generates "intensive anchors" starting from the VP area. This significantly reduces the search space and ensures anchors are aligned with the actual geometry of the road.

3. Multi-level Structural Constraints

To refine detection, the model applies constraints at three levels:

  • Pixel-level: A binary segmentation branch helps restore fine details and promotes features around the lanes.
  • Lane-level: Using Inverse Perspective Mapping (IPM), the model projects lanes into a bird’s-eye view where they should be parallel. This mathematical relationship is enforced during training to give the model a "physical" understanding of the road.
  • Image-level: A Perspective Attention Map (PAM) is generated based on the vanishing point to help the model focus on distant, smaller lane segments that are often visually faint but geometrically critical.
The Perspective Attention Map (PAM) helps the model attend to critical regions based on the scene's geometry.

Performance and Results

The model was evaluated on two industry-standard benchmarks: CULane (featuring challenging scenarios like shadows and crowds) and TuSimple (highway scenes).

Key Results

SGNet outperformed several well-known models (like SCNN and UltraFast) across multiple categories:

  • Accuracy: On the CULane dataset, SGNet-Res34 achieved an F1-measure of 77.27%, a significant jump over the previous state-of-the-art (74.80%).
  • Robustness: The model showed particular strength in "Crowd" (+2.31%) and "Night" (+3.79%) scenarios, where visual cues are weak but geometric structure remains constant.
  • Speed: The ResNet-18 variant achieves a blistering 117 FPS, while the more accurate ResNet-34 variant still runs at a respectable 92 FPS, making both viable for real-time deployment.

Conclusion

By leveraging geometric priors like vanishing points and lane parallelism, SGNet turns a complex search problem into a guided geometric one. While it performs exceptionally well on straight roads, future work may extend this structural guidance to complex topologies like intersections where a single vanishing point might not suffice.

Summary updated

BibTeX
@inproceedings{su2021structure,
  author = {Jinming Su and Chao Chen and Ke Zhang and Junfeng Luo and Xiaoming Wei and Xiaolin Wei},
  title = {{Structure Guided Lane Detection}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2021},
  url = {https://openreview.net/forum?id=pIridJGj0kL},
}
Figure