English

Handwritten Mathematical Expression Recognition with Bidirectionally Trained Transformer

Computer Vision and Pattern Recognition 2021-05-18 v3

Abstract

Encoder-decoder models have made great progress on handwritten mathematical expression recognition recently. However, it is still a challenge for existing methods to assign attention to image features accurately. Moreover, those encoder-decoder models usually adopt RNN-based models in their decoder part, which makes them inefficient in processing long LaTeX\LaTeX{} sequences. In this paper, a transformer-based decoder is employed to replace RNN-based ones, which makes the whole model architecture very concise. Furthermore, a novel training strategy is introduced to fully exploit the potential of the transformer in bidirectional language modeling. Compared to several methods that do not use data augmentation, experiments demonstrate that our model improves the ExpRate of current state-of-the-art methods on CROHME 2014 by 2.23%. Similarly, on CROHME 2016 and CROHME 2019, we improve the ExpRate by 1.92% and 2.28% respectively.

Keywords

Cite

@article{arxiv.2105.02412,
  title  = {Handwritten Mathematical Expression Recognition with Bidirectionally Trained Transformer},
  author = {Wenqi Zhao and Liangcai Gao and Zuoyu Yan and Shuai Peng and Lin Du and Ziyin Zhang},
  journal= {arXiv preprint arXiv:2105.02412},
  year   = {2021}
}

Comments

Accept by ICDAR 2021

R2 v1 2026-06-24T01:49:28.552Z