Jerry Liu推文
文档 OCR 需要两类工具:极速廉价解析与高精度 VLM 解析
LlamaIndex 提出文档 OCR 应分为两类。第一类是极速廉价的开源工具(如 liteparse),作为 AI Agent 检索的第一道过滤,追求速度与成本而非极致精度。第二类是基于视觉语言模型(VLM)的高精度解析,针对金融、医疗等关键业务中的复杂文档。为此 LlamaIndex 发布了 Ocria-1 模型及 ParseBench 基准测试,以支持 LlamaParse 等产品在大规模场景下的准确解析。
译文
世界需要两种类型的文档OCR:1. 极速/低成本OCR工具:每个组织可能拥有万亿份文档,这通常作为“第一遍”处理很有帮助,可将每份文档数字化以便AI智能体访问。准确率未必最高,但对于智能体检索和更深入的“第二遍”处理而言已“足够好”。这包括pypdf、pymupdf等免费/开源软件。过去一年,我们通过`liteparse`——最快且最准确的免费/开源解析器——在这一领域投入了大量精力。它集成了5种其他开放权重OCR工具,最近还整合了来自@OpenBMB的MiniCPM-OCR https://github.com/run-llama/liteparse 。我们在这个领域还有更多动作,敬请期待!2. 基于VLM的高精度OCR:这包括那些a) 复杂且b) 组织必须精确解析的文档子集。数据需要准确,因为这些数据用于金融、保险、医疗等领域的关键业务流程。同时,即使工具不免费,任何VLM都需要能够以具有成本效益的方式扩展到数十亿页。两周前我们推出了OCria-1,这是目前最好的通用文档解析模型。它不仅能够解析复杂的文本布局、复杂表格,还能解析视觉图表和图形。https://www.llamaindex.ai/blog/parse-ocria-1 它为LlamaParse中的所有模式提供动力;请参阅ParseBench上的最新基准测试:https://www.parsebench.ai/ ------- 这两种文档OCR类型都需要严格的基准测试、数据+训练管道,以及一支雄心勃勃且人才密集的团队来推动准确率与成本的帕累托前沿。如果您希望在这两个前沿解决文档理解问题,欢迎与我们联系!
The world needs two types of document OCR: 1. Extremely fast/cheap OCR tools: Each organization might have trillions of documents, and this is oftentimes helpful as a 'first pass' to digitalize each document so that it's accessible to AI agents. Accuracy might not be the highest, but it's 'good enough' for agentic retrieval and a deeper second pass. This includes free/OSS tools like pypdf, pymupdf. Over the past year, we've invested heavy efforts in this area through `liteparse` - the fastest/most accurate free/OSS parser. It integrates with 5 other open-weight OCR tools, most recently with MiniCPM-OCR from @OpenBMB https://github.com/run-llama/liteparse We're also doing a lot more in this space - stay tuned! 2. Accurate VLM-based OCR: This includes the subset of documents that are a) complex, and b) the organization must parse accurately. The data needs to be accurate because this data is used in business critical workflows across finance, insurance, healthcare, and more. At the same time, even if the tool is not free, any VLM needs to be able to scale to billions of pages in a cost-effective manner. Two weeks ago we launched OCRia-1, the best general purpose model for document parsing. It not only parsers complex text layouts, complex tables, but also visual diagrams and charts. https://www.llamaindex.ai/blog/parse-ocria-1 It powers all our modes within LlamaParse; see the most recent benchmarks on ParseBench: https://www.parsebench.ai/ ------- Both of these document OCR types require rigorous benchmarks, data+training pipelines, and an ambitious/talent-dense team pushing the pareto frontier of accuracy and cost. If you're looking to solve document understanding across either frontier, come talk to us!
