Abstract
This paper introduces DC Flow, a novel method that adapts the high-accuracy "cost volume" approach from stereo matching to the more complex domain of optical flow. By utilizing learned compact feature embeddings and a novel 4D adaptation of Semi-Global Matching (SGM), the authors achieve state-of-the-art accuracy on major benchmarks. Crucially, DC Flow overcomes the traditional computational barriers of 4D cost volume processing, running orders of magnitude faster than previous discrete matching approaches while maintaining superior precision.
Introduction
Optical flow—estimating the 2D motion of every pixel between two frames—is a fundamental computer vision task. Historically, the most accurate methods for the related task of stereo matching have relied on "cost volumes," which explicitly compare every pixel in one image to every possible corresponding pixel in the next. However, while stereo matching only searches along a 1D line, optical flow requires searching a 2D area, resulting in a massive four-dimensional cost volume.
For years, processing this 4D volume was considered computationally impractical. Consequently, most flow algorithms settled for "coarse-to-fine" strategies or local nearest-neighbor searches, which often fail to capture small, fast-moving objects. DC Flow challenges this status quo by demonstrating that 4D cost volume processing is both tractable and highly effective.
Methodology
The DC Flow pipeline makes 4D cost volume processing efficient through three key innovations:
- Learned Compact Feature Embedding: Instead of raw pixels, the authors train a small, fully-convolutional neural network (112K parameters) using a triplet loss. This network maps image patches into a compact Euclidean space. Because the features are unit-normalized, matching costs become simple dot products, which are extremely fast to compute on modern GPUs.
- Flow-SGM: The authors adapt the classic Semi-Global Matching (SGM) algorithm—a staple of 1D stereo—to the 4D flow setting. This allows for global optimization that enforces spatial smoothness while preserving sharp motion boundaries.
- Homography-based Postprocessing: To handle occlusions where pixels disappear between frames, the method fits planar homographies to image segments. This allows the system to accurately extrapolate motion into regions where direct matching is impossible.
Results and Evaluation
The method was evaluated on the MPI Sintel and KITTI 2015 benchmarks, representing the most challenging synthetic and real-world datasets in the field.
As shown in the runtime analysis, DC Flow achieves a significant breakthrough in efficiency. While previous 4D cost volume methods like FullFlow required several minutes per image, DC Flow's accurate version runs in approximately 8.6 seconds, with a faster variant reaching 3.4 seconds.
Quantitatively, DC Flow ranked #1 on the Sintel leaderboard at the time of publication. On the KITTI 2015 benchmark, it reduced the "Fl-all" error (percentage of outliers) by 29.5% compared to the previous best domain-agnostic method, PatchBatch. A key insight from the experiments was that feature embeddings as low as 10 dimensions still yielded high accuracy, suggesting significant redundancy in local motion structures.
Conclusion
DC Flow proves that the "curse of dimensionality" for 4D cost volumes can be overcome with hardware-friendly algorithms and efficient feature representations. By treating flow as a discrete labeling problem rather than a continuous optimization problem, the authors have bridged the accuracy gap between stereo and optical flow. Future work may involve integrating semantic information to further improve performance in complex automotive contexts or extreme lighting conditions.
Summary updated