Cross-Modality Domain Adaptation for Freespace Detection: A Simple yet Effective Baseline

Yuanbin Wang, Leyan Zhu, Shaofei Huang, Tianrui Hui, Xiaojie Li, Fei Wang, Si Liu

Introduction

Freespace detection—the task of identifying drivable road surfaces at the pixel level—is a fundamental component of autonomous navigation systems. While deep learning models have achieved remarkable success in this area, their performance is heavily dependent on massive, manually annotated datasets. Pixel-perfect labeling for semantic segmentation is both time-consuming and expensive, creating a significant barrier to scaling these systems across diverse environments.

To circumvent the labeling bottleneck, researchers have turned to synthetic data generated by simulators like CARLA or Virtual KITTI. While these environments provide an infinite supply of labeled data, models trained on synthetic textures often fail when deployed in the real world due to the "domain gap." This paper addresses the challenge of Unsupervised Domain Adaptation for Freespace Detection (UDA-FD), proposing a framework that allows a model to learn from synthetic data and generalize effectively to real-world driving scenes without requiring any real-world labels.

The Problem: The Synthetic-to-Real Gap

The primary obstacle in UDA-FD is the discrepancy between the source (synthetic) and target (real) domains. Synthetic images often lack the complex lighting, varied asphalt textures, and environmental noise (such as shadows or debris) found in real-world footage. Standard domain adaptation techniques often attempt to align the entire feature distribution of the synthetic and real images. However, because backgrounds—such as buildings, trees, and sky—vary wildly and inconsistently between domains, this global alignment often introduces noise that degrades the model's ability to identify the road.

Proposed Methodology

The authors introduce a "simple yet effective" baseline characterized by two primary innovations designed to stabilize and refine the adaptation process.

1. Collaborative Cross Guidance (CCG) Module

Rather than relying solely on RGB images, the proposed framework incorporates Surface Normal (SN) maps derived from depth data. The rationale is that while the visual appearance (color and texture) of a road changes significantly between a simulator and the real world, the underlying geometry remains consistent: a road is almost always a flat plane.

The CCG module facilitates a bidirectional exchange of information between the RGB and SN modalities. RGB data is excellent at distinguishing textures (e.g., road vs. grass) but can be confused by shadows. Conversely, SN maps capture 3D geometry effectively, distinguishing a flat road from a raised sidewalk, but may struggle with flat non-road surfaces. By allowing these modalities to "guide" one another, the model learns a more robust representation of what constitutes a drivable area.

2. Selective Feature Alignment (SFA) Module

To address the noise introduced by varying backgrounds, the Selective Feature Alignment (SFA) module shifts the focus of adversarial training. Instead of attempting to align the features of the entire image, SFA uses the model’s own initial predictions to mask out the background. By focusing the alignment process strictly on the foreground (the road), the model bridges the domain gap where it matters most. This targeted approach ensures that the features being aligned are those that are consistent across both synthetic and real environments.

Iterative Self-Training

The framework is refined through a three-round iterative self-training scheme. In each round, the model generates "pseudo-labels" for the real-world target data. These labels are then used to fine-tune the model, gradually improving its accuracy as it becomes more familiar with the specific characteristics of the real-world domain.

Experimental Setup and Results

The authors evaluated their framework by adapting models from three synthetic source domains—Ready-to-Drive (R2D), SYNTHIA-SF, and Virtual KITTI—to the real-world KITTI-Road benchmark.

Performance Metrics

The results demonstrate that the proposed method significantly narrows the performance gap between unsupervised and supervised learning:

  • High Accuracy: On the KITTI-Road dataset, the framework achieved a 93.08% F1 score. This is remarkably close to the performance of fully supervised models, which typically score around 97.50%.
  • Superiority over Baselines: The method consistently outperformed general UDA semantic segmentation models like AdaptSeg and ADVENT. In specific tests, the inclusion of the CCG and SFA modules boosted the Intersection over Union (IoU) by more than 20% compared to standard RGB-only adaptation methods.
  • Ablation Insights: Ablation studies confirmed that both the cross-modality guidance and the selective alignment are critical; removing either component resulted in a significant drop in detection accuracy.

Key Insights

  • Geometry as an Anchor: The study highlights that geometric features (like surface normals) are more domain-invariant than visual features. Using geometry provides a stable anchor that prevents the model from being misled by visual discrepancies.
  • Complementary Modalities: The fusion of RGB and SN maps creates a "checks and balances" system where the strengths of one modality compensate for the weaknesses of the other.
  • Alignment Precision: The success of the SFA module suggests that in domain adaptation, "less is more." By ignoring irrelevant background noise and focusing on the task-specific foreground, the adaptation process becomes more stable.

Conclusion and Future Work

This paper presents a robust baseline for unsupervised freespace detection that effectively leverages synthetic data. By combining geometric consistency with selective feature alignment, the authors achieve state-of-the-art results for UDA-FD.

While the current method requires depth information (limiting its use to stereo or LiDAR-equipped vehicles), future work could involve integrating monocular depth estimation to broaden its applicability. Additionally, extending the framework to handle extreme weather conditions and night-time driving remains a promising avenue for ensuring the safety and reliability of autonomous vehicles in all environments.

Summary updated

BibTeX
@inproceedings{wang2022cross,
  author = {Yuanbin Wang and Leyan Zhu and Shaofei Huang and Tianrui Hui and Xiaojie Li and Fei Wang and Si Liu},
  title = {{Cross-Modality Domain Adaptation for Freespace Detection: A Simple yet Effective Baseline}},
  booktitle = {ACM Multimedia},
  year = {2022},
  url = {https://openreview.net/forum?id=vIgTPO7TGO0},
}
Figure