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

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

Introduction

Monocular 3D object detection—identifying the position and size of objects in 3D space using only a single 2D camera—is a critical challenge for low-cost autonomous driving and robotics. However, most existing models are "fair-weather friends": they perform well in clear conditions but fail significantly in fog, rain, or low light. Fog is particularly challenging because it scatters and absorbs light, washing out the visual cues like texture and edges that monocular systems rely on for depth estimation. MonoWAD addresses this critical gap by introducing a mechanism to adapt feature representations when visibility drops, preventing the performance "cliff" seen in standard detectors.

Methodology

MonoWAD consists of two primary novel components integrated into a standard detection pipeline: the Weather Codebook and a Weather-Adaptive Diffusion Model.

Overview of the MonoWAD inference pipeline, illustrating the interaction between the Weather Codebook and the Weather-Adaptive Diffusion Model.

Weather Codebook & Clear Knowledge Recalling (CKR)

The model maintains a "memory" of clear weather features. During training, it uses paired clear and foggy images. A codebook—a set of learnable feature vectors—stores prototypical "clear" features. Through a Weather-Invariant Guiding (WIG) loss, the model ensures that even if the input is foggy, the codebook generates a "weather-reference feature" that approximates the clear version of that scene.

Weather-Adaptive Diffusion Model

Inspired by generative AI, the authors treat the difference between clear and foggy features as "noise." * Forward Process: The model learns how fog degrades a clear feature. * Reverse Process: Using the weather-reference feature from the codebook as a guide, the diffusion model iteratively "denoises" (enhances) the input features. * Weather-Adaptive Enhancement (WAE) Loss: This loss trains the model to estimate the specific "fog variant" in the current scene, allowing it to dynamically decide the level of enhancement needed. If the scene is clear, minimal changes are applied; in thick fog, heavy enhancement is triggered.

Datasets and Evaluation

The model was evaluated across several key benchmarks:

  • KITTI & Foggy KITTI: The authors generated Foggy KITTI by using depth maps to simulate realistic fog on original KITTI images, creating the paired data necessary for diffusion training.
  • Virtual KITTI: A synthetic dataset used to test generalization to other conditions like rain and sunset.
  • Seeing Through Fog: A real-world dataset used for qualitative validation in actual adverse conditions.

Key Results and Insights

MonoWAD achieves substantial quantitative improvements, particularly in challenging scenarios. On Foggy KITTI ($AP_{3D}$ Easy), MonoWAD achieved 27.17%, nearly doubling the performance of the previous state-of-the-art, MonoDTR (16.89%). Unlike many robust models that trade off clear-weather accuracy, MonoWAD improved slightly on clear data, reaching 29.10% $AP_{3D}$ (Easy).

Key insights include:

  • Fog as Structured Noise: By using the mathematical difference between clear and foggy features as the noise distribution, the diffusion process is physically grounded.
  • Feature-Level Invariance: t-SNE visualizations demonstrate that MonoWAD’s features for both clear and foggy conditions overlap almost perfectly, achieving true weather invariance.

Limitations and Future Work

Despite its performance, MonoWAD faces challenges regarding computational latency. Due to the iterative nature of diffusion models, MonoWAD takes approximately 144ms per image (at $T=15$ steps), compared to 38ms for the baseline MonoDETR. Additionally, the current dependency on paired clear/foggy data for training suggests that moving toward unpaired training is a promising future direction for scaling to diverse real-world 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