paper-with-me

홈 › Papers

TAMER: Tree-Aware Transformer for Handwritten Mathematical Expression Recognition

2024-08-16 · Jianhua Zhu, Wenqi Zhao, Yu Li, Xingjian Hu, Liangcai Gao

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, struggle to understand and model the inherent tree structure of $\LaTeX$ and often fail to ensure syntactic correctness in the decoded results. To address these challenges, we propose a novel model named TAMER (Tree-Aware Transformer) for handwritten mathematical expression recognition. TAMER introduces an innovative Tree-aware Module while maintaining the flexibility and efficient training of Transformer. TAMER combines the advantages of both sequence decoding and tree decoding models by jointly optimizing sequence prediction and tree structure prediction tasks, which enhances the model's understanding and generalization of complex mathematical expression structures. During inference, TAMER employs a Tree Structure Prediction Scoring Mechanism to improve the structural validity of the generated $\LaTeX$ sequences. Experimental results on CROHME datasets demonstrate that TAMER outperforms traditional sequence decoding and tree decoding models, especially in handling complex mathematical structures, achieving state-of-the-art (SOTA) performance.

📄 PDF Abstract BibTeX arXiv:2408.08578

Code (1)

qingzhenduyu/tamer 공식 구현 pytorch

Tasks

Handwritten Mathmatical Expression RecognitionPrediction

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Residual Connection 설명 없음
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Multi-Head Attention 설명 없음
Position-Wise Feed-Forward Layer 설명 없음
Adam 설명 없음
Attention 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…

Similar Papers 제목 키워드 기반

DiffMath: Symbol- and Graph-Aware Latent Diffusion Transformer for Handwritten Mathematical Expression Generation

2026-06-18 · Wei Pan, Xuhan Zheng, Yilin Shi, Huiguo He 외 arxiv

Handwritten Mathematical Expression Generation (HMEG) is challenging due to the complex two-dimensional layouts and long-range structural dependencies of mathematical expressions. Existing methods typically rely on expli…

Data Augmentation

Syntax-Aware Network for Handwritten Mathematical Expression Recognition

2022-03-03 · CVPR 2022 1 · Ye Yuan, Xiao Liu, Wondimu Dikubab, Hui Liu 외

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. Howev…

DecoderHandwritten Mathmatical Expression RecognitionPrediction

A Transformer Architecture for Online Gesture Recognition of Mathematical Expressions

2022-11-04 · Mirco Ramo, Guénolé C. M. Silvestre

The Transformer architecture is shown to provide a powerful framework as an end-to-end model for building expression trees from online handwritten gestures corresponding to glyph strokes. In particular, the attention mec…

Gesture RecognitionHandwriting Recognitionvalid

Offline Handwritten Mathematical Recognition using Adversarial Learning and Transformers

2022-08-20 · Ujjwal Thakur, Anuj Sharma

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 …

Decoder

Spatial Attention and Syntax Rule Enhanced Tree Decoder for Offine Handwritten Mathematical Expression Recognition

2023-03-13 · Zihao Lin, Jinrong Li, Fan Yang, Shuangping Huang 외

Offline Handwritten Mathematical Expression Recognition (HMER) has been dramatically advanced recently by employing tree decoders as part of the encoder-decoder method. Despite the tree decoder-based methods regard the e…

Decoder