Exploring the Common Appearance-Boundary Adaptation for Nighttime Optical Flow

Hanyu Zhou, Yi Chang, Haoyue Liu, Yan Wending, Yuxing Duan, Zhiwei Shi, Luxin Yan

Estimating pixel-level motion, or optical flow, is a fundamental task in computer vision. However, standard algorithms often fail in nighttime conditions due to weakened textures and amplified noise, which violate the core assumptions of brightness and gradient constancy. This paper introduces ABDA-Flow, a framework presented at ICLR 2024 that addresses these challenges by leveraging common-latent spaces to bridge the domain gap between daytime and nighttime data.

The Challenge of Nighttime Optical Flow

Traditional Domain Adaptation (DA) techniques attempt to map daytime features directly onto nighttime features. However, the authors argue that this direct mapping is ineffective because the domain gap is too large; the heterogeneity between clean daytime data and noisy nighttime scenes leads to significant feature misalignment.

Conceptual comparison of adaptation strategies (a-c) and qualitative flow results (d).

As shown in the figure above, standard visual or motion adaptation strategies often struggle to align these disparate domains. ABDA-Flow instead proposes a "Common Adaptation" approach, finding middle-ground spaces where different domains exhibit similar characteristics.

Methodology: Dual Common-Latent Spaces

ABDA-Flow utilizes two primary adaptation bridges to transfer robust motion knowledge from auxiliary domains to the nighttime domain.

1. Appearance Adaptation (Global Bridge)

Using Retinex Theory, the framework decomposes images into illumination and reflectance. While illumination varies wildly between day and night, reflectance—representing the physical properties of objects—remains consistent. By aligning the cost volumes of daytime and nighttime reflectance maps, the model learns global motion patterns that are invariant to lighting conditions.

2. Boundary Adaptation (Local Bridge)

To handle sharp motion edges, the framework incorporates Event Cameras. These sensors capture per-pixel brightness changes with high dynamic range, making them highly sensitive to motion boundaries even in near-total darkness. The authors derive a theoretical link between nighttime image gradients and accumulated events within a spatiotemporal gradient-aligned common space.

The ABDA-Flow architecture detailing the Common Latent Reflectance Space and Common Latent Boundary Space.

Optimization and Training

The model is optimized using a multi-faceted loss function that includes photometric consistency, adversarial alignment for reflectance, and a contrastive loss for motion boundaries. This contrastive approach pulls "normal" motion features together while pushing away "abnormal" features caused by nighttime degradation. Notably, while the model requires daytime images and event data during training, it performs inference using only standard nighttime frames.

Key Results and Performance

ABDA-Flow sets a new state-of-the-art (SOTA) for nighttime optical flow across several benchmarks:

  • Synthetic Accuracy: On Dark-KITTI2015, ABDA-Flow achieved an Average End-Point Error (EPE) of 3.47, a significant improvement over the previous SOTA of 7.56 (DarkFlow-PWC).
  • Real-World Performance: On the Dark-DSEC dataset, it reached an EPE of 0.74, outperforming established models like GMA (1.48) and SMURF (2.13).
  • Qualitative Sharpness: Visual evaluations demonstrate that ABDA-Flow maintains sharp silhouettes and clean motion boundaries, avoiding the "bleeding" effects common in other low-light flow estimators.

Conclusion

By shifting from direct domain mapping to a common-latent space paradigm, ABDA-Flow successfully mitigates the impact of noise and low illumination. The integration of reflectance for global appearance and event data for local boundaries provides a robust solution for nighttime motion estimation. Future work may extend this common-space approach to other adverse conditions like heavy rain or fog using additional auxiliary sensors.

Summary updated

BibTeX
@inproceedings{zhou2024exploring,
  author = {Hanyu Zhou and Yi Chang and Haoyue Liu and YAN WENDING and Yuxing Duan and Zhiwei Shi and Luxin Yan},
  title = {{Exploring the Common Appearance-Boundary Adaptation for Nighttime Optical Flow}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=776lhoaulC},
}
Figure