English

Lightweight and Production-Ready PDF Visual Element Parsing

Computer Vision and Pattern Recognition 2026-04-28 v1 Artificial Intelligence Computation and Language

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.

Keywords

Cite

@article{arxiv.2604.23276,
  title  = {Lightweight and Production-Ready PDF Visual Element Parsing},
  author = {Meizhu Liu and Yassi Abbasi and Matthew Rowe and Michael Avendi and Paul Li},
  journal= {arXiv preprint arXiv:2604.23276},
  year   = {2026}
}
R2 v1 2026-07-01T12:35:03.384Z