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

FireRed-OCR Technical Report

Hao Wu, Haoran Lou, Xinyue Li, Zuodong Zhong, Zhaojun Sun, Phellon Chen, Xuanhe Zhou, Kai Zuo, Yibo Chen, Xu Tang, Yao Hu, Boxiang Zhou, Jian Wu, Yongji Wu, Wenxin Yu, Yingmiao Liu, Yuhao Huang, Manjie Xu, Gang Liu, Yidong Ma, Zhichao Sun, Changhao QiaoarXiv 2026

TL;DR

FireRed-OCR is a novel framework from Xiaohongshu that transforms general Vision-Language Models (VLMs) into pixel-precise structural document parsing experts. By combining a "Geometry + Semantics" data generation pipeline with a three-stage progressive training strategy—culminating in reinforcement learning—it achieves state-of-the-art OCR performance while remaining exceptionally parameter-efficient at just 2 billion parameters.

What Problem Does This Paper Address?

While modern Large Vision-Language Models (VLMs) excel at general image understanding and reasoning, they frequently stumble when processing complex documents like financial reports, academic papers, and dense forms. The authors term this failure Structural Hallucination—errors where a model understands the words but scrambles the formatting, resulting in broken Markdown tables, invalid mathematical formula syntax, or a completely jumbled reading order.

Traditional OCR systems rely on multi-stage pipelines (separate detection and recognition modules) which are precise but lack the semantic context needed to reconstruct complex layouts. Conversely, end-to-end VLMs capture semantics well but lack fine-grained spatial grounding. FireRed-OCR bridges this gap, turning a general VLM into a specialized structural expert that understands both the "intent" and the strict formatting "rules" of documents.

Methods

The FireRed-OCR framework relies on two main pillars: a sophisticated data engine and a progressive training pipeline.

1. The "Geometry + Semantics" Data Factory

To fix the lack of high-quality structured data, the authors built an automated data refinery:

  • Geometric Clustering: An image encoder extracts visual features from document pages while completely ignoring the text. Unsupervised clustering (like K-Means) maps these layouts, allowing the team to downsample redundant single-column pages and heavily upsample rare, "long-tail" layouts (e.g., nested tables, irregular forms).
  • Multi-Dimensional Tagging: Data is categorized by language, layout type, document source, and genre to ensure a perfectly balanced training mixture.
  • Expert Refinement: Hard cases are routed to advanced proprietary teacher models (like Gemini 3 Pro) to correct structural errors before training.
Overview of the data processing and optimization pipeline.

2. Three-Stage Progressive Training

Instead of throwing the model straight into full-page generation, the authors implement a strict curriculum:

  • Stage 1: Multi-task Pre-alignment: The model learns basic physical perception by jointly training on bounding box detection, region-specific OCR, and initial layout-to-markdown conversion.
  • Stage 2: Specialized SFT: The model is trained on high-quality Markdown data to enforce standardized formatting, visual hierarchies, and cross-lingual robustness.
  • Stage 3: Format-Constrained GRPO: The core innovation uses Group Relative Policy Optimization (GRPO)—a VRAM-efficient reinforcement learning algorithm. The model generates a group of outputs which are evaluated by rule-based reward functions that strictly penalize unclosed tags, mismatched table columns, and uncompilable LaTeX syntax.

To keep the model grounded, the authors introduce Iterative SFT-GRPO, cycling between SFT and reinforcement learning to prevent "reward hacking" (where the model learns to generate syntactically perfect but empty or repetitive structures).

Overview of the FireRed-OCR training framework across its three progressive stages.

Datasets

  • Training Data: Compiled from diverse open-source repositories including LaTeX OCR, latex-formulas-80M, PubTabNet (for tables), the IAM Handwriting Database, and filtered subsets of BLIP-3 OCR and Docmatix.
  • Evaluation Benchmarks: Evaluated against authoritative benchmarks like OmniDocBench v1.5, OCRBench, and PubTabNet.
  • FireRedBench: The authors introduce a challenging new internal benchmark specifically designed to stress-test layout robustness on highly distorted scans, dense multi-column papers, and embedded logic diagrams.

Key Insights and Ideas

  • The Benefits of "Coarse-to-Fine" Data: Counterintuitively, training on lower-quality, coarser annotations (PaddleOCR-VL v1) in Stage 1 followed by high-precision data in Stage 2 yielded better results than using high-precision data for both stages. Coarser data provides a "smoother" initial learning landscape, preventing the model from getting stuck in local optima early on.
  • Grounding Spillover Effect: Applying GRPO format constraints exclusively to coordinate/grounding sub-tasks unexpectedly boosted performance on the primary text generation task. Forcing the model to be disciplined about where information is located inherently improved its understanding of what the information is.
  • Defying Scaling Laws: Domain-specific architectural and training optimizations proved far more efficient than brute-force scaling. The 2B parameter FireRed-OCR model consistently outperformed generalist models over 100x its size.

Key Results

FireRed-OCR-2B achieved outstanding quantitative and qualitative success:

  • OmniDocBench v1.5 SOTA: Secured the top rank with an overall score of 92.94%, significantly outperforming DeepSeek-OCR 2 (91.09%) and dots.ocr (88.41%).
  • Table Structure Mastery: Achieved a 90.31 on Table TEDS, marking a massive +20.54 point leap over its base model backbone (Qwen3-VL-2B).
  • In-the-Wild Robustness: On the grueling new FireRedBench, it scored 74.62%, surpassing complex, heavy pipeline systems like GLM-OCR.
Detailed evaluation breakdown on OmniDocBench v1.5, showing leading performance across sub-categories.

Limitations and Future Work

The authors do not explicitly detail a dedicated "Limitations" section, but they note that learning highly complex, nested constraints (like multi-row spanning cells in tables or deeply nested lists) remains a steep challenge that required iterative training cycles to stabilize. They hope open-sourcing their code and weights will encourage the broader AI community to adopt this "General VLM to Specialized Structural Expert" paradigm for even more diverse document modalities.

Summary updated

BibTeX
@misc{wu2026firered,
  author = {Hao Wu and Haoran Lou and Xinyue Li and Zuodong Zhong and Zhaojun Sun and Phellon Chen and Xuanhe Zhou and Kai Zuo and Yibo Chen and Xu Tang and Yao Hu and Boxiang Zhou and Jian Wu and Yongji Wu and Wenxin Yu and Yingmiao Liu and Yuhao Huang and Manjie Xu and Gang Liu and Yidong Ma and Zhichao Sun and Changhao Qiao},
  title = {{FireRed-OCR Technical Report}},
  year = {2026},
  eprint = {2603.01840},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.01840},
}
Figure