MEMFOF: High-Resolution Training for Memory-Efficient Multi-Frame Optical Flow Estimation

Vladislav Bargatin, Egor Chistov, Alexander Yakovenko, Dmitriy Vatolin
6/29/2025
cs.CVcs.AIcs.MM

Official code: msu-video-group/memfof (102 stars, BSD-3-Clause, PyTorch, last commit 2025-12-11).

Abstract

Recent advances in optical flow estimation have prioritized accuracy at the cost of growing GPU memory consumption, particularly for high-resolution (FullHD) inputs. We introduce MEMFOF, a memory-efficient multi-frame optical flow method that identifies a favorable trade-off between multi-frame estimation and GPU memory usage. Notably, MEMFOF requires only 2.09 GB of GPU memory at runtime for 1080p inputs, and 28.5 GB during training, which uniquely positions our method to be trained at native 1080p without the need for cropping or downsampling. We systematically revisit design choices from RAFT-like architectures, integrating reduced correlation volumes and high-resolution training protocols alongside multi-frame estimation, to achieve state-of-the-art performance across multiple benchmarks while substantially reducing memory overhead. Our method outperforms more resource-intensive alternatives in both accuracy and runtime efficiency, validating its robustness for flow estimation at high resolutions. At the time of submission, our method ranks first on the Spring benchmark with a 1-pixel (1px) outlier rate of 3.289, leads Sintel (clean) with an endpoint error (EPE) of 0.963, and achieves the best Fl-all error on KITTI-2015 at 2.94%. The code is available at https://github.com/msu-video-group/memfof.

View on arXivView PDF

Code Implementations(1)

PyTorchBSD-3-Clause

[ICCV'2025 Highlight] MEMFOF: High-Resolution Training for Memory-Efficient Multi-Frame Optical Flow Estimation

1025Shell, PythonJun 27, 202510 months agoBSD-3-Clause
deep-learningoptical-flowpytorchvideo

Similar Papers

Cite this paper

@article{bargatin2025memfof,
  title  = {MEMFOF: High-Resolution Training for Memory-Efficient Multi-Frame Optical Flow Estimation},
  author = {Vladislav Bargatin and Egor Chistov and Alexander Yakovenko and Dmitriy Vatolin},
  year   = {2025},
  eprint = {2506.23151},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.23151v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.23151.svg)](https://codeofpaper.com/paper/2506.23151)

Discussion