TL;DR
Masked patch self-distillation (iBOT) is a cornerstone of modern vision foundation models like DINOv2, but it comes with a hidden, scale-dependent "locality cost." This paper introduces two new diagnostics to show that while iBOT boosts semantic performance, it can simultaneously degrade a model's ability to match spatial patches or recover fine-grained textures, depending on the model's size.
What Problem Does This Paper Address?
Modern Vision Transformers (ViTs) are often trained using self-supervised objectives that encourage "semantic abstraction"—the ability to recognize a "dog" regardless of its pose or lighting. A key technique for this is masked patch self-distillation (introduced by iBOT), where a student network tries to predict the features of masked image patches based on a teacher network's output.
While this clearly helps models perform better on high-level tasks like classification, its impact on local visual information has been a black box. Does the model still "see" the fine texture of a brick wall, or does it just see a generic "building" feature? The authors argue that standard benchmarks like semantic segmentation are too coarse to answer this, as they only care if a patch is labeled correctly, not if its unique local identity is preserved.
Methods
The researchers conducted a controlled study comparing standard DINO (image-level distillation) against DINO+iBOT (image + patch-level distillation) across four model scales (ViT-Small to ViT-Huge).
To look "under the hood," they developed two annotation-free diagnostics:
- Local Appearance Decodability: They tested how well a simple linear decoder could recover raw pixel attributes—like color means, HOG descriptors (edges), and textures—from frozen model tokens. If a model "forgets" local details, the decoder fails.
- Local-to-Global Correspondence: They tested if a model could locate a small, cropped patch within its original full-sized image using only feature similarity. This measures how "distinguishable" and "matchable" local patches remain.
They also analyzed Gram anchoring, a technique used in DINOv3 to stabilize features, to see if it could mitigate the locality trade-offs they discovered.
Datasets
- Pretraining: ImageNet-1K.
- Downstream Evaluation: A wide battery including VOC2012 (segmentation), VOC2007 (detection), RParis/ROxford (instance retrieval), Copydays (copy detection), DAVIS-2017 (video object tracking), and MPI Sintel (optical flow).
- Visualization: ADE20K was used for qualitative similarity heatmaps.
Key Insights and Ideas
- The Scale-Dependent Dissociation: The "cost" of using iBOT isn't uniform.
- In smaller models (ViT-S/B), iBOT preserves the "pixels" (appearance) but makes patches look too similar to each other, ruining spatial matching (correspondence).
- In larger models (ViT-L/H), the situation flips: spatial matching actually improves, but the deep features become "blind" to raw pixel and texture evidence.
- Semantic Gain vs. Locality Loss: iBOT consistently improves semantic tasks (classification, segmentation) but often hurts tasks requiring precise local distinctions, like video tracking or copy detection.
- Segmentation is Deceptive: A model can achieve a high segmentation score while losing fine-grained details. As seen in Figure 1, adding iBOT to a ViT-B model produces "blurry" similarity maps that fail to distinguish windows from walls, even if the whole region is correctly labeled "building."
Key Results
- Tracking Degradation: For ViT-B, adding iBOT caused a massive 6.3 point drop in DAVIS video tracking performance. However, for ViT-L and ViT-H, this trend reversed into modest gains, highlighting the scale-dependent nature of the locality cost.
- Appearance "Blindness": In ViT-L and ViT-H, the ability to linearly decode HOG (edges) and LBP (texture) descriptors from the final layers dropped significantly when iBOT was enabled, suggesting that deep features in large models prioritize semantic concepts over raw visual evidence.
- Gram Anchoring: The authors found that initializing Gram anchoring from a DINO checkpoint (rather than DINO+iBOT) could selectively recover either correspondence or appearance decodability, depending on the model scale.
Limitations and Future Work
- Compute Constraints: The study was limited to 300 epochs on ImageNet-1K. While sufficient for analysis, foundation models are typically trained on much larger datasets for longer. It remains to be seen if these trade-offs persist at "web-scale."
- Linearity: The appearance diagnostic uses linear decoders. It's possible that local information is still present but encoded non-linearly.
- Future Directions: The authors suggest that future training objectives should be "scale-aware," perhaps adjusting the strength or type of patch supervision based on the model's depth and capacity to ensure both semantic and local features are preserved.
Summary updated