← Latest papers
💻 computer science

HierDoc: Hierarchical Page-to-Region Evidence Routing for Long-Document Visual Question Answering

HierDoc introduces a hierarchical, two-stage evidence-routing framework that sequentially optimizes page selection and region extraction using stage-wise GRPO with structured-set rewards, achieving state-of-the-art performance in long-document visual question answering by effectively bridging the gap between coarse page acquisition and fine-grained region localization.

Original authors: Rongjian Gu, Wengang Zhou, Junyu Xiong, Yonghui Wang, Bing Yin, Bei Wang, Houqiang Li

Published 2026-08-03
📖 4 min read☕ Coffee break read

Original authors: Rongjian Gu, Wengang Zhou, Junyu Xiong, Yonghui Wang, Bing Yin, Bei Wang, Houqiang Li

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 trying to solve a mystery, but instead of a single clue, you are handed a stack of a hundred thick, illustrated books. The answer to your question is hidden somewhere in there—maybe a tiny diagram on page 42, or a specific sentence in a table on page 89. This is the world of Document Visual Question Answering. It's a branch of artificial intelligence where computers try to read and understand documents that are full of pictures, charts, and text all mixed together. For a long time, these computer "readers" were like students who could only look at one page at a time, or they would try to read the entire stack of books at once, getting overwhelmed and missing the tiny details. The big challenge is figuring out how to find the exact right page and then zoom in on the exact right spot without getting lost in the noise.

Now, meet HierDoc, a new method that acts like a super-smart, two-step detective for these massive document stacks. Before, most computer systems were like a person who either just grabbed a whole book hoping the answer was inside, or someone who was handed a specific page and asked to find a needle in a haystack. They rarely did both steps well together. HierDoc changes the game by splitting the job into two distinct, specialized tasks. First, a "Page Policy" acts as a scout, quickly scanning the whole document to pick out only the pages that likely hold the answer. It's like a librarian who knows exactly which three books to pull off the shelf, ignoring the other ninety-seven.

Once the right pages are selected, a second "Region Policy" takes over. This part is like a magnifying glass-wielding detective who looks at those specific pages and finds the exact paragraph, chart, or table cell that contains the clue. It ignores the rest of the page, focusing only on the relevant "region." The paper shows that by treating these as two separate, optimized steps, the system becomes much better at finding answers. In tests on difficult, long-document puzzles, this two-step approach improved accuracy by a significant margin—specifically, it boosted performance by 16.87% on one major test compared to the best previous open systems. Even more interestingly, the researchers found that adding this fine-grained "region" search on top of just picking pages made the system 5.51% more accurate and 4.82% better at finding the right clues (measured by F1 score).

The secret sauce isn't just that it looks at more things; it's how it learns to ignore the wrong things. The system uses a training method called GRPO (Group Relative Policy Optimization), which is like a coach giving feedback to a team. Instead of just saying "good job" or "bad job," the coach compares different attempts side-by-side. If the system picks too many pages, it gets a penalty. If it misses the right clue, it gets a penalty. It learns to balance being thorough with being precise. The paper explicitly argues against the idea that you need to feed the computer the whole document or that you can just rely on one big model to do everything at once. Instead, they prove that breaking the problem down into "find the page" and then "find the spot" works much better.

However, the authors are careful to point out that this isn't a magic bullet that solves everything perfectly. Because the system works in steps, if the first step (the Page Policy) misses the right page entirely, the second step can't fix it; the evidence is lost forever. Also, the system relies on a parser (a tool called MinerU) to break the pages into regions, so if that parser makes a mistake or the text is messy, the system's choices are limited. But for now, HierDoc shows that organizing a computer's search process into a clear, hierarchical path—from the big picture down to the tiny detail—is a powerful way to help machines read long, complex documents.

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 →