Few-shot Adaptation of Multi-modal Foundation Models: A Survey

Fan Liu, Tianshu Zhang, Wenwen Dai, Wenwen Cai, Xiaocong Zhou, Delong Chen · DOI

Abstract

Large-scale multi-modal foundation models like CLIP have demonstrated remarkable zero-shot capabilities across diverse tasks. However, their performance often falters in specialized domains such as medical imaging or remote sensing. This survey explores the emerging field of few-shot adaptation, which aims to tailor these models to specific tasks using minimal labeled data. We categorize current methodologies into prompt-based, adapter-based, and external knowledge-based approaches, while also discussing a new theoretical framework for understanding generalization error bounds in this context.

Introduction: The Challenge of Specialized Domains

While multi-modal models are "jacks of all trades," they frequently struggle with fine-grained domains or data distributions that deviate significantly from their internet-scale training sets. Traditional full-parameter fine-tuning is often impractical due to data scarcity in specialized fields, prohibitive computational costs, and the risk of "catastrophic forgetting"—where the model loses its general-purpose knowledge.

The research community has shifted toward Parameter-Efficient Fine-Tuning (PEFT). The goal is to adapt the model by updating a minimal subset of parameters, thereby maximizing performance on niche tasks while preserving the foundational strengths of the pre-trained model.

Technical Pillars of Few-shot Adaptation

Recent research into few-shot adaptation can be organized into three primary technical strategies.

1. Prompt-based Methods

Prompt-based methods modify the input to the model rather than the model's internal weights.

  • Textual Prompts: These replace static manual strings (e.g., "a photo of a...") with learnable vectors. Examples include CoOp and CoCoOp.
  • Visual Prompts: These introduce learnable "pixels" or tokens directly into the input image, as seen in Visual Prompt Tuning (VPT).
  • Multi-modal Prompts: Advanced methods like MAPLE learn prompts for both text and vision branches simultaneously, ensuring the two modalities remain semantically aligned during adaptation.

2. Adapter-based Methods

Adapters involve inserting small, bottleneck-style neural network layers into the frozen foundation model. During training, only these lightweight "adapters" are updated. Notable examples include CLIP-Adapter and Tip-Adapter, which allow for efficient task-specific tuning without altering the core weights of the giant model.

3. External Knowledge-based Methods

These methods augment the model with information from outside the training set. For instance, CuPL queries Large Language Models (LLMs) like GPT-3 to generate descriptive attributes for specific categories, providing the model with richer context than a simple class label.

Theoretical Framework and Generalization

Beyond categorization, this survey highlights a theoretical Few-shot Adaptation Generalization Error Bound. This framework mathematically demonstrates that adaptation success is a function of three critical factors: the domain gap between the source and target data, the model's capacity, and the available sample size. This provides a rigorous basis for evaluating why certain PEFT methods outperform others.

Experimental Benchmarking

The survey evaluates these methods across a standardized benchmark of 11 datasets, ranging from general targets (ImageNet) to fine-grained classification (OxfordPets, StanfordCars) and specialized tasks like satellite imagery (EuroSAT) or action recognition (UCF101).

Key experimental setups include:

  • Few-shot Learning: Training on a very small number of samples per class.
  • Base-to-New Generalization: Evaluating performance on classes not seen during the adaptation phase.
  • Domain Generalization: Testing the model's robustness against out-of-distribution data.

Key Insights and Results

  • The Modality Gap: Tuning only one modality (text or vision) often creates a mismatch. Simultaneous multi-modal tuning (e.g., MAPLE) is generally more effective at maintaining alignment.
  • Knowledge as a Force Multiplier: Using LLMs to generate descriptive prompts (e.g., "A dog with floppy ears") significantly boosts accuracy, effectively providing "free" supervision.
  • Performance Gains: On ImageNet, methods like SgVA-CLIP (adapter-based) and CuPL (knowledge-based) improved performance by 3.1% and 1.7% respectively over the standard CLIP baseline using only 16 samples per class.
  • Efficiency: Most PEFT methods update less than 1% of total parameters while achieving results comparable to full fine-tuning.

Future Directions

The survey identifies several bottlenecks for future research:

  1. Automated Design: Moving away from heuristic "trial and error" adapter designs toward Neural Architecture Search (NAS).
  2. Distribution Alignment: Developing methods that focus on underlying data distributions rather than just class labels.
  3. Collaborative Knowledge: Improving the way external knowledge interacts with visual features through differentiable augmentation and better filtering mechanisms.

Summary updated

BibTeX
@article{liu2024few,
  author = {Fan Liu and Tianshu Zhang and Wenwen Dai and Wenwen Cai and Xiaocong Zhou and Delong Chen},
  title = {{Few-shot Adaptation of Multi-modal Foundation Models: A Survey}},
  journal = {Artif. Intell. Rev.},
  year = {2024},
  doi = {10.1007/s10462-024-10915-y},
}
Figure