ARFlow: Auto-regressive Optical Flow Estimation for Arbitrary-Length Videos via Progressive Next-Frame Forecasting

Jiuming Liu, Mengmeng Liu, Siting Zhu, Yunpeng Zhang, Jiangtao Li, Michael Ying Yang, Francesco Nex, Hao Cheng, Hesheng WangICLR 2026

TL;DR

ARFlow introduces a novel auto-regressive framework for optical flow estimation that forecasts the next frame's motion based on a sliding-window memory of past estimates. This approach allows the model to process videos of arbitrary length with constant GPU memory usage (just 2.1GB) while achieving state-of-the-art accuracy on major benchmarks like KITTI-2015 and Spring.

What Problem Does This Paper Address?

Optical flow—predicting the 2D displacement of every pixel between consecutive frames—is a cornerstone of computer vision. While early methods looked at only two frames at a time, recent research has moved toward "multi-frame" estimation to better handle occlusions and complex motions.

However, existing multi-frame methods typically use a "group-wise" paradigm, segmenting videos into short, fixed-length clips (usually 3–5 frames). This creates two major bottlenecks:

  1. Limited Temporal Receptive Fields: The model can only "see" motion within its small group, missing long-range dependencies.
  2. Computational Scaling: Memory and compute requirements often skyrocket as the sequence length increases, making them impractical for long videos or real-time applications.

ARFlow tackles these issues by ditching the group-wise approach in favor of a sequential, frame-by-frame forecasting strategy.

Methods

The core innovation of ARFlow is its Auto-regressive Paradigm. Instead of processing a batch of frames all at once, it processes images sequentially, maintaining a Memory Bank of the nearest $T$ predicted flows (stored at 1/16 resolution for efficiency).

Comparison of multi-frame optical flow pipelines.

The architecture consists of two primary novel modules:

  • Auto-regressive Flow Initialization (AFI): When a new frame arrives, this module uses a Temporal Transformer to look at the history in the memory bank and forecast an initial flow for the next frame. This provides a "warm start" that is much more accurate than starting from zero.
  • Auto-regressive Multi-stride Flow Refinement (AMFR): After initialization, the flow is refined using a GRU-based iterative process (similar to the popular RAFT architecture). Crucially, AMFR incorporates multi-granularity temporal information by sampling history at different strides (1, 2, and 4 frames back). This helps the model adapt to both subtle, short-term variations and large, long-range motions.

To ensure the model learns temporal continuity, the authors use a clip-wise training strategy. Unlike standard training that shuffles random frame pairs, ARFlow is trained on continuous sequences, allowing the memory bank to function during training just as it does during inference.

Datasets

The authors evaluated ARFlow on the industry-standard "big three" benchmarks:

  • KITTI-2015: Real-world automotive driving scenes with challenging lighting and reflections.
  • MPI-Sintel: Synthetic sequences featuring complex motions and atmospheric effects (Final and Clean passes).
  • Spring: A modern, high-resolution (1080p) synthetic benchmark designed to push the limits of current estimators.

For pretraining, they utilized TartanAir and FlyingThings3D. They also demonstrated the model's robustness via zero-shot generalization on the Waymo and NuScenes datasets.

Key Insights and Ideas

  • Constant Memory is the "Killer App": Perhaps the most striking finding is that ARFlow maintains a nearly constant GPU memory footprint (2.1GB) regardless of video length. In contrast, competing multi-frame methods like StreamFlow can balloon to nearly 80GB for a 10-frame sequence.
GPU Memory Usage Comparison across different frame lengths.
  • Forecasting as a Prior: By treating optical flow as a forecasting task, the model learns the "physics" of the scene. The attention maps in the Temporal Transformer show that the model specifically focuses on dynamic objects and motion boundaries to predict where they will move next.
  • Multi-Stride Matters: The ablation studies reveal that using multiple strides (1, 2, and 4) is significantly more effective than any single stride. This suggests that "temporal scale" is just as important as spatial scale in video understanding.
  • Initialization Reduces Iteration: Because the AFI module provides such a high-quality starting point, the model requires fewer refinement iterations to reach peak accuracy, improving overall inference speed.

Key Results

ARFlow delivers top-tier performance across the board:

  • KITTI-2015: Ranked 1st among all open-sourced methods (EPE 2.85).
  • Spring: Ranked 1st on the official benchmark (EPE 0.428).
  • MPI-Sintel: Ranked 2nd on the Final pass (EPE 1.78).
  • Efficiency: Achieves these results with a fraction of the memory required by previous SOTA multi-frame models. For a 1080p video, it runs at approximately 403ms per frame on an RTX 3090, balancing high accuracy with reasonable runtime.

Limitations and Future Work

While ARFlow is highly scalable, the authors note a plateau in performance gains when the memory bank length ($T$) exceeds 6 frames, suggesting a trade-off between history length and effective modeling. Additionally, while the memory usage is constant, the sequential nature of auto-regression means it cannot be easily parallelized across frames in the same way a batch-based method can.

Future directions might include exploring more complex memory update strategies (beyond a simple sliding window) or integrating even larger, pre-trained video foundation models to further enhance the forecasting capabilities.

Summary updated

BibTeX
@inproceedings{liu2026arflow,
  author = {Jiuming Liu and Mengmeng Liu and Siting Zhu and Yunpeng Zhang and Jiangtao Li and Michael Ying Yang and Francesco Nex and Hao Cheng and Hesheng Wang},
  title = {{ARFlow: Auto-regressive Optical Flow Estimation for Arbitrary-Length Videos via Progressive Next-Frame Forecasting}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=iJ7cyttpVj},
}
Figure