Syntax-Aware Network for Handwritten Mathematical Expression Recognition

Ye Yuan, Xiao Liu, Wondimu Dikubab, Hui Liu, Zhilong Ji +2 more
3/3/2022
111 citations
cs.CV

Official code: tal-tech/SAN (104 stars, Python, last commit 2023-02-21). 1 more implementation below.

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
tal-tech/SANOfficial104Python–2023-02-21
Phymond/HME100KOfficial34––2022-06-23
tal-tech/SANOfficial100%

Syntax-Aware Network for Handwritten Mathematical Expression Recognition

10425PythonMay 31, 20223 years ago
Phymond/HME100KOfficial100%

Handwritten mathematical expression dataset

344Feb 16, 20224 years ago

Similar Papers

Cite this paper

@article{yuan2022syntaxaware,
  title  = {Syntax-Aware Network for Handwritten Mathematical Expression Recognition},
  author = {Ye Yuan and Xiao Liu and Wondimu Dikubab and Hui Liu and Zhilong Ji and Zhongqin Wu and Xiang Bai},
  year   = {2022},
  eprint = {2203.01601},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.01601}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2203.01601.svg)](https://codeofpaper.com/paper/2203.01601)

Discussion