[Paper Review] An Empirical Study of Scaling Instruct-Tuned Large Multimodal Models
This paper presents an empirical study on scaling instruction-tuned large multimodal models (LMMs) from 7B to 65B parameters using LLaVA, demonstrating that increasing model size consistently improves both multimodal and language capabilities. It finds that LoRA/QLoRA tuning achieves performance comparable to full fine-tuning, while higher image resolution and mixing multimodal-language data significantly boost performance, with visual instruction tuning even enhancing pure language abilities.
Visual instruction tuning has recently shown encouraging progress with open-source large multimodal models (LMM) such as LLaVA and MiniGPT-4. However, most existing studies of open-source LMM are performed using models with 13B parameters or smaller. In this paper we present an empirical study of scaling LLaVA up to 33B and 65B/70B, and share our findings from our explorations in image resolution, data mixing and parameter-efficient training methods such as LoRA/QLoRA. These are evaluated by their impact on the multi-modal and language capabilities when completing real-world tasks in the wild. We find that scaling LMM consistently enhances model performance and improves language capabilities, and performance of LoRA/QLoRA tuning of LMM are comparable to the performance of full-model fine-tuning. Additionally, the study highlights the importance of higher image resolutions and mixing multimodal-language data to improve LMM performance, and visual instruction tuning can sometimes improve LMM's pure language capability. We hope that this study makes state-of-the-art LMM research at a larger scale more accessible, thus helping establish stronger baselines for future research. Code and checkpoints will be made public.
Motivation & Objective
- To investigate the impact of scaling large language model (LLM) size on multimodal model (LMM) performance beyond 13B parameters.
- To evaluate the effectiveness of parameter-efficient fine-tuning methods like LoRA and QLoRA for large-scale LMMs.
- To analyze how data mixing (multimodal vs. language-only instruction data) and image resolution affect LMM capabilities.
- To explore whether visual instruction tuning can enhance not only multimodal but also pure language capabilities of LMMs.
- To establish stronger, publicly available baselines for future research using larger-scale LLaVA checkpoints.
Proposed method
- Scaled LLaVA from 7B to 65B by fine-tuning Vicuna-based LLMs with visual instruction data using a two-stage training process: (1) visual feature alignment via projection head training, and (2) visual instruction tuning on LLaVA-80K dataset.
- Applied both full-model fine-tuning and parameter-efficient methods (LoRA and QLoRA) to compare training cost and performance trade-offs.
- Explored data mixing by combining LLaVA-80K multimodal instruction data with ShareGPT language-only instruction data during stage-2 tuning.
- Used high-resolution image inputs (up to 336x336) and evaluated their impact on visual understanding and reasoning.
- Employed DeepSpeed with ZeRO-3/ZeRO-2 for efficient training, with sequence length capped at 2048 tokens and learning rate schedules optimized per method.
- Conducted extensive hyperparameter search, particularly for LoRA, finding that LoRA alpha = 2 × rank and a learning rate of 1×10⁻⁴ yielded optimal performance.
Experimental results
Research questions
- RQ1How does scaling the LLM size from 7B to 65B affect the multimodal and language capabilities of instruction-tuned LMMs?
- RQ2To what extent do parameter-efficient fine-tuning methods like LoRA and QLoRA match the performance of full-model fine-tuning in large-scale LMMs?
- RQ3How does mixing language-only instruction data with multimodal data during training affect the balance between multimodal and language capabilities?
- RQ4Does visual instruction tuning improve the pure language capabilities of LMMs, beyond their multimodal performance?
- RQ5What is the optimal image resolution and data curation strategy for maximizing LMM performance in real-world tasks?
Key findings
- Scaling LLaVA from 7B to 65B improved LLaVA-Bench performance from 65.9 to 72.3, with 65B models achieving state-of-the-art results.
- LoRA and QLoRA tuning achieved performance comparable to full fine-tuning, with 65B LoRA models reaching 72.2 on LLaVA-Bench and 74.2 on MM-VET.
- Mixing language-only instruction data (e.g., ShareGPT) with multimodal data improved multimodal capabilities but did not enhance language performance, suggesting a trade-off in capability balance.
- Visual instruction tuning improved pure language capabilities: LLaVA-70B achieved a MMLU score of 65.1, surpassing even the base LLaMA-2-70B-Chat model (63.1), indicating a positive transfer effect.
- Higher image resolution (e.g., 336x336) significantly improved visual understanding, with performance gains observed across all model sizes.
- The optimal LoRA configuration used LoRA alpha = 2 × rank and a learning rate of 1×10⁻⁴, with higher ranks (e.g., 512) yielding only marginal gains beyond rank 64.
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.