CoMER: Modeling Coverage for Transformer-based Handwritten Mathematical Expression Recognition
The Transformer-based encoder-decoder architecture has recently made significant advances in recognizing handwritten mathematical expressions. However, the transformer model still suffers from the lack of coverage problem, making its expression recognition rate (ExpRate) inferior to its RNN counterpart. Coverage information, which records the alignment information of the past steps, has proven effective in the RNN models. In this paper, we propose CoMER, a model that adopts the coverage information in the transformer decoder. Specifically, we propose a novel Attention Refinement Module (ARM) to refine the attention weights with past alignment information without hurting its parallelism. Furthermore, we take coverage information to the extreme by proposing self-coverage and cross-coverage, which utilize the past alignment information from the current and previous layers. Experiments show that CoMER improves the ExpRate by 0.61%/2.09%/1.59% compared to the current state-of-the-art model, and reaches 59.33%/59.81%/62.97% on the CROHME 2014/2016/2019 test sets.
Code (2)
Tasks
DecoderHandwritten Mathmatical Expression RecognitionMethods 이 논문이 사용한 방법론
Similar Papers 제목 키워드 기반
MFH: Marrying Frequency Domain with Handwritten Mathematical Expression Recognition
Handwritten mathematical expression recognition (HMER) suffers from complex formula structures and character layouts in sequence prediction. In this paper, we incorporate frequency domain analysis into HMER and propose a…
Handwritten Mathematical Expression Recognition with Bidirectionally Trained Transformer
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. Moreove…
Data AugmentationDecoderHandwritten Mathmatical Expression RecognitionLanguage Modeling+1Offline Handwritten Mathematical Recognition using Adversarial Learning and Transformers
Offline Handwritten Mathematical Expression Recognition (HMER) is a major area in the field of mathematical expression recognition. Offline HMER is often viewed as a much harder problem as compared to online HMER due to …
DecoderTAMER: Tree-Aware Transformer for Handwritten Mathematical Expression Recognition
Handwritten Mathematical Expression Recognition (HMER) has extensive applications in automated grading and office automation. However, existing sequence-based decoding methods, which directly predict $\LaTeX$ sequences, …
Handwritten Mathmatical Expression RecognitionPredictionA GRU-based Encoder-Decoder Approach with Attention for Online Handwritten Mathematical Expression Recognition
In this study, we present a novel end-to-end approach based on the encoder-decoder framework with the attention mechanism for online handwritten mathematical expression recognition (OHMER). First, the input two-dimension…
Decoder