Abstract
Current computer vision pre-training is dominated by two paradigms: Masked Image Modeling (MIM), which focuses on local patch reconstruction, and Natural Language Supervision (e.g., CLIP), which emphasizes global semantic alignment. While MIM excels at fine-grained tasks like object detection, it often lacks high-level semantic understanding. Conversely, CLIP-style models provide excellent semantic transferability but often overlook local details. This paper introduces RILS (Reconstruction In Language Semantic space), a framework that unifies these objectives by forcing the model to reconstruct masked image patches within a language-driven semantic space. RILS achieves state-of-the-art performance across ImageNet-1K, zero-shot classification, and downstream tasks like object detection and segmentation.
Introduction
The quest for a universal vision encoder has led to the development of powerful self-supervised learning techniques. Masked Image Modeling (MIM), exemplified by models like MAE, learns robust representations by predicting missing pixels in an image. However, this pixel-level objective often captures low-level noise rather than high-level semantics. On the other hand, Image-Text Contrastive (ITC) learning, popularized by CLIP, aligns global image features with natural language descriptions, providing "common sense" but failing to capture the fine-grained local structures necessary for dense prediction tasks.
Simply combining these two objectives through multi-task learning (MAE+CLIP) often yields sub-optimal results because the goals are fundamentally different: one focuses on raw pixels, the other on abstract language. RILS addresses this by using language as the target for the reconstruction task itself, creating a synergy between local and global learning.
Methods: Reconstruction in Language Semantic Space
RILS consists of a Vision Encoder (ViT), a Language Encoder, and a lightweight Vision Decoder. The core innovation is the Reconstruction Objective, which moves the reconstruction target from the pixel space to the language semantic space.
Instead of predicting raw pixel values for masked patches, RILS projects patch features into a shared space with text features. In a given training batch, the text features from the associated sentences act as "semantic prototypes." The model is tasked with predicting a probability distribution over these text prototypes for each masked patch, matching the distribution generated by the unmasked version of the same patch. This unified loss aligns the reconstruction task with the standard Image-Text Contrastive (ITC) loss, ensuring that the vision encoder learns features that are both locally descriptive and semantically meaningful.
Experimental Setup
The authors pre-trained RILS on subsets of the LAION-400M dataset (L-10M, L-20M, and L-50M). Evaluation was conducted across a wide range of benchmarks, including ImageNet-1K (classification, linear probing, and low-shot), COCO and LVIS (object detection and instance segmentation), and ADE20K (semantic segmentation). Additionally, 21 benchmarks were used for zero-shot classification evaluation.
Key Results and Insights
RILS demonstrates superior performance across nearly all evaluated metrics. By using language as a semantic filter, the model ignores irrelevant low-level pixel details and focuses on structured information.
As shown in Figure 3, RILS achieves a top-1 accuracy of 83.3% on ImageNet-1K with a vanilla ViT-B/16, outperforming both MAE and CLIP baselines. Notably, its linear probing performance (71.5%) is significantly higher than that of MAE (44.3%) and CLIP (67.8%), indicating a more semantically rich representation.
Other highlights include:
- Zero-Shot Classification: RILS achieves 45.0% on ImageNet-1K zero-shot, a +4.7% improvement over CLIP trained on the same data.
- Low-Shot Learning: In extreme scenarios with only 10 images per class, RILS reaches 51.8% accuracy, far exceeding previous methods.
- Downstream Versatility: RILS maintains high performance on dense tasks, outperforming competitors on COCO (object detection) and ADE20K (semantic segmentation), proving that semantic reconstruction does not sacrifice local detail.
Conclusion and Future Work
RILS successfully bridges the gap between pixel-level reconstruction and language-level alignment. By training end-to-end, the vision and language spaces evolve together, leading to a more robust and versatile encoder. While the current implementation adds a slight computational overhead (approx. 20% more training time than CLIP), the performance gains are substantial. Future work will explore scaling RILS to larger foundation model architectures (ViT-L/H) and billion-scale datasets to further push the boundaries of visual-language pre-training.
Summary updated