Learning to Discriminate Scene Structures Makes Self-Supervised Depth Learning Scalable

Mengtan Zhang, Yuchuan Cui, Yu Ma, Zizhan Guo, Wei Ye, Rui FanNeurIPS 2026

TL;DR

Throwing more diverse, unlabeled video data at a self-supervised depth estimation model should make it smarter—right? Surprisingly, existing models actually get worse when trained on mixed environments because they cheat by memorizing dataset-specific layouts instead of learning true 3D geometry. This paper introduces MaSS, a framework that separates what is in a scene from how the space is structured, finally allowing self-supervised depth models to scale up with diverse data.

What Problem Does This Paper Address?

Teaching an AI to perceive 3D depth from a single 2D camera without expensive laser-scanned ground truth is the holy grail of Self-Supervised Monocular Depth Estimation (SSMDE). Typically, these models learn by watching videos and trying to reconstruct the next frame based on estimated depth and camera motion. The catch? That supervision signal is super noisy—reflections, moving cars, and blank walls easily confuse the network.

To survive this weak supervision on a single dataset, models quietly take a shortcut: they memorize the dataset's structural bias. Train a model on highway driving, and it learns to hallucinate a vanishing point in the middle of every image—even if you show it the wall of a brick building. Train it on bedrooms, and it utterly fails in a cavernous lecture hall.

Out-of-distribution depth predictions showing how conventional models hallucinate dataset biases while MaSS captures true scene geometry.

When researchers try to scale up by mixing indoor, outdoor, and bad-weather videos together, these memorized shortcuts clash. Instead of generalizing, the model suffers optimization conflicts and its performance tanks.

Methods

To stop the network from relying on cheap shortcuts, the authors built MaSS (Make Self-supervised depth learning Scalable), combining standard pretrained backbones with three clever innovations:

  1. Bidirectional Interaction: Pretrained Vision Foundation Models (VFMs) like DINOv2 understand semantics ("that's a car"), while traditional depth encoders understand local geometry. Freezing DINOv2 to protect its knowledge from noisy self-supervised gradients, MaSS uses a standard ViT-Adapter-style bridge so the frozen VFM and a trainable depth encoder can trade notes.
  2. Anchored-Decoupled Projectors (Novel): A street and a hallway might share the exact same geometric perspective while containing totally different objects. MaSS splits features into two pathways: a contextual pathway (anchored to DINOv2 so it retains object semantics) and a structural pathway (mathematically forced to be orthogonal—completely decoupled—from the contextual one, reserving its brainpower strictly for 3D layout).
  3. Scene-Structure Discrimination (Novel): How do you teach "global layout" without labels? Contrastive learning! During training, MaSS downsamples its own predicted depth maps and summarizes them into smooth depth histograms (using soft-binning to ignore local noise). Scenes with similar global depth distributions—measured via symmetric KL divergence—are pulled together in the structural feature space, while structurally different scenes are pushed apart.
Figure 2: Feature activation map comparison among a conventional self-supervised depth model, DINOv2, and the two representations learned by MaSS. (a) The conventional depth model tends to encode dataset-specific biases, whereas (b) DINOv2 lacks sufficient geometric cues. In contrast, MaSS decouples features into contextual and structural representations: (c) contextual ones capture fine-grained object details and foreground–background relations; (d) structural ones encode global scene layouts that are transferable across diverse datasets.

Datasets

No new datasets are introduced, as the goal is evaluating cross-domain scalability across 13 existing public benchmarks:

  • Training & In-Domain Evaluation (4): KITTI, DDAD, nuScenes (driving/dynamic/weather), and NYUv2 (indoor).
  • Zero-Shot Generalization (8): Waymo Open, DrivingStereo, Cityscapes (driving); iBims-1, SUN-RGBD, 7-Scenes (indoor); and DIML, DIODE (challenging out-of-distribution scenes).
  • Scalability Testing (1): TartanAir (50K synthetic samples across diverse scenes like hospitals and forests added to expand training from 150K to 200K images).

Key Insights and Ideas

  • Datasets leak their geometry into intermediate features: By inspecting internal activation maps, the authors caught conventional encoders red-handed—baking a permanent "highway vanishing point" directly into high-level features regardless of what image was fed in.
  • More data hurts unless you decouple structure: Existing state-of-the-art SSMDE models actively degrade when trained on mixed domains. MaSS flips this trend, turning data diversity from a liability into a genuine performance boost.
Performance trends showing prior methods dropping in accuracy under mixed-dataset training, while MaSS consistently improves.
  • Bigger semantic backbones won't save you: Swapping DINOv2 for the stronger DINOv3 barely moved the needle in ablations, proving that scaling depth estimation requires explicitly modeling scene geometry, not just bolting on heavier semantic VFMs.

Key Results

  • Reversing the Mixed-Training Curse: When moving from single-dataset to mixed-dataset training on NYUv2, prior methods like DCPI-Depth saw error (Abs Rel, lower is better) spike from 0.151 to 0.331. In contrast, MaSS improved across all four datasets, dropping NYUv2 error from 0.109 to 0.104 and KITTI from 0.094 to 0.092.
  • Data-Efficient Zero-Shot Generalization: Trained on just 150K mixed images, MaSS (0.100 Abs Rel on DrivingStereo, 0.289 on DIODE) beat massive self-supervised models like KBR++ (0.126 and 0.431), which required 2.2M training images and roughly 4.7x more compute (FLOPs). It even rivaled fully supervised foundation models like Marigold on outdoor benchmarks.
  • True Scalability: Adding 50K diverse TartanAir images boosted zero-shot accuracy on tough out-of-distribution datasets (DIML and DIODE) by an average of +4.3% in Abs Rel.

Limitations and Future Work

  • Bootstrapping Catch-22: Because MaSS uses its own depth predictions to build histograms for contrastive learning, it cannot use this objective from scratch—early random guesses would poison the representations. It requires a 1-epoch warm-up stage first.
  • Indoor Gap: On homogeneous indoor benchmarks, MaSS still trails supervised foundation models trained on massive synthetic ground-truth datasets.
  • Scale Regime: Testing maxed out at 200K images (conveniently trainable on a single RTX 4090 in 2.5 days), which is tiny compared to the tens of millions of images used by supervised giants like Depth Anything V2. Scaling MaSS to multi-million-image regimes remains an open frontier for future work.

Summary updated

Abstract

Self-supervised monocular depth estimation is appealing for its potential to scale with unlabeled data, yet existing methods often degrade when trained on diverse scenes. This study finds that, under self-supervision, models tend to encode dataset-specific structural biases rather than transferable scene geometry, leading to cross-domain optimization conflicts. To address this issue, this study proposes the MaSS framework, aiming to make self-supervised depth learning scalable to diverse data. MaSS introduces a dedicated structural representation pathway explicitly decoupled from contextual features, which is guided by a novel scene-structure discrimination objective to learn generalized, layout-aware structural representations for depth decoding. Trained and evaluated on four diverse datasets, both individually and jointly, MaSS substantially outperforms prior self-supervised methods and is the first to consistently benefit from mixed-domain training. Zero-shot evaluation on eight additional datasets further demonstrates its remarkable generalizability, particularly on those entirely out-of-distribution scenes. The source code is publicly available at \url{https://mias.group/MaSS}.
BibTeX
@inproceedings{zhang2026learning,
  author = {Mengtan Zhang and Yuchuan Cui and Yu Ma and Zizhan Guo and Wei Ye and Rui Fan},
  title = {{Learning to Discriminate Scene Structures Makes Self-Supervised Depth Learning Scalable}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=jW8Zbqy3Dr},
}
Figure