arXiv:2411.10640cs.CVcs.CL2024-11CVPR被引 27

轻量多模态大模型蓝光V-3B,让手机秒回图文问题。

BlueLM-V-3B: Algorithm and System Co-Design for Multimodal Large Language Models on Mobile Devices

  • 算法系统协同设计,动态分辨率+硬件感知优化
  • 2.7B语言模型+400M视觉编码器,4比特量化下生成24.4词/秒
  • 参数≤40亿模型中表现最优,超越多个更大模型

多模态大语言模型(MLLMs)在提升日常沟通、学习与问题解决方面潜力巨大。手机作为主要生活伴侣,是部署MLLM的理想平台。然而,受限于内存与算力,实现流畅实时推理需深度优化。本文提出针对移动端的蓝光V-3B,通过重设计主流模型的动态分辨率机制,并结合硬件感知系统优化,实现高效部署。其核心亮点包括:(1)小体积:语言模型2.7B参数,视觉编码器400M参数;(2)高速度:在联发科天玑9300处理器上,4比特量化下生成速度达24.4 token/s;(3)强性能:在OpenCompass基准测试中,参数≤4B的模型里平均得分最高,达66.1,超越多项远大于其规模的模型(如MiniCPM-V-2.6、InternVL2-8B)。

原文摘要 · Abstract (English)

The emergence and growing popularity of multimodal large language models (MLLMs) have significant potential to enhance various aspects of daily life, from improving communication to facilitating learning and problem-solving. Mobile phones, as essential daily companions, represent the most effective and accessible deployment platform for MLLMs, enabling seamless integration into everyday tasks. However, deploying MLLMs on mobile phones presents challenges due to limitations in memory size and computational capability, making it difficult to achieve smooth and real-time processing without extensive optimization. In this paper, we present BlueLM-V-3B, an algorithm and system co-design approach specifically tailored for the efficient deployment of MLLMs on mobile platforms. To be specific, we redesign the dynamic resolution scheme adopted by mainstream MLLMs and implement system optimization for hardware-aware deployment to optimize model inference on mobile phones. BlueLM-V-3B boasts the following key highlights: (1) Small Size: BlueLM-V-3B features a language model with 2.7B parameters and a vision encoder with 400M parameters. (2) Fast Speed: BlueLM-V-3B achieves a generation speed of 24.4 token/s on the MediaTek Dimensity 9300 processor with 4-bit LLM weight quantization. (3) Strong Performance: BlueLM-V-3B has attained the highest average score of 66.1 on the OpenCompass benchmark among models with $\leq$ 4B parameters and surpassed a series of models with much larger parameter sizes (e.g., MiniCPM-V-2.6, InternVL2-8B).

多模态轻量化手机部署大模型

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。