mlsanityData to 7 Oct 2026

A Transformer-based Math Language Model for Handwritten Math Expression Recognition

arXiv 2108.05002 ↗First posted 11 Aug 2021cs.CL cs.CVcited by 1

Not on the map. Why?

Abstract (arXiv)

Handwritten mathematical expressions (HMEs) contain ambiguities in their interpretations, even for humans sometimes. Several math symbols are very similar in the writing style, such as dot and comma or 0, O, and o, which is a challenge for HME recognition systems to handle without using contextual information. To address this problem, this paper presents a Transformer-based Math Language Model (TMLM). Based on the self-attention mechanism, the high-level representation of an input token in a sequence of tokens is computed by how it is related to the previous tokens. Thus, TMLM can capture long dependencies and correlations among symbols and relations in a mathematical expression (ME). We trained the proposed language model using a corpus of approximately 70,000 LaTeX sequences provided in CROHME 2016. TMLM achieved the perplexity of 4.42, which outperformed the previous math language models, i.e., the N-gram and recurrent neural network-based language models. In addition, we combine TMLM into a stochastic context-free grammar-based HME recognition system using a weighting parameter to re-rank the top-10 best candidates. The expression rates on the testing sets of CROHME 2016 and CROHME 2019 were improved by 2.97 and 0.83 percentage points, respectively.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 8 of its 22 references that are in the map. First posted on arXiv 11 Aug 2021.

Builds on

8 of 22 references.

References · 8

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2016Layer Normalizationcited by 5,579
  4. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
  5. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  6. 2018Character-Level Language Modeling with Deeper Self-Attentioncited by 138
  7. 2019A Scalable Handwritten Text Recognition Systemcited by 25
  8. 2021Global Context for improving recognition of Online Handwritten Mathematical Expressionscited by 3

Built on by

Cited by year

Citing papers per year: 2023: 1.

1 paper.