Papers › Displacement-Invariant Matching Cost Learning for Accurate Optical Flow Estimation

Displacement-Invariant Matching Cost Learning for Accurate Optical Flow Estimation

28 Oct 2020NeurIPS 2020 12arXiv:2010.14851archive 2025-07-28

Jianyuan Wang, Yiran Zhong, Yuchao Dai, Kaihao Zhang, Pan Ji, Hongdong Li

Learning matching costs has been shown to be critical to the success of the state-of-the-art deep stereo matching methods, in which 3D convolutions are applied on a 4D feature volume to learn a 3D cost volume. However, this mechanism has never been employed for the optical flow task. This is mainly due to the significantly increased search dimension in the case of optical flow computation, ie, a straightforward extension would require dense 4D convolutions in order to process a 5D feature volume, which is computationally prohibitive. This paper proposes a novel solution that is able to bypass the requirement of building a 5D feature volume while still allowing the network to learn suitable matching costs from data. Our key innovation is to decouple the connection between 2D displacements and learn the matching costs at each 2D displacement hypothesis independently, ie, displacement-invariant cost learning. Specifically, we apply the same 2D convolution-based matching net independently on each 2D displacement hypothesis to learn a 4D cost volume. Moreover, we propose a displacement-aware projection layer to scale the learned cost volume, which reconsiders the correlation between different displacement candidates and mitigates the multi-modal problem in the learned cost volume. The cost volume is then projected to optical flow estimation through a 2D soft-argmin layer. Extensive experiments show that our approach achieves state-of-the-art accuracy on various datasets, and outperforms all published optical flow methods on the Sintel benchmark.

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="2010.14851")

Code

Syntology Ran 4 of 12 code samples harvested from 2 repositories linked to this paper; 8 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 3 ran with no contract checked.

By repository: official repository: 11 samples from 1 repository, 4 ran; community (archive-listed): 1 sample from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

jytime/DICL-Flow officialmentioned in paperpytorchMIT report
neu-vi/ezflow mentioned on GitHubpytorchMIT report
neu-vig/ezflow mentioned on GitHubpytorchMIT 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

12 samples harvested; 4 ran; 0 honoured the contract we drafted; 8 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
3ran
8unverified

Licence: 0 of the 12 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 2 repositories linked to this paper, official or community; each sample names its own and says which. “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.

compute_color jytime/DICL-Flow/utils/flow_viz.py official repository ran MIT (permissive) · abcbf43ad9fe6129 · report
create_logger jytime/DICL-Flow/utils/log.py official repository ran · our draft was wrong MIT (permissive) · c349bc6f8ed16220 · report
readFlowKITTI jytime/DICL-Flow/utils/frame_utils.py official repository ran MIT (permissive) · 04de40832d91cecb · report
readPFM jytime/DICL-Flow/utils/frame_utils.py official repository ran MIT (permissive) · 7c3fbc1f552de802 · report
flow_compute_color jytime/DICL-Flow/utils/flow_viz.py official repository unverified MIT (permissive) · 215f62561b03c262 · report
flow_to_color jytime/DICL-Flow/utils/flow_viz.py official repository unverified MIT (permissive) · d59fe7ab39463182 · report
random_select_points jytime/DICL-Flow/loss_functions.py official repository unverified MIT (permissive) · f0c289fcdf2bc013 · report
readFlow jytime/DICL-Flow/utils/frame_utils.py official repository unverified MIT (permissive) · 1662ea0b62b0229c · report
resize_flow jytime/DICL-Flow/utils/augmentor.py official repository unverified MIT (permissive) · f081ebfd3f0d4c82 · report
split2list jytime/DICL-Flow/datasets.py official repository unverified MIT (permissive) · 21e502a63eb0fcd2 · report
subspace_loss_batch jytime/DICL-Flow/loss_functions.py official repository unverified MIT (permissive) · 83a4a6b397d8c912 · report
get_default_model_cfg neu-vi/ezflow/ezflow/models/build.py community (archive-listed) unverified MIT (permissive) · 2d48be2529de8c80 · report

Tasks

Optical Flow EstimationStereo Matching

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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