论文精选

Schema-Guided Extraction: Coding Agents as Baselines

One of the interesting properties we’ve observed around schema-guided, complex document extraction t...

精选理由

想了解文档提取新方法的朋友,这篇论文探讨了编码代理在复杂文档提取中的表现,值得一读。它比较了不同工具在长文档和短文档中的表现,揭示了编码代理的优势和局限性。

AI 摘要

In schema-guided complex document extraction, coding agents like Claude Code and Codex serve as cost-effective baselines for longer documents, offering similar accuracy to specialized OCR tools. On short documents, specialized OCR tools are more cost-efficient. Coding agents excel in long documents by leveraging various tools and prompt caching, though they may be less efficient for shorter texts compared to specialized extractors. Learn more in the ParseBench paper.

原文 · Jerry Liu

One of the interesting properties we’ve observed around schema-guided, complex document extraction t...

One of the interesting properties we’ve observed around schema-guided, complex document extraction tasks 📑 is that coding agent harnesses are good baselines (in terms of cost/accuracy) for longer documents. We tested Claude Code and Codex, along with specialized OCR tools (including LlamaParse) and raw VLMs. * On short documents, specialized OCR tools are generally a fraction of the cost of coding agents, with equivalent or higher accuracy * On longer documents, coding agents are a bit closer to the cost/accuracy Pareto curve (see bottom graph) It’s an interesting result, though ultimately not surprising. Complex document extraction is a specialized reasoning task, and coding agents are effectively generalized reasoning harnesses. Over long documents, coding agents have more room to use a variety of tools to search snippets of the document instead of loading the entire document into context. They can also make use of prompt caching to reduce total token cost even as it expands multi-step reasoning. On the flip side, they do generate a baseline degree of token usage that proves to be wasteful for shorter docs compared to specialized extractors. This specific graph is in our Appendix D in the ParseBench paper, come check it out! ArXiv: arxiv.org/pdf/2607.29677 Z ExtractBench: extractbench.ai B 💬 8 🔄 0 ❤️ 14 👀 853 📊 11 ⚡