DMS:Diffusion-Based Multi-Baseline Stereo Generation for Improving Self-Supervised Depth Estimation

Zihua Liu, Yizhou Li, Songyan Zhang, Masatoshi OkutomiarXiv 2025 · DOI

Abstract

Self-supervised depth estimation often fails in "blind spots" such as occlusions and out-of-frame regions where pixel correspondence is missing. We introduce DMS (Diffusion-based Multi-Baseline Stereo Generation), a framework that leverages a fine-tuned Stable Diffusion model to synthesize additional viewpoints along the epipolar line. By generating these geometrically consistent views, DMS provides the visual cues necessary to resolve ambiguities in ill-posed regions. Our approach consists of a two-stage pipeline: first, generating multi-baseline stereo images, and second, utilizing these views in a multi-view assisted training scheme with a per-pixel minimum warping loss. DMS is a plug-and-play data augmentation strategy that significantly improves the performance of existing self-supervised depth estimators, achieving up to a 35% reduction in outliers on the KITTI benchmark and over 50% error reduction in occluded regions on SceneFlow.

Introduction

In self-supervised depth estimation, models typically learn by reconstructing one image of a stereo pair from another. If the model correctly estimates depth, it can warp the right image to match the left. However, this logic breaks down in ill-posed regions like occlusions (areas visible to only one camera) and out-of-frame areas (pixels that shift off-sensor). Without a corresponding pixel to match against, the loss function provides erroneous signals, leading to blurry or inaccurate depth maps. DMS addresses this by asking: What if we could generate the missing viewpoints ourselves?

The DMS Framework

The DMS pipeline is divided into two distinct stages: generating synthetic views and then using those views to supervise a depth estimator.

The two-stage DMS pipeline: Multi-baseline generation followed by multi-view assisted training.

Stage 1: Multi-Baseline Stereo Generation

Instead of physical multi-camera rigs, DMS employs a fine-tuned Stable Diffusion (v2) model as a geometric view synthesizer. The model is conditioned on a reference image ($I^{ref}$) and a directional text prompt (e.g., "to left" or "to right"). By feeding the left image and the prompt "to left," the model generates a "left-left" view, effectively extending the virtual camera's baseline.

The training (left) and inference (right) process for the diffusion-based multi-baseline stereo generator.

A key technical insight is the Resolution Trick: by upscaling the input resolution before generation, the model produces a smaller pixel-level shift. This allows for the synthesis of intermediate views (such as a "center" view between the original stereo pair) without requiring specific training data for those positions.

Stage 2: Multi-View Assisted Training

Once the geometrically consistent views (left-left, center, right-right) are generated, they are used to train standard depth estimators like PASMnet or MonoDepth2. The authors employ a Per-Pixel Minimum Warping Loss, which allows the network to select the best matching pixel from any available view. This effectively "fills in" the holes caused by occlusions in the original stereo pair by providing alternative perspectives where those regions are visible.

Datasets and Evaluation

The authors evaluated DMS across several major benchmarks:

  • SceneFlow: A large synthetic dataset for initial training and occlusion analysis.
  • KITTI (2012 & 2015): The standard for real-world autonomous driving depth estimation.
  • MPI-Sintel: Used for evaluating performance in complex occlusion scenarios.
  • CARLA: A simulator used to create a custom multi-baseline dataset to quantitatively verify the geometric accuracy of the diffusion-generated views against ground truth.

Key Results

  • Outlier Reduction: DMS achieved up to a 35% reduction in outliers (pixels with >3px error) on the KITTI benchmark.
  • Occlusion Handling: In occluded regions, the End-Point Error (EPE) dropped by over 50% on the SceneFlow dataset, as the model finally had access to views that could see behind foreground objects.
  • Versatility: As a data augmentation strategy, DMS is "plug-and-play." It improved the performance of various existing models (SGM, RaftStereo, IGEVStereo) without requiring changes to their underlying architectures.

Conclusion

DMS demonstrates that large-scale generative models like Stable Diffusion possess inherent geometric priors that can be steered for precise 3D tasks. While the inference latency of diffusion models currently limits this to a training-time augmentation, the significant gains in occlusion handling and outlier reduction mark a major step forward for self-supervised depth estimation. Future work may explore more complex camera trajectories to enable full 360-degree scene understanding from limited initial viewpoints.

Summary updated

BibTeX
@misc{liu2025dms,
  author = {Zihua Liu and Yizhou Li and Songyan Zhang and Masatoshi Okutomi},
  title = {{DMS:Diffusion-Based Multi-Baseline Stereo Generation for Improving Self-Supervised Depth Estimation}},
  year = {2025},
  eprint = {2508.13091},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.13091},
}
Figure