[Paper Review] Accurate Optical Flow via Direct Cost Volume Processing
This paper proposes a direct optical flow method that constructs and processes a full four-dimensional cost volume using a learned feature embedding and an adapted semi-global matching (SGM) algorithm. By leveraging the regularity of the cost volume, the approach achieves state-of-the-art accuracy on Sintel and KITTI 2015 benchmarks while maintaining competitive inference speed, outperforming prior general-purpose methods by significant margins.
We present an optical flow estimation approach that operates on the full four-dimensional cost volume. This direct approach shares the structural benefits of leading stereo matching pipelines, which are known to yield high accuracy. To this day, such approaches have been considered impractical due to the size of the cost volume. We show that the full four-dimensional cost volume can be constructed in a fraction of a second due to its regularity. We then exploit this regularity further by adapting semi-global matching to the four-dimensional setting. This yields a pipeline that achieves significantly higher accuracy than state-of-the-art optical flow methods while being faster than most. Our approach outperforms all published general-purpose optical flow methods on both Sintel and KITTI 2015 benchmarks.
Motivation & Objective
- To address the long-standing challenge of achieving high accuracy in optical flow estimation despite large displacements, textureless regions, and motion blur.
- To bridge the gap between stereo matching and optical flow by applying cost volume processing—proven effective in stereo—to optical flow, despite its computational burden.
- To demonstrate that full 4D cost volume processing is feasible and efficient through learned feature embeddings and regularized optimization.
- To achieve state-of-the-art performance on standard benchmarks without relying on domain-specific supervision or large neural networks.
Proposed method
- The method uses a compact convolutional neural network (112K parameters) to learn a feature embedding that enables efficient inner-product-based matching between image patches.
- A full four-dimensional cost volume is constructed rapidly (under 300ms) due to the regular structure of the search space and the use of learned features.
- Semi-global matching (SGM) is adapted to the 4D setting to enforce spatial coherence and remove outliers, exploiting massive parallelism from the regular grid structure.
- Postprocessing includes homography-based inpainting to refine flow fields, particularly effective on rigid scenes with planar motion.
- The pipeline uses a two-stage approach: cost volume construction via learned features, followed by SGM optimization and homography regularization.
- Runtime is optimized by using fast inference (80ms cost volume) and efficient interpolation (EpicFlow) for final flow refinement.
Experimental results
Research questions
- RQ1Can a full four-dimensional cost volume be constructed efficiently enough for real-time optical flow estimation?
- RQ2Does direct processing of the 4D cost volume using global optimization techniques like SGM lead to higher accuracy than existing optical flow methods?
- RQ3Can a compact learned feature embedding replace traditional matching functions (e.g., NCC) while maintaining or improving accuracy?
- RQ4To what extent does homography-based postprocessing improve flow accuracy on rigid, planar scenes?
- RQ5Can a cost volume-based optical flow method outperform end-to-end deep learning models in both accuracy and speed without domain-specific supervision?
Key findings
- The proposed method achieves an average end-to-end pixel error (AEPE) of 5.44 on the Sintel benchmark, outperforming all published general-purpose optical flow methods.
- On the KITTI 2015 benchmark, the method reduces the Fl-all error by 29.5% relative to the best prior work ('Patch-Batch') at the time of submission.
- The cost volume construction takes only 80ms in fast mode and 260ms in accurate mode, demonstrating that 4D cost volume processing is computationally feasible.
- Using a feature embedding with only 10 dimensions yields strong performance (AEPE: 5.71 on Sintel), indicating that high accuracy does not require high-dimensional features.
- The addition of homography-based postprocessing improves accuracy significantly on KITTI (15.09% occlusion error) but has less impact on Sintel, reflecting differences in scene rigidity.
- The method is more than an order of magnitude faster than Full Flow [7] and faster than most methods that avoid cost volume construction, while achieving higher accuracy.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.