MonoWAD: Weather-Adaptive Diffusion Model for Robust Monocular 3D Object Detection

Youngmin Oh, Hyung-Il Kim, Seong Tae Kim, Jung Uk Kim · DOI

Abstract

Monocular 3D object detection (M3D) is a critical component for cost-effective autonomous driving, yet its performance often collapses under adverse weather conditions. This paper introduces MonoWAD, a novel framework that leverages a Weather-Adaptive Diffusion Model and a Weather Codebook to enhance feature representations in challenging environments. By conceptualizing the difference between clear and foggy weather as a specific noise distribution, MonoWAD iteratively restores corrupted features. Experimental results demonstrate that MonoWAD achieves state-of-the-art robustness in fog, rain, and sunset conditions without compromising performance in clear weather.

Introduction

Monocular 3D object detection—the task of estimating the position, size, and orientation of objects from a single 2D image—is often considered the "holy grail" of autonomous sensing due to its low hardware cost. However, the lack of explicit depth information makes these models highly dependent on visual clarity. In adverse weather, particularly fog, light scattering and absorption blur object boundaries and obscure the geometric cues essential for depth estimation.

Most current M3D models are trained on datasets like KITTI, which predominantly feature clear-day conditions. Consequently, when these models encounter fog, their internal feature representations become corrupted, leading to catastrophic failures. MonoWAD addresses this by dynamically "cleaning" these features during inference, effectively allowing the detector to see a clear version of a foggy scene.

Methodology

MonoWAD employs a two-pronged architecture designed to stabilize feature representations across varying weather conditions: the Weather Codebook and the Weather-Adaptive Diffusion (WAD) model.

The Weather Codebook

The Weather Codebook acts as a memory bank of "clear weather" feature prototypes. During the training phase, the model learns to map both clear and degraded features to these optimized "clear" slots. At inference time, the codebook provides a weather-reference feature, which serves as a high-level hallucination of what the scene would look like under ideal visibility. This reference guides the subsequent restoration process.

Weather-Adaptive Diffusion Model (WAD)

While standard diffusion models typically use Gaussian noise, MonoWAD introduces a physically grounded approach by defining "noise" as the mathematical difference between foggy and clear feature distributions.

  • Forward Process: The model simulates weather degradation by incrementally adding "fog noise" to clear features, following the specific distribution of atmospheric interference.
  • Reverse Process: Using the weather-reference feature from the codebook as a guide, the model iteratively denoises the input features. Through a Cross-Attention mechanism, the diffusion model focuses its enhancement on the specific regions of the feature map most impacted by weather degradation.

This process ensures that the resulting feature representation is weather-invariant, allowing the downstream 3D detector to operate on consistent, high-quality data regardless of external conditions.

Experimental Setup

The authors evaluated MonoWAD using a comprehensive suite of synthetic and real-world datasets:

  • KITTI & Foggy KITTI: The standard clear-weather benchmark and a modified version where fog was mathematically applied based on depth maps generated by the DORN model.
  • Virtual KITTI: A synthetic dataset used to test generalization across rain and sunset scenarios.
  • Seeing Through Fog & DAWN: Real-world datasets containing diverse adverse weather conditions to validate the model's practical utility.

Results and Discussion

MonoWAD demonstrates a significant performance leap over existing state-of-the-art (SOTA) models in adverse conditions. On the Foggy KITTI benchmark (Easy category), MonoWAD achieved 27.17 $AP_{3D}$, nearly doubling the performance of the previous SOTA, MonoDTR (16.89 $AP_{3D}$).

Crucially, MonoWAD avoids the common pitfall where robustness comes at the cost of standard accuracy. In clear-weather KITTI tests, MonoWAD slightly outperformed MonoDETR (29.10 $AP_{3D}$ vs. 28.84 $AP_{3D}$), proving that the diffusion-based enhancement does not introduce artifacts in ideal conditions.

Visual analysis using t-SNE embeddings further confirms the model's efficacy. While standard models produce distinct, separated clusters for clear and foggy features, MonoWAD’s features for both conditions overlap almost perfectly. This indicates that the model successfully maps diverse weather inputs into a singular, weather-invariant latent space.

Limitations and Future Work

Despite its performance gains, MonoWAD faces challenges regarding computational efficiency. The iterative nature of the diffusion process results in a latency of 144ms per image (at 15 timesteps), compared to 38ms for non-diffusion models like MonoDETR. This currently limits its application in real-time edge computing environments.

Additionally, the training process requires paired clear and foggy data to define the fog distribution. Future research will focus on developing faster sampling methods to reduce latency and exploring "unpaired" training techniques to leverage a broader range of real-world, non-synchronized weather data.

Summary updated

BibTeX
@inproceedings{oh2024monowad,
  author = {Youngmin Oh and Hyung-Il Kim and Seong Tae Kim and Jung Uk Kim},
  title = {{MonoWAD: Weather-Adaptive Diffusion Model for Robust Monocular 3D Object Detection}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72684-2\_19},
}
Figure