Exploiting Low-Level Representations for Ultra-Fast Road Segmentation

Huan Zhou, Feng Xue, Yucong Li, Shi Gong, Yiqun Li, Yu Zhou

TL;DR

This paper introduces LFD-RoadSeg, a novel lightweight network for ultra-fast road segmentation on embedded systems. By leveraging low-level features and a novel bilateral structure with asymmetric downsampling and selective fusion, it achieves state-of-the-art speed while maintaining high accuracy, making real-time road segmentation more practical for autonomous driving.

What Problem Does This Paper Address?

Real-time road segmentation is crucial for autonomous driving and robotics, but achieving both high accuracy and low latency on resource-constrained embedded platforms remains a significant challenge. Existing lightweight networks often focus on complex high-level semantic features, overlooking the "stuff" nature of roads (environmental elements rather than distinct objects). This leads to models that are computationally expensive and may not be optimal for the specific characteristics of road segmentation. The paper aims to bridge this gap by proposing a method that prioritizes low-level features for efficiency without sacrificing accuracy.

Methods

The core of LFD-RoadSeg is its bilateral structure, comprising two main branches:

  • Spatial Detail Branch: This branch uses the initial stages of a lightweight backbone (like ResNet-18) to extract low-level spatial features. The key insight here is that these early layers are surprisingly sufficient to capture most road pixels, offering high resolution and low computational cost.
  • Context Semantic Branch: To mitigate the false positives that arise from texture-less regions in the low-level features, this branch extracts contextual information. It employs two novel techniques for speed:
  • Asymmetric Downsampling: The input image is downsampled by a factor of 4 horizontally and 2 vertically. This creates a larger horizontal receptive field, crucial for capturing context across wider road scenes, while reducing computational load.
  • Lightweight Aggregation Module: This module, designed to mimic the receptive field of later stages of a standard backbone (like ResNet-18's 3rd stage) but with significantly fewer parameters and computations, efficiently aggregates context.
  • Selective Fusion Module: This module intelligently fuses the features from both branches. It uses a pixel-wise spatial attention mechanism, guided by the context features, to suppress non-road responses in the low-level spatial features, thereby enhancing road segmentation accuracy.

The paper also introduces a loss function that incorporates hard negative sample mining (similar to OHEM) to focus training on difficult-to-segment pixels, further improving robustness.

Datasets

The proposed LFD-RoadSeg is evaluated on three standard datasets:

  • KITTI-Road: A widely used real-world road segmentation dataset.
  • Cityscapes: A dataset for urban scene understanding, used here by treating road as a single category.
  • CamVid: Another dataset for driving scenarios, also adapted for binary road segmentation.

The authors use standard evaluation metrics for these datasets, including MaxF1 (MaxF), Average Precision (AP), Precision (PRE), and Recall (REC).

Key Insights and Ideas

  • Roads as "Stuff": The paper highlights that roads are "stuff" (background elements) rather than "things" (objects). This fundamental difference means low-level features (texture, edges) are more critical for road segmentation than high-level semantic understanding, a point often overlooked.
  • Early Layers Suffice: Surprisingly, the initial layers of common backbone networks (e.g., ResNet-18's first stage) are highly effective at capturing road pixels, offering a significant speed advantage.
  • Context for Correction: While low-level features are good for detection, they struggle with texture-less areas. A lightweight context branch is essential to correct these false positives.
  • Asymmetric Downsampling for Efficiency: Strategically downsampling the input image (more horizontally than vertically) is a key enabler for fast context extraction while maintaining a useful receptive field.
  • Selective Fusion for Precision: A simple yet effective attention-based fusion mechanism can significantly improve precision by suppressing irrelevant low-level responses.

Key Results

LFD-RoadSeg demonstrates impressive performance:

  • Speed: Achieves 238 FPS on a single TITAN Xp GPU and 54 FPS on a Jetson TX2, significantly faster than previous state-of-the-art methods.
  • Accuracy: On KITTI-Road, it achieves a MaxF of 95.21% and an AP of 93.71%. It also performs competitively on Cityscapes and CamVid.
  • Efficiency: The model is remarkably compact, with only 936k parameters, making it ideal for embedded deployment. It also boasts significantly reduced MACs (Multiply-Accumulate operations) compared to prior methods.
  • Qualitative Improvements: Visual results show a reduction in false positives and false negatives compared to other real-time methods.

Limitations and Future Work

The authors acknowledge that LFD-RoadSeg performs best under typical road conditions and may face challenges in extreme weather (rain, snow, fog). They also note that generalizing to scenes vastly different from the training set (e.g., off-road) might be difficult due to its reliance on low-level features. Future work will focus on enhancing robustness to adverse conditions and improving generalization through techniques like multi-dataset training, data augmentation, and transfer learning.

Summary updated

Abstract

Achieving real-time and accuracy on embedded platforms has always been the pursuit of road segmentation methods. To this end, they have proposed many lightweight networks. However, they ignore the fact that roads are "stuff" (background or environmental elements) rather than "things" (specific identifiable objects), which inspires us to explore the feasibility of representing roads with low-level instead of high-level features. Surprisingly, we find that the primary stage of mainstream network models is sufficient to represent most pixels of the road for segmentation. Motivated by this, we propose a Low-level Feature Dominated Road Segmentation network (LFD-RoadSeg). Specifically, LFD-RoadSeg employs a bilateral structure. The spatial detail branch is firstly designed to extract low-level feature representation for the road by the first stage of ResNet-18. To suppress texture-less regions mistaken as the road in the low-level feature, the context semantic branch is then designed to extract the context feature in a fast manner. To this end, in the second branch, we asymmetrically downsample the input image and design an aggregation module to achieve comparable receptive fields to the third stage of ResNet-18 but with less time consumption. Finally, to segment the road from the low-level feature, a selective fusion module is proposed to calculate pixel-wise attention between the low-level representation and context feature, and suppress the non-road low-level response by this attention. On KITTI-Road, LFD-RoadSeg achieves a maximum F1-measure (MaxF) of 95.21% and an average precision of 93.71%, while reaching 238 FPS on a single TITAN Xp and 54 FPS on a Jetson TX2, all with a compact model size of just 936k parameters. The source code is available at https://github.com/zhouhuan-hust/LFD-RoadSeg.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
KITTI-Road inference on a single TITAN XpLFD-RoadSegInference speed238 FPSresolution=375x1240
Source quote
L23: \xf{On KITTI-Road, LFD-RoadSeg achieves a maximum F1-measure (MaxF) of 95.21% and an average precision of 93.71%, while reaching 238 FPS on a single TITAN Xp and 54 FPS on a Jetson TX2, all with a compact model size of just 936k parameters.}
CityscapesLFD-RoadSegMaxF96.01%Road label set to 1 and other categories to 0; evaluated in image space; context-branch…
Source quote
L556: LFD-RoadSeg │ 96.01 │ 94.28 │ 97.80 │ 96.68
CamVidLFD-RoadSegMaxF97.02%Road label set to 1 and other categories to 0; evaluated in image space; context-branch…
Source quote
L583: LFD-RoadSeg │ 97.02 │ 96.80 │ 97.25 │ 95.70
BibTeX
@article{zhou2024exploiting,
  author = {Huan Zhou and Feng Xue and Yucong Li and Shi Gong and Yiqun Li and Yu Zhou},
  title = {{Exploiting Low-Level Representations for Ultra-Fast Road Segmentation}},
  journal = {IEEE Trans. Intell. Transp. Syst.},
  year = {2024},
  doi = {10.1109/tits.2024.3359242},
}
Figure