Papers › Global Matching with Overlapping Attention for Optical Flow Estimation

Global Matching with Overlapping Attention for Optical Flow Estimation

21 Mar 2022CVPR 2022 1arXiv:2203.11335archive 2025-07-28

Shiyu Zhao, Long Zhao, Zhixing Zhang, Enyu Zhou, Dimitris Metaxas

Optical flow estimation is a fundamental task in computer vision. Recent direct-regression methods using deep neural networks achieve remarkable performance improvement. However, they do not explicitly capture long-term motion correspondences and thus cannot handle large motions effectively. In this paper, inspired by the traditional matching-optimization methods where matching is introduced to handle large displacements before energy-based optimizations, we introduce a simple but effective global matching step before the direct regression and develop a learning-based matching-optimization framework, namely GMFlowNet. In GMFlowNet, global matching is efficiently calculated by applying argmax on 4D cost volumes. Additionally, to improve the matching quality, we propose patch-based overlapping attention to extract large context features. Extensive experiments demonstrate that GMFlowNet outperforms RAFT, the most popular optimization-only method, by a large margin and achieves state-of-the-art performance on standard benchmarks. Thanks to the matching and overlapping attention, GMFlowNet obtains major improvements on the predictions for textureless regions and large motions. Our code is made publicly available at https://github.com/xiaofeng94/GMFlowNet

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2203.11335")

Code

Syntology Ran 7 of 14 code samples harvested from 1 repository linked to this paper; 7 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 1 ran · fixture could not drive it; 5 ran with no contract checked.

By repository: official repository: 14 samples from 1 repository, 7 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

xiaofeng94/gmflownet officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

14 samples harvested; 7 ran; 0 honoured the contract we drafted; 7 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
1ran · fixture could not drive it
5ran
7unverified

Licence: 0 of the 14 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from xiaofeng94/gmflownet. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

BasicConvEncoder xiaofeng94/gmflownet/core/gmflownet_model.py official repository ran · metamorphic tier: invariant fingerprinted MIT (permissive) · 609f6aa177f73bc1 · report
BasicMotionEncoder xiaofeng94/gmflownet/core/gmflownet_model.py official repository ran MIT (permissive) · 782c69df771932e7 · report
CorrBlock xiaofeng94/gmflownet/core/gmflownet_model.py official repository ran · metamorphic tier: invariant MIT (permissive) · 061bb91459aa0019 · report
DropPath xiaofeng94/gmflownet/core/gmflownet_model.py official repository ran · metamorphic tier: invariant fingerprinted MIT (permissive) · b20207e9c582c326 · report
MultiHeadAttention xiaofeng94/gmflownet/core/gmflownet_model.py official repository ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · ca7156b5b0317a60 · report
window_partition xiaofeng94/gmflownet/core/gmflownet_model.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 0c29759c872834a2 · report
window_reverse xiaofeng94/gmflownet/core/gmflownet_model.py official repository ran · our draft was wrong MIT (permissive) · 15f7f0358ef0fbda · report
BasicUpdateBlock xiaofeng94/gmflownet/core/gmflownet_model.py official repository unverified MIT (permissive) · 8025ceaeea5ca5a2 · report
GMFlowNetModel xiaofeng94/gmflownet/core/gmflownet_model.py official repository unverified MIT (permissive) · 0ae44dff0ca3040c · report
MixAxialPOLABlock xiaofeng94/gmflownet/core/gmflownet_model.py official repository unverified MIT (permissive) · 61d28a70c06c21d7 · report
MixAxialPOLAUpdate xiaofeng94/gmflownet/core/gmflownet_model.py official repository unverified MIT (permissive) · 2a65e60045482a36 · report
NeighborWindowAttention xiaofeng94/gmflownet/core/gmflownet_model.py official repository unverified MIT (permissive) · a189f54d1c241ec9 · report
POLATransBlock xiaofeng94/gmflownet/core/gmflownet_model.py official repository unverified MIT (permissive) · af3847d6a9584d02 · report
POLAUpdate xiaofeng94/gmflownet/core/gmflownet_model.py official repository unverified MIT (permissive) · 673740b96395b8cf · report

Tasks

Optical Flow Estimationregression

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Optical Flow Estimation KITTI 2015 GMFlowNet Fl-all 4.79 #6 of 18 Archive leaderboard report
Optical Flow Estimation KITTI 2015 GMFlowNet Fl-fg 6.84 #6 of 18 Archive leaderboard report
Optical Flow Estimation KITTI 2015 (train) GMFlowNet EPE 4.24 #6 of 19 Archive leaderboard report
Optical Flow Estimation KITTI 2015 (train) GMFlowNet F1-all 15.4 #6 of 19 Archive leaderboard report
Optical Flow Estimation Sintel-clean GMFlowNet Average End-Point Error 1.390 #9 of 29 Archive leaderboard report
Optical Flow Estimation Sintel-final GMFlowNet Average End-Point Error 2.648 #8 of 28 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections