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

当计数遇到HMER:用于手写数学表达式识别的计数感知网络

When Counting Meets HMER: Counting-Aware Network for Handwritten Mathematical Expression Recognition

Tomorrow Advancing Life(好未来);Huazhong University of Science and Technology(华中科技大学)

Bohan Li, Ye Yuan, Dingkang Liang, Xiao Liu, Zhilong Ji, Jinfeng Bai, Wenyu Liu, Xiang Bai

摘要:

目前手写体数学表达式识别(HMER)方法大多采用编码器-解码器网络,利用注意力机制直接从公式图像中预测标记序列。然而,这样的方法可能无法准确地读取具有复杂结构的公式或生成长标记序列,因为注意力结果通常由于书写风格或空间布局的大变化而不准确。为了缓解这个问题,我们提出了一个非常规的网络HMER命名为计数感知网络(CAN),它联合优化两个任务:HMER和符号计数。具体来说,我们设计了一个弱监督计数模块,可以预测每个符号类的数量,而无需符号级位置注释,然后将其插入到一个典型的基于注意力的HMER编码器-解码器模型中。在HMER基准数据集上的实验验证了联合优化和计数结果都有利于纠正编码器-解码器模型的预测错误,并且CAN始终优于最先进的方法。特别地,与用于HMER的编码器-解码器模型相比,由所提出的计数模块引起的额外时间成本是微不足道的。源代码可在https://github.com/LBH1024/CAN上获得。

英文摘要:

Recently, most handwritten mathematical expression recognition (HMER) methods adopt the encoder-decoder networks, which directly predict the markup sequences from formula images with the attention mechanism. However, such methods may fail to accurately read formulas with complicated structure or generate long markup sequences, as the attention results are often inaccurate due to the large variance of writing styles or spatial layouts. To alleviate this problem, we propose an unconventional network for HMER named Counting-Aware Network (CAN), which jointly optimizes two tasks: HMER and symbol counting. Specifically, we design a weakly-supervised counting module that can predict the number of each symbol class without the symbol-level position annotations, and then plug it into a typical attention-based encoder-decoder model for HMER. Experiments on the benchmark datasets for HMER validate that both joint optimization and counting results are beneficial for correcting the prediction errors of encoder-decoder models, and CAN consistently outperforms the state-of-the-art methods. In particular, compared with an encoder-decoder model for HMER, the extra time cost caused by the proposed counting module is marginal. The source code is available at https://github.com/LBH1024/CAN.

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

↑