NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

HunyuanOCR Technical Report

Hunyuan Vision Team, Pengyuan Lyu, Xingyu Wan, Gengluo Li, Shangpin Peng, Weinong Wang, Liang Wu, Huawen Shen, Yu Zhou, Canhui Tang, Qi Yang, Qiming Peng, Bin Luo, Hower Yang, Xinsong Zhang, Jinnian Zhang, Houwen Peng, Hongming Yang, Senhao Xie, Longsha Zhou, Ge Pei, Binghong Wu, Rui Yan, Kan Wu, Jieneng Yang, Bochao Wang, Kai Liu, Jianchen Zhu, Jie Jiang, Linus, Han Hu, Chengquan ZhangarXiv 2025 · DOI

Abstract

HunyuanOCR is a lightweight, 1B-parameter Vision-Language Model (VLM) that unifies diverse OCR tasks—from text spotting to complex document translation—into a single, end-to-end framework. By leveraging high-quality data and being the first to successfully apply Reinforcement Learning (GRPO) to OCR, it outperforms commercial APIs and models four times its size.

Introduction

Traditional OCR systems are typically structured as "cascaded pipelines," where separate models are used for text detection, layout analysis, character recognition, and translation. This modular approach is inherently brittle; an error in the initial detection step propagates through the entire chain, leading to significant downstream failures.

While general-purpose VLMs (such as GPT-4o or Qwen-VL) can handle OCR tasks, they are often computationally expensive for edge deployment and sometimes lack the precision required for dense, complex documents. HunyuanOCR aims to bridge this gap by providing a commercial-grade, efficient model that handles the entire OCR lifecycle in a single inference pass without external dependencies.

Architecture and Methodology

The architecture of HunyuanOCR is elegantly simple: a Native Vision Transformer (ViT) based on SigLIP-v2-400M and a Lightweight LLM (Hunyuan-0.5B) connected via an MLP adapter.

Key Technical Innovations

  • End-to-End Optimization: By eliminating pre-processing steps like layout analysis, the model resolves the error propagation issues common in cascaded systems.
  • XD-RoPE: A novel positional encoding scheme that deconstructs standard RoPE into four subspaces (text, height, width, and time). This allows the model to better align 1D text sequences with 2D page layouts.
  • Reinforcement Learning (RL): This report is the first to demonstrate that RL strategies, specifically Group Relative Policy Optimization (GRPO), yield significant gains in OCR. For "closed-form" tasks like spotting, the team used Reinforcement Learning with Verifiable Rewards (RLVR) based on metrics like IoU and edit distance. For open-ended tasks like VQA, an LLM-as-a-judge approach was employed.
  • Native Resolution Scaling: The ViT processes images in their native proportions to avoid distortion, which is critical for maintaining accuracy in documents with dense, long-form text.

Data and Evaluation

The model was trained on a massive corpus of over 200 million image-text pairs spanning 130+ languages and nine scenarios, including street views, documents, and handwritten text. To enhance training, the team extended the SynthDog framework to support paragraph-level rendering and Right-to-Left (RTL) languages.

In addition to standard benchmarks like OmniDocBench (parsing), OCRBench (VLM-OCR capabilities), and DoTA (translation), the authors introduced new benchmarks:

  • Wild-OmniDocBench: Documents with real-world distortions like folds and blurs.
  • DocML: A multilingual parsing dataset covering 14 high-frequency languages.

Key Results and Analysis

HunyuanOCR achieves impressive performance across the board, often surpassing models with significantly higher parameter counts.

Performance of HunyuanOCR across Spotting, VQA, and Translation tasks compared to other models.

In document parsing, HunyuanOCR secured 1st place in the ICDAR 2025 DIMT Challenge (Small Model Track). On the OmniDocBench benchmark, it achieved a state-of-the-art (SOTA) score of 94.10, outperforming models like Qwen3-VL-235B-Instruct and specialized tools like MinerU2.5.

HunyuanOCR leads the OmniDocBench benchmark with an overall score of 94.10.

Despite its 1B-parameter scale, the model demonstrates remarkable efficiency. On the DoTA translation benchmark, it achieved a 83.48 COMET score, surpassing models with over 8B parameters. The authors attribute this success to "application-aligned" training data and the unification of tasks, which allows the model to reuse features across different OCR domains.

Limitations and Future Work

While HunyuanOCR is highly efficient, its translation capabilities still lag slightly behind much larger specialized models (like Hunyuan-MT-7B) due to the limited linguistic capacity of the 0.5B LLM backbone.

Future work will focus on:

  1. Token Compression: Reducing sequence length to further improve inference speed.
  2. Higher Resolution: Enhancing the model's ability to handle ultra-high-resolution images.
  3. Multi-page Support: Extending the architecture to handle long, multi-page documents natively.

Summary updated

BibTeX
@misc{team2025hunyuanocr,
  author = {Hunyuan Vision Team and Pengyuan Lyu and Xingyu Wan and Gengluo Li and Shangpin Peng and Weinong Wang and Liang Wu and Huawen Shen and Yu Zhou and Canhui Tang and Qi Yang and Qiming Peng and Bin Luo and Hower Yang and Xinsong Zhang and Jinnian Zhang and Houwen Peng and Hongming Yang and Senhao Xie and Longsha Zhou and Ge Pei and Binghong Wu and Rui Yan and Kan Wu and Jieneng Yang and Bochao Wang and Kai Liu and Jianchen Zhu and Jie Jiang and Linus and Han Hu and Chengquan Zhang},
  title = {{HunyuanOCR Technical Report}},
  year = {2025},
  eprint = {2511.19575},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.19575},
}
Figure