BezierFormer: A Unified Architecture for 2D and 3D Lane Detection
Zhiwei Dong, Xi Zhu, Xiya Cao, Ran Ding, Wei Li, Caifa Zhou, Yongliang Wang, Qiangbo Liu
TL;DR
BézierFormer introduces a unified 2D/3D lane detection architecture that represents lanes as cubic Bézier curves and uses dynamic Bézier control point queries. A novel Bézier curve attention mechanism samples multiple reference points along each curve to extract comprehensive lane features, and a Chamfer IoU-based loss aligns predicted curves with ground truth for robust regression. The approach achieves state-of-the-art results on CurveLanes (2D) and OpenLane (3D), validating the benefits of a unified Bézier representation and curve-focused attention for slender lane structures with efficient inference. The work demonstrates strong cross-modal performance and computational efficiency, highlighting the potential for further exploration of unified geometric representations in lane perception.
Abstract
Lane detection has made significant progress in recent years, but there is not a unified architecture for its two sub-tasks: 2D lane detection and 3D lane detection. To fill this gap, we introduce BézierFormer, a unified 2D and 3D lane detection architecture based on Bézier curve lane representation. BézierFormer formulate queries as Bézier control points and incorporate a novel Bézier curve attention mechanism. This attention mechanism enables comprehensive and accurate feature extraction for slender lane curves via sampling and fusing multiple reference points on each curve. In addition, we propose a novel Chamfer IoU-based loss which is more suitable for the Bézier control points regression. The state-of-the-art performance of BézierFormer on widely-used 2D and 3D lane detection benchmarks verifies its effectiveness and suggests the worthiness of further exploration.
