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

Anchor3DLane: Learning to Regress 3D Anchors for Monocular 3D Lane Detection

Shaofei Huang, Zhenwei Shen, Zehao Huang, Zi-han Ding, Jiao Dai, Jizhong Han, Naiyan Wang, Si Liu

TL;DR

Anchor3DLane is a novel, BEV-free framework for monocular 3D lane detection that directly regresses 3D lanes from front-view features using 3D lane anchors. By bypassing the flawed flat-ground assumptions of Bird's-Eye-View (BEV) transformations, it achieves state-of-the-art accuracy across major benchmarks while running up to 16x faster than competing methods.

What Problem Does This Paper Address?

Accurate 3D lane perception is a critical component for autonomous driving tasks like lane-keeping, trajectory planning, and high-definition map construction. Doing this from a single front-facing camera (monocular 3D lane detection) is notoriously difficult due to the inherent lack of depth information.

The dominant paradigm relies on transforming front-view (FV) images or features into a Bird's-Eye-View (BEV) space using Inverse Perspective Mapping (IPM). However, IPM suffers from two major flaws:

  1. The Flat-Ground Assumption: IPM assumes the road is perfectly flat, causing severe misalignments and errors when encountering hills (uphill/downhill).
  2. Information Loss: Warping images into BEV distorts non-ground objects (like vehicles) and destroys valuable contextual information above the road surface.

While some "BEV-free" methods have attempted to predict 3D lanes directly from front-view images, they have historically underperformed because they lack a structured representation for 3D lanes.

Comparison of different 3D lane detection paradigms.

Methods

The authors introduce Anchor3DLane, a method that completely bypasses the BEV space while maintaining a highly structured lane representation.

1. 3D Lane Anchors

Instead of defining lane anchors on a 2D BEV plane, Anchor3DLane defines anchors directly in 3D space as rays projected from a starting point on the ground, defined by specific pitch ($\theta$) and yaw ($\phi$) angles.

Figure 2. Illustration of 3D anchor and 3D lane in the ground coordinate system.

2. Anchor Projection and Feature Sampling

To extract features for these anchors, the 3D anchor points are mathematically projected back onto the 2D front-view feature map using camera intrinsic and extrinsic parameters. Features are then sampled directly from the FV map using bilinear interpolation. This ensures that the network retains rich, undistorted environmental context.

3. Iterative Regression and Temporal Modeling

Lightweight classification and regression heads predict lane types, visibility, and 3D offsets from the anchors. Crucially, these predictions can be fed back into the network as new anchors for iterative regression, progressively refining the lane shapes. Furthermore, the framework easily extends to the temporal domain by projecting 3D anchors into adjacent video frames using relative camera poses.

Figure 3. The overall architecture of Anchor3DLane. Given a front-viewed input image, a CNN backbone and a Transformer layer are adopted to first extract visual feature F. 3D anchors are then projected to sample their features from F given camera parameters. Afterward, a classification head and a regression head are applied to make the final predictions. The lane predictions can also serve as new 3D anchors for iterative regression.

4. Equal-Width Constraint (EWC)

As a post-processing step, the authors introduce a global optimization method based on a simple geometric truth: lanes are usually parallel and have a consistent width. EWC adjusts the lateral ($x$) coordinates of the predicted lanes to ensure consistency from close to far distances, drastically reducing errors in far-away, low-resolution regions.

Datasets

The method was evaluated on three popular 3D lane detection benchmarks:

  • ApolloSim: A photo-realistic synthetic dataset containing 10.5K images with diverse weather, lighting, and terrain conditions (including hills).
  • OpenLane: A massive real-world dataset based on the Waymo Open Dataset, featuring 200K frames and complete camera calibration data.
  • ONCE-3DLanes: A real-world dataset with 211K images captured across various regions and environments, providing only camera intrinsics.

Key Insights and Ideas

  • FV Features are Superior to BEV: Directly sampling features from the original front-view image preserves environmental context that IPM destroys. This context is vital for implicitly reasoning about depth and 3D geometry.
  • 3D Anchors Bridge the Gap: You don't need a BEV feature map to get structured 3D predictions. Defining anchors directly in 3D space provides the necessary structural constraints while allowing feature extraction to happen in the 2D image domain.
  • Global Geometric Priors Matter: Deep networks often struggle with distant objects due to low resolution. Incorporating a simple mathematical constraint like lane parallelism (EWC) acts as an effective corrector for long-range predictions.

Key Results

Anchor3DLane achieves state-of-the-art performance across all three benchmarks while being remarkably lightweight.

  • OpenLane Benchmark: Anchor3DLane achieved a 53.1% F1 score using a lightweight ResNet-18 backbone, outperforming the previous state-of-the-art PersFormer (50.5% F1), which uses a much larger EfficientNet-B7 backbone.
  • Speed and Efficiency: On a single NVIDIA RTX 2080 Ti GPU, the original Anchor3DLane runs at 87.29 FPS—nearly 16x faster than PersFormer (5.58 FPS)—while using a fraction of the computational cost (38.1G FLOPs vs. 572.4G FLOPs).
  • Hill Scenarios: In OpenLane's challenging "Up & Down" scenarios, Anchor3DLane improved the F1 score significantly (45.5% vs PersFormer's 42.4%), validating its ability to handle non-flat ground.
Quantitative results on the ApolloSim dataset.

Limitations and Future Work

  • Parallelism Assumption: The Equal-Width Constraint assumes lanes are parallel. While generally true, this assumption breaks down at lane forks or exits, where adjusting with EWC might actually introduce lateral errors.
  • Dependency on Camera Extrinsics for Temporal Modeling: The multi-frame extension relies on accurate camera poses between frames. On datasets like ONCE-3DLanes where extrinsics are omitted, temporal modeling cannot be easily applied without an additional ego-motion estimation step.

Summary updated

BibTeX
@inproceedings{huang2023anchor,
  author = {Shaofei Huang and Zhenwei Shen and Zehao Huang and Zi-han Ding and Jiao Dai and Jizhong Han and Naiyan Wang and Si Liu},
  title = {{Anchor3DLane: Learning to Regress 3D Anchors for Monocular 3D Lane Detection}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
}
Figure