Abstract
Recent work has shown that optical flow estimation can be formulated as a supervised learning task and can be successfully solved with convolutional networks. Training of the so-called FlowNet was enabled by a large synthetically generated dataset. The present paper extends the concept of optical flow estimation via convolutional networks to disparity and scene flow estimation. To this end, we propose three synthetic stereo video datasets with sufficient realism, variation, and size to successfully train large networks. Our datasets are the first large-scale datasets to enable training and evaluating scene flow methods. Besides the datasets, we present a convolutional network for real-time disparity estimation that provides state-of-the-art results. By combining a flow and disparity estimation network and training it jointly, we demonstrate the first scene flow estimation with a convolutional network.
Introduction: The Scene Flow Challenge
In computer vision, "Scene Flow" is often considered the "royal league" of motion estimation. It requires providing the 3D position and 3D motion vector for every pixel in a stereo video sequence. Solving for scene flow involves the simultaneous estimation of three sub-tasks: optical flow (2D motion), disparity (depth), and disparity change (the change in depth over time).
While deep learning has revolutionized many vision tasks, scene flow has remained a bottleneck due to the lack of large-scale, high-quality training data. Real-world datasets like KITTI rely on LiDAR, which provides only sparse ground truth and is often limited to static scene elements. Conversely, existing synthetic datasets like MPI Sintel are high-quality but too small (roughly 1,000 frames) to train massive convolutional neural networks (CNNs) from scratch without significant overfitting. This paper addresses this "data hunger" by introducing a massive suite of synthetic datasets with dense, perfect ground truth.
Methods: DispNet and SceneFlowNet
The authors propose a supervised learning approach using encoder-decoder architectures. Building on the success of FlowNet, they introduce several specialized architectures:
- DispNet: An encoder-decoder network that "contracts" the image to extract high-level features and then "expands" it back to full resolution to predict disparity.
- DispNetCorr: A variant that incorporates a 1D correlation layer. Since stereo disparity only occurs along horizontal epipolar lines, this layer explicitly searches for matching features along those lines, significantly improving efficiency and accuracy compared to a general 2D search.
- SceneFlowNet: A joint architecture that interleaves weights from FlowNet and DispNet. It is designed to predict all components of scene flow—flow, disparity, and disparity change—in a single forward pass, leveraging the geometric links between these tasks.
The Synthetic Datasets
To train these networks, the authors leveraged the open-source 3D engine Blender to create three distinct synthetic datasets, totaling over 35,000 frames. This pipeline allows for the extraction of "perfect" ground truth, even for occluded regions.
- FlyingThings3D: This is the primary dataset, featuring over 25,000 frames of approximately 33,000 different 3D models from ShapeNet flying along random trajectories. It prioritizes object variety and motion complexity over photorealism to ensure the network learns generalizable geometric features.
- Monkaa: Derived from an open-source animated short film, this dataset includes non-rigid motion and challenging textures like fur, providing a different set of challenges for the networks.
- Driving: A naturalistic street scene designed to mimic the KITTI dataset, serving as a bridge between abstract synthetic training and real-world automotive applications.
Key Insights
- Variety Trumps Realism: The success of training on FlyingThings3D suggests that for deep networks, a massive variety of random objects is often more valuable than a small amount of highly realistic data. The network learns the underlying physics of motion and geometry rather than memorizing specific "real" textures.
- Synthetic-to-Real Generalization: Networks trained on "flying trash" (random objects) generalize surprisingly well to real-world scenes. This proves that synthetic data is a viable and scalable proxy for expensive, manual real-world labeling.
- Joint Learning Benefits: The authors demonstrate that training for disparity and flow together is beneficial, as the tasks are geometrically coupled, allowing the network to learn a more consistent representation of 3D motion.
Results and Performance
The proposed DispNet achieves state-of-the-art results while being significantly faster than traditional methods. It runs at 15 frames per second (FPS) on an NVIDIA GTX Titan X. In contrast, high-accuracy methods like MC-CNN can take up to 67 seconds per frame. This represents a 1000x speedup with comparable accuracy. On the KITTI 2015 benchmark, a fine-tuned version of DispNetCorr achieved a "D1-all" error of 4.34%, placing it near the top of the leaderboard at the time of publication. Furthermore, this work presents the first successful end-to-end scene flow estimation using a CNN.
Limitations
Despite the success, some challenges remain. Fine-tuning on small real-world datasets like KITTI can sometimes hurt the network's ability to handle large displacements, as these datasets often lack such examples. Additionally, complex optical effects like transparency and reflections (e.g., car windows) remain difficult to model perfectly in synthetic environments without introducing consistency errors. Finally, training the full SceneFlowNet is computationally intensive, suggesting a need for more efficient joint architectures in the future.
Summary updated