TL;DR
DINOcular is a self-supervised framework designed to teach vision models both visual appearance and 3D spatial structure simultaneously using RGB-D (color + depth) data. By integrating 3D rotary positional encodings and a multi-view consistency loss, it creates a highly spatial-aware foundation model that outperforms much larger RGB-only models on geometric tasks while remaining highly competitive on semantic segmentation.
What Problem Does This Paper Address?
While modern Vision Foundation Models (VFMs) excel at recognizing what is in an image, they are notoriously weak at understanding where things are in 3D space. This limitation stems from the fact that they are trained almost exclusively on flat, monocular RGB images.
Embodied systems like robots naturally have access to depth sensors, but historically, a scarcity of large-scale RGB-D data has prevented researchers from training foundation models on spatial data. DINOcular bridges this gap by leveraging recent breakthroughs in generative depth estimation to create a scalable, self-supervised training pipeline that natively fuses visual features with geometric priors.
Methods
DINOcular builds upon a 4-stage Swin Transformer backbone and introduces depth-derived geometric priors at two distinct levels:
- Inter-Patch Fusion (Global Geometry): Instead of treating depth as a simple proximity bias within self-attention mechanisms, the authors extend Rotary Positional Encoding (RoPE) into three dimensions (3D RoPE). This allows the model to inherently leverage relative 3D spatial relationships across the entire scene.
- Intra-Patch Fusion (Local Geometry): To capture pixel-level details like surface smoothness and sharp edges, a lightweight patch embedding layer extracts local depth features, which are then fused with the standard RGB patch embeddings via a linear projection.
Learning Objectives
The model is trained using a combined self-supervised objective:
- Semantic Loss ($\mathcal{L}_{sem}$): Inherited from DINOv2, this includes image-level ($\mathcal{L}_{DINO}$) and patch-level masked ($\mathcal{L}_{iBOT}$) self-distillation losses.
- Spatial Multi-View Consistency Loss ($\mathcal{L}_{mv-contrastive}$): Enforces feature consistency between matched patches across different viewpoints of the same scene.
To prevent the model from relying too heavily on depth at the expense of visual features, the authors apply dropout to the intra-patch depth embedding layers during training.
Datasets
- Pretraining: The framework utilizes 1.4 million images from ImageNet-1K and 307k multi-view samples from MVImgNet2.0. Dense depth maps are automatically generated using MapAnything, and object masks are predicted via SAM3.
- Evaluation:
- Semantic Segmentation: NYU Depth V2, SUN RGB-D, Cityscapes, and ADE20k.
- Geometric Tasks: Probe3D (for 3D correspondence), ScanNet, NAVI, and OnePose-LowTex (for single-shot 3D object pose estimation).
Key Insights and Ideas
- Synthesized Depth is Enough: You don't need perfect, hardware-captured RGB-D data to train a spatial foundation model. Scaling up training using modern generative depth estimators (like MapAnything) on standard RGB datasets is highly effective.
- The Power of 3D RoPE: Moving from simple proximity heuristics to a mathematically principled 3D extension of Rotary Positional Encodings provided the single largest boost in spatial awareness across all evaluated indicators.
- The Depth-Reliance Trap: Without regularization, multi-view training objectives will cause a model to over-rely on geometric depth features, degrading its general visual semantic capabilities. Introducing depth dropout successfully mitigates this trade-off.
Key Results
DINOcular demonstrates a massive leap in spatial awareness compared to both RGB-only models and prior RGB-D architectures of a similar scale:
- Geometric Superiority: On the ScanNet and NAVI benchmarks, the 27M-parameter DINOcular model significantly outperformed the standard RGB-D baseline (DFormerv2) and even beat the 3x larger RGB-only DINO (ViT-B) model (85M parameters) in tracking large viewpoint changes.
- Maintained Semantics: Despite its heavy spatial grounding, DINOcular remains highly competitive on standard semantic segmentation tasks, achieving an average of 42.4% mIoU across four major datasets.
Limitations and Future Work
While the authors successfully demonstrate how to balance semantic and geometric features using depth dropout, the architecture still requires a careful tuning act to prevent multi-view objectives from eroding general visual features.
For future work, the authors point toward integrating these robust visuospatial representations directly into Vision-Language-Action (VLA) models, which could significantly boost the spatial reasoning and manipulation capabilities of real-world robotic deployments.
Summary updated