The "gold standard" for modern optical flow—the task of tracking how every pixel moves between video frames—relies on a deceptively simple data structure: the all-pairs correlation volume. Popularized by the RAFT architecture, this 4D volume stores the similarity between every pixel in the first frame and every pixel in the second.
While this approach provides the global context needed to handle large motions and occlusions, it hits a mathematical wall as resolution increases. Because the volume compares every pixel to every other pixel, its memory requirements grow quadratically ($O(N^2)$). For a standard 1080p video, a full 4D cost volume can exceed 100GB, far beyond the capacity of modern GPUs. Recent research has focused on breaking this quadratic bottleneck to enable high-resolution motion estimation on standard hardware.
The Quadratic Bottleneck
In traditional architectures, the correlation volume acts as a look-up table. As Shihao Jiang and Richard Hartley observe in Learning Optical Flow From a Few Matches, this dense matching is the primary computational bottleneck in motion estimation.
When Jia Deng and Zachary Teed introduced RAFT-3D, they demonstrated that these volumes are essential for "softly grouping" pixels into rigid objects. However, the memory overhead of these dense matrix operations limits the ability to process high-definition video or deploy models on edge hardware. To scale to 4K or 8K, researchers have pursued three main strategies: sparsification, factorization, and elimination.
Strategy 1: Sparse and Block-Sparse Sampling
The most direct way to reduce memory is to stop computing correlations for pixel pairs that are unlikely to match. Markus Gross and Christopher Schroers demonstrate in Efficient Correlation Volume Sampling for Ultra-High-Resolution Optical Flow Estimation that only about 1.6% of the all-pairs volume is actually required for accurate estimation. By using a block-sparse sampling algorithm, they achieve a 95% reduction in memory, making 8K motion estimation feasible.
Similarly, Zhexiong Wan and Yuchao Dai propose PRAFlow_RVC, which uses a pyramid recurrent structure to manage the memory bottleneck. By processing correlations across multiple scales, they avoid the need for a single, massive high-resolution volume.
Strategy 2: Factorization and Orthogonal Projections
Another approach is to decompose the 4D volume into lower-dimensional components. Alexander Shekhovtsov and Thomas Pock introduced a "min-projection" technique in Scalable Full Flow with Learned Binary Descriptors, splitting the 4D volume into manageable 3D pieces.
Building on this idea of dimensionality reduction, Gangwei Xu and Xin Yang developed the Radius-Distribution Orthogonal Cost Volume. Instead of a full 4D grid, they project correlations onto orthogonal axes, capturing the necessary motion information while bypassing the quadratic scaling of the original structure.
Strategy 3: Eliminating the Volume via Warping
Perhaps the most radical shift is the move away from cost volumes entirely. In WAFT: Warping-Alone Field Transforms for Optical Flow, Yihan Wang and Jia Deng challenge the assumption that cost volumes are essential. They replace the memory-intensive volume with a high-resolution warping mechanism and a Transformer-based update module.
By warping features from the second frame back to the first based on the current motion estimate, the network can "look" for matches locally at very high resolution without ever storing a global correlation table. This approach is up to 4x faster and significantly more memory-efficient, allowing models like SEA-RAFT to process high-definition video in near real-time.
Hybrid and Multi-Scale Refinement
To maintain accuracy while reducing memory, many researchers use hybrid strategies. Azin Jahedi and Andres Bruhn developed MS-RAFT+, which reintroduces hierarchical, coarse-to-fine strategies into the RAFT architecture. By employing on-demand cost computation, they bypass the memory bottleneck while operating at up to 1/2 the original image resolution.
For specific domains like satellite imagery, Sarra Khairi and Patrick Bouthemy use a "per-shift" local correlation volume in SMOFlow to track tiny moving objects without the aggressive downsampling that typically erases small details.
Why it Works: The Intuition of Locality
The success of these methods stems from a shared intuition: while global context is helpful for initializing motion, the final refinement of a pixel's trajectory is a local operation. By using sparse sampling to identify global candidates and high-resolution warping or orthogonal projections for local refinement, these architectures achieve the best of both worlds. They maintain the robustness of all-pairs matching without the prohibitive $O(N^2)$ cost, enabling the next generation of 4K and 8K computer vision applications.