Introduction
Deep learning has significantly advanced stereo matching for static images. However, extending these successes to video remains a challenge. When processed frame-by-frame, disparity estimations often suffer from "flickering"—temporal inconsistencies where depth values for the same point fluctuate across frames. This instability is particularly pronounced in dynamic scenes where objects move independently of the camera.
Existing video-based methods attempt to address this using sliding windows or temporal attention mechanisms. However, these approaches often struggle with the "alignment gap," where temporal attention is applied to unaligned cost volumes, and the lack of global constraints, leading to long-term depth drift. To solve these issues, we introduce BiDAStereo, a framework designed for bidirectional alignment and global information propagation.
The BiDAStereo Framework
BiDAStereo shifts the focus from per-frame matching to a strategy of local matching combined with global aggregation.
1. Bidirectional Alignment
Central to the framework is the bidirectional alignment mechanism. Using a RAFT-based optical flow module, the model warps features from adjacent frames ($t-1$ and $t+1$) toward the current reference frame ($t$). This ensures that temporal information is aggregated from the same physical points across the sequence, bridging the alignment gap that plagues previous attention-based methods.
2. Triple-Frame Correlation Layer (TFCL)
For local matching, BiDAStereo utilizes a Triple-Frame Correlation Layer. While traditional stereo matching uses a single left-right pair, TFCL constructs cost volumes using one reference (left) frame and three source (right) frames: the current frame and its two aligned neighbors. This redundancy is crucial for resolving depth in regions that are occluded in the current frame but visible in adjacent ones.
3. Motion-propagation Recurrent Unit (MRU)
To ensure long-term stability, the model incorporates a Motion-propagation Recurrent Unit. Unlike standard video models that use image features as hidden states, the MRU propagates "motion features." These features act as a temporal cache, where hidden states from neighboring frames are aligned and fused into the current frame's state. This allows the model to maintain a global temporal receptive field, effectively suppressing low-frequency oscillations.
4. Super Kernel Refinement
The refinement stage employs a "Super Kernel Updater"—a 3D convolution module with a specialized $1 \times 1 \times 15$ horizontal kernel. This design expands the receptive field along the epipolar line, specifically targeting the horizontal displacement characteristic of stereo matching to enhance smoothness.
Experimental Evaluation
The model was evaluated on high-standard benchmarks including SceneFlow (SF), Dynamic Replica (DR), and Sintel (Clean and Final).
BiDAStereo demonstrates state-of-the-art performance in both accuracy and temporal consistency. On the Sintel Final pass, the model achieved a 36.1% reduction in Temporal End-Point Error (TEPE) compared to the previous state-of-the-art, DynamicStereo. It also consistently outperformed per-frame methods like RAFTStereo and other video-based pipelines like CODD. Qualitative results, such as point cloud renderings, show a marked reduction in "ghosting" and flickering, particularly in challenging areas like low-texture surfaces or transparent materials.
Key Insights
- Alignment is Essential: The researchers found that without explicit alignment, temporal attention often introduces noise. Optical flow provides the necessary implicit alignment to handle both static and dynamic scene elements.
- Motion Features as State Variables: Using motion features instead of raw image features for the hidden state provides better context for global propagation without blurring the high-frequency details required for local matching.
- Reference Frame Asymmetry: The study revealed that while multiple source frames improve depth estimation by resolving occlusions, using multiple reference frames introduces ambiguity and noise. Maintaining a single reference frame ensures spatial clarity.
Conclusion and Future Work
BiDAStereo provides a robust solution for consistent dynamic stereo matching. While it sets a new benchmark for temporal stability, future work will focus on reducing the computational overhead associated with bidirectional optical flow and exploring the integration of explicit geometry priors, such as camera poses, to further refine alignment.
Summary updated