LATTE:通过迭代优化提升表格和公式的LaTeX识别
LATTE: Improving Latex Recognition for Tables and Formulae with Iterative Refinement
AI总结:
针对PDF图像中LaTeX公式和表格难以提取修改的问题,提出迭代优化框架LATTE,通过delta-view反馈迭代优化LaTeX源代码生成,显著提升复杂公式和表格的识别精度,优于现有技术及GPT-4V。
摘要:
可移植文档格式(PDF)文件被广泛用于存储和传播科学研究、法律文档及税务信息。LaTeX是创建PDF文档的常用工具。尽管LaTeX有优势,但它并非“所见即所得”(WYSWYG)——即LaTeX源代码与渲染的PDF图像差异显著,尤其对于公式和表格。这种差距导致从PDF图像中修改或导出公式和表格的LaTeX源代码变得困难,现有工作仍存在局限:首先,先前工作通过单次迭代生成LaTeX源代码,难以处理复杂公式;其次,现有工作主要识别和提取公式的LaTeX源代码,对表格的处理能力不足或效果不佳。本文提出LATTE,首个用于LaTeX识别的迭代优化框架。具体而言,我们提出delta-view作为反馈,对比并定位提取的LaTeX源代码渲染图像与预期正确图像之间的差异。这种delta-view反馈使我们的故障定位模型能更准确地定位错误识别的部分,并使LaTeX优化模型更准确地修复错误提取。LATTE提升了LaTeX公式和表格的源代码提取精度,在精确匹配方面比现有技术及GPT-4V至少高出7.03%,公式和表格的成功优化率分别为46.08%和25.51%。
英文摘要:
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).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。