Skip to main content
QUICK REVIEW

[Paper Review] Rethinking Optical Flow from Geometric Matching Consistent Perspective

Qiaole Dong, Chenjie Cao|arXiv (Cornell University)|Mar 15, 2023
Advanced Vision and ImagingComputer Science3 citations
TL;DR

This paper proposes MatchFlow, a novel optical flow estimation framework that pre-trains a feature matching extractor on geometric image matching (GIM) data using a QuadTree attention-based architecture, significantly improving robustness and cross-dataset generalization. The method achieves 11.5% and 10.1% error reduction over GMA on Sintel clean pass and KITTI test set, respectively, with state-of-the-art performance under comparable computational costs.

ABSTRACT

Optical flow estimation is a challenging problem remaining unsolved. Recent deep learning based optical flow models have achieved considerable success. However, these models often train networks from the scratch on standard optical flow data, which restricts their ability to robustly and geometrically match image features. In this paper, we propose a rethinking to previous optical flow estimation. We particularly leverage Geometric Image Matching (GIM) as a pre-training task for the optical flow estimation (MatchFlow) with better feature representations, as GIM shares some common challenges as optical flow estimation, and with massive labeled real-world data. Thus, matching static scenes helps to learn more fundamental feature correlations of objects and scenes with consistent displacements. Specifically, the proposed MatchFlow model employs a QuadTree attention-based network pre-trained on MegaDepth to extract coarse features for further flow regression. Extensive experiments show that our model has great cross-dataset generalization. Our method achieves 11.5% and 10.1% error reduction from GMA on Sintel clean pass and KITTI test set. At the time of anonymous submission, our MatchFlow(G) enjoys state-of-the-art performance on Sintel clean and final pass compared to published approaches with comparable computation and memory footprint. Codes and models will be released in https://github.com/DQiaole/MatchFlow.

Motivation & Objective

  • To address the limited robustness of current optical flow models in handling small/fast-moving objects, occlusions, and textureless regions.
  • To improve feature representation learning by leveraging large-scale real-world geometric image matching (GIM) data as a pre-training task.
  • To reformulate the training pipeline by introducing GIM as the first stage of curriculum learning, preceding synthetic optical flow datasets.
  • To enhance feature matching capability through a novel QuadTree attention-based architecture pre-trained on MegaDepth GIM data.
  • To achieve superior cross-dataset generalization and state-of-the-art performance with minimal computational overhead.

Proposed method

  • Pre-train a feature matching extractor on MegaDepth, a large-scale real-world GIM dataset, using a QuadTree attention-based network to learn consistent geometric correspondences.
  • Design a Feature Matching Extractor with ResNet-16 and 8 interleaved self/cross-QuadTree attention blocks to extract robust, context-aware features.
  • Use the pre-trained feature extractor to generate a 4D correlation volume for optical flow estimation, replacing standard correlation modules.
  • Integrate a GRU-based refinement module for iterative flow refinement, with optional GMA (Global Motion Aggregation) for context modeling.
  • Train the full model using a curriculum learning schedule: first on GIM data (MegaDepth), then on synthetic optical flow datasets (FlyingChairs, FlyingThings3D), and finally on real-world datasets (Sintel, KITTI).
  • Apply standard optical flow training procedures with multi-scale supervision and flow warping for end-to-end optimization.
Figure 1 : Qualitative results on KITTI test set. Red dashed boxes mark the regions of substantial improvements. Please zoom in for details.
Figure 1 : Qualitative results on KITTI test set. Red dashed boxes mark the regions of substantial improvements. Please zoom in for details.

Experimental results

Research questions

  • RQ1Can pre-training on geometric image matching (GIM) data improve the robustness and generalization of optical flow models?
  • RQ2Does using a QuadTree attention mechanism in the feature matching extractor lead to better feature representation than standard correlation volumes?
  • RQ3Can GIM pre-training serve as a more effective first stage in curriculum learning than synthetic optical flow data?
  • RQ4How does the proposed MatchFlow model compare in performance and generalization to state-of-the-art methods like GMA and RAFT?
  • RQ5To what extent does real-world GIM pre-training reduce error on challenging benchmarks like Sintel and KITTI?

Key findings

  • MatchFlow(G), the GMA-enhanced variant, achieves 11.5% error reduction over GMA on the Sintel clean pass benchmark.
  • On the KITTI test set, MatchFlow(G) reduces error by 10.1% compared to GMA, demonstrating strong generalization on real-world data.
  • MatchFlow(R), the RAFT-based variant, achieves an Fl-all error of 13.6% on the KITTI training set after pre-training on synthetic datasets.
  • The model outperforms baseline methods, including DINO and Twins-SVT features, in cross-dataset generalization, especially on complex Sintel benchmarks.
  • Even with a 126ms inference time per image pair, MatchFlow(G) achieves SOTA performance with only 15.4M parameters and 23.6GB GPU memory usage.
  • Ablation studies confirm that GIM pre-training significantly improves feature representation, as evidenced by higher correlation volume center values in both Noc and Occ regions.
Figure 2 : Overview of our MatchFlow. The simplified training pipeline is shown at the top, while details of each stage are specifically listed below. $H,W$ indicate 1/8 height and width of the input image respectively. Here the GMA means global motion aggregation module [ 26 ] .
Figure 2 : Overview of our MatchFlow. The simplified training pipeline is shown at the top, while details of each stage are specifically listed below. $H,W$ indicate 1/8 height and width of the input image respectively. Here the GMA means global motion aggregation module [ 26 ] .

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.