Lune

CVPR2026Top-tier venue

Efficient All-Pairs Correlation Volume Sampling for Optical Flow Estimation

Karlis Martins Briedis, Markus Gross, Christopher Schroers

Abstract

Recent optical flow estimation methods often employ local cost sampling from a dense all-pairs correlation volume. This results in quadratic computational and memory complexity in the number of pixels. Although an alternative memory-efficient implementation with on-demand cost computation exists, this is significantly slower in practice and therefore many prior methods process images at downsampled resolutions, missing fine-grained details.

To address this, we propose an algorithm for both memory and compute-efficient implementation of the all-pairs correlation volume sampling, still matching the exact mathematical operator as defined by RAFT. Our approach outperforms on-demand sampling by up to 92% while maintaining equally low memory usage, and performs at least on par with the default implementation with up to 99% lower memory usage. As cost sampling makes up a significant portion of the overall runtime, this can translate to up to 63% savings for the total end-to-end model inference on high-resolution inputs. Our evaluation of existing methods includes an 8K ultra-high-resolution dataset and an inference-time extension of the SEA-RAFT method. With this, we achieve state-of-the-art results at high resolutions both in accuracy and runtime.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • GMFlow: Learning Optical Flow via Global Matching cites Learning to Estimate Hidden Motions with Global Motion Aggregation
  • FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning cites FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
  • CRAFT: Cross-Attentional Flow Transformer for Robust Optical Flow cites Learning to Estimate Hidden Motions with Global Motion Aggregation
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on21

  1. FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra et al.NeurIPS 2022 · 5,493 citations
  2. FlashAttention-2: Faster Attention with Better Parallelism and Work PartitioningTri DaoICLR 2024 · 2,600 citations
  3. Learning to Estimate Hidden Motions with Global Motion AggregationShihao Jiang, Dylan Campbell, Yao Lu, Hongdong Li et al.ICCV 2021 · 402 citations
  4. GMFlow: Learning Optical Flow via Global MatchingHaofei Xu, Jing Zhang, Jianfei Cai, Hamid Rezatofighi et al.CVPR 2022 · 353 citations
  5. CRAFT: Cross-Attentional Flow Transformer for Robust Optical FlowXiuchao Sui, Shaohua Li, Xue Geng, Yan Wu et al.CVPR 2022 · 114 citations

Related papers

  1. Removing Cost Volumes from Optical Flow EstimatorsSimon Kiefhaber, Stefan Roth, Simone Schaub-MeyerICCV 2025 · 2 citations
  2. WAFT: Warping-Alone Field Transforms for Optical FlowYihan Wang, Jia DengICLR 2026 · 36 citations
  3. Hybrid Cost Volume for Memory-Efficient Optical FlowYang Zhao, Gangwei Xu, Gang WuACM MM 2024 · 1 citation
  4. SEA-Flow3D: Simplified, Efficient, and Accurate Scene Flow via Spatial Vector Sampling and Multi-scale RefinementHan Ling, Quansen Sun, Yinghua Yao, Ivor W. Tsang et al.CVPR 2026
  5. Learning Optical Flow From a Few MatchesShihao Jiang, Yao Lu, Hongdong Li, Richard HartleyCVPR 2021
Dusk over the sea between two cliffs drawn in fine vertical lines