Skip to main content
QUICK REVIEW

[Paper Review] MiniCPM-V: A GPT-4V Level MLLM on Your Phone

Yuan Yao, Tianyou Yu|arXiv (Cornell University)|Aug 3, 2024
Advanced Data Storage TechnologiesComputer Science22 citations
TL;DR

MiniCPM-V is a series of efficient end-side Multimodal LLMs that achieve GPT-4V level performance on mobile devices, with strong OCR, high-resolution image perception, multilingual support, and low hallucination rates.

ABSTRACT

The recent surge of Multimodal Large Language Models (MLLMs) has fundamentally reshaped the landscape of AI research and industry, shedding light on a promising path toward the next AI milestone. However, significant challenges remain preventing MLLMs from being practical in real-world applications. The most notable challenge comes from the huge cost of running an MLLM with a massive number of parameters and extensive computation. As a result, most MLLMs need to be deployed on high-performing cloud servers, which greatly limits their application scopes such as mobile, offline, energy-sensitive, and privacy-protective scenarios. In this work, we present MiniCPM-V, a series of efficient MLLMs deployable on end-side devices. By integrating the latest MLLM techniques in architecture, pretraining and alignment, the latest MiniCPM-Llama3-V 2.5 has several notable features: (1) Strong performance, outperforming GPT-4V-1106, Gemini Pro and Claude 3 on OpenCompass, a comprehensive evaluation over 11 popular benchmarks, (2) strong OCR capability and 1.8M pixel high-resolution image perception at any aspect ratio, (3) trustworthy behavior with low hallucination rates, (4) multilingual support for 30+ languages, and (5) efficient deployment on mobile phones. More importantly, MiniCPM-V can be viewed as a representative example of a promising trend: The model sizes for achieving usable (e.g., GPT-4V) level performance are rapidly decreasing, along with the fast growth of end-side computation capacity. This jointly shows that GPT-4V level MLLMs deployed on end devices are becoming increasingly possible, unlocking a wider spectrum of real-world AI applications in the near future.

Motivation & Objective

  • Motivate and enable GPT-4V level multimodal capabilities on end-side devices to broaden real-world AI applications.
  • Design an efficient MLLM architecture and training recipe that balances performance and device constraints.
  • Demonstrate high-resolution visual encoding, OCR prowess, and multilingual generalization on mobile-grade hardware.
  • Showcase end-side deployment strategies including quantization, memory optimization, and NPU acceleration.

Proposed method

  • Use an adaptive visual encoding pipeline with a SigLIP SoViT-based visual encoder and a compression layer for token reduction.
  • Compress visual tokens via a one-layer cross-attention module with a small number of queries.
  • Train via a three-stage pre-training (compression warm-up, resolution extension, adaptive encoding), followed by SFT and RLAIF-V alignment.
  • Employ multilingual generalization by leveraging a strong multilingual LLM pivot and targeted multilingual SFT.
  • Apply RLAIF-V to reduce hallucinations through open-source feedback and direct preference optimization (DPO).
  • Investigate end-side deployment via quantization, memory and compilation optimizations, parameter tuning, and NPU acceleration.

Experimental results

Research questions

  • RQ1Can MiniCPM-V achieve GPT-4V level performance on end-side devices across diverse benchmarks?
  • RQ2What architectural and training choices enable high-resolution OCR and robust multimodal understanding on mobile hardware?
  • RQ3How does multilingual supervision impact multimodal capabilities in languages beyond English and Chinese?
  • RQ4What deployment strategies best balance latency, memory usage, and energy efficiency on phones?
  • RQ5Does RLAIF-V improve trustworthiness and reduce hallucinations in end-side MLLMs?

Key findings

  • MiniCPM-Llama3-V 2.5 outperforms GPT-4V-1106, Gemini Pro and Claude 3 on OpenCompass benchmarks.
  • It exhibits strong OCR capability and 1.8M-pixel high-resolution image perception across arbitrary aspect ratios.
  • RLAIF-V alignment yields lower hallucination rates compared with baseline references on Object HalBench.
  • Multilingual supervised fine-tuning enables usable performance in more than 30 languages with a relatively small training footprint.
  • End-side deployment with quantization and optimization achieves feasible latency and throughput on phones and laptops, with NPU acceleration further improving visual encoding times.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.