AI & XML / Comparative study of PDF-to-AI converters / Analysis procedure 3 Analysis procedure

  1. A 44-page PDF test document was created for the analysis. It contains typical structural elements frequently found in scholarly, technical, legal and publishing documents, including headings, paragraphs, running text, tables, lists, footnotes, images, references and other document content elements. The aim was to create a controlled test scenario combining many heterogeneous elements in a single file.

  2. The tools and conversion paths to examine in the study were then defined. Six tools were selected: ChatGPT, Gemini, Mistral Document AI, OpenDataLoader, Poppler/Pandoc and our in-house Octopus Service. The selection includes AI-assisted tools, traditional toolchains and OCR-based pipelines, allowing different methodological approaches to be compared.

  3. Next, all selected tools received the same PDF test document so that they could work with identical source material. Despite the identical input file, the conversion paths are comparable only to a limited extent: the AI-assisted tools ChatGPT and Gemini also used a uniform prompt, whereas Mistral used its predefined Document AI processing pipeline. OpenDataLoader ran in standard mode and Octopus operated in its own workflow. The study therefore deliberately examines heterogeneous conversion paths.

  4. Results were mainly output in Markdown; Octopus transfers the data into the XML-based intermediate format EXHTML. ChatGPT and Gemini also produced XML output to include more structured output formats in the investigation. This made it possible to assess how well the tested configurations represent both visible content and semantic and hierarchical document structures.

  5. The resulting datasets were then examined systematically, checking whether all content was retained, structural elements were captured correctly and the original document logic was preserved. Evaluation proceeded chapter by chapter to examine individual content elements separately. This revealed more precisely which structures a tool handles reliably and which elements suffer information loss.

  6. Each chapter’s results were recorded in clear evaluation tables. A points system was developed to assess conversion results transparently against rules. Each chapter can be evaluated using different criteria according to how completely, accurately and faithfully its content structure was converted.

  7. A dynamic weighting system was also created. It allows evaluation to be adapted to the use case, since different publications and workflows impose different conversion requirements.

  8. Finally, the weighted evaluations were used to produce an overall ranking. It shows which conversion tools achieve the best results across all chapters examined and which tools excel more in particular parts of the test scenario. This allows transparent comparison of the tested converters’ performance and better assessment of their suitability for different application scenarios.

back to top