CLIP's Visual Embedding Projector is a Few-shot Cornucopia

Mohammad Fahes, Tuan-Hung Vu, Andrei Bursuc, Patrick Pérez, Raoul de CharetteSPIRE 2026

Abstract: Adapting large-scale vision-language models like CLIP for specialized tasks often requires complex architectural additions or computationally expensive tuning. We present ProLIP (Projector-based few-shot Learning for Image-text Pretraining), a simple yet highly effective method that fine-tunes only the final linear projection layer of CLIP’s vision encoder. By leveraging squared error regularization to preserve pretrained knowledge, ProLIP achieves state-of-the-art performance across diverse benchmarks while training in seconds and maintaining open-vocabulary capabilities.

Introduction

Contrastive Language-Image Pretraining (CLIP) has revolutionized computer vision by providing a robust framework for zero-shot tasks. However, its performance often falters when applied to specialized domains, such as satellite imagery or fine-grained classification (e.g., specific aircraft models). To bridge this gap, researchers employ few-shot adaptation, where the model is "nudged" toward a specific task using a handful of labeled examples.

The Challenge of Few-Shot Adaptation

Existing strategies for few-shot adaptation come with significant trade-offs. Prompt Tuning is often slow because gradients must propagate through the entire text encoder. Adapter-style Tuning requires adding external layers, increasing architectural complexity. Conversely, Linear Probing is fast but typically discards CLIP’s text embeddings, transforming a flexible open-vocabulary model into a rigid, closed-set classifier.

Comparison of ProLIP with existing CLIP adaptation strategies like Linear Probing, Adapters, and Prompt Tuning.

The authors of this study ask: Is there a way to adapt CLIP that is simple, fast, preserves its open-world capabilities, and doesn't require adding any new parameters?

ProLIP: Tuning the Projector

The proposed solution, ProLIP, focuses on the "projector"—the final linear matrix in CLIP’s vision encoder that maps high-level visual features into the shared vision-text latent space. Instead of introducing new parameters, ProLIP fine-tunes this existing matrix.

Detailed architecture of ProLIP, highlighting the fine-tuning of the vision projector and the use of Square Error regularization.

Key Technical Components

  1. Native Alignment: ProLIP uses CLIP’s original text embeddings as classification weights. This maintains the model's fundamental vision-text synergy, allowing it to remain an open-vocabulary system.
  2. Squared Error Regularization: To prevent overfitting on small datasets (catastrophic forgetting), the authors introduce a penalty based on the distance between the updated weights and the original pretrained weights. This ensures the model retains its general knowledge while specializing.
  3. Efficiency: Since only the final layer is updated, visual features can be pre-computed. This allows training to complete in just a few seconds on a single GPU.
  4. Architecture Agnostic: The method is effective regardless of whether the vision backbone is a ResNet or a Vision Transformer (ViT).

Experimental Results

ProLIP was evaluated against a battery of 11 standard benchmarks, including ImageNet, EuroSAT, and OxfordPets.

  • State-of-the-Art Performance: In 16-shot settings, ProLIP achieved an average accuracy of 76.55% across 11 datasets, outperforming top-tier baselines like CoOp and Tip-Adapter.
  • Generalization: The model demonstrated superior "Base-to-New" generalization, meaning it could recognize new classes even after being specialized on a base set.
  • Test-Time Adaptation: A variant, ProLIP-test-time, adapted to single images during inference ~13x faster than existing methods like TPT, while maintaining higher accuracy under distribution shifts.

Conclusion

The findings suggest that the necessary flexibility for task adaptation already exists within CLIP's final projection layer—a "cornucopia" of potential that renders external adapters largely redundant. By combining simple projector tuning with robust regularization, ProLIP provides a highly efficient path for specializing foundation models without sacrificing their open-world utility.

Summary updated

Abstract

International audience
BibTeX
@inproceedings{fahes2026clip,
  author = {Mohammad Fahes and Tuan-Hung Vu and Andrei Bursuc and Patrick Pérez and Raoul de Charette},
  title = {{CLIP's Visual Embedding Projector is a Few-shot Cornucopia}},
  booktitle = {SPIRE},
  year = {2026},
}
Figure