[Paper Review] CroCo: Self-Supervised Pre-training for 3D Vision Tasks by Cross-View Completion
CroCo proposes a self-supervised pre-training method for 3D vision by introducing cross-view completion, where masked patches in one image are reconstructed using visible patches and a second, unmasked image of the same scene. This approach leverages multi-view geometry to resolve ambiguities, achieving state-of-the-art performance on monocular depth estimation and competitive results on binocular tasks like optical flow without task-specific design.
Masked Image Modeling (MIM) has recently been established as a potent pre-training paradigm. A pretext task is constructed by masking patches in an input image, and this masked content is then predicted by a neural network using visible patches as sole input. This pre-training leads to state-of-the-art performance when finetuned for high-level semantic tasks, e.g. image classification and object detection. In this paper we instead seek to learn representations that transfer well to a wide variety of 3D vision and lower-level geometric downstream tasks, such as depth prediction or optical flow estimation. Inspired by MIM, we propose an unsupervised representation learning task trained from pairs of images showing the same scene from different viewpoints. More precisely, we propose the pretext task of cross-view completion where the first input image is partially masked, and this masked content has to be reconstructed from the visible content and the second image. In single-view MIM, the masked content often cannot be inferred precisely from the visible portion only, so the model learns to act as a prior influenced by high-level semantics. In contrast, this ambiguity can be resolved with cross-view completion from the second unmasked image, on the condition that the model is able to understand the spatial relationship between the two images. Our experiments show that our pretext task leads to significantly improved performance for monocular 3D vision downstream tasks such as depth estimation. In addition, our model can be directly applied to binocular downstream tasks like optical flow or relative camera pose estimation, for which we obtain competitive results without bells and whistles, i.e., using a generic architecture without any task-specific design.
Motivation & Objective
- To learn 3D geometry-aware representations from unlabeled image pairs without supervision.
- To address the ambiguity in single-view masked image modeling by incorporating a second view for geometric reasoning.
- To improve transfer performance on monocular 3D vision tasks such as depth estimation and binocular tasks like optical flow.
- To develop a generic, architecture-agnostic pre-training method that generalizes across diverse 3D vision tasks.
- To demonstrate that cross-view completion enables precise reconstruction by leveraging spatial relationships between views.
Proposed method
- The model uses a Siamese Vision Transformer (ViT) encoder to process two images of the same scene, with one image partially masked.
- Visible patches from the masked image and all patches from the reference image are encoded into latent tokens.
- A transformer decoder uses cross-attention to attend to both visible patches and reference image tokens, enabling cross-view reasoning.
- The decoder predicts the appearance of masked patches using a pixel-wise reconstruction loss, similar to MAE.
- The model is pre-trained on synthetic indoor scenes from the Habitat simulator using high masking ratios (e.g., 90%).
- For downstream tasks, the decoder is discarded for monocular tasks (e.g., depth estimation), while the full architecture is used for binocular tasks (e.g., optical flow).
Experimental results
Research questions
- RQ1Can cross-view completion outperform single-view masked image modeling in learning 3D geometry-aware representations?
- RQ2Does using a second view reduce ambiguity in image reconstruction and improve downstream 3D vision performance?
- RQ3Can a single pre-trained model achieve strong performance across both monocular and binocular 3D vision tasks?
- RQ4How does the masking ratio affect pre-training performance in the cross-view completion setup?
- RQ5To what extent does the model learn spatial and geometric relationships between views without explicit supervision?
Key findings
- CroCo achieves state-of-the-art performance on monocular depth estimation, outperforming prior self-supervised methods on the NYUv2 dataset.
- The model achieves competitive results on binocular tasks such as optical flow and relative pose estimation without task-specific architectural modifications.
- High masking ratios (e.g., 90%) during pre-training lead to significantly better downstream performance.
- Reconstructions with a real reference image are significantly more accurate than with random noise, demonstrating the model’s reliance on geometric consistency.
- CroCo produces more detailed and coherent reconstructions than MAE, especially in normalized patch reconstruction, due to cross-view supervision.
- The model generalizes well to unseen scenes, as shown in qualitative examples on held-out test scenes.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.