Source-linked AI summary

Key Points Estimation and Point Instance Segmentation Approach for Lane Detection

Yeongmin Ko, Younkwan Lee, Shoaib Azam, Farzeen Munir, Moongu Jeon, Witold Pedrycz

arXiv:2002.06604v4cs.CVcs.LGeess.IV

TL;DR

Traffic-line detection must handle varying traffic-line counts and deployment computing power while avoiding the cumbersome supervision and redundant outputs of existing approaches. PINet uses key-point estimation, embedding-based instance separation, and stacked hourglass modules that can be clipped after simultaneous training. The paper reports competitive accuracy and false-positive performance, with limitations under local occlusions or unclear traffic lines.

  • Problem

    Existing traffic-line methods can require pixel-level labeling, produce unnecessary outputs, and lack adaptability to different computing resources or traffic-line counts.

  • Method

    PINet predicts traffic-line points with confidence and offset branches, separates instances through embedding features, and uses simultaneously trained stacked hourglass modules for adjustable model size.

  • Results

    PINet achieves high accuracy and a lower false-positive rate, and clipped short networks approach whole-network performance when knowledge distillation is used.

  • Takeaways & Limitations

    The method supports real-time lane detection across arbitrary traffic-line counts and can be deployed on systems with different computing power without additional training after clipping.

  • Takeaways & Limitations

    PINet has limitations when local occlusions or unclear traffic lines exist.

Abstract

from arXiv · show

Perception techniques for autonomous driving should be adaptive to various environments. In the case of traffic line detection, an essential perception module, many condition should be considered, such as number of traffic lines and computing power of the target system. To address these problems, in this paper, we propose a traffic line detection method called Point Instance Network (PINet); the method is based on the key points estimation and instance segmentation approach. The PINet includes several stacked hourglass networks that are trained simultaneously. Therefore the size of the trained models can be chosen according to the computing power of the target environment. We cast a clustering problem of the predicted key points as an instance segmentation problem; the PINet can be trained regardless of the number of the traffic lines. The PINet achieves competitive accuracy and false positive on the TuSimple and Culane datasets, popular public datasets for lane detection. Our code is available at https://github.com/koyeongmin/PINet_new

I. INTRODUCTION

The paper proposes PINet for traffic line detection using key-point estimation and instance discrimination, while addressing false positives and differing computing constraints. Its stacked hourglass design supports variable model sizes, arbitrary traffic-line counts, and reported strong accuracy with fewer false positives.

  • Method: PINet predicts exact lane key points and separates them into individual instances using embedding features.The framework combines confidence, offset, and embedding outputs to locate and cluster traffic-line points.
  • Motivation: Semantic-segmentation approaches require pixel-level labeling and produce many unnecessary outputs, while existing models are not adaptive to available computing power.These limitations motivate a compact key-point representation and adjustable network size.
  • Adaptability: Several simultaneously trained hourglass modules allow the trained network to be clipped into models with different sizes without additional training.This supports deployment on systems with different computing resources, including embedded boards.
  • Generalization: The method handles arbitrary numbers and orientations of traffic lines, including vertical and horizontal lines.Instance separation is not tied to a fixed number of traffic-line classes.
  • Results: PINet reports noteworthy accuracy and lower false positives, addressing the control risks associated with incorrect traffic-line identification.The paper distinguishes false positives as especially dangerous because they can rapidly change vehicle control values.

II. RELATED WORK

Prior traffic-line detectors include handcrafted, semantic-segmentation, generative, and direct prediction approaches. Their limitations include sensitivity to conditions, pixel-level supervision, post-processing, and unnecessary outputs.

  • Traditional methods: Handcrafted methods combine color or edge features with Hough transforms or Kalman filters, but their performance depends on lighting and occlusion.These methods remain simple and adaptable but are limited in complex testing conditions.
  • Learning-based methods: Semantic segmentation and generative methods represent complex line shapes, but they can require pixel-level labels and post-processing to extract exact points.They also generate more output values than are needed to recognize traffic lines.
  • Instance handling: Multi-class methods distinguish instances but can classify only a fixed number of traffic lines.Instance segmentation was introduced to address this fixed-instance limitation.
  • Direct methods: Direct methods predict exact line points without semantic-segmentation post-processing, yet may still include unnecessary predictions such as line length and endpoints.These quantities may be unknown for the target traffic lines.

