[Paper Review] TinyGPT-V: Efficient Multimodal Large Language Model via Small Backbones
TinyGPT-V is a parameter-efficient multimodal LLM with 2.8B parameters built on Phi-2; it achieves competitive vision-language tasks using 24G GPUs for training and 8G devices for inference by leveraging BLIP-2/CLIP visual modules and lightweight training strategies.
In recent years, multimodal large language models (MLLMs) such as GPT-4V have demonstrated remarkable advancements, excelling in a variety of vision-language tasks. Despite their prowess, the closed-source nature and computational demands of such models limit their accessibility and applicability. This study introduces TinyGPT-V, a novel open-source MLLM, designed for efficient training and inference across various vision-language tasks, including image captioning (IC) and visual question answering (VQA). Leveraging a compact yet powerful architecture, TinyGPT-V integrates the Phi-2 language model with pre-trained vision encoders, utilizing a unique mapping module for visual and linguistic information fusion. With a training regimen optimized for small backbones and employing a diverse dataset amalgam, TinyGPT-V requires significantly lower computational resources 24GB for training and as little as 8GB for inference without compromising on performance. Our experiments demonstrate that TinyGPT-V, with its language model 2.8 billion parameters, achieves comparable results in VQA and image inference tasks to its larger counterparts while being uniquely suited for deployment on resource-constrained devices through innovative quantization techniques. This work not only paves the way for more accessible and efficient MLLMs but also underscores the potential of smaller, optimized models in bridging the gap between high performance and computational efficiency in real-world applications. Additionally, this paper introduces a new approach to multimodal large language models using smaller backbones. Our code and training weights are available in the supplementary material.
Motivation & Objective
- Motivate the development of cost-effective, efficient multimodal LLMs that can rival larger models.
- Propose TinyGPT-V as a small-backbone MLLM leveraging Phi-2 with pre-trained vision modules.
- Demonstrate training strategies and normalization techniques that stabilize learning in small LLMs for multimodal tasks.
- Showcase the model's performance across diverse vision-language benchmarks despite limited parameters.
Proposed method
- Architecture that fuses a visual encoder projection (Q-Former) with a 2.8B Phi-2 language backbone.
- Use frozen vision modules (BLIP-2 or CLIP) and train only the projection layer and LoRA for efficiency.
- Incorporate LLaMA-2 post-norm/input-norm, RMS norm after MHA, and Query-Key Normalization to stabilize training.
- Adopt a four-stage training pipeline: warm-up, pre-training, instruction fine-tuning, and multi-task learning.
- Employ a multi-task instruction template with six task identifiers to unify diverse vision-language tasks.
Experimental results
Research questions
- RQ1Can a small 2.8B LLM (Phi-2) paired with pre-trained vision modules achieve competitive MLLM performance?
- RQ2What training strategies (norms, LoRA, quantization) are needed to stabilize multimodal learning with small backbones?
- RQ3How does TinyGPT-V perform on standard VQA, grounding, and referencing tasks relative to larger open-source MLLMs?
Key findings
- TinyGPT-V (2.8B parameters) achieves competitive results on multiple visual-language benchmarks despite being far smaller than 13B+ models.
- On VSR zero-shot, TinyGPT-V scores 53.2%, the highest among reported 2.8B–13B baselines.
- On IconVQ and HM tasks, TinyGPT-V attains 43.3% and 53.2%, respectively, competitive with larger models.
- Stage-wise training with normalizations (RMS Norm, QK Norm) and LoRA is crucial to prevent gradient vanishing and achieve low losses across stages.
- TinyGPT-V can be trained on a single 24G GPU and deployed on 8G devices due to efficient architecture and quantisation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.