CurveFormer: 3D Lane Detection by Curve Propagation with Curve Queries and Attention
About
3D lane detection is an integral part of autonomous driving systems. Previous CNN and Transformer-based methods usually first generate a bird's-eye-view (BEV) feature map from the front view image, and then use a sub-network with BEV feature map as input to predict 3D lanes. Such approaches require an explicit view transformation between BEV and front view, which itself is still a challenging problem. In this paper, we propose CurveFormer, a single-stage Transformer-based method that directly calculates 3D lane parameters and can circumvent the difficult view transformation step. Specifically, we formulate 3D lane detection as a curve propagation problem by using curve queries. A 3D lane query is represented by a dynamic and ordered anchor point set. In this way, queries with curve representation in Transformer decoder iteratively refine the 3D lane detection results. Moreover, a curve cross-attention module is introduced to compute the similarities between curve queries and image features. Additionally, a context sampling module that can capture more relative image features of a curve query is provided to further boost the 3D lane detection performance. We evaluate our method for 3D lane detection on both synthetic and real-world datasets, and the experimental results show that our method achieves promising performance compared with the state-of-the-art approaches. The effectiveness of each component is validated via ablation studies as well.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| 3D Lane Detection | OpenLane (val) | F-Score50.5 | 45 | |
| 3D Lane Detection | ApolloSim Rare | F1 Score95.6 | 41 | |
| 3D Lane Detection | ApolloSim Balanced Scene | F1 Score95.8 | 41 | |
| 3D Lane Detection | ApolloSim Visual Variations | X Error (Close)0.125 | 27 | |
| 3D Lane Detection | Synthetic 3D Lane Dataset balanced scenes 1.0 | F-Score (%)95.8 | 25 | |
| 3D Lane Detection | Synthetic 3D Lane Dataset rarely observed 1.0 | F-Score95.6 | 25 | |
| 3D Lane Detection | Synthetic 3D Lane Dataset visual variations 1.0 | F-Score90.8 | 21 | |
| 3D Lane Detection | OpenLane | All50.5 | 17 | |
| 3D Lane Detection | OpenLane 1.0 (test) | -- | 12 | |
| 3D Lane Detection | OpenLane (val) | F-Score (All)50.5 | 11 |