Real-Time Environment Condition Classification for Autonomous Vehicles

Marco Introvigne, Andrea Ramazzina, Stefanie Walz, Dominik Scheuble, Mario BijelicarXiv 2024

This paper presents RECNet (Realtime Environment Condition Network), a lightweight deep learning framework designed to help autonomous vehicles (AVs) understand their surroundings in real-time. By refining how we categorize weather and road states and using a clever semi-automated labeling process, the authors achieved a significant performance boost over existing models while maintaining the speed necessary for deployment on actual vehicles.

TL;DR

RECNet is a unified deep learning model that classifies complex environmental conditions—like precipitation intensity and road slipperiness—from a single RGB frame at 20 frames per second. By introducing the DENSE++ dataset with a refined label hierarchy, the researchers achieved 92% accuracy, outperforming baselines by a relative 16% in F1-score.

What Problem Does This Paper Address?

Current autonomous driving systems are often restricted to "geo-fenced" areas where conditions are predictable. To move beyond these limits, a vehicle must be able to assess its environment autonomously and in real-time. If it's too foggy, rainy, or the road is too icy for the sensors to work reliably, the system needs to know immediately so it can either stop safely or hand control back to a human driver.

Existing solutions often struggle because:

  1. Coarse Labeling: Many datasets just label a scene as "snowy," ignoring that a road might be clear while the sidewalk is still covered in deep snow.
  2. Mutually Exclusive Categories: Older models often treat "fog" and "rain" as mutually exclusive, even though they frequently occur together.
  3. Intensity Estimation: It is notoriously difficult for human annotators to look at a single photo and accurately judge the intensity of rain or snow.

Methods

The authors tackled these issues through three main innovations:

  1. A Refined Taxonomy: They developed a hierarchical labeling system that allows for overlapping conditions (e.g., Fog + Rain) and separates road conditions from sidewalk conditions. The new label hierarchy allows for more granular and overlapping environmental descriptions.

  2. Semi-Automated Labeling Pipeline: To solve the intensity estimation problem, they turned to LiDAR. While rain and snow are "noise" for most AV tasks, the authors used this noise to their advantage. By counting "clutter points" in LiDAR data (points that don't belong to solid objects), they could objectively classify precipitation as "light" or "heavy." LiDAR clutter points are used to objectively measure precipitation intensity.

  3. RECNet Architecture: The model uses an EfficientNet-B2 backbone to extract a general feature map from a single RGB image. This map is then fed into six specialized "heads" (fully connected blocks) that simultaneously predict Daytime, Fog, Road Condition, Precipitation, Roadside Condition, and Infrastructure type.

Fig. 4: Environment classification hierarchy. The newly introduced label hierarchy allows to assign multiple weather conditions to a single frame, introduces a classification of the precipitation intensity, and differentiates between road and sidewalk.
Fig. 3: Precipitation Intensity Annotation. Lidar points without a sufficient number of neighborhood points are classified as stemming from precipitation, as visualized for a heavy snow scene (right). Upper and lower row show point clouds without and with clutter points removed.

Datasets

The study introduces DENSE++, an extension of the existing DENSE dataset. It consists of 12,997 keyframes captured over 10,000 km of driving in Northern Europe. The authors re-annotated the entire dataset using their new hierarchy and LiDAR-based intensity estimation. They compared their results against standard backbones like ResNet-50 and Vision Transformers (ViT).

Key Insights and Ideas

  • LiDAR as a Ground Truth for Vision: Using LiDAR's inherent sensitivity to particles to train a vision-only model is a powerful way to get "objective" labels for subjective visual tasks like rain intensity.
  • Granularity Matters: The authors found that separating road and sidewalk conditions significantly improved accuracy. A model that expects the whole scene to be "snowy" gets confused when it sees a plowed road next to a white sidewalk; RECNet handles this distinction easily.
  • Unified Backbones for Efficiency: Instead of running six different models, RECNet uses one shared backbone. This "multi-task" approach is not only faster but often helps the model learn better features by looking at the relationships between different categories.

Key Results

  • Accuracy: RECNet reached 92% overall accuracy and a 0.92 F1-score.
  • Speed: The model runs at 20 Hz (49ms prediction time) on a single GPU, making it truly real-time capable.
  • Category Performance: The model was exceptionally good at "Daytime" classification (99%) and "Fog" (93%), while "Road Condition" (84%) proved the most challenging due to subtle visual differences between "wet" and "partial snow."
  • Ablation Boost: Moving from the original DENSE labels to the refined DENSE++ hierarchy provided a 2% absolute boost in accuracy, while the semi-automated labeling pipeline improved the F1-score from 80% to 90%.

Limitations and Future Work

While RECNet is highly effective, the authors note that relying solely on a single RGB frame has limits. Discerning the difference between a wet road and one with a thin layer of "partial snow" is visually difficult.

Future directions include: * Temporal Data: Using video sequences instead of single frames to better capture the movement of rain and snow. * Multi-modal Fusion: Integrating LiDAR and Radar data directly into the inference model (rather than just using it for labeling) to improve robustness in extreme conditions where cameras might fail entirely.

Summary updated

BibTeX
@misc{introvigne2024real,
  author = {Marco Introvigne and Andrea Ramazzina and Stefanie Walz and Dominik Scheuble and Mario Bijelic},
  title = {{Real-Time Environment Condition Classification for Autonomous Vehicles}},
  year = {2024},
  eprint = {2405.19305},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.19305},
}
Figure