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

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

Abstract

Multi-modal models, such as CLIP, are replacing traditional supervised pre-training models as the new generation of foundational visual models. These models leverage robust and aligned semantic representations from billions of internet image-text pairs and can be applied to various downstream zero-shot tasks. However, in fine-grained domains like medical imaging and remote sensing, the performance of multi-modal foundation models often leaves much to be desired. Consequently, many researchers have begun to explore few-shot adaptation methods, resulting in three primary technical approaches: prompt-based fine-tuning, adapter-based fine-tuning, and adaptation based on external knowledge. This paper provides an extensive survey of these advancements, summarizes commonly used datasets, and compares experimental results. Additionally, we derive a few-shot adaptation generalization error bound for multi-modal models, revealing that generalization error is constrained by domain gap, model capacity, and sample size. Based on these findings, we propose solutions focusing on domain distribution adaptation, model selection adaptation, and knowledge utilization adaptation.

Introduction: The Need for Adaptation

Multi-modal foundation models have revolutionized computer vision by providing a unified semantic space for visual and textual data. Despite their versatility, a significant performance gap remains when these models are applied to specialized tasks where the data distribution differs substantially from the general internet-scale pre-training corpus.

Timeline and institutional origins of prominent multi-modal foundation models.

The challenge of few-shot adaptation involves refining these large-scale models using a minimal number of labeled examples (typically 1 to 16 per class). The goal is to achieve high task-specific accuracy while preserving the model's general-purpose "common sense" and preventing overfitting. Traditional fine-tuning is often too data-hungry and prone to representational collapse in these scenarios.

Taxonomy of Adaptation Strategies

The research landscape for few-shot adaptation is categorized into three distinct technical lineages:

1. Prompt-based Fine-tuning

Rather than updating the backbone weights, prompt-based methods introduce learnable parameters into the input space.

  • Textual Prompts: Methods like CoOp and CoCoOp replace static templates (e.g., "a photo of a...") with learnable "soft" vectors.
  • Visual Prompts: Techniques such as VPT add learnable pixels or tokens to the input image.
  • Multi-modal Prompts: Frameworks like MAPLE and UPT optimize prompts for both visual and textual branches simultaneously to maintain alignment.
The architecture of prompt-based adaptation, illustrating the integration of learnable context and visual prompts into the text and visual encoders.

2. Adapter-based Fine-tuning

This approach involves inserting lightweight, trainable modules—Adapters—between the frozen layers of the foundation model. This allows the model to learn new features while keeping the backbone frozen. Examples include CLIP-Adapter and Tip-Adapter, the latter of which utilizes a non-parametric cache-model to achieve high efficiency without additional training time.

3. External Knowledge-based Methods

These methods augment the model with information not present in the original training set. This includes leveraging Large Language Models (LLMs) like GPT-3 to generate descriptive attributes for categories (CuPL) or utilizing structured knowledge graphs to provide richer semantic context.

Theoretical Insights: Generalization Error Bound

A distinguishing feature of this survey is the derivation of a Few-shot Adaptation Generalization Error Bound. This theoretical framework proves that the expected error on a novel task is constrained by four key factors:

  1. Empirical Error: The model's performance on the limited training samples.
  2. Domain Discrepancy: The statistical distance between the source (pre-training) and target distributions.
  3. Model Capacity: Quantified by the KL divergence between the adapted and original model states.
  4. Sample Size: The number of few-shot examples available for tuning.

Key Findings and Benchmarking

The survey evaluates these methods across 11 benchmarks, including general-purpose datasets (ImageNet), specialized tasks (EuroSAT for satellite imagery), and fine-grained classification (Oxford Pets, Stanford Cars).

  • The Base-to-New Trade-off: A critical observation is that aggressive optimization for "base" classes often degrades performance on "new," unseen classes, indicating a loss of generalizability.
  • Synergistic Adaptation: Multi-modal prompting consistently outperforms unimodal approaches, suggesting that maintaining the alignment between vision and language is paramount for robust adaptation.
  • Unsupervised Potential: Methods like TPT (Test-Time Prompt Tuning) demonstrate that competitive results can be achieved by leveraging unlabeled data at inference time.

Future Research Directions

The authors identify several key areas for future exploration to address current limitations:

  • Source-free Domain Adaptation: Developing methods that can handle distribution shifts (e.g., from natural images to X-rays) without access to the original pre-training data.
  • Automated Model Selection: Utilizing Neural Architecture Search (NAS) to systematically optimize the placement and configuration of adapters and prompts for specific tasks.
  • Grounded Knowledge Utilization: Creating mechanisms to verify that external knowledge provided by LLMs is visually grounded, thereby reducing the impact of hallucinations and ensuring descriptions match visual reality.

Summary updated

Abstract

<title>Abstract</title> Multi-modal models, such as CLIP, are replacing traditional supervised pre-training models (e.g., ImageNet-based pre-training) as the new generation of foundational visual models. These multi-modal models with robust and aligned semantic representations from billions of internet image-text pairs and can be applied to various downstream zero-shot tasks. However, in some fine-grained domains like medical imaging and remote sensing, the performance of multi-modal foundation models often leaves much to be desired. Consequently, many researchers have begun to explore few-shot adaptation methods for multi-modal foundation models, gradually deriving three technical approaches: 1) prompt-based fine-tuning adaptation methods, 2) adapter-based fine-tuning adaptation methods, and 3) adaptation methods based on external knowledge. Nevertheless, this rapidly developing field has produced numerous results without a comprehensive survey to systematically organize the research progress. Therefore, in this paper, we provide an extensive survey and analysis of the research advancements in few-shot adaptation methods for multi-modal models, summarizing commonly used datasets and experimental setups, and comparing the results of different methods. In addition, due to the lack of reliable theoretical support for existing methods, we derive the few-shot adaptation generalization error bound for multi-modal models. The theorem reveals that the generalization error of multi-modal foundation models is constrained by three factors: domain gap, model capacity, and sample size. Based on this, we propose three possible solutions from the following aspects: 1) domain distribution adaptation, 2) model selection adaptation, and 3) knowledge utilization adaptation.
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