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

Polar R-CNN: End-to-End Lane Detection With Fewer Anchors

Junmin Liu (刘军民), Shengqi Wang, Junmin Liu, Xiangyong Cao, Zengjie Song, Kai Sun

TL;DR

Polar R-CNN introduces a novel lane detection framework that replaces dense, handcrafted anchors with a handful of flexible proposals generated in a polar coordinate system. By combining this with a Graph Neural Network-based "triplet head," it achieves state-of-the-art performance without the need for traditional, often-finicky Non-Maximum Suppression (NMS).

What Problem Does This Paper Address?

Lane detection is a cornerstone of autonomous driving, but it's notoriously difficult. Lanes are thin, long, and frequently occluded by other cars or weather. Current "anchor-based" methods try to solve this by scattering hundreds of predefined "lane anchors" (lines) across the image and refining them. However, this approach is cumbersome: it requires dense coverage to be effective, leading to high computational costs and complex manual tuning.

Furthermore, these methods rely on Non-Maximum Suppression (NMS) to clean up redundant predictions. NMS is a headache for engineers because it requires manually tuning distance thresholds. Set the threshold too high, and you accidentally delete real lanes that are close together (like double lines); set it too low, and you're left with messy, redundant detections.

Fig. 2: Comparison of NMS thresholds in sparse and dense scenarios. (a) and (b) Ground truths. (c) Large NMS threshold mistakenly suppresses a lane. (d) Small NMS threshold fails to remove redundant results.

Methods

The authors propose Polar R-CNN, a two-stage detector inspired by the classic Faster R-CNN but reimagined for the geometry of lanes.

  1. Polar Coordinate Representation: Instead of representing lane anchors as rays (which require three parameters: start x, start y, and angle), the authors use polar coordinates. A straight line can be uniquely defined by just two parameters: a radial distance ($r$) from a pole and an angle ($\theta$). This reduces parameter redundancy from the start. Fig. 4: Ray vs Polar representation for lane anchors. Polar coordinates define a line with just two parameters (r, θ).
Fig. 4: Ray vs Polar representation for lane anchors. Polar coordinates define a line with just two parameters (r, θ).
  1. Local Polar Module (LPM): This acts as the "Region Proposal Network." It uses a grid of local poles across the feature map to predict potential lane anchors. This allows the model to generate a few high-quality, flexible proposals—only 20 anchors—that adapt to the specific image, rather than relying on a massive fixed set of nearly 200. Fig. 5: The local polar coordinate system for generating anchors based on local poles in the feature map.
Fig. 5: The local polar coordinate system for generating anchors based on local poles in the feature map.
  1. Global Polar Module (GPM) & Triplet Head: The second stage refines these proposals. The key innovation here is the triplet head, which includes a novel Graph Neural Network (GNN) block. The GNN models the relationships between different lane proposals, effectively learning how to suppress redundancies internally. This enables an NMS-free paradigm, where the network directly outputs non-redundant lane predictions.
Fig. 3: The overall Polar R-CNN architecture, featuring the LPM for proposals and the GPM with a triplet head for final detection.

Datasets

The model was evaluated on five diverse benchmarks:

  • CULane: A large-scale dataset with various urban and highway scenarios.
  • TuSimple: A widely used highway lane detection benchmark.
  • LLAMAS: A dataset focused on automated lane marker annotation.
  • CurveLanes: A challenging dataset featuring many curved and dense lane types (e.g., forked lanes).
  • DL-Rail: A specialized dataset for rail detection, testing the model's generalization beyond standard roads.

Key Insights and Ideas

  • Efficiency through Geometry: Switching from Cartesian rays to polar coordinates fundamentally simplifies the search space. This allows the model to perform better with roughly 10x fewer anchors than previous state-of-the-art methods like CLRNet.
  • Learned Suppression: Traditional NMS is a "dumb" post-processing step. By using a GNN in the detection head, Polar R-CNN turns suppression into a "smart," learnable feature. The network understands the semantic relationship between lanes, not just their geometric distance.
  • Adaptability: The LPM's ability to propose anchors locally makes the model much more robust to "sparse" scenarios where lanes are far apart, as it doesn't waste computation on empty regions of the image.

Key Results

Polar R-CNN achieves competitive or superior results across all tested datasets while being more lightweight:

  • Anchor Reduction: It uses only 20 anchors, compared to the 192 anchors typically used by SOTA methods like CLRNet and CLRerNet.
  • Performance: On the challenging CurveLanes dataset, it achieved an F1-score of 87.29%, outperforming CLRerNet (86.47%).
  • NMS-Free Success: The NMS-free version performs almost identically to the NMS-based version in sparse scenes and actually performs better in dense, complex scenarios where traditional NMS thresholds often fail.
  • Speed: Due to the reduced anchor count and lack of NMS post-processing, the model exhibits lower latency on modern GPUs like the NVIDIA A100.

Limitations and Future Work

While Polar R-CNN is a significant step forward, the authors note a few areas for growth:

  • Backbone Dependency: The current model relies on standard CNN backbones (ResNet, DLA). Exploring more advanced architectures like Transformers could further boost performance.
  • Beyond 2D: The authors plan to extend the polar coordinate approach to 3D lane detection and video-based instance tracking.
  • Label Assignment: Future work could explore even more sophisticated label assignment strategies to further refine the NMS-free training process.

Summary updated

BibTeX
@article{2025polar,
  author = {Junmin Liu (刘军民) and Shengqi Wang and Junmin Liu and Xiangyong Cao and Zengjie Song and Kai Sun},
  title = {{Polar R-CNN: End-to-End Lane Detection With Fewer Anchors}},
  journal = {IEEE Trans. ITS},
  year = {2025},
  doi = {10.1109/tits.2025.3564979},
}
Figure