[Paper Review] Mini-Gemini: Mining the Potential of Multi-modality Vision Language Models
Mini-Gemini introduces dual vision encoders, patch info mining, and high-quality data to empower any-to-any vision-language models, achieving leading zero-shot results and strong generation capabilities.
In this work, we introduce Mini-Gemini, a simple and effective framework enhancing multi-modality Vision Language Models (VLMs). Despite the advancements in VLMs facilitating basic visual dialog and reasoning, a performance gap persists compared to advanced models like GPT-4 and Gemini. We try to narrow the gap by mining the potential of VLMs for better performance and any-to-any workflow from three aspects, i.e., high-resolution visual tokens, high-quality data, and VLM-guided generation. To enhance visual tokens, we propose to utilize an additional visual encoder for high-resolution refinement without increasing the visual token count. We further construct a high-quality dataset that promotes precise image comprehension and reasoning-based generation, expanding the operational scope of current VLMs. In general, Mini-Gemini further mines the potential of VLMs and empowers current frameworks with image understanding, reasoning, and generation simultaneously. Mini-Gemini supports a series of dense and MoE Large Language Models (LLMs) from 2B to 34B. It is demonstrated to achieve leading performance in several zero-shot benchmarks and even surpasses the developed private models. Code and models are available at https://github.com/dvlab-research/MiniGemini.
Motivation & Objective
- Aim to narrow the gap between academic VLMs and large-scale, well-resourced models like GPT-4 and Gemini.
- Improve visual detail without increasing visual token counts.
- Build high-quality cross-modality data to enhance alignment and instruction-following.
- Enable both comprehension and generation (text and image) within an any-to-any framework.
Proposed method
- Use dual vision encoders to produce low-resolution embeddings and high-resolution candidates for visual grounding.
- Propose patch info mining to retrieve high-resolution cues while keeping the final visual token count fixed for LLMs.
- Concatenate mined visual tokens with text for LLM-driven understanding and generation in an any-to-any workflow.
- Collect and integrate high-quality cross-modality data and generation-related data to enhance alignment and instruction tuning.
- Enable text-guided image generation by extracting high-quality prompts from LLM outputs and guiding diffusion models.
- Provide an instantiable framework compatible with 2B–34B parameter LLMs and train with efficient schemes.
Experimental results
Research questions
- RQ1Can patch info mining leverage high-resolution local detail without increasing visual token counts?
- RQ2How does dual-encoder visual processing affect VLM comprehension and generation performance?
- RQ3What is the impact of high-quality cross-modal data on alignment and instruction-tuning outcomes?
- RQ4Can Mini-Gemini achieve state-of-the-art zero-shot results across diverse VQA and reasoning benchmarks?
- RQ5How effective is VLM-guided generation when combined with text-only data for prompts to diffusion models?
Key findings
- Mini-Gemini achieves leading zero-shot performance on several benchmarks across different LLM backbones.
- With Hermes-2-Yi-34B, Mini-Gemini surpasses some private models on challenging benchmarks like MMMU and MMB.
- Patch info mining yields notable gains (e.g., TextVQA and MME) and maintains a fixed visual token count while utilizing high-resolution detail.
- Higher-resolution visual tokens, when paired with appropriate HR encoders, improve detail-oriented tasks and reduce visual hallucinations.
- High-quality data (captions, OCR-focused data, and generation-related data) consistently boosts alignment, OCR reasoning, and generation capabilities.
- The framework supports both image understanding and generation, achieving competitive image generation results guided by LLMs.
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.