Abstract
We propose a method for self-supervised image representation learning under the guidance of 3D geometric consistency. Our intuition is that 3D geometric consistency priors such as smooth regions and surface discontinuities may imply consistent semantics or object boundaries, and can act as strong cues to guide the learning of 2D image representations without semantic labels. Specifically, we introduce 3D geometric consistency into a contrastive learning framework to enforce the feature consistency within image views. We propose to use geometric consistency sets as constraints and adapt the InfoNCE loss accordingly. We show that our learned image representations are general. By fine-tuning our pre-trained representations for various 2D image-based downstream tasks, including semantic segmentation, object detection, and instance segmentation on real-world indoor scene datasets, we achieve superior performance compared with state-of-the-art methods.
Introduction
In computer vision, representation learning is the process of teaching a model to understand the underlying structure of an image—for example, identifying that certain pixels belong to a "chair" while others belong to a "wall." Traditionally, this requires massive amounts of human-labeled data. Self-supervised learning (SSL) attempts to bypass this by using "pretext tasks," such as matching two views of the same scene. However, most 2D SSL methods struggle to understand object boundaries because they treat pixels as isolated points.
This paper introduces a framework that uses 3D geometric structures—like smooth surfaces and sharp edges—to guide how a neural network learns 2D image representations. By leveraging the inherent "object-ness" found in 3D geometry, the model learns semantic-like boundaries without a single human-provided label.
Methodology
The core innovation is the Geometric Set Consistency framework. Instead of matching individual pixels across views, the model matches groups of pixels that belong to the same 3D geometric structure.
Geometric Consistency Sets
The authors utilize 3D scans of indoor scenes and apply a clustering algorithm (normal-based graph cut) to segment the 3D space into small, smooth patches. These patches represent "geometric sets"—areas that likely belong to the same object or surface.
Set-InfoNCE Loss
The standard contrastive loss (InfoNCE) is adapted into a Set-InfoNCE Loss. In this version, the model is encouraged to make the features of all pixels within a projected 3D set similar to each other across different camera views, while pushing features from different sets apart. This forces the encoder to produce consistent features for entire regions, reducing noise compared to pixel-wise matching.
Two-Stage Training
The training proceeds in two stages:
- Stage 1: The model learns low-level pixel-to-pixel and pixel-to-point consistency to establish basic alignment.
- Stage 2: The model is refined using the new set-level consistency loss to capture higher-level regional similarities.
Experiments and Results
The framework was pre-trained on the ScanNet dataset (~804k frame pairs) and evaluated across several benchmarks, including NYUv2, SUN RGB-D, and KITTI.
Key Performance Metrics
- Semantic Segmentation: On ScanNet, the model achieved 63.1 mIoU (mean Intersection over Union), outperforming the previous state-of-the-art self-supervised method, Pri3D (61.7 mIoU).
- Data Efficiency: Remarkably, when fine-tuning with only 20% of the labeled data, the proposed method outperformed other state-of-the-art methods that used the full 100% of labeled data.
- Qualitative Improvement: Visualizations demonstrate that the model produces cleaner segmentation maps with sharper boundaries and significantly less "salt-and-pepper" noise compared to previous methods.
Discussion and Limitations
The primary insight of this work is that 3D geometry serves as a "free" semantic label. A smooth, continuous surface in 3D almost always belongs to the same semantic category. By teaching the model to respect these 3D boundaries, it implicitly learns 2D semantic boundaries.
However, the method is dependent on the availability of RGB-D data (images + depth). While depth sensors are becoming more common in consumer devices, this data is still less abundant than pure 2D imagery. Additionally, while the method works well in controlled indoor environments, outdoor 3D data (like KITTI) is often sparser and noisier, presenting a challenge for defining perfect geometric sets.
Summary updated