Depth-Guided Contrastive Learning for 2D Representations with 3D Spatial Awareness

Liang Zeng, Maarten Vergauwen
9/23/2026
cs.CV
contrastive-ssl

No confident code implementation found for this paper.

Abstract

Standard contrastive learning frameworks are mainly designed from a semantic perspective, yet learning 2D visual representations that preserve 3D spatial structure is also important for scene understanding. In this work, we propose Depth-Guided Contrastive Learning (DGCL), a simple auxiliary objective that injects 3D spatial awareness into 2D contrastive representation learning.

Show full abstract

Our key idea is to use depth to convert local 3D proximity into contrastive similarity: pixels that are closer in 3D space are encouraged to have more similar representations than pixels that are farther apart. Instead of relying on absolute depth values, DGCL formulates supervision through relative 3D distance comparisons among randomly sampled pixels, making the objective invariant to depth scale, efficient to compute, and easy to integrate into existing contrastive frameworks. Experiments across different datasets and models show that DGCL consistently improves 2D representation learning and benefits semantic downstream tasks by stronger spatial and geometric understanding. The code is available on https://github.com/LeungTsang/DGCL.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zeng2026depthguided,
  title  = {Depth-Guided Contrastive Learning for 2D Representations with 3D Spatial Awareness},
  author = {Liang Zeng and Maarten Vergauwen},
  year   = {2026},
  eprint = {2609.28159},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.28159v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.28159.svg)](https://codeofpaper.com/paper/2609.28159)

Discussion