[논문 리뷰] MiniCPM-V: A GPT-4V Level MLLM on Your Phone
MiniCPM-V는 모바일 기기에서 GPT-4V 수준의 성능을 달성하는 효율적인 엔드-사이드 멀티모달 LLM 시리즈로, 강력한 OCR, 고해상도 이미지 인지, 다국어 지원 및 낮은 환각율을 자랑합니다.
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.
연구 동기 및 목표
- 실세계 AI 응용 확장을 위해 엔드-사이드 기기에서 GPT-4V 수준의 멀티모달 역량을 고취시키고 가능하게 한다.
- 성능과 기기 제약 간의 균형을 이루는 효율적인 MLLM 아키텍처 및 학습 레시피를 설계한다.
- 모바일 등급 하드웨어에서 고해상도 시각 인코딩, OCR 역량, 다국어 일반화를 입증한다.
- 양자화, 메모리 최적화 및 NPU 가속을 포함한 엔드-사이드 배포 전략을 선보인다.
제안 방법
- 토큰 감소를 위한 압축 레이어와 함께 SigLIP SoViT 기반 시각 인코더를 사용한 적응형 시각 인코딩 파이프라인.
- 적은 수의 쿼리를 갖는 단일 계층 교차 주의 모듈을 통해 시각 토큰을 압축한다.
- 세 단계 사전 학습(압축 워밍업, 해상도 확장, 적응형 인코딩)으로 훈련하고, 그 뒤에 SFT 및 RLAIF-V 정렬을 수행한다.
- 강력한 다국어 LLM 피벗과 목표 다국어 SFT를 활용하여 다국어 일반화를 적용한다.
- 오픈 소스 피드백 및 직접 선호 최적화(DPO)를 통한 환각 감소를 위해 RLAIF-V를 적용한다.
- 양자화, 메모리 및 컴파일 최적화, 매개변수 튜닝 및 NPU 가속을 통한 엔드-사이드 배치를 조사한다.
실험 결과
연구 질문
- RQ1다양한 벤치마크에서 MiniCPM-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에서 기준 참조 대비 환각률을 낮춘다.
- 다국어 감독 하의 미세조정은 비교적 작은 학습 규모로 30개국 이상에서 사용 가능한 성능을 가능하게 한다.
- 양자화 및 최적화를 통한 엔드-사이드 배포는 휴대폰과 노트북에서 실현 가능한 대기시간 및 처리량을 달성하며, NPU 가속은 시각 인코딩 시간을 추가로 개선한다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.