从词级到行级OCR,提升准确率与效率
Why Stop at Words? Unveiling the Bigger Picture through Line-Level OCR
- 直接以整行为输入,跳过易错的词分割步骤
- 端到端准确率提升5.4%,处理速度提高4倍
- 适合文档图像识别,尤其利于大模型应用
传统OCR先分字符再识别,易出错且缺乏上下文。近年发展将流程改为先检词、再逐词输入模型,虽提升了语言模型利用效率,但瓶颈转为词检测。本文提出从词级向行级OCR自然演进的新方法:直接以整行为输入,避免词检测误差,提供更长句段上下文以更好利用语言模型。实验表明该方法在端到端准确率上提升5.4%,效率提升4倍。因现有公开数据集缺失,研究者还构建了包含251张英文页面图像的行级标注数据集。随着大语言模型持续进步,该方法也具备进一步挖掘潜力。
原文摘要 · Abstract (English)
Conventional optical character recognition (OCR) techniques segmented each character and then recognized. This made them prone to error in character segmentation, and devoid of context to exploit language models. Advances in sequence to sequence translation in last decade led to modern techniques first detecting words and then inputting one word at a time to a model to directly output full words as sequence of characters. This allowed better utilization of language models and bypass error-prone character segmentation step. We observe that the above transition in style has moved the bottleneck in accuracy to word segmentation. Hence, in this paper, we propose a natural and logical progression from word level OCR to line-level OCR. The proposal allows to bypass errors in word detection, and provides larger sentence context for better utilization of language models. We show that the proposed technique not only improves the accuracy but also efficiency of OCR. Despite our thorough literature survey, we did not find any public dataset to train and benchmark such shift from word to line-level OCR. Hence, we also contribute a meticulously curated dataset of 251 English page images with line-level annotations. Our experimentation revealed a notable end-to-end accuracy improvement of 5.4%, underscoring the potential benefits of transitioning towards line-level OCR, especially for document images. We also report a 4 times improvement in efficiency compared to word-based pipelines. With continuous improvements in large language models, our methodology also holds potential to exploit such advances. Project Website: https://nishitanand.github.io/line-level-ocr-website
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。