arXiv:2611.09458cs.CVNov 2026

Manuscript Offprint

arXiv:2611.09458

Left-Right-Consistent Iterative Stereo Matching via Cross-Injection

Manuel Knott, Diogo Luvizon, Daniel Scharstein, Elias Vansteenkiste

Abstract

State-of-the-art stereo matching models predominantly predict the disparity of only the left (reference) view. However, applications such as per-eye AR/VR rendering, novel view synthesis, or two-view depth fusion require disparity for both views, and need those two maps to agree. The usual workaround of running the network a second time on the horizontally flipped and swapped pair gives two independent predictions that can be inconsistent, especially on transparent surfaces, in textureless regions, and at occlusion boundaries. We introduce cross-injection (CI), a lightweight extension for iterative (refinement-based) models that can be added to any pretrained left-only iterative matcher. It couples the two passes by injecting the explicit, signed left-right inconsistency as an additional input cue at every step of the refinement stage. We empirically show that CI substantially reduces left-right disagreement on every benchmark (more than halving it on Booster for FoundationStereo), while largely preserving sharp object boundaries. Furthermore, using two state-of-the-art stereo matching models, we show that CI also reduces the single-view disparity error, making it a worthwhile extension even if only left disparity is needed.

1. Introduction

A growing number of vision systems need geometrically consistent disparity for both cameras of a stereo rig, not just for a reference view. Per-eye passthrough rendering on AR/VR headsets reprojects and composites each eye with its own depth [8], so any left-right disagreement introduces noticeable artifacts [12]. Stereoscopic content must also keep disparity within a viewing-comfort zone [23]. Novel view synthesis from a stereo pair renders new viewpoints from the two input views [66], so where the two disparity maps disagree the composite tears and ghosts at occlusion boundaries. Two-view depth fusion likewise yields doubled geometry wherever the two estimates disagree. These examples demonstrate the need not just for two accurate depth maps, but also consistent ones.

GitHub: https://github.com/facebookresearch/stereo_crossinjection

Figure

Figure 1. Sample predictions with and without our proposed cross-injection (CI) extension. CI can be added to any iterative stereo matcher (here FoundationStereo [57]) and substantially improves left-right consistency between two otherwise independent inference passes (left example); it also reduces per-view failure modes (right example). Here, we show two examples from the Booster dataset [39] where inconsistent predictions arise mainly on reflective and transparent surfaces. Additional visualizations are shown in Figs. 4, 5 and 6.

State-of-the-art stereo matchers, however, typically predict only the left (reference) disparity, a convention encouraged by benchmarks that score only the left view [14, 35, 41, 42]. In practice, the standard way to obtain the right disparity from such a network is to horizontally flip and swap the input pair, re-posing the right view as a left-view problem, and run the same weights a second time. The two passes are coupled only implicitly through the image content; nothing enforces that their outputs agree. As a result, they often diverge in textureless regions, at occlusion boundaries, and on transparent or reflective surfaces, where each pass locks onto a different plausible depth (Fig. 1, left example, middle row).

This is the gap we address in this paper: making the left and right predictions agree without sacrificing single-view accuracy. Rather than a fundamental redesign (a symmetric, both-view architecture trained from scratch), we propose a lightweight extension that reuses the strong pretrained left-only matchers the field already provides. It attaches to any such matcher with a RAFT-style [28, 45] refinement module and adds left-right consistency through fine-tuning alone, so it transfers to new base models as they appear. In summary, our main contributions are as follows:

  • We propose cross-injection, a lightweight extension for refinement-based left-only stereo matching models. Unlike prior in-network consistency mechanisms, we inject explicit disparity inconsistency directly into the GRU update. Our extension is zero-initialized, leaving the pretrained matcher's predictions unchanged at the start of fine-tuning, so the coupling is learned entirely by fine-tuning.

  • We supervise this coupling with a left-right consistency loss under per-pixel bidirectional gradient routing, and show it preserves sharp edges better than a naive symmetric one.

  • We demonstrate that our method substantially improves left-right consistency for two state-of-the-art stereo matching architectures [36, 57].

  • We show that CI is also at least as accurate as a matched fine-tuning control in 14 of 15 benchmark-model combinations, and clearly better in most, making it a worthwhile extension even if only left-view prediction is required.

References (64)