arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.10050cs.CVcs.CLecon.GNq-fin.EC
收藏

EfficientOCR:一个可扩展的开源软件包,用于高效数字化世界知识

EfficientOCR: An Extensible, Open-Source Package for Efficiently Digitizing World Knowledge

Harvard University(哈佛大学);National Bureau of Economic Research(美国国家经济研究局)

Tom Bryan, Jacob Carlson, Abhishek Arora, Melissa Dell

AI总结:

EffOCR通过将OCR建模为字符级图像检索问题,替代序列到序列架构,实现了低成本、样本高效的数字化,成功处理2000万份历史报纸及日文文档。

摘要:

数十亿份公共领域文件仍被困在纸质形式中,或缺乏准确的数字化版本。现代自然语言处理方法无法用于索引、检索和总结这些文本,无法进行计算文本分析,也无法提取信息用于统计分析,而且这些文本无法被纳入语言模型训练。鉴于公共领域文本的多样性和庞大数量,大规模释放这些文本需要光学字符识别(OCR),要求其准确、部署成本极低,并且能够高效地针对新集合、语言和字符集进行样本高效的定制。现有的OCR引擎主要针对高资源语言的小规模商业应用设计,往往无法满足这些要求。EffOCR(EfficientOCR),一个新颖的开源OCR软件包,通过放弃通常用于OCR的序列到序列架构(该架构将学习到的视觉模型的表示作为输入传递给学习到的语言模型),满足了大规模释放文本的计算和样本效率要求。相反,EffOCR将OCR建模为字符或单词级别的图像检索问题。EffOCR训练成本低且样本效率高,因为模型只需学习字符的视觉外观,而无需学习它们在序列中如何组合形成语言。EffOCR模型库中的模型可以开箱即用地部署,只需几行代码。重要的是,EffOCR还允许通过简单的模型训练界面和极少的标注需求(由于其样本效率)进行轻松、样本高效的定制。我们通过以下方式展示了EffOCR的实用性:以低成本且准确地数字化2000万份美国历史报纸扫描件,评估在美国国家档案馆随机选择的文档上的零样本性能,以及准确数字化所有其他OCR解决方案均失败了的日文文档。

英文摘要:

Billions of public domain documents remain trapped in hard copy or lack an accurate digitization. Modern natural language processing methods cannot be used to index, retrieve, and summarize their texts; conduct computational textual analyses; or extract information for statistical analyses, and these texts cannot be incorporated into language model training. Given the diversity and sheer quantity of public domain texts, liberating them at scale requires optical character recognition (OCR) that is accurate, extremely cheap to deploy, and sample-efficient to customize to novel collections, languages, and character sets. Existing OCR engines, largely designed for small-scale commercial applications in high resource languages, often fall short of these requirements. EffOCR (EfficientOCR), a novel open-source OCR package, meets both the computational and sample efficiency requirements for liberating texts at scale by abandoning the sequence-to-sequence architecture typically used for OCR, which takes representations from a learned vision model as inputs to a learned language model. Instead, EffOCR models OCR as a character or word-level image retrieval problem. EffOCR is cheap and sample efficient to train, as the model only needs to learn characters' visual appearance and not how they are used in sequence to form language. Models in the EffOCR model zoo can be deployed off-the-shelf with only a few lines of code. Importantly, EffOCR also allows for easy, sample efficient customization with a simple model training interface and minimal labeling requirements due to its sample efficiency. We illustrate the utility of EffOCR by cheaply and accurately digitizing 20 million historical U.S. newspaper scans, evaluating zero-shot performance on randomly selected documents from the U.S. National Archives, and accurately digitizing Japanese documents for which all other OCR solutions failed.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