arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.11380cs.CVcs.LG
收藏

NAMER:手写数学表达式识别的非自回归建模

NAMER: Non-Autoregressive Modeling for Handwritten Mathematical Expression Recognition

University of Science and Technology of China(中国科学技术大学);iFLYTEK Research(讯飞研究院)

Chenyu Liu, Jia Pan, Jinshui Hu, Baocai Yin, Bing Yin, Mingjun Chen, Cong Liu, Jun Du, Qingfeng Liu

AI总结:

本文提出非自回归建模方法NAMER,通过视觉感知分词器和并行图解码器解决手写数学表达式识别中自回归方法的上下文缺失、错误累积和速度慢问题,在多个数据集上提升准确率并大幅加速。

摘要:

近年来,手写数学表达式识别(HMER)因其在文档理解中的多样化应用而在模式识别领域获得了广泛关注。当前方法通常将HMER视为自回归(AR)编码器-解码器框架内的图像到序列生成任务。然而,这些方法存在若干缺点:1)缺乏整体语言上下文,限制了当前解码步骤之外的信息利用;2)自回归解码过程中的错误累积;3)解码速度慢。为解决这些问题,本文首次尝试为HMER构建一种新颖的自底向上的非自回归建模方法,称为NAMER。NAMER包含一个视觉感知分词器(VAT)和一个并行图解码器(PGD)。首先,VAT在粗粒度层面上对可见符号和局部关系进行分词。随后,PGD利用全面的视觉和语言上下文,并行地细化所有分词并建立连接关系。在CROHME 2014/2016/2019和HME100K数据集上的实验表明,NAMER不仅在ExpRate上分别超越当前最先进(SOTA)方法1.93%/2.35%/1.49%/0.62%,而且在解码时间和整体FPS上实现了13.7倍和6.7倍的显著加速,证明了NAMER的有效性和高效性。

英文摘要:

Recently, Handwritten Mathematical Expression Recognition (HMER) has gained considerable attention in pattern recognition for its diverse applications in document understanding. Current methods typically approach HMER as an image-to-sequence generation task within an autoregressive (AR) encoder-decoder framework. However, these approaches suffer from several drawbacks: 1) a lack of overall language context, limiting information utilization beyond the current decoding step; 2) error accumulation during AR decoding; and 3) slow decoding speed. To tackle these problems, this paper makes the first attempt to build a novel bottom-up Non-AutoRegressive Modeling approach for HMER, called NAMER. NAMER comprises a Visual Aware Tokenizer (VAT) and a Parallel Graph Decoder (PGD). Initially, the VAT tokenizes visible symbols and local relations at a coarse level. Subsequently, the PGD refines all tokens and establishes connectivities in parallel, leveraging comprehensive visual and linguistic contexts. Experiments on CROHME 2014/2016/2019 and HME100K datasets demonstrate that NAMER not only outperforms the current state-of-the-art (SOTA) methods on ExpRate by 1.93%/2.35%/1.49%/0.62%, but also achieves significant speedups of 13.7x and 6.7x faster in decoding time and overall FPS, proving the effectiveness and efficiency of NAMER.

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

↑