基于空间注意力和规则增强的树解码器的脱机手写数学表达式识别
Spatial Attention and Syntax Rule Enhanced Tree Decoder for Offine Handwritten Mathematical Expression Recognition
摘要:
离线手写数学表达式识别(HMER)最近已经通过采用树解码器作为编码器-解码器方法的一部分而得到显著的改进。尽管基于树解码器的方法将表达式看作一棵树,并将二维空间结构解析为树节点序列,但由于不可避免的树节点预测误差,现有工作的性能仍然很差。此外,它们缺乏语法规则来规范表达式的输出。本文提出了一种新的模型空间注意力和规则增强树解码器(SS-TD),该模型采用空间注意力机制来减少树结构的预测误差,并使用语法掩码(通过语法规则的转换获得)来约束不符合语法的数学表达式的出现。这样,我们的模型可以有效地描述树结构,提高输出表达式的准确性。在CROHME 14/16/19数据集上的实验表明,SS-TD模型的识别性能优于已有模型,证明了该模型的有效性。
英文摘要:
Offline Handwritten Mathematical Expression Recognition (HMER) has been dramatically advanced recently by employing tree decoders as part of the encoder-decoder method. Despite the tree decoder-based methods regard the expressions as a tree and parse 2D spatial structure to the tree nodes sequence, the performance of existing works is still poor due to the inevitable tree nodes prediction errors. Besides, they lack syntax rules to regulate the output of expressions. In this paper, we propose a novel model called Spatial Attention and Syntax Rule Enhanced Tree Decoder (SS-TD), which is equipped with spatial attention mechanism to alleviate the prediction error of tree structure and use syntax masks (obtained from the transformation of syntax rules) to constrain the occurrence of ungrammatical mathematical expression. In this way, our model can effectively describe tree structure and increase the accuracy of output expression. Experiments show that SS-TD achieves better recognition performance than prior models on CROHME 14/16/19 datasets, demonstrating the effectiveness of our model.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。