[Paper Review] TinyLLaVA: A Framework of Small-scale Large Multimodal Models
TinyLLaVA analyzes how small-scale LMMs can match larger models by optimizing data quality and training recipes, presenting a family of 1.1–3.1B parameter models that outperform some 7B-class counterparts in aggregate benchmarks.
We present the TinyLLaVA framework that provides a unified perspective in designing and analyzing the small-scale Large Multimodal Models (LMMs). We empirically study the effects of different vision encoders, connection modules, language models, training data and training recipes. Our extensive experiments showed that better quality of data combined with better training recipes, smaller LMMs can consistently achieve on-par performances compared to bigger LMMs. Under our framework, we train a family of small-scale LMMs. Our best model, TinyLLaVA-3.1B, achieves better overall performance against existing 7B models such as LLaVA-1.5 and Qwen-VL. We hope our findings can serve as baselines for future research in terms of data scaling, training setups and model selections. Our model weights and codes will be made public.
Motivation & Objective
- Assess how vision encoder choice, connector design, language model scale, and data quality affect small-scale LMMs under a unified framework.
- Identify training recipes and data mixtures that enable small LMMs to achieve competitive or superior performance to larger models.
- Provide baselines and practical guidance for designing and training small-scale LMMs in resource-constrained environments.
Proposed method
- Proposes a modular TinyLLaVA framework with a vision encoder, a small-scale LLM, and a connector module.
- Two-stage training: pre-training for feature alignment using image-caption style data, followed by supervised fine-tuning on multi-turn image-text conversations.
- Two training recipes: base (freeze vision encoder; train connector and LLM) and share (freeze first 12 layers of vision encoder; fine-tune more parameters).
- Experiments varying LLM backbones (TinyLlama, StableLM-2, Phi-2), vision encoders (CLIP, SigLIP), and connectors (MLP vs Resampler).
- Evaluation on VQA/GQA/SQA I/ TextVQA and comprehensive benchmarks (POPE, MM-Vet, LLaVA-W, MME, MMBench).
- Comparison against SOTA LMMs to assess competitiveness of TinyLLaVA variants.
Experimental results
Research questions
- RQ1How do different vision encoders and small LLM backbones affect multimodal understanding under TinyLLaVA?
- RQ2What is the impact of training data quality and scale on small-scale LMM performance?
- RQ3Do training recipes that fine-tune more parameters help or hurt small-scale LMMs across benchmarks?
- RQ4Can TinyLLaVA variants achieve competitive performance with significantly fewer parameters than 7B+ models?
Key findings
- Smaller LMMs can achieve on-par or better performance than larger counterparts when combined with higher-quality data and effective training recipes.
- SigLIP as the vision encoder yields notable gains over CLIP, likely due to higher input resolution and more visual tokens.
- Phi-2 generally delivers strong performance among small LLM backbones, benefitting from larger parameter count.
- The share training recipe improves performance for several variants, especially with larger and more diverse pretraining data, but can increase hallucinations for some backbones.
- TinyLLaVA-3.1B with the right data/recipe outperforms existing 7B models like LLaVA-1.5 and Qwen-VL on aggregate metrics.
- TinyLLaVA variants with smaller LLMs may require more trainable parameters during pretraining to fit larger data, whereas larger LLMs may become more susceptible to hallucinations when more parameters are trained.
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.