Abstract
Document parsing—the conversion of visual page layouts into structured formats like Markdown or JSON—is a critical yet challenging task due to the complexity of multi-column text, tables, and mathematical formulas. PaddleOCR-VL introduces an ultra-compact 0.9B parameter vision-language model (VLM) that achieves state-of-the-art performance by decoupling layout analysis from content recognition. By utilizing a dynamic-resolution visual encoder and a specialized instruction-tuning pipeline, the model supports 109 languages and maintains high efficiency for real-world, resource-constrained deployments.
Introduction
Traditional document parsing solutions typically fall into two categories: modular pipelines and end-to-end VLMs. Modular pipelines, while powerful, often suffer from error propagation where a single mistake in layout detection compromises all downstream recognition. Conversely, large-scale end-to-end VLMs are computationally expensive, prone to hallucinations, and frequently struggle with the correct reading order in complex layouts. PaddleOCR-VL addresses these limitations by offering a small, fast, and accurate alternative that handles document complexity without the overhead of massive parameter counts.
Methodology
The researchers implemented a hybrid two-stage architecture that combines the stability of specialized detection models with the reasoning capabilities of VLMs.
Stage 1: Layout Analysis (PP-DocLayoutV2)
To ensure structural integrity, a dedicated lightweight model handles element detection and reading order. This stage utilizes RT-DETR for localizing document elements (text, tables, formulas) and a Pointer Network with six transformer layers to predict logical flow. This decoupling prevents the high latency and memory consumption associated with long-sequence autoregressive layout generation.
Stage 2: Element-level Recognition (PaddleOCR-VL-0.9B)
Once the layout is established, specific regions are processed by the core VLM:
- Visual Encoder: A NaViT-style dynamic resolution encoder handles arbitrary aspect ratios, preventing the distortion of dense text common in fixed-size square encoders.
- Language Model: The ERNIE-4.5-0.3B model serves as an efficient decoder.
- Instruction Tuning: The model is trained to execute specific commands—such as "OCR," "Table Recognition," or "Formula Recognition"—based on the element type identified in the first stage.
Data Strategy and Training
To enable a 0.9B model to compete with significantly larger counterparts, the team utilized a pipeline of over 30 million samples. This included automated labeling via massive models (e.g., Qwen2.5-VL) followed by hallucination filtering. Furthermore, "hard case mining" was employed to identify and synthetically generate training data for difficult scenarios like messy handwriting or rotated tables.
Key Results
PaddleOCR-VL sets a new benchmark for document parsing efficiency and accuracy across several metrics:
- State-of-the-Art Performance: On OmniDocBench v1.5, it achieved a top score of 92.86, surpassing larger models like MinerU2.5-1.2B.
- Superior PDF Extraction: It reached an 80.0% unit test pass rate on olmOCR-Bench, the highest recorded to date.
- High Throughput: When deployed with the FastDeploy backend, the model processes 1.6 pages per second on an A100 GPU.
- Multilingual Support: The model demonstrates robust performance across 109 languages, including complex scripts like Arabic and Hindi.
Conclusion
PaddleOCR-VL demonstrates that decoupling layout analysis from recognition allows for a highly efficient, ultra-compact model that rivals much larger systems. By focusing on resolution flexibility and domain-specific data, the model provides a scalable solution for high-fidelity document parsing in diverse, real-world environments.
Summary updated