Abstract
We introduce a compact network for holistic scene flow estimation, called SENSE, which shares common encoder features among four closely-related tasks: optical flow estimation, disparity estimation from stereo, occlusion estimation, and semantic segmentation. Our key insight is that sharing features makes the network more compact, induces better feature representations, and can better exploit interactions among these tasks to handle partially labeled data. With a shared encoder, we can flexibly add decoders for different tasks during training. This modular design leads to a compact and efficient model at inference time. Exploiting the interactions among these tasks allows us to introduce distillation and self-supervised losses in addition to supervised losses, which can better handle partially labeled real-world data. SENSE achieves state-of-the-art results on several optical flow benchmarks and runs as fast as networks specifically designed for optical flow. It also compares favorably against the state of the art on stereo and scene flow, while consuming much less memory.
Introduction
Estimating scene flow—the 3D motion of every point in a scene—is a fundamental challenge for autonomous systems and 3D motion capture. Traditionally, this problem is decomposed into optical flow (2D motion between temporal frames) and stereo disparity (depth estimation from binocular views).
Existing research in this domain faces three primary hurdles. First, there is significant redundancy; many models utilize separate, massive networks for flow and stereo, ignoring shared underlying image features. Second, data scarcity remains a major issue, as real-world datasets like KITTI are sparse, with ground-truth labels available for only a fraction of pixels. Finally, the computational cost of top-tier methods often precludes real-time use on embedded hardware.
The SENSE Architecture
SENSE (Shared Encoder Network for Scene-flow Estimation) addresses these challenges through a modular architecture. Instead of independent encoders for each task, SENSE utilizes a single Shared Encoder—a ResNet-like pyramid structure—to extract features from multiple input frames ($I^{2,l}, I^{1,l}, I^{1,r}$).
Task-specific decoders are then plugged into this shared representation. The architecture adapts the efficient PWC-Net design for flow and introduces a specialized version for 1D stereo disparity, incorporating a Pyramid Pooling Module (PPM) and an hourglass refinement network to sharpen depth boundaries. This modularity allows for a lean model with only 13.4M parameters, making it roughly 20x smaller than competitors like FlowNet3.
Learning from Partially Labeled Data
To overcome the sparsity of real-world labels, SENSE employs a semi-supervised training strategy:
- Distillation Loss: The network uses "teacher" models pre-trained on synthetic data to provide soft "pseudo-labels" for tasks like occlusion and segmentation where real-world ground truth is scarce.
- Semantic Consistency: A novel self-supervised loss encourages corresponding pixels across frames to maintain the same semantic category. This approach is more robust to lighting and appearance changes than traditional pixel-matching losses.
- Rigidity Refinement: A post-processing step leverages semantic segmentation to identify static background regions, applying ego-motion estimation to refine flow estimates in those areas.
Experimental Results
SENSE was evaluated on major benchmarks including KITTI 2012/2015 and MPI Sintel. The model demonstrates that multi-task learning improves feature representation; training on segmentation and occlusion actually enhances the accuracy of motion and depth estimation.
As shown in the comparative results, SENSE-ft achieved a 4.86 average End-Point Error (EPE) on the Sintel Final benchmark, outperforming significantly larger models. Crucially, SENSE maintains high efficiency, running at 0.03s per frame for optical flow and requiring only 1.5GB of GPU RAM, compared to the 7.4GB required by traditional scene-flow architectures.
Conclusion
SENSE demonstrates that a shared encoder architecture can achieve state-of-the-art performance while remaining compact and efficient. By leveraging the interactions between geometry and semantics, the model effectively bridges the gap between synthetic training and real-world application. Future work will focus on integrating rigidity refinement into a fully differentiable, end-to-end trainable pipeline.
Summary updated