AgenticOCR: Parsing Only What You Need for Efficient Retrieval-Augmented Generation

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Wang, Zhengren, Ma, Dongsheng, Zhong, Huaping, Li, Jiayu, Zhang, Wentao, Wang, Bin, He, Conghui
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866912930976497664
author Wang, Zhengren
Ma, Dongsheng
Zhong, Huaping
Li, Jiayu
Zhang, Wentao
Wang, Bin
He, Conghui
author_facet Wang, Zhengren
Ma, Dongsheng
Zhong, Huaping
Li, Jiayu
Zhang, Wentao
Wang, Bin
He, Conghui
contents The expansion of retrieval-augmented generation (RAG) into multimodal domains has intensified the challenge for processing complex visual documents, such as financial reports. While page-level chunking and retrieval is a natural starting point, it creates a critical bottleneck: delivering entire pages to the generator introduces excessive extraneous context. This not only overloads the generator's attention mechanism but also dilutes the most salient evidence. Moreover, compressing these information-rich pages into a limited visual token budget further increases the risk of hallucinations. To address this, we introduce AgenticOCR, a dynamic parsing paradigm that transforms optical character recognition (OCR) from a static, full-text process into a query-driven, on-demand extraction system. By autonomously analyzing document layout in a "thinking with images" manner, AgenticOCR identifies and selectively recognizes regions of interest. This approach performs on-demand decompression of visual tokens precisely where needed, effectively decoupling retrieval granularity from rigid page-level chunking. AgenticOCR has the potential to serve as the "third building block" of the visual document RAG stack, operating alongside and enhancing standard Embedding and Reranking modules. Experimental results demonstrate that AgenticOCR improves both the efficiency and accuracy of visual RAG systems, achieving expert-level performance in long document understanding. Code and models are available at https://github.com/OpenDataLab/AgenticOCR.
format Preprint
id arxiv_https___arxiv_org_abs_2602_24134
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle AgenticOCR: Parsing Only What You Need for Efficient Retrieval-Augmented Generation
Wang, Zhengren
Ma, Dongsheng
Zhong, Huaping
Li, Jiayu
Zhang, Wentao
Wang, Bin
He, Conghui
Computer Vision and Pattern Recognition
Computation and Language
The expansion of retrieval-augmented generation (RAG) into multimodal domains has intensified the challenge for processing complex visual documents, such as financial reports. While page-level chunking and retrieval is a natural starting point, it creates a critical bottleneck: delivering entire pages to the generator introduces excessive extraneous context. This not only overloads the generator's attention mechanism but also dilutes the most salient evidence. Moreover, compressing these information-rich pages into a limited visual token budget further increases the risk of hallucinations. To address this, we introduce AgenticOCR, a dynamic parsing paradigm that transforms optical character recognition (OCR) from a static, full-text process into a query-driven, on-demand extraction system. By autonomously analyzing document layout in a "thinking with images" manner, AgenticOCR identifies and selectively recognizes regions of interest. This approach performs on-demand decompression of visual tokens precisely where needed, effectively decoupling retrieval granularity from rigid page-level chunking. AgenticOCR has the potential to serve as the "third building block" of the visual document RAG stack, operating alongside and enhancing standard Embedding and Reranking modules. Experimental results demonstrate that AgenticOCR improves both the efficiency and accuracy of visual RAG systems, achieving expert-level performance in long document understanding. Code and models are available at https://github.com/OpenDataLab/AgenticOCR.
title AgenticOCR: Parsing Only What You Need for Efficient Retrieval-Augmented Generation
topic Computer Vision and Pattern Recognition
Computation and Language
url https://arxiv.org/abs/2602.24134