B. Key Points Estimation

PINet applies key-point estimation to lane detection and separates predicted points into individual lane instances using embedding-based clustering.

  • B. Key Points Estimation: Key-point estimation predicts important points from input images, and stacked hourglass networks combine multiscale information across modules.The paper notes that refinement methods could improve performance but are not applied in this framework.
  • B. Key Points Estimation: PINet generates lane points and distinguishes them into individual instances through confidence, offset, and embedding branches.The embedding branch supplies features to a clustering process, while confidence and offset branches predict lane points.
  • B. Key Points Estimation: The network uses several hourglass modules trained simultaneously to support the proposed point-estimation and instance-separation tasks.The architecture is presented as an end-to-end network for traffic-line detection.

A. Architecture

PINet resizes input images before prediction, then uses configurable hourglass modules with three output branches to estimate lane points and embeddings.

  • A. Architecture: The predicting network can contain an arbitrary number of hourglass modules, all trained simultaneously with the same loss function.Four hourglass modules are used in the study, and users can choose how many to run after training.
  • A. Architecture: PINet first compresses each 512×256 RGB image to 64 × 32 using a three-layer resizing network.The resizing network uses 3×3 convolutions with stride 2 and padding 1, plus PReLU and batch normalization.
  • A. Architecture: Each hourglass module contains an encoder, decoder, skip-connections, and confidence, offset, and embedding output branches.The branches predict key-point existence, point offsets, and embedding features on a 64 × 32 grid.
  • A. Architecture: Bottle-neck modules support same-size processing, encoder down-sampling, and decoder up-sampling through distinct layer designs.Down bottle-necks use stride-2 convolution, while up bottle-necks use transposed convolution.

B. Loss Function

PINet trains its output branches jointly with losses for confidence, offsets, embeddings, and distillation across hourglass modules.

  • B. Loss Function: Each hourglass output branch predicts seven channels: one confidence, two offset, and four embedding channels.Confidence indicates key-point existence, offsets locate points, and embeddings support instance separation.
  • B. Loss Function: Distillation loss is applied at encoder distillation layers so shallower hourglass modules can learn from deeper modules.The loss is included alongside the other branch losses in end-to-end training.
  • B. Loss Function: The confidence loss combines existence loss for cells containing key points with non-existence loss for background cells.At inference, cells exceeding a predefined confidence threshold are treated as containing key points.
  • B. Loss Function: The offset branch predicts x-axis and y-axis positions within each output cell, whose values range from 0 to 1.Each cell corresponds to 8 input-image pixels, and cells without key points are ignored for offset loss.

3) Embedding Feature Loss:

The embedding branch learns features that pull same-instance cells together and separate different-instance cells, enabling distance-based lane clustering.

  • 3) Embedding Feature Loss:: The embedding-feature loss is adapted from SGPN to discriminate whether predicted key points belong to the same traffic-line instance.The loss compares embedding features for cell pairs labeled as identical or different instances.
  • 3) Embedding Feature Loss:: Same-instance cells are encouraged to have nearby embeddings, while different-instance cells are separated by a margin K greater than 0.The pairwise loss uses feature distance for same instances and max(0, K − feature distance) for different instances.
  • 3) Embedding Feature Loss:: Predicted key points are grouped into lanes when their embedding features fall within a specified distance.The embedding feature size is 4 in this study and is reported to have no major effect on performance.
  • 3) Embedding Feature Loss:: The whole network is trained end-to-end with a weighted sum of four loss terms, including embedding and distillation losses.Losses are applied to the output branches of each hourglass module, which the authors report helps stabilize training.

