arXiv:2610.23600cs.CVOct 2026

Manuscript Offprint

arXiv:2610.23600

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

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

Mengtan Zhang Yuchuan Cui Yu Ma Zizhan Guo Wei Ye Rui Fan ⊗^{\otimes}

Tongji University

Figure

(a)

(b)

RGB Image

SC-DepthV3

MaSS (Ours)

Out-of-Distribution

Indoor Scene

RGB Image

DCPI-Depth

MaSS (Ours)

Out-of-Distribution

Outdoor Scene

Depth Map

Error Map

(c)

Figure 1: Beyond (a) achieving SoTA performance across diverse datasets with a unified model, MaSS is the first SSMDE method to (b) effectively benefit from increased data diversity and (c) exhibit remarkable generalizability to entirely out-of-distribution scenes.

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 https://mias.group/MaSS.

Corresponding author.

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

1 Introduction

The fundamental advantage of self-supervised learning lies in its potential to leverage ubiquitous unlabeled data for scalable model training. However, most existing self-supervised monocular depth estimation (SSMDE) research [1, 2, 3, 4, 5] is predominantly confined to training models individually on single datasets or scenarios, leaving much of this potential unexplored. Recent efforts have attempted to directly train models with existing SSMDE methods on large-scale video sequences curated from online platforms [6, 7], as well as to incorporate vision foundation models (VFMs) as backbones [8, 7]. Despite these advances, overall performance improvements remain limited. As demonstrated by our preliminary experiments (see Fig. 1(b)), when existing methods are trained simultaneously on diverse monocular video data (e.g., indoor, outdoor, dynamic, and adverse weather scenarios), they fail to benefit mutually from the increased diversity and do not exhibit improved generalization to out-of-distribution scenes. Instead, we observe a performance decline compared to models trained individually on a single dataset. This observation demonstrates that existing SSMDE methods have not yet achieved effective scalability to diverse data.

This study begins by investigating the challenges that arise when SSMDE is exposed to diverse data distributions during training. It is worth noting that the novel-view synthesis-based supervision inevitably introduces noisy and artifact-laden supervisory signals in scenarios involving occlusions, textureless regions, and illumination changes [9, 10]. Even setting aside such noise, the gradients induced by self-supervised losses often fail to reflect depth errors faithfully [4]. As a result, the optimization process is inherently prone to local minima, leading to poor convergence stability [4]. Although these challenges frequently occur during self-supervised training, existing methods can still achieve reasonable accuracy on a single, homogeneous dataset [3]. This is largely because the network can exploit the structural bias inherent to that dataset, thereby compensating for weak supervision. The key evidence we find is that under the existing SSMDE framework, the coarsest, high-level feature of the depth encoder does not capture depth-related cues, such as the foreground–background relation and perspective geometry. Instead, it primarily reflects the dataset-specific structural biases. When training on diverse datasets, different data domains often require the model to learn inconsistent structural biases for their respective convergence, leading to the observed performance drop.

These findings motivate us to explicitly guide the network to learn a robust, generalized scene-structure representation for depth decoding. Based on this core idea, we develop the MaSS framework that Make Self-supervised depth learning Scalable to diverse data. MaSS bridges a conventional depth encoder with a frozen pretrained VFM through a bidirectional interaction architecture, drawing inspiration from [11]. In this design, the depth encoder focuses on extracting geometric cues that are difficult to recover from VFM features [8]. The interacted VFM features are then fed into two feature projectors to reconstruct complementary, collapse-free representations under explicit constraints and learning objectives. Specifically, one projector is adapted to learn a contextual representation informative for depth estimation, such as object-level spatial relationships, while retaining generalized semantics with the original VFM features as anchors. The other projector is then constrained to be decoupled from the contextual one, thereby reserving its representational capacity for scene structure. To explicitly define this representation, we introduce a scene-structure discrimination objective via contrastive learning. This objective organizes the feature space based on scene layout similarity, which is measured by the histogram distribution of predicted depth. Driven by this objective, the second projector learns transferable structural representations that capture global scene layout and perspective geometry, rather than dataset-specific biases. Together, these two complementary representations enable more reliable depth predictions while reducing their reliance on dataset-specific biases.

Extensive experiments demonstrate that MaSS outperforms previous state-of-the-art (SoTA) self-supervised methods by a large margin (as presented in Fig. 1(a)) and achieves accuracy comparable to certain supervised depth foundation models. Moreover, MaSS represents the first self-supervised approach to achieve clear performance gains from increasing the diversity of training data (Fig. 1(b)), resulting in notable generalizability improvements particularly on out-of-distribution scenes (Fig. 1(c)).

References (40)