Skip to main content
QUICK REVIEW

[Paper Review] End-to-End Lane detection with One-to-Several Transformer

Kunyang Zhou, Rui Zhou|arXiv (Cornell University)|May 1, 2023
Autonomous Vehicle Technology and SafetyEngineering9 citations
TL;DR

The paper introduces O2SFormer, a transformer-based end-to-end lane detector that uses one-to-several label assignment and a dynamic anchor-based positional query to accelerate training and improve accuracy on CULane. It outperforms existing Transformer and CNN-based detectors and converges much faster than DETR.

ABSTRACT

Although lane detection methods have shown impressive performance in real-world scenarios, most of methods require post-processing which is not robust enough. Therefore, end-to-end detectors like DEtection TRansformer(DETR) have been introduced in lane detection.However, one-to-one label assignment in DETR can degrade the training efficiency due to label semantic conflicts. Besides, positional query in DETR is unable to provide explicit positional prior, making it difficult to be optimized. In this paper, we present the One-to-Several Transformer(O2SFormer). We first propose the one-to-several label assignment, which combines one-to-many and one-to-one label assignment to solve label semantic conflicts while keeping end-to-end detection. To overcome the difficulty in optimizing one-to-one assignment. We further propose the layer-wise soft label which dynamically adjusts the positive weight of positive lane anchors in different decoder layers. Finally, we design the dynamic anchor-based positional query to explore positional prior by incorporating lane anchors into positional query. Experimental results show that O2SFormer with ResNet50 backbone achieves 77.83% F1 score on CULane dataset, outperforming existing Transformer-based and CNN-based detectors. Futhermore, O2SFormer converges 12.5x faster than DETR for the ResNet18 backbone.

Motivation & Objective

  • Address inefficiencies and label conflicts in one-to-one DETR-based lane detectors.
  • Introduce a training scheme that blends one-to-many and one-to-one label assignments (one-to-several).
  • Develop a dynamic anchor-based positional query to inject explicit positional priors for lanes.
  • Enable layer-wise soft labeling to balance supervision across decoder layers.
  • Demonstrate improved accuracy and faster convergence on the CULane dataset.

Proposed method

  • Represent lanes as learnable, equally-spaced 2D lane anchors with start point, length, angle, and z-offsets.
  • Introduce dynamic anchor-based positional queries that encode lane anchors and update them layer-by-layer.
  • Apply one-to-several label assignment: one-to-many in the first N-1 decoder layers and one-to-one in the last layer.
  • Introduce layer-wise soft labels to adjust positive weights across decoder layers, guided by predicted scores and LIOU.
  • Use Optimal Transport Assignment on the last layer to determine positive anchors for one-to-many, followed by Hungarian matching for one-to-one.
  • Optimize with a joint loss including classification (focal), regression (L_iou, L_l1), and segmentation terms.

Experimental results

Research questions

  • RQ1Can one-to-several label assignment alleviate label semantic conflicts while preserving end-to-end DETR-like detection for lanes?
  • RQ2Does a dynamic, anchor-based positional query provide explicit positional priors that improve lane localization?
  • RQ3How does layer-wise soft labeling affect training dynamics and final performance?
  • RQ4How does O2SFormer perform in terms of accuracy and convergence speed compared with Transformer-based and CNN-based lane detectors on CULane?

Key findings

  • O2SFormer (ResNet50) achieves 77.83% F1 on CULane, outperforming existing Transformer- and CNN-based detectors.
  • O2SFormer converges 12.5× faster than DETR with ResNet18 backbone.
  • O2SFormer with ResNet50 achieves 77.83% F1 and 27.51G MACs, outperforming LaneATT with a larger backbone in MACs and F1.
  • O2SFormer with ResNet34 (77.03% F1) and ResNet18 (76.07% F1) show strong gains over baselines in various settings.
  • Ablations show dynamic anchor-based positional query improves F1 from 73.46% to 74.09%, One-to-Several increases to 75.20%, and Layer-wise soft label further to 76.07% on ResNet18.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.