Cascaded Scene Flow Prediction Using Semantic Segmentation

Zhile Ren, Deqing Sun, Jan Kautz, Erik B. Sudderth

Introduction

Estimating "scene flow"—the dense 3D position and motion of every pixel in a scene—is a fundamental challenge for autonomous driving. While significant progress has been made in stereo depth estimation and 2D optical flow independently, integrating these components into a coherent 3D motion model remains difficult. Traditional methods often rely on superpixels to regularize the underlying mathematics, but these approaches frequently struggle with moving vehicles. Cars, which are often shiny, have transparent windshields, or lack texture, violate standard computer vision assumptions. Furthermore, superpixel-based methods often fragment a single vehicle into multiple pieces that move inconsistently.

This paper introduces a cascaded classification framework that leverages semantic segmentation to treat scene flow as a multi-stage refinement process. By assuming that foreground objects, such as cars, move as single rigid bodies, the model iteratively refines segmentation masks, stereo depth, and optical flow to achieve state-of-the-art results.

The Cascaded Framework

The proposed model operates as a sequence of Conditional Random Fields (CRFs) that communicate through a multi-stage refinement process. Instead of a single, monolithic calculation, the system follows a specific cascade: Segmentation (S) → Disparity (D) → Flow (F) → Motion (M).

The cascaded pipeline iteratively refines geometry and flow by cycling through segmentation, geometry, motion, and flow estimation stages.

In this cycle, the model first identifies individual car instances. It then refines the 3D geometry (disparity) and 2D motion (optical flow). Finally, it estimates the 3D rigid motion of the object. A key innovation is the feedback loop: refined motion estimates are fed back into the segmentation step for the next iteration. This allows the model to correct initial errors; for instance, if a flow estimate was inaccurate because an initial mask was too small, the subsequent iteration can expand the mask to encompass the entire vehicle.

Semantic Refinement and Rigidity

A core insight of this work is that semantics should drive geometry. Standard stereo algorithms often fail on windshields due to transparency or reflections. However, by identifying a pixel as belonging to a "car," the model can enforce smoothness and rigid motion constraints that "fill in" gaps where visual data is noisy or missing.

To handle uncertainty at object boundaries, the authors use a "signed distance feature" (ϕ_dist). This allows the CRF to be skeptical of initial mask edges and refine them based on geometric and motion cues.

Comparison of segmentation results. The inclusion of the signed distance feature (ϕ_dist) in the CRF allows for a more accurate object boundary compared to the version excluding it.

By treating each vehicle as a 6-degree-of-freedom rigid body, the model applies a powerful regularizer. This prevents the "jittery" or inconsistent motion often seen in pixel-wise or superpixel-based methods, ensuring the entire car moves as a single unit against a static background.

Evaluation and Results

The framework was evaluated on the KITTI 2015 Scene Flow benchmark, a standard and highly challenging dataset for autonomous driving. The dataset provides ground truth for stereo, optical flow, and 3D scene flow in complex, real-world driving scenarios.

Key Performance Metrics

  • Accuracy: The proposed method, SSF-P (Semantic Scene Flow - PRSF initialized), achieved a total scene flow error (SF-all) of 10.07% on the KITTI test set. This represents a significant improvement over the baseline PRSF method, which had an error rate of 16.44%.
  • Foreground Performance: The most dramatic improvements were observed on foreground objects (moving cars), where semantic constraints effectively resolved ambiguities that non-semantic methods could not.
  • Efficiency: Despite the iterative nature of the cascade, the implementation is remarkably efficient. SSF-P processes a frame in approximately 5 minutes, which is 10x faster than the competing OSF method (50 minutes) while delivering superior accuracy.

Conclusion

By integrating semantic instance segmentation into a cascaded scene flow framework, this research demonstrates that high-level object knowledge can significantly improve low-level geometric and motion estimation. The model successfully corrects depth errors in challenging regions like windshields and improves motion estimates for pixels moving out of the camera's field of view.

While the system currently depends on the quality of initial instance masks and assumes near-rigidity, it provides a robust foundation for future work. As semantic segmentation continues to advance through deeper learning architectures, this cascaded approach is expected to become even more accurate and applicable to a wider variety of dynamic objects in autonomous driving environments.

Summary updated

BibTeX
@inproceedings{ren2017cascaded,
  author = {Zhile Ren and Deqing Sun and Jan Kautz and Erik B. Sudderth},
  title = {{Cascaded Scene Flow Prediction Using Semantic Segmentation}},
  booktitle = {3DV},
  year = {2017},
  url = {https://openreview.net/forum?id=rqzky0rbLv0},
}
Figure