αDepth: Learning Single-Pass Soft Boundary Decomposition for Stereo Conversion

Xiang Zhang, Yang Zhang, Lukas Mehl, Karlis Martins Briedis, Markus Gross, Christopher Schroers

TL;DR

αDepth introduces a novel layered representation that automatically decomposes "soft boundaries" (like hair, fur, and defocus blur) into distinct foreground and background layers for high-fidelity 2D-to-3D stereo conversion. By mapping alpha values to a continuous circular space, the model performs automatic, scene-level, multi-target boundary decomposition in a single forward pass without requiring manual guidance like trimaps.

What Problem Does This Paper Address?

Converting 2D images or videos into 3D content (stereo conversion) is essential for VR/AR and modern movie production. A major bottleneck in this process is handling soft boundaries—areas where foreground and background colors mix within a single pixel (e.g., wisps of hair or out-of-focus edges).

Standard monocular depth estimators assign only a single depth value per pixel, which creates depth ambiguity at these boundaries. When these images are warped to create a stereo pair, this ambiguity causes ugly visual artifacts like "background bleeding," halos, or floating textures. While alpha matting techniques can separate these mixed pixels, they traditionally require manual user intervention (like drawing a trimap) or are restricted to specific categories like humans, making them impractical for automated, complex, multi-target scene pipelines.

Figure 2: Comparison with existing paradigms. Depth estimation models typically assign a single depth value per pixel, struggling with mixed colors at soft boundaries and suffering from depth ambiguity. While conventional matting approaches extract instance-level soft boundaries, they usually require manual guidance (e.g., trimaps). In contrast, our layered αDepth representation enables automatic scene-level decomposition. Given an image and its depth map, αDepth explicitly decomposes soft boundaries into layered color, alpha, and layered depth in a single forward pass.

Methods

The authors propose αDepth, a pipeline that takes a single image and its predicted single-layer depth map to estimate alpha, layered color, and layered depth specifically at soft boundaries.

Key components include:

  • Dual-Path Encoder: Features a UNet-based detail encoder to capture fine-grained structural textures and a semantic encoder (based on DINOv2 initialized with Depth Anything V2 weights) to reason about high-level scene context.
  • Circular Alpha Representation (CAR): Traditional alpha matting suffers from "alpha valleys"—sharp discontinuities and estimation errors where multiple foreground objects overlap. To fix this, CAR projects the linear alpha scale ($\alpha \in [0,1]$) into a continuous trigonometric space ($\sin(2\pi\alpha), \cos(2\pi\alpha)$). This clever trick wraps the alpha scale around a circle, mapping completely opaque background ($\alpha=0$) and completely opaque foreground ($\alpha=1$) to the exact same coordinate. This eliminates discrete jumps and simplifies network optimization.
  • Local Two-Layer Decomposition: Instead of trying to solve global depth layers for the entire scene, the model predicts a local foreground and background layer only within the soft boundary regions.
  • Layered Warping: The authors extended standard depth-guided softmax splatting to project the foreground (premultiplied by alpha) and background layers separately before compositing them into the final stereo view.
The Circular Alpha Representation (CAR) maps alpha values to a continuous trigonometric space to eliminate boundary discontinuities.

Datasets

Because no massive dataset exists with ground-truth layered color and depth for soft boundaries, the authors curated their own training pairs:

  • Training Backgrounds: Sampled from RealEstate10K and DL3DV-10K.
  • Training Foregrounds: Extracted from high-quality matting datasets including AM-2K, Distinctions-646, and Composition-1K.
  • Evaluation: The stereo conversion performance was evaluated on the Mono2Stereo and Marvel-10K datasets, while the matting accuracy was validated on AIM-500 and P3M-10K.

Key Insights and Ideas

  • Shift from Global to Local: Instead of attempting a global multi-layer decomposition of an entire complex scene, focusing purely on local boundary transitions makes the problem highly tractable and efficient.
  • The Power of the Circle: Wrapping the alpha scale around a circle elegantly bypasses the "alpha valley" problem. By making the endpoints meet, the network treats all opaque regions as a single unified class and focuses entirely on the semi-transparent transitions.
  • Two Layers are Enough: Even in complex scenes with many overlapping objects, a local two-layer formulation (just local foreground and local background at any given boundary) is sufficient to resolve depth ambiguity.

Key Results

  • Stereo Conversion Quality: On the Marvel-10K dataset, αDepth significantly outperformed existing state-of-the-art methods. It boosted the soft-region PSNR (S-PSNR) to 28.46 dB (compared to HairGuard's 27.10 dB) and achieved a lower Fréchet Video Distance (FVD) of 1.72, indicating superior temporal and visual consistency.
  • Trimap-Free Matting: Despite requiring zero manual guidance, αDepth achieved alpha matting accuracy (SAD of 7.24 on AIM-500) comparable to top-tier matting models that depend on manual trimaps or segmentation masks.
  • Inference Speed: The architecture is highly efficient, boasting an inference speed of 0.0153 seconds per image (~65 FPS) on an NVIDIA RTX 4090 GPU, making it fully viable for real-time automated pipelines.

Limitations and Future Work

  • Dependence on Base Depth: αDepth acts as a plug-and-play refinement module. If the underlying monocular depth model introduces severe global geometric distortions, αDepth cannot fully correct the macro-level structure.
  • Strictly Two-Layer Limit: In rare scenarios where three or more semi-transparent boundaries overlap at the exact same pixel, the current two-layer assumption falls short. The authors suggest an iterative "layer-peeling" mechanism as a future extension.
  • Video Consistency: Because the model operates on an image-by-image basis, it can occasionally suffer from subtle flickering artifacts in highly dynamic video sequences. Integrating spatio-temporal attention modules is a clear path forward.

Summary updated

BibTeX
@inproceedings{zhang2026depth,
  author = {Xiang Zhang and Yang Zhang and Lukas Mehl and Karlis Martins Briedis and Markus Gross and Christopher Schroers},
  title = {{αDepth: Learning Single-Pass Soft Boundary Decomposition for Stereo Conversion}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=EmsqCfKK01},
}
Figure