Instructions to use PaddlePaddle/PaddleOCR-VL-1.8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PaddleOCR
How to use PaddlePaddle/PaddleOCR-VL-1.8 with PaddleOCR:
# See https://www.paddleocr.ai/latest/version3.x/pipeline_usage/PaddleOCR-VL.html to installation from paddleocr import PaddleOCRVL pipeline = PaddleOCRVL(pipeline_version="v1.8") output = pipeline.predict("path/to/document_image.png") for res in output: res.print() res.save_to_json(save_path="output") res.save_to_markdown(save_path="output") - Notebooks
- Google Colab
- Kaggle
PaddleOCR-VL-1.8: Higher Accuracy, Faster Inference and Broader Language Coverage for Document Parsing
Introduction
We introduce PaddleOCR-VL-1.8, which keeps the two-stage design and the 0.9B recognition model of the PaddleOCR-VL series and targets the errors that remain: layout mistakes on photographed and deformed pages, and long-tail content the recognizer rarely sees. Its new layout model, PP-DocLayoutV4, predicts quadrilateral boxes, estimates page geometry for rectification and orders elements by jointly modeling successor and precedence relations. The recognition data are rebuilt around rare characters, ethnic-minority scripts, complex tables and formulas through decontaminated mining, consensus labeling, targeted synthesis and error-driven iteration. PaddleOCR-VL-1.8 scores 97.44 on OmniDocBench v1.6, 94.67 on Real5-OmniDocBench, 91.02 on the 17-language MDPBench and 91.18 on Wild-OmniDocBench, the highest among the specialized OCR models and general-purpose multimodal models we evaluate. It also ranks first on in-house tests of tables, ancient books, rare characters, text lines and text detection, reaches 0.868 (1−CER) on CMLOCRBench, eight Chinese ethnic-minority languages (strongest baseline 0.703), and parses 4.34 pages per second on a single A100 GPU, the fastest among the systems we time.
Key Capabilities of PaddleOCR-VL-1.8
🚀 State-of-the-Art Document Parsing: Overall scores of 97.44 on OmniDocBench v1.6, 94.67 on Real5-OmniDocBench, 91.02 on MDPBench and 91.18 on Wild-OmniDocBench, the highest among the compared systems, including Gemini 4 Argon, GPT-6 Astra, Claude Opus 5.5 and Qwen3.8-Max-0902.
📐 New Layout Model, PP-DocLayoutV4: Compared with PP-DocLayoutV3, PP-DocLayoutV4 regresses quadrilateral boundaries directly, models page geometry with a deformation head that estimates roll, shear and perspective for page rectification, and predicts reading order with D²RO, which separates local successor relations from global precedence relations. These changes stop cascaded errors at the stage where they originate.
🌏 Long-Tail Recognition: The recognition data are rebuilt around rare characters, minority-language text, complex tables and formulas. 1−CER on rare Chinese characters rises from 47.92 to 98.91, and on CMLOCRBench, covering eight Chinese ethnic-minority languages (Tibetan, traditional Mongolian script, Uyghur, Kazakh, Liangshan Standard Yi, Korean, Zhuang and Bai), the model reaches 0.868 versus 0.703 for the strongest baseline.
⚡ Faster Inference: An asynchronous serving pipeline with batched visual encoding brings end-to-end throughput to 4.34 pages/s on a single A100 GPU, 1.34–1.57× the next-fastest system we time.
📚 Document-Level Reconstruction: A lightweight post-processing module rebuilds heading hierarchies, continued tables and broken paragraphs across pages, raising the MPDocBench score from 79.02 (page concatenation) to 87.80.
🔄 Same Recognition Architecture: PaddleOCR-VL-1.8-0.9B keeps the network architecture of PaddleOCR-VL-1.5/1.6; only its weights are updated. The architectural change from 1.6 to 1.8 is confined to the layout stage.
PaddleOCR-VL-1.8 Architecture
PP-DocLayoutV4 predicts element categories, quadrilaterals and reading order in one forward pass; its deformation head, trained afterwards with the rest of the model frozen, estimates page-level roll, shear and perspective. Regions are filtered for overlaps, cropped (and optionally rectified) and passed with a task prompt to PaddleOCR-VL-1.8-0.9B, whose outputs are assembled in reading order into Markdown or JSON. Chart and seal recognition are off by default and the corresponding regions are kept as images.
PaddleOCR-VL-1.8 Data Engine
Candidate block crops are mined from layout-detected pages, decontaminated against development and test references, labeled and repaired per task, and mixed for full-parameter SFT. Block-level diagnostics on a labeled development set turn recurring errors into new mining rules and coverage gaps into synthesis specifications for the next round.
News
2026.12.03🚀 We release the PaddleOCR-VL-1.8 Technical Report.2026.12.03🚀 We release PaddleOCR-VL-1.8. PaddleOCR-VL-1.8 scores 97.44 on OmniDocBench v1.6, 94.67 on Real5-OmniDocBench, 91.02 on MDPBench and 91.18 on Wild-OmniDocBench, and parses 4.34 pages per second on a single A100 GPU.
Usage
Set up the deployment environment
The Docker examples use Linux x86-64 with an NVIDIA GPU, Docker, and the NVIDIA Container Toolkit. They were tested on a single NVIDIA A100 80 GB GPU.
Run the following setup from the same working directory in each terminal you use. Set GPU_DEVICE to the host GPU index and VLM_PORT to an available port if you need to override the defaults.
REGISTRY=ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle
PIPELINE_IMAGE="$REGISTRY/paddleocr-vl:paddleocr3.8-nvidia-gpu"
VLLM_IMAGE="$REGISTRY/paddleocr-genai-vllm-server:paddleocr3.8-nvidia-gpu-vllm0.19.0"
GPU_DEVICE="${GPU_DEVICE:-0}"
VLM_PORT="${VLM_PORT:-8118}"
DEMO_IMAGE=https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/paddleocr_vl_demo.png
mkdir -p "$PWD/.paddleocr-cache" "$PWD/output"
run_pipeline() {
docker run --rm -i --gpus "device=$GPU_DEVICE" --network host \
--user "$(id -u):$(id -g)" \
--env HOME=/cache --env PADDLE_PDX_MODEL_SOURCE=bos \
--mount "type=bind,source=$PWD/.paddleocr-cache,target=/cache" \
--mount "type=bind,source=$PWD/output,target=/output" \
"$PIPELINE_IMAGE" "$@"
}
Basic Usage
The 3.8 pipeline image includes PaddlePaddle and PaddleOCR. The first run downloads the models to .paddleocr-cache. Results are saved under output/ on the host.
CLI
run_pipeline paddleocr doc_parser -i "$DEMO_IMAGE" \
--pipeline_version v1.8 --save_path /output/local-cli
Python API
run_pipeline python - "$DEMO_IMAGE" <<'PY'
import sys
from paddleocr import PaddleOCRVL
pipeline = PaddleOCRVL(pipeline_version="v1.8")
for res in pipeline.predict(sys.argv[1]):
res.print()
res.save_to_json(save_path="/output/local-python")
res.save_to_markdown(save_path="/output/local-python")
PY
- Layout deformation correction is off by default. To enable it, pass
--use_layout_deform Trueto the CLI oruse_layout_deform=TruetoPaddleOCRVL. The page-level benchmarks below use layout deformation correction. - Chart and seal recognition are off by default, so the pipeline keeps those regions as images. Enable recognition with
--use_chart_recognition Trueand--use_seal_recognition True, or pass the corresponding keyword arguments toPaddleOCRVL. - For cross-page table merging and heading hierarchy, pass the results of
pipeline.predict(...)for a multi-page document topipeline.restructure_pages(...).
Accelerate VLM Inference via Optimized Inference Servers
Start one of the following servers. The examples bind the service to loopback and run the client on the same host.
Start the server with PaddleOCR
docker run --rm --gpus "device=$GPU_DEVICE" --network host \
"$VLLM_IMAGE" \
paddleocr genai_server --model_name PaddleOCR-VL-1.8-0.9B \
--host 127.0.0.1 --port "$VLM_PORT" --backend vllm
Start the server directly with vLLM
Download and extract the PaddleOCR-VL-1.8 checkpoint, then serve it with vLLM 0.19.0 from the same image.
mkdir -p "$PWD/models"
curl -fL https://paddle-model-ecology.bj.bcebos.com/paddlex/official_inference_model/paddle3.0.0/PaddleOCR-VL-1.8_infer.tar \
| tar -xf - -C "$PWD/models"
docker run --rm --gpus "device=$GPU_DEVICE" --network host \
--mount "type=bind,source=$PWD/models/PaddleOCR-VL-1.8_infer,target=/model,readonly" \
"$VLLM_IMAGE" \
vllm serve /model --served-model-name PaddleOCR-VL-1.8-0.9B \
--trust-remote-code --max-num-batched-tokens 16384 \
--no-enable-prefix-caching --mm-processor-cache-gb 0 \
--host 127.0.0.1 --port "$VLM_PORT"
Call the server with PaddleOCR
In a second terminal, run the deployment setup above. Once the server is ready, verify the model ID and use the CLI or Python client to parse the document.
curl -fsS "http://127.0.0.1:$VLM_PORT/v1/models"
CLI
run_pipeline paddleocr doc_parser -i "$DEMO_IMAGE" \
--pipeline_version v1.8 \
--vl_rec_backend vllm-server \
--vl_rec_server_url "http://127.0.0.1:$VLM_PORT/v1" \
--save_path /output/vllm-cli
Python API
run_pipeline python - "$DEMO_IMAGE" "http://127.0.0.1:$VLM_PORT/v1" <<'PY'
import sys
from paddleocr import PaddleOCRVL
pipeline = PaddleOCRVL(
pipeline_version="v1.8",
vl_rec_backend="vllm-server",
vl_rec_server_url=sys.argv[2],
)
for res in pipeline.predict(sys.argv[1]):
res.print()
res.save_to_json(save_path="/output/vllm-python")
res.save_to_markdown(save_path="/output/vllm-python")
PY
PaddleOCR-VL-1.8-0.9B usage with Transformers
Use Transformers for element-level OCR, text spotting, and recognition of tables, formulas, charts, and seals. For page-level document parsing, use the PaddleOCR pipeline above.
Use Python 3.11 or later. The tested Transformers version is 5.25.0. The install command includes PyTorch and the vision dependencies.
python -m pip install "transformers[torch,vision]==5.25.0"
curl -fL https://huggingface.co/datasets/hf-internal-testing/transformers-synthetic-assets/resolve/main/images/paddle_general_ocr_001.png \
-o test.png
If access to the Hugging Face model repository is restricted, sign in with hf auth login using an account that can read it. For a local checkpoint, set PADDLEOCR_VL_MODEL to the model directory, for example export PADDLEOCR_VL_MODEL="$PWD/models/PaddleOCR-VL-1.8_infer" after extracting the archive above.
import os
from PIL import Image
import torch
from transformers import AutoModelForImageTextToText, AutoProcessor
model_path = os.environ.get("PADDLEOCR_VL_MODEL", "PaddlePaddle/PaddleOCR-VL-1.8")
image_path = "test.png"
task = "ocr" # Options: ocr, table, chart, formula, spotting, seal
image = Image.open(image_path).convert("RGB")
width, height = image.size
if task == "spotting" and width < 1500 and height < 1500:
image = image.resize((width * 2, height * 2), Image.Resampling.LANCZOS)
max_pixels = (2048 if task == "spotting" else 1280) * 28 * 28
device = "cuda" if torch.cuda.is_available() else "cpu"
dtype = (
torch.bfloat16
if device == "cuda" and torch.cuda.is_bf16_supported()
else torch.float32
)
prompts = {
"ocr": "OCR:",
"table": "Table Recognition:",
"formula": "Formula Recognition:",
"chart": "Chart Recognition:",
"spotting": "Spotting:",
"seal": "Seal Recognition:",
}
model = AutoModelForImageTextToText.from_pretrained(model_path, dtype=dtype).to(device).eval()
processor = AutoProcessor.from_pretrained(model_path)
messages = [
{
"role": "user",
"content": [
{"type": "image", "image": image},
{"type": "text", "text": prompts[task]},
],
}
]
inputs = processor.apply_chat_template(
messages,
add_generation_prompt=True,
tokenize=True,
return_dict=True,
return_tensors="pt",
processor_kwargs={
"images_kwargs": {
"size": {
"shortest_edge": processor.image_processor.size["shortest_edge"],
"longest_edge": max_pixels,
}
}
},
).to(model.device)
outputs = model.generate(**inputs, max_new_tokens=512)
generated_ids = outputs[0, inputs["input_ids"].shape[-1]:].tolist()
if generated_ids[-1:] == [processor.tokenizer.eos_token_id]:
generated_ids.pop()
print(processor.decode(generated_ids))
Performance
Document Parsing
1. OmniDocBench v1.6
PaddleOCR-VL-1.8 reaches an Overall score of 97.44 on OmniDocBench v1.6, with the lowest reading-order edit distance (0.1131) among all compared systems
Notes:
- End-to-end protocol of the official v1.6_full leaderboard. Rows marked † are taken from the OmniDocBench official leaderboard and all other rows are evaluated locally with the same protocol; MinerU2.5-Pro on the leaderboard corresponds to MinerU2.5-Pro-2605-1.2B. PaddleOCR-VL-1.5/1.6 rows (¶) are taken from the PaddleOCR-VL-1.6 report.
- Relative to PaddleOCR-VL-1.6, the largest gains are in tables (TEDS +1.80, TEDS-S +1.20) and reading order (0.127 → 0.113).
2. Real5-OmniDocBench
PaddleOCR-VL-1.8 ranks first on every subset—skew, warping, scanning, illumination and screen photography—and on the mean (94.67)
Notes:
- Real5-OmniDocBench physically reconstructs all 1,355 pages of OmniDocBench v1.5 under five conditions, giving 6,775 images in total. For further details, please refer to Real5-OmniDocBench.
- Scores vary by only 0.70 points across subsets (94.38–95.08). On the skew and warping subsets, which the quadrilateral boxes and geometric modeling of PP-DocLayoutV4 target, PaddleOCR-VL-1.8 improves over PaddleOCR-VL-1.6 by 2.12 and 2.10 points.
3. Wild-OmniDocBench
On this harder, mixed-degradation benchmark, PaddleOCR-VL-1.8 obtains 91.18 Overall, with the best table TEDS (92.08) and reading-order edit distance (0.0635)
Notes:
- Wild-OmniDocBench converts OmniDocBench into real captured document images (folded, bent or crumpled paper photographed under difficult lighting, and documents re-captured from screens); our evaluation uses 1,350 images.
- Wild-OmniDocBench only contains images paired with OmniDocBench v1.5, so all models on this benchmark are evaluated with the OmniDocBench v1.5 protocol rather than the v1.6 protocol.
4. MDPBench
PaddleOCR-VL-1.8 achieves 91.02 Overall on the 17-language MDPBench and leads both script groups (Latin 90.93, non-Latin 91.80)
Notes:
- All models are scored with the official MDPBench evaluation protocol, on 2,810 images.
- The drop from digital to photographed pages is small (93.51 → 90.08). The improvement over PaddleOCR-VL-1.6 is concentrated in non-Latin scripts (77.72 → 91.80), with large gains on Simplified Chinese (87.59 → 95.03), Arabic (76.26 → 94.20), Hindi (70.82 → 94.32) and Thai (69.94 → 88.72).
5. CHAOS-Bench
PaddleOCR-VL-1.8 is the most faithful specialized OCR model on CHAOS-Bench (faithful accuracy 31.41)
Notes:
- CHAOS-Bench plants 1,025 subtle character-level edits in 500 academic-paper pages, so a faithful model must transcribe what is printed even when it is a non-word.
- Compared with PaddleOCR-VL-1.6 under the same layout model, faithful accuracy rises from 10.73 to 31.41, the hallucination rate drops from 83.71 to 63.32, and the share of error-free pages rises from 1.40% to 12.60%.
Core Sub-Capabilities
1. In-House Benchmarks
PaddleOCR-VL-1.8 ranks first on all five headline metrics: tables, ancient Chinese books, rare Chinese characters, text lines and text detection
Notes:
- All in-house results use the recognition module of each PaddleOCR-VL version without independent layout detection.
- On rare characters, 1−CER rises from 47.92 (PaddleOCR-VL-1.6) to 98.91; the next-best system reaches 48.29. The decontamination step removes training candidates that are near-duplicates of evaluation references.
2. Chinese Ethnic-Minority Languages (CMLOCRBench)
PaddleOCR-VL-1.8 reaches a macro average of 0.868, compared with 0.703 for the strongest baseline and 0.582 for PaddleOCR-VL-1.6
Notes:
- CMLOCRBench is our in-house full-page OCR benchmark for eight Chinese ethnic-minority languages, which we plan to open-source in the future. It has 2,088 pages covering Zhuang, Uyghur, Liangshan Standard Yi, Bai, Korean, traditional Mongolian script, Kazakh and Tibetan, spanning six scripts and three writing directions.
- The gain comes mainly from Mongolian and Yi, where the strongest baselines reach only 0.175 and 0.047 while PaddleOCR-VL-1.8 reaches 0.661 and 0.809, and from Tibetan (0.916).
Inference Performance
Notes:
- End-to-end inference on OmniDocBench v1.6 (1,651 pages) on a single NVIDIA A100 80 GB GPU. Inputs are pre-rendered page images; timing covers image reading, request transfer, model inference, post-processing assembly and result output, and excludes PDF rendering, service start-up and warm-up. Server-side prefix caching and multimodal preprocessing caching are disabled for all backends.
- PaddleOCR-VL-1.8 has the highest throughput at all three concurrency levels: 3.22, 3.87 and 4.34 pages/s at concurrency 16, 100 and 160, i.e. 1.46×, 1.34× and 1.57× the next-best system.
Document-Level Post-Processing
| Post-processing (on MPDocBench) | Score↑ | ms/page↓ |
|---|---|---|
| None (page concatenation) | 79.02 | 0.136 |
| PaddleOCR-VL-1.6 post-processing | 82.23 | 0.515 |
| MinerU-Popo | 85.22 | 1,230.20 |
| New post-processing (ours) | 87.80 | 51.28 |
Notes:
- All schemes take the same page-level output of PaddleOCR-VL-1.8 as input. Time is the post-processing cost per page, excluding page-level parsing. MPDocBench documents average 7.46 pages.
- The new module scores 2.58 points above MinerU-Popo, a 4B post-processing model, while running about 24× faster, because it relies only on lightweight tree models and deterministic rules.
Visualization
Layout Analysis
Orientation and Perspective Rectification
Layout Detection: PP-DocLayoutV3 vs. PP-DocLayoutV4
Reading Order: PP-DocLayoutV3 vs. PP-DocLayoutV4
Cross-Page Table Merging
Faithful Transcription of Misspellings
Chinese Ethnic-Minority Languages
Liangshan Standard Yi
Traditional Mongolian Script
Ancient Chinese Books
Formula Recognition
Table Recognition
Acknowledgments
We would like to thank Professor Zhineng Chen and his research team from the Institute of Trustworthy Embodied AI, Fudan University, for their contributions to the development of PP-DocLayoutV4 and its core reading-order module, D2RO.
We would also like to thank OmniDocBench, Real5-OmniDocBench, MDPBench for providing valuable code and benchmarks. We also appreciate everyone's contribution to this open-source project!
Citation
If you find PaddleOCR-VL-1.8 helpful, feel free to give us a star and citation.
@misc{cui2026paddleocrvl18higheraccuracyfaster,
title={PaddleOCR-VL-1.8: Higher Accuracy, Faster Inference and Broader Language Coverage for Document Parsing},
author={Cheng Cui and Zhichao Liu and Yubo Zhang and Mengjie Wang and Jiyu Zhuang and Yizhan Huang and Changda Zhou and Yannian Fu and Qunyi Xie and Xiaolong Ma and Hongbin Zhang and Yi Yang and Lei Jia},
year={2026},
eprint={2612.04209},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2612.04209},
}
- Downloads last month
- 51