Introduction
Vision-Language Models (VLMs) have achieved significant milestones in general multimodal tasks, yet they often struggle with the specialized requirements of enterprise applications. Tasks such as parsing complex financial documents, interpreting handwritten notes, or solving geometric math problems require a level of domain expertise that general-purpose models frequently lack. Baidu AI Cloud introduces Qianfan-VL, a family of models ranging from 3B to 70B parameters, specifically engineered to bridge this gap through a novel "domain enhancement" strategy.
Architectural Design
The Qianfan-VL models utilize a modular architecture designed for both high performance and deployment flexibility. The system consists of three primary components:
- Vision Encoder: Based on InternViT, supporting dynamic patching and 4K resolution to capture fine-grained details in documents and images.
- MLP Adapter: A cross-modal bridge that aligns visual features with the language model's embedding space.
- Language Model (LLM): The 8B and 70B variants utilize Llama 3.1, while the 3B variant, optimized for edge devices, uses Qwen2.5.
The Four-Stage Training Pipeline
To achieve state-of-the-art performance without sacrificing general reasoning abilities, the researchers developed a Four-Stage Progressive Training Pipeline. This method addresses the "catastrophic forgetting" often seen when fine-tuning on specialized data.
- Stage 1: Cross-modal Alignment (100B tokens): A warm-up phase where only the MLP adapter is trained to map visual features to language, keeping the encoder and LLM frozen to ensure stability.
- Stage 2: General Knowledge Injection (2.66T tokens): Full-parameter training on a massive, diverse dataset to build a robust multimodal foundation.
- Stage 3: Domain Enhancement (0.32T tokens): The critical innovation where the model is trained on a 70/30 mixture of specialized domain data (OCR, Math, Charts) and general data. This ratio was found to be the "sweet spot" for gaining expertise while maintaining common-sense reasoning.
- Stage 4: Post-training (1B tokens): Final instruction tuning incorporating Long Chain-of-Thought (CoT) traces, enabling the model to "think through" multi-step problems.
Data Strategy and Hardware Efficiency
The effectiveness of Qianfan-VL is underpinned by a High-Precision Data Synthesis Pipeline. By combining traditional computer vision models with programmatic generation, Baidu synthesized high-quality training data for tables, formulas, and charts at an unprecedented scale. The total training corpus exceeds 3 trillion tokens, including proprietary datasets for key information extraction (KIE).
Engineering efficiency was also a priority. The models were trained entirely on Baidu’s proprietary Kunlun P800 hardware. Through custom communication-computation fusion techniques, the team achieved over 90% scaling efficiency across a cluster of 5,000+ chips, proving that top-tier VLM performance is achievable on non-NVIDIA infrastructure.
Key Results and Insights
Qianfan-VL demonstrates superior performance across both general and specialized benchmarks:
- OCR and Document Understanding: Achieved a score of 873 on OCRBench and 94.75% on DocVQA, showcasing an exceptional ability to read handwriting and parse complex layouts.
- Mathematical Reasoning: Scored 78.6% on MathVista, outperforming many larger proprietary models.
- Reasoning Activation: By introducing specific
<think>tokens, the 8B and 70B models can explicitly generate intermediate reasoning steps, which significantly boosts accuracy in quantitative tasks.
Conclusion
Qianfan-VL provides a versatile framework for enterprise-grade multimodal AI. By balancing massive general knowledge with targeted domain enhancement and optimizing for proprietary hardware, Baidu has established a new benchmark for open-source and enterprise VLMs. Future developments will focus on extending the context window to 128K tokens and enhancing 3D spatial and temporal video reasoning.
Summary updated