Cheap and Quick: Efficient Vision-Language Instruction Tuning for Large Language Models

Gen Luo, Yiyi Zhou, Tianhe Ren, Shengxin Chen, Xiaoshuai Sun, Rongrong Ji

Introduction

As Large Language Models (LLMs) continue to redefine the boundaries of natural language processing, the quest to grant these models "sight" has become a primary research frontier. However, the computational cost of creating multimodal models like GPT-4 is often prohibitive. Existing approaches typically rely on either complex expert systems that call external tools or heavy modular training that requires massive pre-training on millions of image-text pairs. These methods often lead to "catastrophic forgetting," where the model loses its original proficiency in text-only tasks after being fine-tuned for vision.

LaVIN (Large Vision-Language Instructed model) addresses these challenges by introducing a "cheap and quick" training regime. By utilizing a novel Mixture-of-Modality Adaptation (MMA), LaVIN achieves competitive multimodal performance with minimal compute overhead, training in just 1.4 hours while preserving the model's core linguistic capabilities.

Methodology: Mixture-of-Modality Adaptation (MMA)

The technical core of LaVIN is the Mixture-of-Modality Adaptation (MMA) framework. Instead of employing a heavy "neck" module to bridge the gap between the vision encoder (CLIP-ViT) and the LLM (LLaMA), MMA utilizes lightweight, parameter-efficient components:

  • MM-Adapters: Based on RepAdapters, these modules are inserted into both the image encoder and the LLM. They allow the system to learn the alignment between modalities by updating only 3.8 million parameters—a tiny fraction of the base model's total size.
  • Dynamic Routing: To prevent the degradation of text-only performance, LaVIN employs a routing algorithm. This mechanism uses a "modality token" to determine the processing path. Text-only inputs follow the original language path, while multimodal inputs (image + text) are routed through the adapted path. This ensures that new visual knowledge does not "overwrite" existing language knowledge.
  • End-to-End Joint Optimization: Unlike models that require a distinct, time-consuming alignment stage to teach the model visual concepts, LaVIN is trained end-to-end from the outset. This streamlined approach significantly reduces the total training time.

Experimental Setup and Results

The researchers validated LaVIN across several rigorous benchmarks, including ScienceQA for multimodal reasoning, Alpaca-52k for text instructions, and LLaVA-158k for multimodal chatbot capabilities. The results highlight a new standard for efficiency in the field:

1. Training Efficiency

LaVIN-7B reached competitive performance on the ScienceQA benchmark in just 1.4 hours using 8 A100 GPUs. Compared to the LLaVA model, this represents a 71.4% reduction in training time and a 99.9% reduction in storage costs for the trained parameters.

2. Competitive Performance

On the ScienceQA test set, LaVIN-13B achieved an accuracy of 90.50%. This performance is on par with much more computationally expensive models like LLaVA (90.92%) and significantly exceeds other efficient alternatives like LLaMA-Adapter (85.19%).

3. Preserving Language Prowess

Crucially, LaVIN maintains its predecessor's NLP capabilities. On the TruthfulQA benchmark, LaVIN actually improved the original LLaMA's performance by 9.2%. This suggests that the MMA approach can enhance the base model's reasoning rather than degrading it through catastrophic forgetting.

Conclusion and Future Work

LaVIN demonstrates that multimodal research does not have to be a "compute arms race." By updating only 3.8M parameters and utilizing dynamic routing, the model provides an accessible pathway for smaller labs and individual developers to build high-performing multimodal systems.

While highly efficient, the model still faces challenges common to the field, such as occasional hallucinations and difficulty with extremely fine-grained visual details. Future work will focus on refining the routing algorithm and improving the model's ability to recognize small-scale visual content and embedded text within complex images.

Summary updated

BibTeX
@inproceedings{luo2023cheap,
  author = {Gen Luo and Yiyi Zhou and Tianhe Ren and Shengxin Chen and Xiaoshuai Sun and Rongrong Ji},
  title = {{Cheap and Quick: Efficient Vision-Language Instruction Tuning for Large Language Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=t877958UGZ},
}
Figure