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

Syntax-Aware Network for Handwritten Mathematical Expression Recognition

About

Handwritten mathematical expression recognition (HMER) is a challenging task that has many potential applications. Recent methods for HMER have achieved outstanding performance with an encoder-decoder architecture. However, these methods adhere to the paradigm that the prediction is made "from one character to another", which inevitably yields prediction errors due to the complicated structures of mathematical expressions or crabbed handwritings. In this paper, we propose a simple and efficient method for HMER, which is the first to incorporate syntax information into an encoder-decoder network. Specifically, we present a set of grammar rules for converting the LaTeX markup sequence of each expression into a parsing tree; then, we model the markup sequence prediction as a tree traverse process with a deep neural network. In this way, the proposed method can effectively describe the syntax context of expressions, alleviating the structure prediction errors of HMER. Experiments on three benchmark datasets demonstrate that our method achieves better recognition performance than prior arts. To further validate the effectiveness of our method, we create a large-scale dataset consisting of 100k handwritten mathematical expression images acquired from ten thousand writers. The source code, new dataset, and pre-trained models of this work will be publicly available.

Ye Yuan, Xiao Liu, Wondimu Dikubab, Hui Liu, Zhilong Ji, Zhongqin Wu, Xiang Bai• 2022

Related benchmarks

TaskDatasetResultRank
Handwritten Mathematical Expression RecognitionCROHME 2016 (test)
Expression Rate (Exp)61.5
164
Handwritten Mathematical Expression RecognitionCROHME 2014 (test)
Expression Rate (Exp)56.2
156
Handwritten Mathematical Expression RecognitionCROHME 2019 (test)
Expression Rate (Exp)53.5
107
Handwritten Mathematical Expression RecognitionCROHME 2014
Error Rate56.2
47
Handwritten Mathematical Expression RecognitionCROHME 2016
Expression Rate53.6
40
Handwritten Mathematical Expression RecognitionCROHME 2019
ExpRate62.1
39
Handwritten Mathematical Expression RecognitionHME100K
ExpRate67.1
17
Handwritten Mathematical Expression RecognitionHME100K 1.0 (test)
Expression Rate0.671
9
Showing 8 of 8 rows

Other info

Code

Follow for update