From PDF to RAG-Ready: Evaluating Document Conversion Frameworks for Domain-Specific Question Answering
On the map: Retrieval-augmented generation → RAG robustness and adaptive retrieval
Abstract (arXiv)
Retrieval-Augmented Generation (RAG) systems depend critically on the quality of document preprocessing, yet no prior study has evaluated PDF processing frameworks by their impact on downstream question-answering accuracy. We address this gap through a systematic comparison of four open-source PDF-to-Markdown conversion frameworks, Docling, MinerU, Marker, and DeepSeek OCR, across 21 pipeline configurations, varying the conversion tool, cleaning transformations, splitting strategy, and metadata enrichment. Evaluation was performed using a 50-question benchmark over a corpus of 36 Portuguese administrative documents (1706 pages, ~492K words), with LLM-as-judge scoring over 50 independent runs per configuration. Statistical significance was assessed via Wilcoxon signed-rank tests with Cohen's d effect sizes. Two baselines bounded the results: na"ive PDFLoader (86.2%) and manually curated Markdown (91.3%). Docling with hierarchical splitting and image descriptions achieved the highest automated accuracy (94.1 +/- 1.6%), surpassing even manual curation. A per-question-type analysis revealed that table-dependent questions drive the largest accuracy differences, with a 33-percentage-point gap between basic and hierarchical splitting. Metadata enrichment and hierarchy-aware chunking contributed more to accuracy than the conversion framework alone. An exploratory GraphRAG implementation underperformed basic RAG (82% vs. 94.1%). These findings demonstrate that data preparation quality is the dominant factor in RAG system performance.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in RAG robustness and adaptive retrieval, one of 15 directions in Retrieval-augmented generation. Builds on 16 of its 29 references that are in the map. First posted on arXiv 30 Mar 2026.
Builds on
16 of 29 references.
References · 16
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,212
- 2023Chain-of-Verification Reduces Hallucination in Large Language Modelscited by 324
- 2024MinerU: An Open-Source Solution for Precise Document Content Extractioncited by 267
- 2024RAFT: Adapting Language Model to Domain Specific RAGcited by 262
- 2025DeepSeek-OCR: Contexts Optical Compressioncited by 183
- 2024OmniDocBench: Benchmarking Diverse PDF Document Parsing with Comprehensive Annotationscited by 150
- 2025Docling: An Efficient Open-Source Toolkit for AI-driven Document Conversioncited by 63
- 2024Docling Technical Reportcited by 34
- 2024READoc: A Unified Benchmark for Realistic Document Structured Extractioncited by 15
4 more
- 2024Docs2KG: Unified Knowledge Graph Construction from Heterogeneous Documents Assisted by Large Language Modelscited by 9
- 2023An approach based on Open Research Knowledge Graph for Knowledge Acquisition from scientific paperscited by 2
- 2025Retrieval Augmented Generation-based Large Language Models for Bridging Transportation Cybersecurity Legal Knowledge Gapscited by 1
- 2026Benchmarking Vision-Language Models for French PDF-to-Markdown Conversioncited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2024Retrieval-Augmented Generation for Domain-Specific Question Answering: A Case Study on Pittsburgh and CMU
- 2025PDF Retrieval Augmented Question Answering
- 2026Empirical Evaluation of PDF Parsing and Chunking for Financial Question Answering with RAG
- 2024Revolutionizing Retrieval-Augmented Generation with Enhanced PDF Structure Recognition
- 2026Qwen Goes Brrr: Off-the-Shelf RAG for Ukrainian Multi-Domain Document Understanding
- 2023PDFTriage: Question Answering over Long, Structured Documents
- 2026Page-Aware Retrieval-Augmented Generation for EvalLLM 2026: A Five-Variant Study on French PDFs
- 2025Domain-Specific Data Generation Framework for RAG Adaptation