Introduction
Multimodal Large Language Models (MLLMs) have demonstrated remarkable capabilities in understanding and reasoning across text and visual modalities. However, deploying these models on mobile devices remains a significant challenge due to stringent constraints on memory, computational power, and battery life. Standard MLLMs often exceed the RAM capacity of typical smartphones and suffer from high latency, particularly when processing high-resolution images.
BlueLM-V-3B addresses these challenges through a comprehensive "Algorithm and System Co-Design" strategy. By optimizing how the model handles visual input and tailoring its execution to mobile hardware, the researchers have developed a 3-billion parameter model that achieves state-of-the-art accuracy for its size while maintaining a generation speed of 24.4 tokens per second on a mobile chipset.
Methodology: Algorithm and System Co-Design
The core innovation of BlueLM-V-3B lies in its hardware-aware design, which bridges the gap between high-level algorithmic requirements and low-level system constraints.
Architecture Overview
The model architecture integrates a vision encoder (SigLIP-400M) with a language model backbone (BlueLM-3B) via an MLP projector. A key component is the Dynamic Resolution Processor, which manages how images are partitioned and fed into the system.
Relaxed Aspect Ratio Matching
A major bottleneck in mobile MLLMs is the "token tax" associated with high-resolution images. Traditional dynamic resolution methods often upscale images to fit rigid grids, generating an excessive number of image tokens that overwhelm the mobile Neural Processing Unit (NPU). BlueLM-V-3B introduces a "relaxed" matching approach. By using a threshold to select smaller aspect ratios that still preserve essential visual details, the model significantly reduces the total sequence length, thereby lowering the computational burden on both the vision transformer and the LLM.
Hardware-Aware System Optimizations
To maximize throughput on mobile NPUs, the authors implemented several system-level optimizations:
- Token Downsampling: Image tokens are compressed by a factor of 4 (2x2 to 1) before entering the LLM, reducing the sequence length by 75%.
- Batched & Pipeline Encoding: Image patches are processed in parallel batches. Furthermore, pipeline parallelism is used to overlap the execution of the vision transformer on the NPU with initial convolutional layers on the CPU.
- Mixed-Precision Quantization: The model employs a strategic quantization scheme: INT4 for LLM weights to minimize memory footprint, INT8 for the vision encoder, and FP16/INT16 for activations to maintain numerical stability and accuracy.
Training and Data
BlueLM-V-3B was trained in two distinct stages. The pre-training phase utilized 2.5 million image-caption pairs from open-source repositories. This was followed by a massive fine-tuning stage using a meticulously curated dataset of 645 million image-text pairs. This dataset includes a substantial volume of high-quality in-house data specifically focused on Optical Character Recognition (OCR), document understanding, and multilingual tasks, which are critical for real-world mobile applications.
Performance and Results
Evaluation across a broad spectrum of benchmarks demonstrates that BlueLM-V-3B is the leading model in the ≤ 4B parameter category.
Key Benchmarks
The model achieved an average score of 66.1 on the OpenCompass benchmark, outperforming larger competitors like InternVL2-4B and MiniCPM-V-2. It showed particular strength in OCR-related tasks (OCRBench and MTVQA), likely due to the specialized training data.
Mobile Efficiency
On a MediaTek Dimensity 9300 processor, BlueLM-V-3B achieved:
- Inference Speed: 24.4 tokens/second, providing a near-instantaneous user experience.
- Memory Footprint: Only 2.2GB of RAM, ensuring compatibility with standard mobile device environments.
Conclusion
BlueLM-V-3B demonstrates that high-performance multimodal AI is achievable on mobile devices through the tight integration of algorithmic innovation and hardware-aware system design. By reducing the "token tax" and optimizing for mobile NPU architectures, BlueLM-V-3B sets a new standard for efficient, on-device MLLMs.
Summary updated