Hybrid Cost Volume for Memory-Efficient Optical Flow
Yang Zhao, Gangwei Xu, Gang Wu
Abstract
Current state-of-the-art flow methods are mostly based on dense all-pairs cost volumes. However, as image resolution increases, the computational and spatial complexity of constructing these cost volumes grows at a quartic rate, making these methods impractical for high-resolution images. In this paper, we propose a novel Hybrid Cost Volume for memory-efficient optical flow, named HCV. To construct HCV, we first propose a Top-k strategy to separate the 4D cost volume into two global 3D cost volumes. These volumes significantly reduce memory usage while retaining a substantial amount of matching information. We further introduce a local 4D cost volume with a local search space to supplement the local information for HCV. Based on HCV, we design a memory-efficient optical flow network, named HCVFlow. Compared to the recurrent flow methods based the all-pairs cost volumes, our HCVFlow significantly reduces memory consumption while ensuring high accuracy. We validate the effectiveness and efficiency of our method on the Sintel and KITTI datasets and real-world 4K (2160 × 3840) resolution images. Extensive experiments show that our HCVFlow has very low memory usage and outperforms other memory-efficient methods in terms of accuracy. The code is publicly available at https://github.com/gangweiX/HCVFlow.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers7
- WAFT: Warping-Alone Field Transforms for Optical FlowYihan Wang, Jia DengICLR 2026 · 36 citations
- MEMFOF: High-Resolution Training for Memory-Efficient Multi-Frame Optical Flow EstimationVladislav Bargatin, Egor Chistov, Alexander Yakovenko, Dmitriy S. VatolinICCV 2025 · 11 citations
- BANet: Bilateral Aggregation Network for Mobile Stereo MatchingGangwei Xu, Jiaxin Liu, Xianqi Wang, Junda Cheng et al.ICCV 2025 · 7 citations
- Removing Cost Volumes from Optical Flow EstimatorsSimon Kiefhaber, Stefan Roth, Simone Schaub-MeyerICCV 2025 · 2 citations
- BAT: Learning Event-based Optical Flow with Bidirectional Adaptive Temporal CorrelationGangwei Xu, Haotong Lin, Zhaoxing Zhang, Hongcheng Luo et al.AAAI 2026 · 1 citation
Builds on24
- VAD: Vectorized Scene Representation for Efficient Autonomous DrivingBo Jiang, Shaoyu Chen, Qing Xu, Bencheng Liao et al.ICCV 2023 · 602 citations
- Learning to Estimate Hidden Motions with Global Motion AggregationShihao Jiang, Dylan Campbell, Yao Lu, Hongdong Li et al.ICCV 2021 · 402 citations
- GMFlow: Learning Optical Flow via Global MatchingHaofei Xu, Jing Zhang, Jianfei Cai, Hamid Rezatofighi et al.CVPR 2022 · 353 citations
- Attention Concatenation Volume for Accurate and Efficient Stereo MatchingGangwei Xu, Junda Cheng, Peng Guo, Xin YangCVPR 2022 · 265 citations
- Tracking Everything Everywhere All at OnceQianqian Wang, Yen-Yu Chang, Ruojin Cai, Zhengqi Li et al.ICCV 2023 · 238 citations
Related papers
- Displacement-Invariant Matching Cost Learning for Accurate Optical Flow EstimationJianyuan Wang, Yiran Zhong, Yuchao Dai, Kaihao Zhang et al.NeurIPS 2020 · 83 citations
- Efficient All-Pairs Correlation Volume Sampling for Optical Flow EstimationKarlis Martins Briedis, Markus Gross, Christopher SchroersCVPR 2026 · 1 citation
- Learning Optical Flow From a Few MatchesShihao Jiang, Yao Lu, Hongdong Li, Richard HartleyCVPR 2021
- Explicit Motion Disentangling for Efficient Optical Flow EstimationChangxing Deng, Ao Luo, Haibin Huang, Shaodan Ma et al.ICCV 2023 · 18 citations
- MemFlow: Optical Flow Estimation and Prediction with MemoryQiaole Dong, Yanwei FuCVPR 2024
