Abstract
Pre-trained vision encoders like DINOv2 have demonstrated exceptional performance on unimodal tasks. However, we observe that their feature representations are poorly aligned across different modalities. For instance, the feature embedding for an RGB image and its corresponding depth map of the same scene exhibit a cosine similarity that is nearly identical to that of two random, unrelated images. To address this, we propose the Omnivorous Vision Encoder, a novel framework that learns a modality-agnostic feature space. We train the encoder with a dual objective: first, to maximize the feature alignment between different modalities of the same scene; and second, a distillation objective that anchors the learned representations to the output of a fully frozen teacher such as DINOv2. The resulting student encoder becomes "omnivorous" by producing a consistent, powerful embedding for a given scene, regardless of the input modality (RGB, Depth, Segmentation, etc.). This approach enables robust cross-modal understanding while retaining the discriminative semantics of the original foundation model.
Introduction: The Modality Alignment Gap
While foundation models like DINOv2 are masters of RGB images, they are surprisingly "modality-blind." If you show such a model an RGB image and its corresponding depth map of the same room, the model perceives them as being as different as two completely random, unrelated images. Their internal feature representations are poorly aligned across different ways of "seeing" the same scene.
This lack of alignment is a hurdle for robotics, AR/VR, and 3D vision, where we often need to reason across different data types. The challenge is creating a shared "visual language" where an object's identity and structure remain consistent in the model's "mind," whether it's looking at a photo, a depth map, or a semantic mask.
Methods: Building the Omnivorous Encoder
The authors propose a parameter-efficient teacher-student framework to bridge this gap. They take a pre-trained DINOv2 (the "teacher") and freeze its layers, then initialize a "student" model from the same weights, allowing only the final high-level processing blocks (the "adapter") to be trained.
Dual Training Objectives
- Symmetric Cross-Modal Alignment ($L_{align}$): Using an InfoNCE loss, the model is trained to maximize the similarity between different modalities of the same scene (e.g., RGB and Depth) while pushing apart features from different scenes.
- Anchoring Loss ($L_{anchor}$): To prevent "representational drift"—where the model forgets how to recognize objects while trying to align modalities—this loss forces the student's output to stay close to the original teacher's stable RGB representations.
The "Mixed Diet" Strategy
To prevent the model from "cheating" by using simple color statistics, the researchers employed Natural Colorization, colorizing depth and segmentation maps using the palette of the corresponding RGB image. They also used Modality Mixup, stochastically blending modalities during training to encourage the model to learn a continuous, modality-invariant space.
Key Results and Insights
The model was trained on a diverse mix of six datasets (ScanNet, TartanAir, MOVi, etc.) and demonstrated significant performance gains across several benchmarks:
- Massive Retrieval Gains: On ScanNet, the Recall@1 for cross-modal retrieval jumped from a dismal 4.6% (baseline DINOv2) to 46.1%, with the Median Rank dropping from 401.8 to just 2.0.
- Improved Classification: Surprisingly, aligning structural modalities helped standard RGB classification. On ImageNet-1k, the model achieved 83.8% top-1 accuracy, a significant boost over DINOv2’s 80.4%.
- Zero-Shot Modality Transfer: The authors trained a depth-prediction head using only RGB images. Because the feature space is unified, they could feed that same head a segmentation map (unseen during head-training), and it still produced a reasonable depth estimate. The baseline DINOv2 failed catastrophically on this task.
Conclusion and Future Work
Omnivorous DINO demonstrates that a "mixed diet" of modalities, combined with semantic anchoring, can create a robust, unified feature space. While the method's performance is currently capped by the quality of the foundation model it distills from, it paves the way for future work to explore aligning these modalities during the initial pre-training phase to unlock even deeper multi-modal synergies.
Summary updated