When Parameter-efficient Tuning Meets General-purpose Vision-language Models

Yihang Zhai, Haixin Wang, Jianlong Chang, Xinlong Yang, Jinan Sun, Shikun Zhang, Qi TianarXiv 2023 · DOI

Abstract

As Large Vision-Language Models (VLMs) grow in scale, the computational cost of full-model fine-tuning becomes increasingly prohibitive. This paper introduces PETAL (Parameter-Efficient Tuning for generAl-purpose vision-Language models), a novel framework designed to optimize VLMs by tuning only 0.5% of their total parameters. By integrating Dynamic Mode Approximation (DMA) with an instruction-aware Mixture-of-Experts (MOE) architecture, PETAL achieves state-of-the-art performance on multimodal benchmarks, often surpassing full fine-tuning while significantly reducing training time and memory overhead.

Introduction

Large Vision-Language Models, such as InstructBLIP, have demonstrated remarkable capabilities in tasks ranging from image captioning to complex visual reasoning. However, their massive parameter counts (often in the billions) make standard fine-tuning inaccessible for most researchers. While existing Parameter-Efficient Fine-Tuning (PEFT) methods like LoRA or Adapters offer a solution, they often treat instructions as static prompts, failing to leverage the rich semantic information available in natural language instructions to guide visual alignment.

PETAL addresses these limitations by focusing on the "Q-Former"—the critical bridge between vision encoders and language models. The framework introduces a more nuanced approach to parameter efficiency that is both instruction-aware and dynamically adaptive.

The PETAL Framework

PETAL introduces three core innovations to the multimodal tuning process:

  1. Dynamic Mode Approximation (DMA): Instead of updating full weight matrices, PETAL utilizes a low-rank CP decomposition to approximate weight changes. A unique learnable threshold ($\Gamma$) is introduced to regulate the distillation of pre-trained knowledge into the new, efficient parameters, ensuring that the model retains its foundational capabilities while adapting to new tasks.
  2. Adaptive Instruction Mixture-of-Experts (MOEs): Recognizing that different instructions require different visual focuses, PETAL employs multiple instructions per image. A gating network adaptively assigns weights to various "experts" (non-linear layers), allowing the model to extract the most relevant semantic features based on the specific query.
  3. Score-based Information Bottleneck (SIB): To ensure the model focuses on the most critical data, a specialized loss function based on mutual information is used. This forces the model to retain task-relevant information from instructions while discarding irrelevant noise, leading to tighter alignment between visual and textual modalities.
The PETAL architecture featuring Adaptive Instruction MOEs and Dynamic Mode Approximation.

Experimental Evaluation

The researchers evaluated PETAL across five rigorous multimodal benchmarks, including Image Captioning (Flickr30K, TextCaps) and Visual Question Answering (OKVQA, A-OKVQA, TextVQA). To test generalization, the model was also evaluated in few-shot scenarios (50-shot and 150-shot subsets).

Key Results

  • Superior Accuracy: PETAL achieved a 3.5% improvement on Flickr30K and a 4.2% improvement on TextCaps compared to previous state-of-the-art PEFT methods. Remarkably, PETAL often outperformed full fine-tuning of the baseline InstructBLIP model.
  • Extreme Efficiency: The model uses only ~1 million tunable parameters, a 1/188th reduction compared to the 188 million parameters in a standard Q-Former fine-tune. This resulted in training times between 85% and 91% of the baseline.
  • Enhanced Generalization: By avoiding full-model overfitting, PETAL demonstrated superior performance in few-shot learning, maintaining the general-purpose capabilities of the pre-trained backbone.

Qualitative Insights

Visualization of attention maps reveals that PETAL-tuned models focus more accurately on essential image features mentioned in instructions. For instance, when asked about specific objects or actions, PETAL's attention maps show a much tighter and more relevant focus compared to standard LoRA or the original pre-trained model.

Visualization of attention maps showing PETAL's superior focus on task-relevant image features.

Conclusion and Future Work

PETAL demonstrates that parameter-efficient tuning does not have to come at the cost of performance. By making the tuning process instruction-aware and dynamically adaptive, PETAL achieves a "less is more" effect in VLM optimization. Future research will explore applying these techniques directly to the LLM backbone and extending the framework to more complex domains such as video understanding and robotic control. Additionally, optimizing the number of experts within the MOE structure remains a key area for further engineering refinement.

Summary updated

BibTeX
@misc{zhai2023when,
  author = {Yihang Zhai and Haixin Wang and Jianlong Chang and Xinlong Yang and Jinan Sun and Shikun Zhang and Qi Tian},
  title = {{When Parameter-efficient Tuning Meets General-purpose Vision-language Models}},
  year = {2023},
  eprint = {2312.12458},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.12458},
}
Figure