CaRaFFusion: Improving 2D Semantic Segmentation with Camera-Radar Point Cloud Fusion and Zero-Shot Image Inpainting

Huawei Sun, Bora Kunter Sahin, Georg Stettinger, Maximilian Bernhard, Matthias Schubert, Robert Wille · DOI

Abstract

Semantic segmentation is a cornerstone of autonomous navigation, yet its performance degrades significantly under adverse weather conditions such as heavy rain, fog, or lens distortion. While radar sensors offer a weather-resistant alternative, their data is often too sparse and noisy for high-fidelity segmentation. This paper introduces CaRaFFusion, a novel three-stage framework that bridges the gap between sparse radar geometry and dense visual semantics. By utilizing radar points as prompts for the Segment Anything Model (SAM) and employing Stable Diffusion for zero-shot image inpainting, CaRaFFusion effectively reconstructs obscured visual regions. Experimental results on the WaterScenes dataset demonstrate that this generative approach significantly outperforms traditional fusion methods, particularly in challenging environmental conditions.

Introduction

In the field of autonomous driving and robotics, semantic segmentation—the process of assigning a class label to every pixel—is essential for scene understanding. While modern camera-based models achieve remarkable accuracy in clear conditions, they are notoriously fragile. Environmental factors like fog or water droplets on a lens can obscure critical object boundaries, leading to catastrophic failures in safety-critical applications.

To mitigate these failures, researchers often turn to sensor fusion, combining cameras with radar. Unlike LiDAR, which can be attenuated by heavy rain or fog, radar is practically immune to weather. However, radar data is inherently sparse and prone to multi-path reflections (noise). Effectively leveraging this sparse 3D data to assist 2D image-plane segmentation remains a significant challenge. CaRaFFusion addresses this by asking: How can we use weather-proof radar geometry to mathematically "fill in the blanks" when a camera is blinded?

Methodology

CaRaFFusion employs a three-stage architecture designed to transition from raw sensor data to a refined, generative reconstruction of the scene.

Stage 1: Multi-Modal Feature Fusion

The process begins with simultaneous feature extraction. A Segformer backbone extracts visual features from the RGB image, while a PointNet architecture processes the radar point cloud. These features are integrated using a cross-attention mechanism to produce an initial, coarse segmentation mask. In parallel, the radar points are classified into object categories to prepare them for the subsequent stage.

Stage 2: Pseudo-Mask Generation and Denoising

To recover objects missed by the camera, the framework utilizes the Segment Anything Model (SAM). Specifically, the classified radar points are projected onto the 2D image plane to serve as geometric "prompts" for MobileSAM.

However, radar is susceptible to false reflections, particularly from water surfaces. To prevent SAM from incorrectly segmenting background noise or water reflections, the authors introduce a Noise Reduction Unit (NRU). The NRU filters the SAM-generated masks based on semantic consistency, combining the cleaned results with the Stage 1 mask to create a high-fidelity pseudo-mask.

Stage 3: Generative Inpainting and Final Prediction

The most innovative aspect of CaRaFFusion is its use of generative AI as a bridge for sensor fusion. The refined pseudo-mask and relevant text prompts are fed into a zero-shot Stable Diffusion model. This model "inpaints" the original image, hallucinating the visual details that were obscured by weather based on the underlying radar geometry.

Finally, dual Segformer encoders process both the original corrupted image and the newly inpainted image. By concatenating these feature sets, the decoder produces a final, high-quality segmentation mask that benefits from both real-world sensor data and generative context.

Experimental Setup

The framework was evaluated using the WaterScenes dataset. Unlike many autonomous driving datasets (such as nuScenes) where radar data often lacks vertical information, WaterScenes provides high-precision 3D radar point clouds with height values. This vertical dimension is critical for accurately projecting radar points onto the 2D image plane to act as prompts for SAM.

The authors specifically focused on an adverse weather sub-testset, comprising images affected by fog, intense light exposure, heavy rain, and water-drop distortions, to test the robustness of the generative pipeline.

Results and Discussion

CaRaFFusion demonstrates a clear advantage over both single-modality and traditional fusion-based models:

  • Adverse Weather Robustness: On the weather-specific subset, CaRaFFusion achieved 78.10% mIoU, surpassing the camera-only baseline (75.47%) and the standard Stage 1 fusion model (76.62%).
  • State-of-the-Art Performance: On the full test set, the model reached 82.21% mIoU, significantly outperforming existing fusion models like Achelous (~74.10%).
  • Qualitative Impact: Visual inspections show that the model can successfully segment pedestrians and vessels even when they are entirely obscured by large water droplets on the lens—a scenario where traditional models typically fail.

Conclusion and Future Work

CaRaFFusion represents a significant step forward in using generative models for sensor fusion. By treating radar as a prompt for image reconstruction rather than just a secondary feature vector, the framework effectively bypasses the limitations of camera-based vision in bad weather.

Despite its success, challenges remain. The integration of Stable Diffusion introduces a significant computational bottleneck, preventing the current framework from operating in real-time. Additionally, the reliance on high-precision 3D radar limits the model's applicability to hardware suites that provide height data. Future research will focus on optimizing the inference speed of the diffusion component and improving noise reduction techniques to further refine the radar-to-mask pipeline.

Summary updated

BibTeX
@article{sun2025caraffusion,
  author = {Huawei Sun and Bora Kunter Sahin and Georg Stettinger and Maximilian Bernhard and Matthias Schubert and Robert Wille},
  title = {{CaRaFFusion: Improving 2D Semantic Segmentation with Camera-Radar Point Cloud Fusion and Zero-Shot Image Inpainting}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2025},
  doi = {10.1109/lra.2025.3572418},
}
Figure