Abstract
Multi-modal Large Language Models (MLLMs) have demonstrated remarkable capabilities in high-level semantic tasks, yet their proficiency in low-level visual perception remains under-explored. This paper introduces Q-Doc, a comprehensive three-tiered benchmark designed to evaluate MLLMs on Document Image Quality Assessment (DIQA). By analyzing performance across coarse, middle, and fine granularities, the study reveals significant inconsistencies in current models. Notably, the integration of Chain-of-Thought (CoT) prompting is shown to substantially improve diagnostic accuracy, bridging the gap between latent visual features and explicit quality judgments.
Introduction
While MLLMs like GPT-4o excel at describing scenes or answering complex queries, their ability to "see" physical degradations in document images—such as blur, poor lighting, or defocus—is often a blind spot. Document Image Quality Assessment (DIQA) is critical for downstream applications like Optical Character Recognition (OCR) and automated document processing. Unlike natural images, document quality is intrinsically linked to text readability and layout integrity. Q-Doc addresses the lack of systematic measurement for these low-level perception capabilities.
The Q-Doc Framework
The authors propose a hierarchical evaluation framework to dissect MLLM capabilities into three distinct levels:
- Coarse-Level (Quality Scoring): Models provide a global quality rating (e.g., "Excellent" to "Bad"), which is correlated with human annotations using SRCC and PLCC metrics.
- Middle-Level (Distortion Identification): Models identify specific distortion types, such as motion blur or insufficient brightness, in both single and multi-label scenarios.
- Fine-Level (Severity Assessment): Models judge the intensity of a specific distortion (e.g., "mild" vs. "severe") against human-annotated references.
Methodology: Chain-of-Thought Prompting
A significant contribution of this work is the application of Chain-of-Thought (CoT) prompting to DIQA. Rather than requesting a direct score, the model is prompted to first analyze specific visual artifacts—such as text edge sharpness and lighting uniformity—before providing a final evaluation. This structured reasoning helps align the model's internal visual features with the required quality judgment.
Dataset and Experimental Setup
The benchmark utilizes SmartDoc-QA, a dataset comprising 4,260 real-world document images captured via mobile devices. The dataset includes 30 unique documents spanning modern forms, historical letters, and receipts. It features 660 single-distortion images and 3,600 multi-distortion images, combining factors like angle, blur, and brightness to challenge model robustness.
Key Insights and Results
The evaluation yielded several critical findings:
- Fragmented Performance: Models often lack a unified sense of quality. For instance, a model might accurately identify a distortion (Middle-level) but fail to produce a correlated global quality score (Coarse-level).
- The GPT-4o Paradox: GPT-4o showed lower correlation in global quality scoring compared to some open-source models, despite leading in fine-grained severity detection. This suggests a disconnect between local perception and global aggregation.
- CoT as a Multiplier: CoT reasoning consistently improved performance across almost all categories, particularly in complex multi-distortion tasks. DeepSeek-VL2, utilizing a Mixture-of-Experts (MoE) architecture, emerged as a top performer when paired with CoT, achieving an SRCC of 0.4603.
- Complexity of Multi-Distortion: Identifying multiple simultaneous distortions remains a significant challenge, with accuracy dropping sharply compared to single-distortion tasks.
Conclusion
Q-Doc highlights the current limitations of MLLMs in low-level document perception. While models possess latent visual information, they require sophisticated prompting strategies like CoT to effectively utilize it. Future work will focus on developing "quality-aware" training data and improving the integration of visual tokens to ensure global context is not lost during local feature extraction, ultimately leading to more robust, self-correcting OCR pipelines.
The benchmark and code are available at: https://github.com/cydxf/Q-Doc
Summary updated