← Latest papers
🤖 AI

OvisOCR2 Technical Report

OvisOCR2 is a 0.8B end-to-end document parsing model that leverages a novel data engine and a multi-stage training recipe involving reinforcement learning and distillation to achieve state-of-the-art performance on benchmark datasets by directly generating Markdown representations of document pages.

Original authors: Shiyin Lu, Yinglun Li, Yu Xia, Yuhui Chen, An-Yang Ji, Jun-Peng Jiang, Qing-Guo Chen, Jianshan Zhao, En Lin, Haijun Li, Cheng Qin, Zhao Xu, Weihua Luo

Published 2026-07-16
📖 4 min read☕ Coffee break read

Original authors: Shiyin Lu, Yinglun Li, Yu Xia, Yuhui Chen, An-Yang Ji, Jun-Peng Jiang, Qing-Guo Chen, Jianshan Zhao, En Lin, Haijun Li, Cheng Qin, Zhao Xu, Weihua Luo

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are holding a physical book, a handwritten letter, or a complex receipt. To a human, it's easy to read: you know which column to start in, how to skip over a picture to get back to the text, and how to tell that a squiggly line is a math equation and not just a doodle. But to a computer, that same page is just a flat grid of colored pixels. It sees a mess of shapes without understanding that a table is a grid, a formula is a calculation, or that the text at the bottom of the page belongs to the top of the next column. This is the world of "document parsing." It's the magic trick of turning a picture of a page into a digital file that a computer can actually read, search, and use. For a long time, computers tried to do this by breaking the job into tiny, separate steps—first finding the lines, then reading the words, then guessing where the tables are. But this "assembly line" approach is clunky; if the first step misses a table boundary, the rest of the machine chokes. The big question in this field has been: Can we build a single, smart brain that looks at the whole picture and writes the story in one go, just like a human does?

Enter OvisOCR2, a new digital "reader" developed by researchers at Alibaba. Think of OvisOCR2 not as a giant, lumbering super-computer, but as a nimble, 0.8-billion-parameter "pocket-sized" genius. While other models trying to solve this problem are often massive and require huge data centers, OvisOCR2 is designed to be small and fast, yet incredibly powerful. The researchers built this model using a clever two-part training strategy. First, they fed it a massive library of real-world documents—scanned papers, receipts, and reports—but they were careful to clean up the "answers" so the model learned from perfect examples, not messy mistakes. Then, they created a "synthetic" training ground. Imagine a video game where they can generate infinite pages of documents with perfect, known answers, specifically designed to be tricky (like pages with messy handwriting or tables that merge cells in weird ways). This allowed the model to practice on the hardest puzzles without needing to find them in the real world first.

The training process was like a rigorous sports camp. The model started by learning the basics (Supervised Fine-Tuning), then moved to a "Reinforcement Learning" phase where it played a game: it would try to read a page, and if it got the tables or math formulas right, it got a high score; if it messed up the order or missed a line, it got a low score. To make sure the tiny 0.8B model could learn from the best, the researchers used a "teacher-student" approach. They first trained a larger, 4-billion-parameter "teacher" model to be a master at these tasks, and then they taught the smaller "student" model (OvisOCR2) by having it mimic the teacher's best moves. This allowed the small model to punch way above its weight class.

The results are a game-changer. When tested on standard benchmarks like OmniDocBench v1.6, which is like the "Olympics" of document reading, OvisOCR2 scored an impressive 96.58. This is a big deal because it means this small, end-to-end model actually beat the biggest, most complex "assembly line" systems that have been dominating the field. It didn't just win overall; it was the best at reading text, understanding math formulas, and reconstructing complex tables. It also scored the highest on PureDocBench with a score of 75.06. Even on a custom, difficult test created by the authors that included tricky handwriting and messy tables, OvisOCR2 came out on top, proving it doesn't just work on clean, perfect pages but can handle the messy reality of the real world.

However, the researchers are honest about the limits. While OvisOCR2 is a massive leap forward, it still struggles a bit with images that are very blurry, damaged, or taken with a phone in poor lighting compared to some of the giant, general-purpose AI models. It's not a magic wand that fixes everything, but it is a very strong, efficient tool that proves you don't need a billion-dollar computer to read a document perfectly. The paper suggests that with this approach, we can finally move away from clunky, multi-step machines and toward elegant, single-model solutions that are ready to be used in everyday apps, making the digital world much more accessible.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →