FlowFormer++: Masked Cost Volume Autoencoding for Pretraining Optical Flow Estimation

Xiaoyu Shi, Zhaoyang Huang, Dasong Li, Manyuan Zhang, K. Cheung +4 more
3/1/2023

No official code found. Best implementation: XiaoyuShi97/FlowFormerPlusPlus (204 stars, last commit 2024-01-26).

Abstract

FlowFormer [24] introduces a transformer architecture into optical flow estimation and achieves state-of-the-art performance. The core component of FlowFormer is the transformer-based cost-volume encoder. Inspired by the recent success of masked autoencoding (MAE) pretraining in unleashing transformers' capacity of encoding visual representation, we propose Masked Cost Volume Autoencoding (MCVA) to enhance FlowFormer by pretraining the cost-volume encoder with a novel MAE scheme. Firstly, we introduce a block-sharing masking strategy to prevent masked information leakage, as the cost maps of neighboring source pixels are highly correlated. Secondly, we propose a novel pre-text reconstruction task, which encourages the cost-volume encoder to aggregate long-range information and ensures pretraining-finetuning consistency. We also show how to modify the FlowFormer architecture to accommodate masks during pretraining. Pretrained with MCVA, FlowFormer++ ranks 1st among published methods on both Sintel and KITTI-2015 benchmarks. Specifically, FlowFormer++ achieves 1.07 and 1.94 average end-point error (AEPE) on the clean and final pass of Sintel benchmark, leading to 7.76% and 7.18% error reductions from FlowFormer. FlowFormer++ obtains 4.52 F1-all on the KITTI-2015 test set, improving FlowFormer by 0.16.

View on arXivView PDF

Code Implementations(1)

FlowFormer++: Masked Cost Volume Autoencoding for Pretraining Optical Flow Estimation

20424C++, CudaJul 1, 20232 years ago

Similar Papers

Cite this paper

@article{shi2023flowformer,
  title  = {FlowFormer++: Masked Cost Volume Autoencoding for Pretraining Optical Flow Estimation},
  author = {Xiaoyu Shi and Zhaoyang Huang and Dasong Li and Manyuan Zhang and K. Cheung and S. See and Hongwei Qin and Jifeng Dai and Hongsheng Li},
  year   = {2023},
  eprint = {2303.01237},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2303.01237},
  journal = {CVPR 2023 2023}
}

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/2303.01237.svg)](https://codeofpaper.com/paper/2303.01237)

Discussion