Skip to main content
QUICK REVIEW

[Paper Review] Cheap and Quick: Efficient Vision-Language Instruction Tuning for Large Language Models

Gen Luo, Yiyi Zhou|arXiv (Cornell University)|May 24, 2023
Multimodal Machine Learning ApplicationsComputer Science45 citations
TL;DR

The paper proposes Mixture-of-Modality Adaptation (MMA) to efficiently adapt LLMs to vision-language tasks using lightweight adapters, enabling end-to-end training with few trainable parameters. It introduces LaVIN, a vision-language instructed model built on LLaMA, achieving competitive performance with drastically lower training cost.

ABSTRACT

Recently, growing interest has been aroused in extending the multimodal capability of large language models (LLMs), e.g., vision-language (VL) learning, which is regarded as the next milestone of artificial general intelligence. However, existing solutions are prohibitively expensive, which not only need to optimize excessive parameters, but also require another large-scale pre-training before VL instruction tuning. In this paper, we propose a novel and affordable solution for the effective VL adaption of LLMs, called Mixture-of-Modality Adaptation (MMA). Instead of using large neural networks to connect the image encoder and LLM, MMA adopts lightweight modules, i.e., adapters, to bridge the gap between LLMs and VL tasks, which also enables the joint optimization of the image and language models. Meanwhile, MMA is also equipped with a routing algorithm to help LLMs achieve an automatic shift between single- and multi-modal instructions without compromising their ability of natural language understanding. To validate MMA, we apply it to a recent LLM called LLaMA and term this formed large vision-language instructed model as LaVIN. To validate MMA and LaVIN, we conduct extensive experiments under two setups, namely multimodal science question answering and multimodal dialogue. The experimental results not only demonstrate the competitive performance and the superior training efficiency of LaVIN than existing multimodal LLMs, but also confirm its great potential as a general-purpose chatbot. More importantly, the actual expenditure of LaVIN is extremely cheap, e.g., only 1.4 training hours with 3.8M trainable parameters, greatly confirming the effectiveness of MMA. Our project is released at https://luogen1996.github.io/lavin.

Motivation & Objective

  • Motivate affordable vision-language (VL) adaptation for large language models (LLMs) without large-scale VL pre-training.
  • Introduce MMA to connect image encoders and LLMs via lightweight adapters and a dynamic routing mechanism.
  • Demonstrate end-to-end training with a small parameter footprint and validate on multimodal science QA and dialogue tasks.

Proposed method

  • Introduce Mixture-of-Modality Adapter (MM-Adapter) to dynamically route between unimodal and multimodal adaptations using modality tokens and a softmax-based router.
  • Define Mixture-of-Modality Training (MMT) that freezes the backbone LLM and image encoder while fine-tuning only adapters in an end-to-end objective.
  • Apply MMA to LLaMA, creating LaVIN, with CLIP-ViT as image encoder and six [cls] ViT tokens as visual features.
  • Use a visual neck with a small parameter footprint (e.g., 3–5M trainable params) and train with a mix of text-only and text-image instructions.
  • Jointly optimize the multimodal LLM via end-to-end training, enabling automatic shifting between text-only and image-text instructions.

Experimental results

Research questions

  • RQ1Can MMA achieve competitive VL instruction-tuning performance with significantly reduced training cost and parameters?
  • RQ2Does LaVIN maintain NLP capabilities while acquiring VL understanding without VL pre-training?
  • RQ3How does MMA facilitate automatic switching between text-only and image-text instructions during inference?
  • RQ4What are the effects of adapter size, image encoder strength, and LLM scale on ScienceQA and multimodal dialogue performance?

Key findings

  • LaVIN with MMA achieves competitive results against state-of-the-art multimodal LLMs while drastically reducing training time and storage (e.g., 1.4 hours with 3.8M trainable parameters on ScienceQA).
  • LaVIN-13B attains about 90.83 accuracy on ScienceQA test set, with a 5.4M parameter budget, outperforming several parameter-efficient baselines.
  • MMT yields the largest gains among ablations, with up to +4.69 average accuracy improvements when integrated with a stronger image encoder and joint optimization.
  • Joint optimization of image encoder and LLM, plus a stronger image encoder (ViT-L/14), yields notable accuracy gains, validating the benefit of end-to-end VL adaptation.
  • On COCO captioning, LaVIN achieves competitive CIDEr scores with far less pre-training data and updated parameters, and considerably lower training cost compared to BLIP-2 and LLaVA.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.