TL;DR
This paper introduces masked boundary modeling, a self-supervised pretraining paradigm that forces Vision Transformers (ViTs) to focus on sub-pixel boundary geometry rather than just image-level semantics. By making boundaries a native learning signal, their flagship model, LingBot-Vision, achieves state-of-the-art dense spatial perception, allowing a 300M parameter student model to match or outperform a 7B parameter DINOv3 model on depth estimation tasks.
What Problem Does This Paper Address?
Most modern visual foundation models (like DINOv2 or CLIP) are optimized for semantic invariance—they excel at recognizing what an object is, regardless of its position, lighting, or background. However, this focus often comes at the expense of detailed spatial and geometric understanding.
For physical intelligence and embodied AI (like robotics), knowing the exact layout, depth discontinuities, and object boundaries is critical. Traditionally, geometric features like edges and boundaries have been treated as downstream outputs predicted by task-specific heads. This paper flips the script, asking: Can we use boundaries as a native, self-supervised learning signal during large-scale pretraining to build models with inherently superior spatial awareness?
Methods
The authors propose a self-distillation framework (a teacher-student setup) enhanced by two key innovations:
- Boundary-Forcing Masked Modeling: Standard masked image modeling randomly hides patches of an image. However, random masking often misses crucial, information-dense boundaries. The authors use the teacher network's online boundary predictions to identify "boundary-bearing tokens" and intentionally force them into the student's masked set. The student is then forced to reconstruct these complex geometric boundaries purely from the surrounding context.
- Categorical Reparameterization of Boundary Fields: Directly regressing continuous lines or edge maps in a self-supervised loop is unstable and prone to representational collapse. Instead, the authors treat boundaries as a dense, pixel-wise vector field (encoding distance and orientation to the nearest segment) and discretize these values into categorical bins. This turns boundary prediction into a classification problem, allowing them to use the same centering and sharpening techniques that stabilize semantic self-distillation.
To bootstrap this process from scratch without any human labels or external edge detectors, the teacher network utilizes a tiny, frozen, single-block ViT corner detector to anchor its initial, unlearned boundary field predictions. Over time, the teacher and student co-evolve, sharpening their boundary perception together.
Datasets
- Pretraining Corpus: A curated dataset of 161 million images extracted from a larger pool of 2 billion web images. It uses open-source datasets as seeds for retrieval, including ImageNet-1k/21k, Google Landmarks v2, Mapillary-SLS, ADE20K, NYU-Depth v2, SUN-RGBD, Cityscapes, and VOC.
- Evaluation Benchmarks:
- Dense Spatial Tasks: NYU-Depth v2, KITTI (depth estimation); ADE20K, Cityscapes, Pascal VOC12 (semantic segmentation).
- Video Understanding: DAVIS-2017, YouTube-VOS.
- Depth Completion: Evaluated across 14 benchmarks including DIODE, iBims-1, VOID, ETH3D, HAMMER, ClearGrasp, and a newly introduced, self-captured LingBot evaluation set consisting of 1,751 frames across 35 distinct indoor scenes focusing on challenging reflective and transparent surfaces.
Key Insights and Ideas
- Geometry and Semantics are Complementary: Forcing the model to learn geometry doesn't break its semantic capabilities. In fact, confronting spatial structure actually improves semantic feature representation because region transitions become crisper and better defined.
- Classification Beats Regression for Fields: Turning continuous geometric fields into discrete categories is the secret sauce for training stability. It also unlocks a connection to classical a-contrario detection theory, providing a parameter-free mathematical test to validate whether a predicted boundary is real or just noise.
- Massive Parameter Efficiency: By focusing on the most information-dense parts of an image (the boundaries), models can achieve incredible spatial awareness with a fraction of the parameters typically required by massive foundation models.
Key Results
- Depth Estimation: The 1B-parameter LingBot-Vision ViT-g achieved an NYUv2 depth RMSE of 0.296, outperforming the 7B-parameter DINOv3 (0.309) despite being 7× smaller and trained on a fraction of the data.
- Distillation Power: When distilled into smaller architectures, the 300M parameter ViT-L student matched the depth accuracy of the 7B DINOv3 model, representing a 23× parameter reduction.
- LingBot-Depth 2.0: Integrating this pretraining into a depth completion pipeline yielded leading performance across 14 distinct benchmarks, showing particular strength in resolving traditionally difficult surfaces like glass balustrades, windows, and mirrors.
Limitations and Future Work
- Semantic Trade-off: While LingBot-Vision dominates dense spatial and geometric tasks, it slightly trails models like DINOv3 on pure image-level semantic classification benchmarks (e.g., ImageNet linear probing). This indicates a trade-off where model capacity is shifted toward localized structure rather than global image-level invariances.
- Bootstrapping Dependency: The system relies on a lightweight, frozen corner-point detector block to seed the initial boundary generation. Future work could explore completely eliminating this fixed component to achieve a truly end-to-end emergent geometric pipeline.
Summary updated