Manuscript Offprint

arXiv:2608.22214

Query-Driven Multimodal Information Extraction from Long Documents

Yikai Gao, Ding Xia, Xi Yang

Abstract

In domain-specific multimodal long documents, images and text jointly convey complex knowledge that cannot be fully captured by plain text alone. However, existing paradigms like DocVQA primarily focus on generating textual answers or localizing evidence regions, rather than outputting query-specific textual attribute values and corresponding images. To address this gap, we propose query-driven image-text joint extraction from long documents, requiring models to output query-requested textual attribute values and corresponding image bounding boxes. Based on challenges related to both user intent and document content, we designed a two-level taxonomy that operates at the query and instance levels. Further, we construct ITJoint, the first high-quality, manually annotated benchmark for this new task, comprising 2,455 pages of domain-specific documents with numerous non-decorative images, 316 queries, and 910 answer instances. Finally, we evaluate representative standalone Vision-Language Models from different providers and further design Q2IT, a multi-agent collaborative framework consisting of three progressively collaborating agents for evidence collection, page selection, and target-image localization. Using a joint evaluation approach that assesses both text extraction and image localization, our experiments show that standalone VLMs struggle with this task, while Q2IT significantly improves performance on ITJoint, although a substantial gap remains toward perfect results.

1 Introduction

As foundation models have learned from massive amounts of web-scale data, their development is increasingly turning toward specialized documents that preserve knowledge accumulated through long-term human practice (Muennighoff et al., 2023; Villalobos et al., 2024). Such domain-specific multimodal long documents contain rich textual descriptions and images whose semantics are often tightly coupled and cannot be fully captured by plain text alone. However, transforming this unstructured multimodal information into structured image-text pairs still largely relies on time-consuming manual annotation. Therefore, query-driven image-text joint extraction provides a practical way to satisfy researchers' targeted needs and to transform domain-specific long documents into high-quality multimodal datasets (Gadre et al., 2023).

Document visual question answering (DocVQA) has made significant progress (Mathew et al., 2021; Tito et al., 2023; Van Landeghem et al., 2023; Ma et al., 2024; Deng et al., 2025), but it remains primarily designed to produce textual answers, even when visual grounding is introduced to localize supporting evidence regions (Yu et al., 2025). Besides, existing image-text extraction methods mostly rely on predefined rules for exhaustive extraction and lack query-driven, on-demand capabilities (Clark and Divvala, 2016; Li et al., 2019; Siegel et al., 2018; Song et al., 2025; Tang et al., 2024; Pang et al., 2024). Moreover, existing DocVQA datasets are largely built from academic papers with standardized layouts or general documents where images are mainly decorative or auxiliary, leaving real-world domain-specific long documents with complex layouts and tightly coupled image-text relations underexplored.

To this end, we formally define a new task: query-driven image-text joint extraction from multimodal long documents. Unlike DocVQA, which asks the model to answer a question about a document, our task asks the model to construct query-specific multimodal instances by extracting textual descriptions together with their corresponding target images (Figure 1). In other words, given a user query and a long document, the model is required to retrieve the requested textual attributes and return the corresponding image bounding boxes. However, this task poses challenges from both user intent and the document itself. From the perspective

(a) Gap between our task and existing DocVQA tasks.

User Query:

Please list the names and images of all porcelain wares from the Kangxi period of the Qing Dynasty.

Document:

Figure

...

Figure

...

DocVQA Task

Colorful Vase with

Pattern of Flowers and

Birds, Gourd-shaped

Famille-rose Vase with ...

Figure

Text Only?

Where's the image?

Answer

Bbox-DocVQA Task

Colorful Vase with

Pattern of Flowers and

Birds, Gourd-shaped

Famille-rose Vase with ...

Figure

Text Bbox?

Need Image Bbox!

Our Task

① Colorful Vase with Pattern of Flowers and Birds

② Gourd-shaped

Famille-rose Vase

with Pattern of

Pine Tree, Crane

and Cock

Figure

Exactly!

(b) Document-level gap between ITJoint and existing DocVQA datasets.

Existing Benchmarks

Our Benchmark

Figure

Academic papers—

Standardized layout

General documents —

Dispensable / Decorative

images

Insufficient for our task!

Indispensable

images

Real-world

complexity

Sufficient!

Figure

Intra-page Non-linear Layout

Asymmetric Mapping

Figure

30

32

114

30

31

Cross-page Dispersal

35

Figure 1: Comparison with existing tasks and datasets. (a) DocVQA tasks mainly return textual answers or evidence regions, while our task requires textual attributes and corresponding images. (b) Existing datasets mainly rely on academic papers or general documents, which are insufficient for evaluating our task.

of user intent, real-world queries are not limited to clearly specified single-instance queries, but may also involve broadly referential set queries with an uncertain number of targets, requiring methods to balance precise extraction with comprehensive recall. From the document perspective, first, images and text within a page often go beyond linear arrangements and exhibit non-linear and multilayer nested layouts, making rule-based association methods fragile in real-world domain-specific documents. Second, images and their descriptive text may be dispersed across pages rather than appearing adjacently on the same page, requiring cross-page tracking and aggregation with multilevel context. Third, image-text mappings often go beyond one-to-one correspondences, including one-to-many and text-without-image cases, requiring robust mapping and hallucination suppression. To support systematic study and reliable evaluation, we design a two-level taxonomy at both the query and instance levels, and construct ITJoint, a high-quality manually annotated benchmark for query-driven image-text joint extraction from domain-specific multimodal long documents.

Current approaches to address this task typically involve either standalone Vision-Language Models (VLMs) or carefully designed agent systems tailored for this specific problem. For the VLM-based methods, we selected four state-of-the-art models from different providers. Inspired by existing methods, we also designed Q2IT, a multi-agent collaborative framework that incorporates various modules aimed at enhancing performance on our task. Q2IT consists of three progressively collaborating agents: the Evidence Agent, which retrieves relevant textual information and image clues from the entire document; the Page Agent, which locates the target pages based on these clues; and the Figure Agent, which detects and crops the target images within those pages. To evaluate all methods comprehensively, we devised a joint evaluation approach that assesses both image localization and text extraction. Results indicate that current standalone VLMs struggle to handle our task effectively. In contrast, the Q2IT workflow significantly improves performance, demonstrating greater capability in tackling our problem. However, there remains a substantial gap toward achieving perfect results, highlighting considerable room for improvement in both VLMs and multi-agent system designs.

In summary, our contributions are as follows:

• We define query-driven image-text joint ex-traction from multimodal long documents, requiring models to return query-requested textual attributes and corresponding image bounding boxes. We further analyze its challenges from both user intent and the document itself, and design a two-level taxonomy for systematic evaluation.

• We construct ITJoint, the first high-quality manually annotated benchmark for this task. ITJoint targets real-world image-text coupling scenarios in domain-specific long documents, containing 2,455 document pages with an average of 1.77 non-decorative images per page, 316 queries, and 910 answer instances.

• We design Q2IT, a task-specific workflow for evidence collection, page selection, and target-image localization, and evaluate it alongside standalone VLMs. Joint assessment shows that Q2IT improves over direct inference, while substantial room remains for further improvement.

References (9)