← Latest papers
💻 computer science

An LMM for Precisely Grounding Elements in Documents

The paper introduces PreciseDoc, a Large Multimodal Model designed to improve visual grounding precision in text-rich documents through the use of mass-produced synthetic training data and a joint reinforcement learning paradigm that unifies grounding with reasoning.

Original authors: Yijian Lu, Chuangxin Zhao, Kai Sun, Lei Hou, Juanzi Li, Ji Qi

Published 2026-06-24
📖 4 min read☕ Coffee break read

Original authors: Yijian Lu, Chuangxin Zhao, Kai Sun, Lei Hou, Juanzi Li, Ji Qi

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 have a giant, messy library of documents—resumes, academic papers, charts, and forms. You ask a smart robot (a Large Multimodal Model, or LMM) to find a specific piece of information, like "Show me the phone number on this resume."

Current robots are like students who can read the text but are terrible at pointing. They might say, "The phone number is 555-0199," but they can't tell you where on the page that number is. If you asked them to draw a box around it, they might draw it over the wrong paragraph, or miss it entirely. This is a problem because if the robot can't point to the evidence, you can't trust its answer.

The paper "PreciseDoc" introduces a new robot designed specifically to be a master "pointer" and a better thinker. Here is how they built it, explained simply:

1. Building a Better Training Gym (The Data Engine)

To teach a robot to point accurately, you need practice materials. The authors realized that existing practice materials were either too easy or didn't have the "answer key" (the exact coordinates) needed for training.

So, they built two factories to mass-produce perfect practice documents:

  • The "Digital Blueprint" Factory: They used computer code (LaTeX) to generate thousands of perfect resumes and documents. Because they built these from code, they knew exactly where every word was located, like having a digital blueprint of a house.
  • The "Handwritten Note" Factory: Real documents often have messy handwriting or look like they were scanned with a shaky camera. To teach the robot to handle this, they created a system that assembles individual handwritten letters (like building blocks) to form sentences, then adds "camera effects" like blur or shadows. This creates synthetic documents that look and feel like real-world messiness but still come with a perfect "answer key."

2. The Two-Step Training Process

The robot didn't just learn to point; it learned to think while pointing. The training happened in two stages:

Stage 1: The "Cold Start" (Learning the Ropes)
Before the robot could learn on its own, the researchers gave it a "cheat sheet." They took existing questions and answers and manually inserted the correct "pointing boxes" into the robot's thought process.

  • Analogy: Imagine teaching a child to solve a math problem by showing them the steps and highlighting exactly which numbers on the page they are using for each step. The robot learned to say, "I am looking at this box here to find the answer," before giving the final result.

Stage 2: Reinforcement Learning (The Coach with a Whistle)
Once the robot knew the basics, they let it practice on its own, but with a strict coach.

  • The Reward System: When the robot guessed an answer, the coach checked two things:
    1. Did you get the right answer? (Answer Reward)
    2. Did you point to the right spot? (Grounding Reward)
  • The "Hungarian Algorithm" Trick: This is a fancy math tool the researchers used to match the robot's boxes to the real boxes perfectly.
    • The Problem: If a robot draws 10 boxes that are all slightly different but cover the same word, a lazy scoring system might give it full credit because "it found the word."
    • The Fix: The Hungarian Algorithm forces a one-to-one match. If the robot draws 10 boxes for one word, only one gets credit, and the other 9 get punished. This stops the robot from "spamming" boxes to trick the system.
  • The Length Penalty: The coach also penalized the robot if it drew too many boxes that didn't match anything. This forced the robot to be precise and not just guess wildly.

3. The Results

The new robot, called PreciseDoc (and its reasoning version, PreciseDoc-Reasoner), was tested against other top-tier robots.

  • Pointing: It became much better at drawing tight, accurate boxes around words, phrases, and lines in documents, outperforming many existing models.
  • Thinking: When asked to solve complex document questions, it didn't just guess; it pointed to the specific evidence it used to reach the conclusion. It was able to locate personal info in resumes or data in charts with high precision.
  • General Understanding: Even though it was trained specifically to point and reason, it remained good at general document understanding tasks, performing competitively with much larger, more complex models.

Summary

In short, the authors built a robot that doesn't just "read" documents but can "see" and "point" to exactly where information lives. They did this by creating a massive library of synthetic practice documents with perfect answer keys and teaching the robot a strict rule: You must point to the evidence to prove your answer is right. This makes the robot's reasoning transparent and much more reliable.

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 →