通过迭代修正提升表格与公式LaTeX识别准确率
LATTE: Improving Latex Recognition for Tables and Formulae with Iterative Refinement
- 引入差分视图作为反馈,精准定位识别错误部分
- 公式识别准确率提升7.03%以上,表格修复成功率25.51%
- 适合需要从PDF提取复杂公式和表格的科研人员
PDF文件广泛用于存储和传播科研论文、法律文件及税务信息,而LaTeX是生成PDF的常用工具。然而,LaTeX并非所见即所得,其源代码与渲染后的PDF图像差异显著,尤其在公式和表格方面。这使得从PDF图像中修改或导出LaTeX源码极为困难,现有方法仍存在局限:一是单次生成,难以处理复杂公式;二是主要针对公式,对表格识别能力弱。本文提出LATTE,首个用于LaTeX识别的迭代精炼框架。核心创新为引入差分视图作为反馈,通过对比生成的LaTeX渲染图像与目标正确图像的差异,实现故障定位。该反馈使故障定位模型更精准,驱动LaTeX精炼模型有效修复错误。LATTE在公式和表格的LaTeX源码提取上均超越现有技术及GPT-4V,准确率提升至少7.03%(精确匹配),公式成功修复率达46.08%,表格达25.51%。
原文摘要 · Abstract (English)
Portable Document Format (PDF) files are dominantly used for storing and disseminating scientific research, legal documents, and tax information. LaTeX is a popular application for creating PDF documents. Despite its advantages, LaTeX is not WYSWYG -- what you see is what you get, i.e., the LaTeX source and rendered PDF images look drastically different, especially for formulae and tables. This gap makes it hard to modify or export LaTeX sources for formulae and tables from PDF images, and existing work is still limited. First, prior work generates LaTeX sources in a single iteration and struggles with complex LaTeX formulae. Second, existing work mainly recognizes and extracts LaTeX sources for formulae; and is incapable or ineffective for tables. This paper proposes LATTE, the first iterative refinement framework for LaTeX recognition. Specifically, we propose delta-view as feedback, which compares and pinpoints the differences between a pair of rendered images of the extracted LaTeX source and the expected correct image. Such delta-view feedback enables our fault localization model to localize the faulty parts of the incorrect recognition more accurately and enables our LaTeX refinement model to repair the incorrect extraction more accurately. LATTE improves the LaTeX source extraction accuracy of both LaTeX formulae and tables, outperforming existing techniques as well as GPT-4V by at least 7.03% of exact match, with a success refinement rate of 46.08% (formula) and 25.51% (table).
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。