Manuscript Offprint

arXiv:2608.29037

DocIntent: Answerability-Guided Agentic Restoration for Real-World Document Visual Question Answering

Zihan Huang, Shihang Wu, Junle Liu, Peirong Zhang, Yongxin Shi, Xuhan Zheng, Lianwen Jin

Abstract

Real-world degradations such as blur, shadow, distortion, and moiré patterns severely impair the document question-answering capabilities of Multimodal Large Language Models (MLLMs). Applying restoration tools before Visual Question Answering (VQA) is an intuitive solution. However, existing restoration approaches remain limited, as manually designing and executing restoration strategies is labor-intensive and requires domain expertise. Agentic restoration offers new possibilities for automation, yet existing frameworks primarily target natural images and pursue perceptual quality, overlooking that restoration should serve downstream tasks rather than optimize generic image quality metrics. To this end, we explore the value of agentic restoration for real-world degraded document VQA and propose DocIntent, a training-free Answerability-Guided Agentic Restoration framework. DocIntent first assesses question answerability, then identifies task-relevant degradations and selectively invokes restoration tools. A Comparison-Based Rollback mechanism validates each restoration step and reverts it when question-relevant evidence becomes less decipherable. The entire process requires no additional pretrained degradation classifier or image quality assessment model. Extensive experiments on the WildDoc benchmark show that DocIntent consistently improves the average score and consistency of different open- and closed-source MLLMs. The code and experimental data will be publicly available.

1 Introduction

In the digital era, enterprises and organizations handle large volumes of documents, such as invoices, contracts, and forms (Jaume et al., 2019; Park et al., 2019). These documents often contain critical information for business workflows, making efficient and accurate information extraction

Figure

Figure 1: Comparison between existing real-world document VQA methods and the proposed DocIntent (bottom). The ground truth answer to the question is 212.

essential. However, traditional manual processing is labor-intensive and time-consuming. Visual Question Answering (VQA) on document-related data addresses this challenge by enabling intelligent systems to understand document content and answer user-specified questions (Mathew et al., 2021, 2022), supporting more flexible document processing.

Recently, Multimodal Large Language Models (MLLMs) (Team, 2025; Team et al., 2023; Hurst et al., 2024) have demonstrated remarkable potential in document understanding (Mathew et al., 2021, 2022; Masry et al., 2022). However, real-world document images often exhibit degradations such as blur, shadow, and distortion (Wang et al., 2025a; Zhang et al., 2024; Feng et al., 2021; Zhang et al., 2025a), which severely hinder information extraction by MLLMs. Research on benchmarks such as WildDoc (Wang et al., 2025a) reveals that even state-of-the-art MLLMs experience substantial performance degradation when confronted with degraded documents, as illustrated in Figure 1 (top-left). A straightforward strategy is to preprocess

∗^{*}Corresponding author.

degraded documents with restoration tools before feeding them into MLLMs (Figure 1, top-right). However, this pipeline depends on manually diagnosing degradation types and selecting appropriate tools, making it impractical for non-experts. Recently, agentic image restoration methods (Chen et al., 2024; Zhou et al., 2025; Zhu et al., 2024; Zuo et al., 2025; Zhang et al., 2026b) have achieved success in natural image restoration. However, these methods primarily focus on natural image processing and pursue the highest perceptual image quality rather than aligning with downstream task requirements. In document question answering, different questions exhibit varying sensitivity to degradations, and not all degradations hinder question answering. Existing document restoration tools (Zhang et al., 2024; Yang et al., 2025; Zhao et al., 2025) optimize perceptual quality metrics such as SSIM (Wang et al., 2004) and PSNR. However, these overall quality metrics cannot ensure local text clarity. The restoration process may introduce artifacts, text blurring, or distortion that impair question-answering performance. Processing task-irrelevant degradations unnecessarily accumulates such risks. Therefore, a critical question arises: How to tailor document restoration to specific question-answering tasks?

To address this question, we propose DocIntent, a training-free and user-friendly answerability-guided document image restoration framework. As illustrated in Figure 1 (bottom), DocIntent integrates downstream question awareness into restoration planning through a two-phase cyclic mechanism. In Phase A: Answerability-Guided Restoration (AGRes), the MLLM first assesses whether the current image provides sufficient information to answer the question. If restoration is needed, it identifies the degradation that most affects answerability and invokes the corresponding restoration tool to improve the document image. In Phase B: Comparison-Based Review, the Comparison-Based Rollback (CBRb) mechanism compares the restored image with the previous image to determine whether the operation improves the conditions for answering. Beneficial restorations are accepted for subsequent reasoning, while harmful ones are rolled back, and the corresponding tool is disabled. Both phases are performed by the MLLM without requiring an additional pretrained degradation classifier or image quality assessment model. Through this cycle, DocIntent selectively applies restoration to improve answerability while avoiding unnecessary or harmful preprocessing.

In summary, our contributions are as follows:

  • To the best of our knowledge, we are the first to explore the value of agentic restoration for document restoration and real-world degraded document VQA. We propose an Answerability-Guided Agentic Restoration framework that incorporates downstream question awareness into restoration planning.

  • We design a two-phase cyclic mechanism with Answerability-Guided Restoration and Comparison-Based Rollback, enabling MLLMs to selectively invoke document restoration tools and roll back harmful results without additional training, a pretrained degradation classifier, or an image quality assessment model. A standardized tool interface also supports the integration of stronger restoration models in the future.

  • Extensive experiments on the WildDoc (Wang et al., 2025a) benchmark demonstrate that DocIntent consistently improves models' question-answering performance on degraded documents across different capability levels and achieves results close to human expert preprocessing.

References (19)