M2SVid: End-to-End Inpainting and Refinement for Monocular-to-Stereo Video Conversion

Nina Shvetsova, Goutam Bhat, Prune Truong, Hilde Kuehne, Federico Tombari

TL;DR

M2SVid introduces a highly efficient, single-step feed-forward network that converts standard 2D monocular video into high-quality stereoscopic 3D video. By adapting a latent video diffusion model with left-view conditioning and targeted spatio-temporal attention for disoccluded regions, it achieves state-of-the-art visual quality while running 6× to 600× faster than iterative diffusion alternatives.

What Problem Does This Paper Address?

With the rise of Mixed-Reality (MR) and VR headsets, there is a growing demand for stereoscopic 3D content. However, most existing video libraries are monocular (2D). Converting 2D video to 3D typically involves estimating per-frame depth maps and warping the original left-eye view to create a virtual right-eye view.

This warping process inevitably creates two major issues:

  1. Disocclusion "holes": Areas that were hidden behind foreground objects in the left view become visible in the right view, leaving empty pixels.
  2. Warping artifacts: Geometric distortions, particularly around thin structures or complex boundaries.

While recent methods repurpose video diffusion models to inpaint these holes, they suffer from extreme computational overhead due to their iterative denoising steps (often taking dozens of passes per frame). Furthermore, because they primarily focus on the warped right view, they frequently fail to preserve the high-frequency details and textures present in the original, uncorrupted left view.

Methods

M2SVid breaks away from traditional multi-step diffusion by treating a pre-trained latent video diffusion model—specifically Stable Video Diffusion (SVD)—as a direct, single-step feed-forward generator.

The overall pipeline consists of three main stages:

  1. Video Depth Estimation: Extracting per-frame depth maps using an off-the-shelf model.
  2. Depth-based Forward Splatting: Warping the left view to generate an initial right view along with a disocclusion mask.
  3. Video Inpainting and Refinement (M2SVid): Processing the inputs to generate the final right view.
Overview of the monocular-to-stereo conversion pipeline

The authors introduce two key architectural modifications to SVD to optimize it for stereoscopic conversion:

  • Left-View Conditioning: The network's first convolution layer is extended to accept a concatenation of the noisy latents, the VAE-encoded warped right view, the disocclusion mask, and the VAE-encoded original left view. This allows the model to directly pull high-frequency details from the uncorrupted left view to fix warping artifacts.
  • Full Attention at Disoccluded Pixels: Standard video transformers use factorized attention (separating spatial and temporal attention blocks) to keep compute manageable. However, this limits the model's ability to track pixels moving across both space and time. Since disoccluded pixels make up a very small fraction of the video (typically <5%), M2SVid modifies the spatial attention layer to compute full spatio-temporal cross-attention exclusively for these masked pixels, allowing them to copy matching details from any location in neighboring frames.
Figure 3. An overview of our proposed stereoscopic video refinement method. Our model inpaints the discoccluded regions in the warped right view, and corrects possible artifacts introduced by warping errors. The model takes the VAE encodings of the input left view, reprojected right view, and the disocclusion mask as conditioning to the U-Net. The latent encodings of the refined right view are then generated in a single denoising step, and then decoded by the VAE Decoder to generate the output right video. In order to effectively utilize the information from neighboring frames for inpainting, we extend the spatial attention layer in SVD to compute full attention for the disoccluded tokens. The model is training end-to-end by minimizing image space and latent space losses.

Instead of training with standard diffusion objectives, the model is trained end-to-end using a combination of latent-space loss and image-space fidelity losses ($L_1$ + LPIPS) at a fixed maximum timestep ($t=T$), forcing it to output a clean, sharp image in a single pass.

Datasets

The model was trained and evaluated using the following datasets:

  • Stereo4D: A dataset containing ~200K stereoscopic video clips from online sources. The authors held out 400 diverse clips for quantitative evaluation.
  • Ego4D: A massive egocentric video dataset. The authors isolated and rectified 263 long stereoscopic videos (amounting to 80 hours), splitting them into ~57K 5-second clips for training and evaluation.
  • DAVIS: A standard monocular video dataset used strictly for qualitative evaluation and human perception user studies.

Key Insights and Ideas

  • Single-Step Diffusion for Constrained Tasks: While open-ended text-to-video generation requires iterative denoising to navigate highly ambiguous generation spaces, stereo inpainting is highly constrained. Because the correct content is almost always present in either the adjacent view or neighboring frames, the problem shifts from hallucination to information retrieval, which can be solved effectively in a single feed-forward step.
  • Exploiting Mask Sparsity: Full spatio-temporal attention across an entire video block is computationally prohibitive ($O(N^2h^2w^2)$). However, by recognizing that only a tiny fraction of tokens actually need to search across space and time to fill holes, the authors successfully bypassed the limitations of factorized attention without incurring massive computational costs.

Key Results

  • State-of-the-Art Quality: On the Stereo4D benchmark, M2SVid achieved a PSNR of 26.2 and an LPIPS score of 0.180, significantly outperforming the concurrent state-of-the-art method StereoCrafter (PSNR: 24.9, LPIPS: 0.242).
  • Massive Speedups: M2SVid processes a 16-frame ($512 \times 512$) video snippet in just 2.1 seconds on a single NVIDIA A100 GPU. This makes it 6× faster than StereoCrafter (25 denoising steps) and 600× faster than SVG (50 denoising steps).
  • Human Evaluation: In a desktop user study, M2SVid was ranked as the best-performing method 2.6× more often than StereoCrafter. In a separate VR headset user study, users preferred M2SVid's output in 39 out of 105 side-by-side comparisons, while StereoCrafter was preferred only 9 times (the remaining cases were ties).

Limitations and Future Work

Despite its strong performance, M2SVid inherits a core limitation from its underlying architecture: Stable Video Diffusion relies on a Variational Autoencoder (VAE) to compress videos into latent space. This VAE compression inherently discards some high-frequency details, which can introduce subtle blurriness in the final output.

Additionally, to handle arbitrary, high-resolution videos, the model relies on spatial and temporal tiled stitching. While efficient, this stitching process can occasionally introduce visible boundary artifacts or localized blurring, which the authors plan to address in future iterations.

Summary updated

Abstract

We tackle the problem of monocular-to-stereo video conversion and propose a novel architecture for inpainting and refinement of the warped right view obtained by depth-based reprojection of the input left view. We extend the Stable Video Diffusion (SVD) model to utilize the input left video, the warped right video, and the disocclusion masks as conditioning input to generate a high-quality right camera view. In order to effectively exploit information from neighboring frames for inpainting, we modify the attention layers in SVD to compute full attention for discoccluded pixels. Our model is trained to generate the right view video in an end-to-end manner without iterative diffusion steps by minimizing image space losses to ensure high-quality generation. Our approach outperforms previous state-of-the-art methods, being ranked best 2.6x more often than the second-place method in a user study, while being 6x faster.
BibTeX
@inproceedings{shvetsova2026m,
  author = {Nina Shvetsova and Goutam Bhat and Prune Truong and Hilde Kuehne and Federico Tombari},
  title = {{M2SVid: End-to-End Inpainting and Refinement for Monocular-to-Stereo Video Conversion}},
  booktitle = {3DV},
  year = {2026},
  doi = {10.1109/3dv69130.2026.00021},
}
Figure