cs.CVApr 25, 2026

Lightweight and Production-Ready PDF Visual Element Parsing

Authors: Meizhu Liu, Yassi Abbasi, Matthew Rowe, Michael Avendi, Paul Li

Organizations: Oracle AI

Abstract

PDF documents contain critical visual elements such as figures, tables, and forms whose accurate extraction is essential for document understanding and multimodal retrieval-augmented generation (RAG). Existing PDF parsers often miss complex visuals, extract non-informative artifacts (e.g., watermarks, logos), produce fragmented elements, and fail to reliably associate captions with their corresponding elements, which degrades downstream retrieval and question answering. We present a lightweight and production level PDF parsing framework that can accurately detect visual elements and associates captions using a combination of spatial heuristics, layout analysis, and semantic similarity. On popular benchmark datasets and internal product data, the proposed solution achieves ≥96%\geq96\% visual element detection accuracy and 93%93\% caption association accuracy. When used as a preprocessing step for multimodal RAG, it significantly outperforms state-of-the-art parsers and large vision-language models on both internal data and the MMDocRAG benchmark, while reducing latency by over 2×2\times. We have deployed the proposed system in challenging production environment.

Explore similar work

CardsList