CLEAR: Converting PDFs Locally into Enriched, Agent-Ready Markdown for Reliable Retrieval
Researchers and companies now base decisions on answers from AI systems that read their documents. Three problems make these answers less reliable than they look. First, a fact may appear partly in the text and partly in a figure or table, or only in the figure or table. If the AI system misses that part, its answer may be wrong with no visible sign. Second, AI answers become new content that future models may learn from, so the missing information may become a new kind of bias. Third, the documents may hold private data that must not leave the owner's computer, so the whole process must run locally. Our goal is to give the AI system the full content of a document, figures included, on one local machine. We build a local pipeline that converts a PDF into Markdown and describes each figure as text inside a tag. We test it on research papers. Five AI models answer 19 two-hop questions whose answers exist only inside figures, and we compare the original PDF with the parsed Markdown as input. The parsed Markdown gives higher accuracy than the PDF in four of six matched pairs, and in one pair accuracy rises from 89.5\% to 100\%. Each answer costs 1.6 to 18.1 times less with the parsed…
- arXiv
- 2611.38876
- Authors
- K. Ordoumpozanis, G. A. Papakostas
- Categories
- cs.AI · cs.MA