C. Implementation Detail

PINet preprocesses images consistently and uses hard-data sampling to address sparse annotations and imbalanced training categories. Its runtime configuration and curve output are adapted for practical deployment.

  • Input images are resized to 512 × 256 and normalized from RGB values of 0 ∼255 to 0 ∼1 before training and testing.
  • Hard data with poor training loss are sampled more frequently to address category imbalance in CULane.
  • Training and testing use one GTX 2080ti 11GB GPU, six images per batch, and experimentally determined thresholds and coefficients.
  • PINet predicts key-point positions and applies spline curve fitting to produce smoother traffic-line curves.

IV. EXPERIMENTS

The experiments evaluate PINet on TuSimple and CULane using their official evaluation procedures and dataset-specific metrics. The datasets differ in environmental complexity, with CULane containing more varied road conditions.

  • PINet is evaluated on the public TuSimple and CULane datasets using official evaluation source codes.
  • TuSimple contains 3,626 training sets and 2,782 testing sets.
  • TuSimple accuracy is based on the average number of correctly predicted points, while false-negative and false-positive rates are also reported.
  • False-positive and false-negative rates use wrongly predicted lanes, predicted lanes, missed lanes, and ground-truth lanes in their definitions.

2) CULane:

CULane evaluation uses a fixed-width lane representation and intersection-over-union to compute F1-measure. Precision and recall are derived from true, false-positive, and false-negative detections.

  • CULane contains urban and night scenes, and evaluation calculates intersection-over-union between predicted lanes and ground truth.
  • Each traffic line is assumed to have 30 pixel width under the official CULane evaluation procedure.
  • F1-measure is the major CULane evaluation metric.
  • F1-measure combines precision and recall.
  • Precision and recall use true positives with false positives and false negatives, where a true positive exceeds the 0.5 IoU threshold.

1) TuSimple:

PINet achieves strong results across TuSimple and CULane while supporting clipped hourglass networks with similar performance and different speeds. Distillation reduces the gap between short networks and the deepest network, though difficult visibility conditions remain challenging.

  • 1) TuSimple:: PINet achieves high TuSimple accuracy and false-positive performance without pretrained weights or extra datasets.
  • 1) TuSimple:: 25 fps is achieved with all hourglass networks, while one hourglass reaches about 40 fps on GTX 2080ti.
  • 1) TuSimple:: Short networks are obtained by clipping the trained network without additional training, and 2H and 3H show only subtle performance differences from the deepest network.
  • 2) CULane:: PINet shows the highest overall F1 measure on CULane and higher performance under night and dazzle-light conditions.
  • 2) CULane:: Local occlusions or unclear traffic lines can negatively influence PINet, with slightly lower performance reported for crowded, arrow, and curve categories.
  • C. Ablation Study: Knowledge distillation lowers the average performance gap between clipped short networks and the 4H teacher network.

V. CONCLUSION

PINet combines point estimation with point instance segmentation for lane detection, while supporting real-time use and adaptation to target-system computing power. It achieves high performance with fewer false positives, though local occlusions and unclear traffic lines remain limitations.

  • PINet combines point estimation and point instance segmentation for lane detection.The method is designed for real-time operation.
  • PINet can be clipped according to target-system computing power and used without additional training.This enables deployment of a shorter network directly after clipping.
  • PINet achieves high performance and a lower false-positive rate, supporting autonomous-driving safety.The paper links the lower false-positive rate to fewer wrongly predicted lanes.
  • PINet performs better in difficult lighting conditions but remains limited by local occlusions and unclear traffic lines.The conclusion specifically mentions night, shadow, and dazzling-light conditions.
  • Knowledge distillation improves the clipped short network, whose performance approaches that of the whole network.The reported comparison concerns the clipped short and whole networks.
Loading 2002.06604v4…