Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Handwritten Mathematical Expression Recognition with Bidirectionally Trained Transformer

About

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{}$ 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.

Wenqi Zhao, Liangcai Gao, Zuoyu Yan, Shuai Peng, Lin Du, Ziyin Zhang• 2021

Related benchmarks

TaskDatasetResultRank
Handwritten Mathematical Expression RecognitionCROHME 2016 (test)
Expression Rate (Exp)56.58
164
Handwritten Mathematical Expression RecognitionCROHME 2014 (test)
Expression Rate (Exp)55.17
156
Handwritten Mathematical Expression RecognitionCROHME 2019 (test)
Expression Rate (Exp)59.55
107
Handwritten Mathematical Expression RecognitionCROHME 2014
Error Rate53.96
47
Handwritten Mathematical Expression RecognitionCROHME 2016
Expression Rate56.58
40
Handwritten Mathematical Expression RecognitionCROHME 2019
ExpRate59.55
39
Handwritten Mathematical Expression RecognitionHME100K
ExpRate64.1
17
Handwritten Mathematical Expression RecognitionHME100K 1.0 (test)
Expression Rate0.641
9
Handwritten Mathematical Expression RecognitionM2E multi-line (test)
ExpRate55.25
8
Showing 9 of 9 rows

Other info

Code

Follow for update