Seeing is Believing? Mitigating OCR Hallucinations in Multimodal Large Language Models

Zhentao He, Can Zhang, Ziheng Wu, Zhenghao Chen, Yufei Zhan, Yifan Li, Zhao Zhang, Xian Wang, Minghui Qiu · OpenReview

Abstract

Recent advancements in multimodal large language models (MLLMs) have significantly improved document understanding. However, these models often falter in real-world scenarios where visual degradation—such as motion blur or physical occlusion—is present. In these conditions, MLLMs frequently over-rely on linguistic priors, leading to hallucinations rather than admitting uncertainty. This paper introduces KIE-HVQA, the first benchmark dedicated to evaluating OCR hallucinations in degraded documents. Furthermore, we propose a reinforcement learning framework based on Group Relative Policy Optimization (GRPO) that incorporates a novel reward mechanism for visual uncertainty. Our 7B-parameter model, based on Qwen2.5-VL, achieves a 22% absolute improvement in hallucination-free accuracy over GPT-4o on KIE-HVQA, without compromising performance on standard OCR tasks.

Introduction: The Hallucination Trap

While state-of-the-art MLLMs like GPT-4o and Qwen2-VL excel at processing high-resolution, clean documents, their performance degrades sharply when faced with real-world imperfections. In scenarios involving low contrast, motion blur, or physical obstructions (e.g., a finger partially covering an ID card), models often fall into a "hallucination trap."

Instead of recognizing that certain text is unreadable, these models rely on "linguistic priors"—guessing the content based on surrounding context. While context-based inference is useful for natural language, it is dangerous for Key Information Extraction (KIE) tasks. In fields like medical prescription processing or financial auditing, a single misidentified digit or character can have severe consequences. The fundamental issue is a lack of "visual self-awareness": models are not trained to recognize when their visual input is insufficient to support a confident claim.

The KIE-HVQA Benchmark

To systematically study this phenomenon, we introduce KIE-HVQA, a benchmark specifically designed to expose OCR hallucinations. The dataset consists of 2,000 training samples and 400 test instances, curated from sources such as OCRBench and WildReceipt, alongside synthetic templates.

Unlike standard OCR datasets, KIE-HVQA includes:

  • Simulated Real-World Degradations: Pixel-level annotations for blur, noise, and occlusions.
  • Reliability Scores: Each text element is assigned a score based on its legibility, allowing for a granular evaluation of how models handle varying levels of visual uncertainty.

Methodology: Reinforcement Learning for Perception

Our approach moves beyond simple supervised fine-tuning by employing a reinforcement learning framework designed to prioritize visual evidence over linguistic guesswork.

1. Cold-start Chain-of-Thought (CoT)

Before reinforcement learning, the model must learn to articulate visual quality. We utilized a pipeline involving GPT-4o and DeepSeek-R1 to generate "pseudo-CoT" data. In this phase, the model is trained to describe the visual state of the document (e.g., "the text is partially obscured by a shadow") before attempting to extract information.

2. GRPO Framework

We utilize Group Relative Policy Optimization (GRPO), an RL algorithm that eliminates the need for a separate critic model by evaluating a group of generated responses against one another. This makes the training process more efficient and stable for perception-heavy tasks.

3. Multi-Objective Reward Mechanism

The core of our mitigation strategy is a rule-based reward function that categorizes text into three states:

  • Legible: The model is rewarded for perfect character recognition.
  • Partially Obscured: The model is rewarded for identifying anomalies while attempting an inference.
  • Unrecognizable: Crucially, the model is rewarded for refusing to answer. By using a specific placeholder (e.g., <occluded>), the model demonstrates self-awareness of its visual limits.

Key Results and Insights

Our experimental results on a 7B-parameter Qwen2.5-VL backbone demonstrate that teaching a model "what it doesn't know" significantly enhances its reliability.

  • Superiority over Closed-Source Models: Our model achieved a 22% absolute improvement in hallucination-free accuracy over GPT-4o on the KIE-HVQA benchmark.
  • Occlusion Handling: In tests specifically targeting partially blocked text, the model reached 61.34% accuracy, nearly doubling GPT-4o’s performance (36.13%).
  • Robustness: A common fear in specialized fine-tuning is "catastrophic forgetting." However, our model maintained its performance on standard OCR tasks (e.g., OCRBench), proving that uncertainty awareness does not degrade general capabilities.

Conclusion

This work demonstrates that the "hallucination trap" in MLLMs is not an inevitable byproduct of language modeling but a training deficiency that can be corrected. By framing OCR as a competition between visual signals and linguistic expectations—and using RL as the referee—we can build models that are not only more capable but also more honest. Future work will focus on expanding the diversity of degradations and applying this framework to larger model architectures to further enhance document understanding in the wild.

Summary updated

BibTeX
@inproceedings{he2025seeing,
  author = {Zhentao He and Can Zhang and Ziheng Wu and Zhenghao Chen and Yufei Zhan and Yifan Li and Zhao Zhang and Xian Wang and Minghui Qiu},
  title = {{Seeing is Believing? Mitigating OCR Hallucinations in Multimodal Large Language Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=bjoHB7IN6b},
}
Figure