Self-Supervised Flow Estimation using Geometric Regularization with Applications to Camera Image and Grid Map Sequences

Sascha Wirges, Johannes Gräter, Qiuhao Zhang, Christoph Stiller

Abstract

Estimating flow—the motion of pixels or 3D points—is fundamental for autonomous driving tasks such as obstacle tracking and odometry. However, supervised learning for flow estimation requires vast amounts of labeled data, which is costly to obtain. This paper introduces a self-supervised framework that utilizes geometric regularization to learn flow from camera images and LiDAR-based grid maps. By assuming a mostly static environment and learning to mask dynamic objects, the model effectively separates ego-motion from independent object motion. Evaluations on the KITTI benchmark demonstrate significant improvements in odometry accuracy and object tracking.

Introduction

Flow estimation is critical for understanding the dynamic environment surrounding an autonomous vehicle. While deep learning has advanced this field, the reliance on labeled datasets remains a bottleneck. Self-supervised methods offer a solution by using "warping" techniques to match consecutive frames. However, these methods often struggle with textureless regions and the ambiguity between a moving observer in a static world versus moving objects.

This work addresses these challenges by incorporating geometric constraints into the training process. Specifically, it introduces a "static world" assumption as a prior, allowing the network to learn ego-motion and identify dynamic outliers through learned masking.

Methods

The proposed architecture builds upon the Unflow framework, extending it with novel geometric regularizers. The core idea is to force the network to explain as much of the scene as possible using a rigid-body motion model (ego-motion).

Geometric Regularization

  1. Motion Consistency Regularization: The model estimates the vehicle's rotation and translation to calculate a "static flow" field. Deviations from this field are penalized unless identified as dynamic.
  2. Learned Motion Masking: A dedicated network branch estimates a motion mask ($\hat{m}_{motion}$). This mask identifies regions where the static-world assumption is violated (e.g., moving cars or pedestrians), allowing the loss function to ignore these areas during ego-motion optimization.
  3. Spatial Consistency: A spatial mask, derived from the motion mask, scales smoothness constraints to ensure flow is consistent within objects while allowing sharp transitions at boundaries.
Overview of the self-supervised flow estimation architecture with motion and spatial masking.

The framework is versatile, applying the same logic to Monocular Camera Images (2D optical flow) and Top-View Grid Maps derived from LiDAR (3D scene flow). By treating grid maps as multi-layer images, the authors utilize standard CNN architectures like FlowNetC for both modalities.

Results

The framework was evaluated using the Cityscapes dataset for pre-training and the KITTI benchmark for fine-tuning and evaluation of odometry and tracking.

Performance Gains

The inclusion of motion and spatial consistency led to substantial improvements:

  • Odometry: On the KITTI Odometry benchmark, the average rotation error (ARE) was reduced by over 30%, dropping from $50.5 \times 10^{-3}$ to $33.7 \times 10^{-3}$ deg/m.
  • Object Tracking: Tracking performance, measured via Intersection-over-Union (IoU), improved from 84.88% to 87.80%, validating the effectiveness of the motion masks in isolating dynamic objects.
Comparison of estimated trajectories (odometry) against ground truth on the KITTI benchmark.

Efficiency

By optimizing the network's receptive field to match the expected motion range in the KITTI dataset, the authors achieved a 35% reduction in inference time with negligible impact on accuracy, making the model more suitable for real-time applications.

Conclusion

This research demonstrates that geometric priors can effectively substitute for human labels in flow estimation tasks. By leveraging the "static world" assumption, the model naturally learns to distinguish between ego-motion and dynamic obstacles. While monocular setups still face scale ambiguity and LiDAR sparsity requires techniques like Gaussian blurring, the results show a clear path toward unified, context-aware scene flow estimators that combine motion estimation with semantic understanding.

Summary updated

BibTeX
@inproceedings{wirges2019self,
  author = {Sascha Wirges and Johannes Gräter and Qiuhao Zhang and Christoph Stiller},
  title = {{Self-Supervised Flow Estimation using Geometric Regularization with Applications to Camera Image and Grid Map Sequences}},
  booktitle = {ITSC},
  year = {2019},
  doi = {10.1109/itsc.2019.8916989},
}
Figure