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

Anchor3DLane++: 3D Lane Detection via Sample-Adaptive Sparse 3D Anchor Regression

Shaofei Huang, Zhenwei Shen, Zehao Huang, Yue Liao, Jizhong Han, Naiyan Wang, Si Liu · DOI

Abstract

In this paper, we focus on the challenging task of monocular 3D lane detection. Previous methods typically adopt inverse perspective mapping (IPM) to transform the Front-Viewed (FV) images or features into the Bird-Eye-Viewed (BEV) space for lane detection. However, IPM's dependence on flat ground assumption and context information loss in BEV representations lead to inaccurate 3D information estimation. Though efforts have been made to bypass BEV and directly predict 3D lanes from FV representations, their performances still fall behind BEV-based methods due to a lack of structured modeling of 3D lanes. In this paper, we propose a novel BEV-free method named Anchor3DLane++ which defines 3D lane anchors as structural representations and makes predictions directly from FV features. We also design a Prototype-based Adaptive Anchor Generation (PAAG) module to generate sample-adaptive sparse 3D anchors dynamically. In addition, an Equal-Width (EW) loss is developed to leverage the parallel property of lanes for regularization. Furthermore, camera-LiDAR fusion is also explored based on Anchor3DLane++ to leverage complementary information. Extensive experiments on three popular 3D lane detection benchmarks show that our Anchor3DLane++ outperforms previous state-of-the-art methods.

Introduction: The Challenge of 3D Lane Detection

For autonomous vehicles to navigate safely, they must perceive lane lines accurately in 3D space. Traditional approaches predominantly rely on Inverse Perspective Mapping (IPM) to project front-view (FV) images into a top-down Bird’s-Eye-View (BEV). While popular, this paradigm suffers from two critical flaws: the "flat-ground assumption" and "information loss."

IPM assumes the road is a flat plane; consequently, when the vehicle encounters hills or dips, the geometric projection fails, leading to significant localization errors. Moreover, the warping process discards fine-grained textures and height cues present in the original image. While some "BEV-free" methods exist, they often lack the structured geometric modeling needed to accurately represent long, slender lane lines.

Comparison of 3D lane detection paradigms: (a) BEV-based, (b) Depth-based, and (c) the proposed Anchor-based method.

Methods: A BEV-Free Anchor-Based Framework

Anchor3DLane++ addresses these issues by introducing a structured, sparse, and adaptive approach that operates directly on front-view features, bypassing the need for BEV transformation.

3D Lane Anchors and Iterative Refinement

Instead of image warping, the model defines lane anchors as rays in 3D space. These 3D points are projected back onto the 2D feature map to sample features directly. This approach preserves the original image context and avoids the inaccuracies associated with the flat-ground assumption. The framework utilizes a Feature Pyramid Network (FPN) backbone and a multi-stage prediction pipeline where 3D lane coordinates are iteratively refined across four stages, allowing the model to transition from high-level semantic features to precise, low-level local features.

The overall architecture of Anchor3DLane++, featuring a multi-stage prediction framework with the PAAG module.

Prototype-based Adaptive Anchor Generation (PAAG)

To improve efficiency and performance, the authors developed the PAAG module. Rather than using thousands of fixed, dense anchors—which are computationally expensive and require manual tuning—PAAG uses a small set of approximately 30 anchors. These anchors are dynamically generated by combining learned "prototypes" (common lane shapes) based on the specific scene, creating "sample-adaptive" anchors that focus on likely lane locations.

Equal-Width (EW) Loss

The model incorporates a novel geometric constraint called the Equal-Width (EW) loss. By leveraging the fact that road lanes are typically parallel, the EW loss regularizes predictions by penalizing inconsistent widths between predicted lane pairs along their length. This acts as a powerful regularizer, baking human-like "common sense" into the neural network.

Experimental Results

The model was rigorously evaluated on three major benchmarks: OpenLane, ApolloSim, and ONCE-3DLanes.

  • State-of-the-Art Performance: On the OpenLane dataset, Anchor3DLane++ achieved a 62.4% F1 score using only camera data, significantly outperforming competitors like MapTRv2 (53.6%) and PersFormer (50.5%).
  • Robustness to Terrain: In the "Up & Down" hilly scenarios of ApolloSim, the model demonstrated a substantial lead over BEV-based methods, confirming its resilience to non-flat terrain.
  • Efficiency and Deployment: The ResNet-50 version of the model achieves 30.5 FPS, offering a high-throughput solution that is more deployable than many Transformer-based alternatives.
  • Sensor Fusion: By extending the framework to include LiDAR data, the F1 score on OpenLane improved to 62.9%, with a notable reduction in Z-axis (height) estimation errors.

Conclusion

Anchor3DLane++ represents a significant step forward in monocular 3D lane detection. By ditching the BEV paradigm in favor of sample-adaptive sparse 3D anchors and geometric regularization, it achieves superior accuracy and efficiency. Future work may extend this anchor-based logic to other map elements, potentially leading to a unified, BEV-free HD mapping system for autonomous driving.

Summary updated

BibTeX
@article{huang2024anchor,
  author = {Shaofei Huang and Zhenwei Shen and Zehao Huang and Yue Liao and Jizhong Han and Naiyan Wang and Si Liu},
  title = {{Anchor3DLane++: 3D Lane Detection via Sample-Adaptive Sparse 3D Anchor Regression}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2024},
  doi = {10.1109/tpami.2024.3508798},
}
Figure