Unsupervised Cumulative Domain Adaptation for Foggy Scene Optical Flow

Hanyu Zhou, Yi Chang, Wending Yan, Luxin Yan

Introduction

Optical flow estimation—the task of tracking the movement of every pixel between consecutive video frames—is a cornerstone of autonomous navigation and robotic vision. While modern deep learning models achieve high accuracy in clear weather, their performance degrades significantly in adverse conditions like fog. Fog violates the fundamental "brightness constancy" assumption that most optical flow algorithms rely on, as it reduces contrast, introduces noise, and creates a distance-dependent "veiling effect."

To address this, researchers from the Huazhong University of Science and Technology and Huawei have introduced UCDA-Flow, an unsupervised framework designed to bridge the gap between clean synthetic data and the unpredictable nature of real-world foggy environments.

The Challenge: The Synthetic-to-Real Gap

Existing solutions typically employ "Domain Adaptation," training models on clean images and then adapting them to synthetic foggy images. However, a massive "style gap" exists between mathematically generated fog and the non-uniform, messy fog found in reality. Models trained solely on synthetic fog often fail when deployed on real roads. UCDA-Flow addresses this by treating domain adaptation as a cumulative process rather than a single leap.

Methodology: Cumulative Domain Adaptation

The core innovation of UCDA-Flow is its two-stage Unsupervised Cumulative Domain Adaptation strategy. Instead of attempting to learn real-world foggy motion directly from clean data, the framework uses synthetic fog as an intermediate "stepping stone."

1. DAMA: Depth-Association Motion Adaptation

This first stage bridges the gap from Clean to Synthetic Fog. Recognizing that fog density is physically tied to depth (objects further away appear foggier), the authors utilize a 2D-3D geometry projection. By linking depth estimation with motion estimation, the model learns that motion becomes progressively harder to track as depth increases, ensuring the network respects the physical geometry of the scene.

2. CAMA: Correlation-Alignment Motion Adaptation

The second stage bridges the gap from Synthetic Fog to Real Fog. While the visual "style" of synthetic and real fog differs, the authors discovered that the cost volume correlation—a mathematical measure of how well pixels in one frame match pixels in the next—shares a similar distribution across both domains. By aligning these distributions using Kullback-Leibler (KL) divergence, the model learns to extract "fog-proof" motion features that are invariant to visual noise.

Training Strategy

The system employs a "Teacher-Student" strategy using Exponential Moving Average (EMA). Knowledge gained in the synthetic domain is used to generate pseudo-labels for real-world training, allowing the model to improve without requiring any human-labeled ground truth.

Experimental Results

The researchers evaluated UCDA-Flow against several established and custom datasets, including Fog-KITTI2015, Fog-GOF (real-world scenes with gyroscope data), and a new benchmark called "Real-Fog World" curated from real-world driving footage.

Quantitative Performance

UCDA-Flow demonstrated state-of-the-art performance across multiple benchmarks:

  • Synthetic Accuracy: On the Dense Fog-KITTI benchmark, UCDA-Flow achieved an Average Endpoint Error (EPE) of 6.29, nearly doubling the accuracy of the previous leading unsupervised model, SMURF (EPE 11.56).
  • Real-World Robustness: On the Fog-GOF dataset, it achieved an EPE of 0.81, outperforming GyroFlow (0.95), despite GyroFlow having access to hardware-assisted gyroscope data.

Qualitative Insights

Visual analysis confirms that while competing models often produce blurry or noisy motion maps in dense fog, UCDA-Flow maintains crisp edges around moving vehicles and pedestrians. This is largely attributed to the model's ability to leverage depth as a geometric constraint and correlation as a statistical invariant.

Limitations and Future Outlook

Despite its success, the model faces challenges at extreme distances. Because UCDA-Flow relies on stereo-based depth estimation to guide motion learning, the inherent unreliability of stereo depth at long ranges can cause the model to struggle with small, distant objects.

Future research may involve integrating Lidar data to provide more accurate long-range depth constraints. This could further harden the model against "white-out" conditions, pushing the boundaries of what autonomous systems can perceive in the world's most challenging environments.

Summary updated

BibTeX
@inproceedings{zhou2023unsupervised,
  author = {Hanyu Zhou and Yi Chang and Wending Yan and Luxin Yan},
  title = {{Unsupervised Cumulative Domain Adaptation for Foggy Scene Optical Flow}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
}
Figure