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

TL;DR

Multimodal Large Language Models (MLLMs) often "hallucinate" when reading blurry or occluded text because they guess based on language patterns rather than visual evidence. This paper introduces KIE-HVQA, a benchmark for evaluating these hallucinations, and a reinforcement learning framework using Group Relative Policy Optimization (GRPO) that trains models to recognize visual uncertainty. The resulting 7B model achieves a ~28% improvement in hallucination-free accuracy over GPT-4o on degraded documents.

The Problem: Linguistic Priors vs. Visual Reality

While MLLMs like GPT-4o or Qwen2-VL are excellent at understanding high-quality documents, they struggle with "real-world" noise—think of a blurry receipt, a coffee-stained invoice, or a prescription with a glare over the dosage.

In these scenarios, current models suffer from an overreliance on linguistic priors. If a model sees a nutrition label where the "Sodium" value is partially blocked, it might "hallucinate" a plausible number based on its training data rather than admitting it cannot see the text. This lack of "vision-faithfulness" is a major hurdle for automated processing in sensitive fields like finance or medicine, where a wrong guess is worse than no answer at all.

Comparison of existing models hallucinating on degraded text versus the proposed model correctly identifying occlusions.

Methods: Teaching Models to Recognize Uncertainty

The authors propose a two-stage approach to make models more "self-aware" of their visual limitations, shifting the paradigm from always guessing to acknowledging uncertainty.

Overview of the proposed framework, detailing data generation, supervised fine-tuning, and the GRPO reinforcement learning pipeline.
  1. Cold-start Initialization: To teach the model how to "think" about degraded text, they generate a synthetic Chain-of-Thought (CoT) dataset. They use GPT-4o to describe images and DeepSeek-R1 to generate human-like reasoning processes that specifically analyze text clarity and potential occlusions.
  2. RL with OCR Reward (GRPO): They employ Group Relative Policy Optimization (GRPO)—a reinforcement learning algorithm that eliminates the need for a separate critic model—to fine-tune the model.
  3. The Novel Reward Function: Instead of just rewarding "correct" text, the reward function categorizes characters into three states: Legible (must be recognized), Partially Obscured (recognizable by humans, should be inferred but tagged), and Unrecognizable (must be represented as a space/refusal). The model is rewarded for correctly identifying which characters fall into which category.

Datasets

The study utilizes several datasets for training and evaluation:

  • KIE-HVQA (New): The "Key Information Extraction - Hallucination Visual Question Answering" benchmark. It contains 2,000 training and 400 test samples across identity cards, invoices, and prescriptions with simulated real-world degradations (blur, low contrast, occlusion).
  • OCRBench, WildReceipt, and TextOCR: Existing datasets used to provide bounding boxes and ground truth text for the degradation simulation process.
  • Synthetic Data: 200 synthetic templates of IDs and documents created via GPT-4o to ensure privacy compliance while testing complex layouts.

Key Insights and Ideas

  • Refusal is a Virtue: One of the most important findings is that teaching a model to refuse to answer (or to mark a region as occluded) significantly increases its reliability. By rewarding the model for recognizing its own "visual uncertainty," the authors successfully mitigated hallucinations in ambiguous regions.
  • Vision-Faithfulness vs. Linguistic Priors: The paper argues that the "paradigm incompleteness" of current MLLMs is a training issue. Models are usually trained on clean data, so they learn that there is always an answer. This framework forces the model to prioritize visual signals over its internal "guessing" mechanism.
  • RL for Fidelity: While Reinforcement Learning is typically used to improve reasoning or chat capabilities, this work shows it is highly effective for improving the "fidelity" of low-level perception tasks like OCR.

Key Results

The authors tested their framework on Qwen2.5-VL-7B and compared it against heavyweights:

  • Superior Accuracy: The 7B model achieved a ~28% absolute improvement in hallucination-free accuracy over GPT-4o on the KIE-HVQA benchmark.
  • Benchmark Performance: On the Average Distance score (a measure of OCR accuracy across various subsets), the proposed model scored 58.05%, outperforming GPT-4o (30.21%), Claude 3.7-Sonnet (26.56%), and Gemini 1.5-Pro (35.03%).
  • No "Tax" on General Ability: Importantly, the model did not lose its ability to read clean documents. It maintained comparable performance to specialized baselines on standard OCR tasks (OCRBench), proving the method is robust and doesn't overfit to noisy data.

Limitations and Future Work

  • Dataset Scale: While KIE-HVQA is a pioneering benchmark, 2,400 samples is relatively small. Future work could involve scaling this to millions of samples with even more diverse types of physical degradation (e.g., crumpled paper, water damage).
  • Model Size: The experiments focused on a 7B parameter model. Exploring how these "uncertainty-aware" rewards scale to much larger models (70B+) or much smaller edge-device models remains an open question.

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