← Latest papers
💻 computer science

Reading or Reasoning? Format Decoupled Reinforcement Learning for Document OCR

This paper proposes Format Decoupled Reinforcement Learning (FD-RL), a novel approach that leverages entropy-based data filtration and format-specific rewards to address high output uncertainty in complex document OCR, achieving a new state-of-the-art score of 90.41 on the OmniDocBench benchmark.

Original authors: Yufeng Zhong, Lei Chen, Zhixiong Zeng, Xuanle Zhao, Deyang Jiang, Liming Zheng, Jing Huang, Haibo Qiu, Peng Shi, Siqi Yang, Lin Ma

Published 2026-01-15
📖 4 min read☕ Coffee break read

Original authors: Yufeng Zhong, Lei Chen, Zhixiong Zeng, Xuanle Zhao, Deyang Jiang, Liming Zheng, Jing Huang, Haibo Qiu, Peng Shi, Siqi Yang, Lin Ma

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 teaching a robot to read a messy, complicated document. This document isn't just a simple letter; it's a mix of plain paragraphs, complex math equations, and tricky tables.

For a long time, researchers thought reading was just about "seeing" the words clearly. They tried to feed the robot more and more examples (data engineering) to help it memorize what things look like. But the authors of this paper noticed a problem: The robot gets very confused when the document has a lot of structure.

Here is the simple breakdown of their discovery and solution:

1. The Problem: The Robot's "Confusion Meter"

The authors found that when a robot reads simple text, it is very confident. But when it sees a math formula or a table, its "confidence meter" (which they call entropy) drops drastically. It's like a student who can easily recite a poem but freezes up when asked to solve a calculus problem or organize a spreadsheet.

The robot tries to guess the next word, but because there are so many ways to write a formula or arrange a table, it gets lost. It starts guessing randomly, which leads to errors.

2. The Solution: "Format Decoupled Reinforcement Learning" (FD-RL)

Instead of just forcing the robot to memorize more examples, the authors taught it to think about the structure. They call their method FD-RL.

Think of it like training a chef:

  • Old Way (SFT): You give the chef a million recipes and say, "Memorize these." The chef learns to copy the recipes perfectly but might mess up if you ask for a dish with a slightly different ingredient list.
  • New Way (FD-RL): You teach the chef to understand why a cake rises or why a sauce thickens. You give them specific rules for different types of cooking.

3. How They Did It (The Two-Step Training)

Step 1: The "SFT" (Supervised Fine-Tuning) - Learning the Basics
First, they fed the robot a massive library of documents (books, PDFs, synthetic data) to teach it how to read text, formulas, and tables in general. This is like the robot learning its ABCs and basic grammar.

Step 2: The "RL" (Reinforcement Learning) - The Specialized Coaching
This is where the magic happens. They used two clever tricks to fix the robot's confusion:

  • Trick A: The "Hard Mode" Filter (Entropy-Based Filtration)
    Instead of training the robot on every document, they used a filter to pick out only the hardest, most confusing documents (the ones with high "entropy").

    • Analogy: Imagine a math teacher who stops giving the student easy addition problems and only gives them complex calculus problems. By focusing only on the hard stuff, the student learns to reason through the confusion rather than just guessing.
  • Trick B: The "Specialized Judge" (Format Decoupled Rewards)
    In the past, the robot was graded with one single score: "Did you get the words right?" If the robot wrote the right words but put them in the wrong table structure, it still got a bad grade, but the robot didn't know why.

    The authors changed the grading system. They gave the robot three different judges:

    1. The Text Judge: Checks if the plain words are spelled right.
    2. The Math Judge: Checks if the formulas make mathematical sense (even if the symbols look slightly different).
    3. The Table Judge: Checks if the table rows and columns are aligned correctly.

    Analogy: If you are building a house, you don't just ask, "Is the house built?" You have a plumber check the pipes, an electrician check the wires, and a carpenter check the frame. If the frame is crooked, the carpenter gives a specific "bad score" so the builder knows to fix the frame, not the paint.

4. The Result

By using this method, the robot became much better at reading complex documents.

  • They tested it on a famous benchmark called OmniDocBench (which has 1,355 pages of tricky documents).
  • The robot scored 90.41, beating all other "end-to-end" models (models that try to do everything in one go).
  • It was particularly good at fixing the "confusion" in formulas and tables, proving that teaching the robot to reason about structure works better than just making it memorize more text.

Summary

The paper argues that reading complex documents isn't just about "seeing" text; it's about reasoning through the structure. By filtering out easy examples and giving the robot specific, separate feedback for text, math, and tables, they taught it to stop guessing and start understanding the rules of the document.

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 →