arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1609.04938cs.CVcs.CLcs.LGcs.NE
收藏

使用粗到细注意力的图像到标记生成

Image-to-Markup Generation with Coarse-to-Fine Attention

Harvard University(哈佛大学);University of Eastern Finland(东芬兰大学)

Yuntian Deng, Anssi Kanervisto, Jeffrey Ling, Alexander M. Rush

摘要:

我们提出了一个神经编码器-解码器模型,将图像转换为表示标记的基础上可扩展的粗到细的注意力机制。我们的方法是在图像到LaTeX生成的上下文中进行评估的,我们引入了一个新的现实世界渲染的数学表达式与LaTeX标记配对的数据集。我们表明,与使用基于CTC的模型的神经OCR技术不同,基于注意力的方法可以解决这种非标准的OCR任务。我们的方法在域内渲染数据上的表现优于经典的数学OCR系统,并且在预训练的情况下,在域外手写数据上也表现良好。为了降低与基于注意力的方法相关的推理复杂度,我们引入了一个新的从粗到细的注意力层,该注意力层在应用注意力之前选择支持区域。

英文摘要:

We present a neural encoder-decoder model to convert images into presentational markup based on a scalable coarse-to-fine attention mechanism. Our method is evaluated in the context of image-to-LaTeX generation, and we introduce a new dataset of real-world rendered mathematical expressions paired with LaTeX markup. We show that unlike neural OCR techniques using CTC-based models, attention-based approaches can tackle this non-standard OCR task. Our approach outperforms classical mathematical OCR systems by a large margin on in-domain rendered data, and, with pretraining, also performs well on out-of-domain handwritten data. To reduce the inference complexity associated with the attention-based approaches, we introduce a new coarse-to-fine attention layer that selects a support region before applying attention.

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

↑