Skip to main content
QUICK 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 Science被引用数 22
ひとこと要約

MiniCPM-V は、モバイル機器上で GPT-4V レベルの性能を達成する、エンドサイドの効率的な Multimodal LLMs のシリーズです。優れた OCR、解像度の高い画像知覚、多言語対応、低い幻覚率を特徴とします。

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.

研究の動機と目的

  • エンドサイド機器上で GPT-4V レベルのマルチモーダル機能を動機づけ、実世界の AI アプリケーションを拡大する。
  • 性能とデバイス制約のバランスを取る、効率的な MLLM アーキテクチャと訓練レシピを設計する。
  • モバイルグレードのハードウェアで高解像度の視覚エンコーディング、OCR の実力、マルチ言語一般化を示す。
  • 量子化、メモリ最適化、NPU 加速を含むエンドサイド展開戦略を示す。

提案手法

  • SigLIP SoViT ベースの視覚エンコーダとトークン削減用の圧縮レイヤを用いた適応的な視覚エンコード・パイプラインを使用する。
  • 少数のクエリを持つ1層のクロスアテンション・モジュールで視覚トークンを圧縮する。
  • 圧縮ウォームアップ、解像度拡張、適応エンコーディングの3段階の事前訓練の後、SFT と RLAIF-V アラインメントを行う。
  • 強力なマルチ言語 LLM ピボットと対象的なマルチ言語 SFT を活用して、多言語一般化を実現する。
  • オープンソースのフィードバックと直接的な好みの最適化(DPO)を用いて幻覚を抑制する RLAIF-V を適用する。
  • 量子化、メモリとコンパイル最適化、パラメータチューニング、NPU 加速を通じたエンドサイド展開を調査する。

実験結果

リサーチクエスチョン

  • RQ1MiniCPM-V は多様なベンチマークでエンドサイド機器上、GPT-4V レベルの性能を達成できるのか?
  • RQ2高解像度 OCR および堅牢なマルチモーダル理解をモバイルハードウェア上で可能にするためのアーキテクチャと訓練選択は何か?
  • RQ3英語・中国語以外の言語での多言語監督がマルチモーダル機能にどう影響するのか?
  • RQ4電話機上での遅延・メモリ使用・エネルギー効率を最適にバランスさせる展開戦略は何か?
  • RQ5RLAIF-V はエンドサイドの MLLMs における信頼性を向上させ、幻覚を減らすのか?

主な発見

  • MiniCPM-Llama3-V 2.5 は OpenCompass ベンチマークで GPT-4V-1106、Gemini Pro、Claude 3 を上回る。
  • 任意のアスペクト比で強力な OCR 能力と 1.8M ピクセルの高解像度画像知覚を示す。
  • RLAIF-V アラインメントは Object HalBench のベースライン参照より低い幻覚率をもたらす。
  • 多言語監督付きファインチューニングにより、比較的小さな訓練 footprint で 30 言語超の実用的な性能を実現。
  • 量子化と最適化によるエンドサイド展開は、スマートフォンやノートPC上で実現可能な待機時間とスループットを達成し、NPU 加速は視覚エンコード時間をさらに改善する。

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。