SILC: Improving Vision Language Pretraining with Self-Distillation

Muhammad Ferjad Naeem, Yongqin Xian, Xiaohua Zhai, Lukas Hoyer, Luc Van Gool, Federico Tombari · Submission to ICLR 2024 · Withdrawn

Abstract

Vision-Language Models (VLMs) like CLIP excel at image-level classification but often struggle with dense prediction tasks such as object detection and semantic segmentation due to their reliance on global contrastive objectives. We present SILC (Self-distillation for Image-Language Contrastive learning), which addresses this "nearsightedness" by incorporating a local-to-global self-distillation objective. By training on web-scale image-text pairs with both global alignment and local feature consistency, SILC achieves state-of-the-art performance across a wide range of benchmarks, including zero-shot classification, segmentation, and detection.

Introduction

The success of models like CLIP in open-vocabulary computer vision is largely attributed to global contrastive learning on massive datasets. However, these models often fail to capture fine-grained spatial details because the training signal only aligns the entire image with its caption. While self-supervised learning (SSL) methods like DINO effectively learn local structures, they lack the language grounding necessary for open-vocabulary tasks. SILC bridges this gap by combining the strengths of language-image contrastive learning with self-distillation.

Methodology

SILC employs a dual-tower Transformer architecture and introduces a dual-objective training framework that balances global semantic alignment with local structural understanding.

Figure 2: The SILC training framework combines standard image-text contrastive learning with a local-to-global self-distillation objective using a student-teacher architecture.

The framework consists of two primary components:

  1. Image-Text Contrastive Learning: Similar to CLIP or SigLIP, this objective aligns image and text embeddings in a shared latent space.
  2. Local-to-Global Self-Distillation: The model maintains a Student image encoder and a Teacher image encoder (an Exponential Moving Average of the student). The Teacher processes a "global view" (large crop), while the Student processes multiple "local views" (small patches). The Student is trained to predict the Teacher's output for these patches, forcing the model to learn how local parts relate to the global context.

A key finding is that the global views used for distillation must also be aligned with text via the contrastive loss to prevent the objectives from diverging and to maintain language grounding.

Experimental Results

SILC was pretrained on the WebLI dataset and evaluated across a comprehensive suite of benchmarks, including ImageNet-1k, MS-COCO, ADE-20k, and LVIS.

Figure 1: Performance comparison of SILC-C and SILC-S against CLIP and SigLIP baselines across classification, retrieval, detection, segmentation, and generative tasks.

The results demonstrate that SILC consistently outperforms standard VLM baselines:

  • Zero-Shot Classification: SILC-C improved ImageNet accuracy by 2.1% over the standard CLIP baseline.
  • Dense Prediction: Significant gains were observed in zero-shot segmentation (e.g., +4.3 mIOU on ADE-150) and open-vocabulary detection (+1.8 AP on COCO).
  • Generative Tasks: Integration with a LiT-Decoder led to a +3.6 CIDEr score improvement in COCO captioning.

The model's ability to distinguish semantically similar classes (e.g., "grass" vs. "field") suggests that local-to-global correspondences allow for the natural emergence of semantic segmentation features.

Conclusion

SILC demonstrates that self-supervised distillation and language-image contrastive learning are highly complementary. By encouraging the model to "see the trees" as well as the forest, SILC provides a more robust and versatile backbone for a variety of vision-language tasks. Future work includes optimizing the computational cost associated with multi-crop training and exploring the framework's performance on smaller, high-quality curated datasets.

Summary updated

BibTeX
@misc{naeem2023silc,
  author = {Muhammad Ferjad Naeem and Yongqin Xian and Xiaohua Zhai and Lukas Hoyer and Luc Van Gool and Federico Tombari},
  title = {{SILC: Improving Vision Language Pretraining with Self-Distillation}},
  year = {2023},
  eprint = {2310.13355},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.13355},
}
Figure