Abstract
We present view-synthesis autoencoders (VSA) in this paper, which is a self-supervised learning framework designed for vision transformers. Different from traditional 2D pretraining methods, VSA can be pre-trained with multi-view data. In each iteration, the input to VSA is one view (or multiple views) of a 3D object and the output is a synthesized image in another target pose. The decoder of VSA has several cross-attention blocks, which use the source view as value, source pose as key, and target pose as query. They achieve cross-attention to synthesize the target view. This simple approach realizes large-angle view synthesis and learns spatial invariant representation, where the latter is decent initialization for transformers on downstream tasks, such as 3D classification on ModelNet40, ShapeNet Core55, and ScanObjectNN. VSA outperforms existing methods significantly for linear probing and is competitive for fine-tuning. The code will be made publicly available.
1. Introduction
Most self-supervised learning (SSL) methods for computer vision, such as Masked Autoencoders (MAE) or Contrastive Learning (DINO), focus on image-based invariance. They teach models that an image's meaning remains the same even if you mask parts of it, crop it, or change its color. However, these methods largely ignore spatial invariance—the fact that a 3D object is the same entity regardless of the camera's viewpoint. Current SSL pipelines often treat multiple views of the same object as entirely different instances. By ignoring the inherent 3D geometric connections in multi-view data, we are leaving a massive amount of structural information on the table.
View-Synthesis Autoencoders (VSA) is a novel self-supervised learning framework that teaches Vision Transformers (ViTs) about the 3D world by asking them to "imagine" what an object looks like from a different angle. By using view synthesis as a pre-training task, VSA learns robust, spatially invariant representations that significantly outperform traditional 2D self-supervised methods on 3D classification benchmarks.
2. Methodology
The VSA architecture follows a standard encoder-decoder structure, but with a specific design for handling 3D spatial information through cross-attention.
2.1 Architecture Components
- The Encoder: A standard Vision Transformer (e.g., ViT-B) that takes one or more "source" views of an object and extracts feature embeddings.
- The Decoder: The decoder uses cross-attention blocks to perform the synthesis. It uses features from the source view as the Value ($V$), the camera pose of the source view as the Key ($K$), and the camera pose of the target view as the Query ($Q$).
- Pose Embedding: Camera poses are represented either as learnable parameters (for fixed viewpoints) or using a NeRF-inspired 6D ray approach (for varying viewpoints).
2.2 Pre-training Task
The model is given a source view and the coordinates for a target view. It must output a synthesized image of the target view. The training objective is a pixel-wise Mean Squared Error (MSE) loss between the synthesized image and the actual ground-truth target image. This forces the encoder to understand the 3D structure of the object to successfully predict its hidden sides.
3. Experimental Setup
The authors evaluated VSA across several major 3D and multi-view datasets:
- ModelNet40: 12,311 CAD models across 40 categories, rendered from 12 circular views.
- ShapeNet Core55: A large-scale dataset of 51,162 3D mesh models.
- ScanObjectNN: A challenging dataset of real-world scanned 3D objects.
- ScanNet: A massive RGB-D video dataset of 1,513 indoor scenes, used to demonstrate VSA's performance in complex, real-world environments.
4. Results and Discussion
VSA demonstrates that learning spatial invariance is more effective for 3D tasks than the "mask invariance" learned by methods like MAE.
4.1 Performance Benchmarks
- State-of-the-Art 3D Classification: On ModelNet40, VSA achieved 91.1% per-class accuracy, outperforming established methods like MVCNN and rivaling supervised point-cloud models.
- Superior Linear Probing: When testing frozen features, VSA significantly outperforms MAE. This indicates that VSA's features are more "ready to use" for downstream tasks.
- Real-World Generalization: VSA successfully synthesized views in the complex ScanNet dataset, proving it can handle occlusions and messy geometry in real indoor rooms, not just clean 3D models.
4.2 Key Insights
- Synergy with Masking: VSA can be combined with MAE. Masking the source image while requiring view synthesis makes the task harder, leading to even more robust features.
- Decoder Depth: A deeper and wider decoder significantly improves linear probing performance, suggesting that the complexity of the synthesis task directly impacts representation quality.
5. Conclusion
While VSA provides excellent features for classification, the synthesized images can sometimes be blurry. Future work could integrate more advanced generative techniques to improve visual fidelity. Additionally, scaling VSA to larger datasets and exploring its utility in tasks like 3D object detection or semantic segmentation remains a promising direction. VSA proves that 3D view synthesis is a powerful pretext task for learning spatially invariant representations in vision transformers.
Summary updated