TAMER: Tree-Aware Transformer for Handwritten Mathematical Expression Recognition
Abstract
Handwritten Mathematical Expression Recognition (HMER) has extensive applications in automated grading and office automation. However, existing sequence-based decoding methods, which directly predict L A T E X sequences, struggle to understand and model the inherent tree structure of L A T E X 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 L A T E X 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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
3 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Handwritten Mathematical Expression Recognition via Attention Aggregation Based Bi-directional Mutual Learning cites A Tree-Structured Decoder for Image-to-Markup Generation
- Syntax-Aware Network for Handwritten Mathematical Expression Recognition cites A Tree-Structured Decoder for Image-to-Markup Generation
- From Pixel to Precision: Enhancing Handwritten Mathematical Expression Recognition with Image-Level Reward cites A Tree-Structured Decoder for Image-to-Markup Generation
- From Pixel to Precision: Enhancing Handwritten Mathematical Expression Recognition with Image-Level Reward cites Handwritten Mathematical Expression Recognition via Attention Aggregation Based Bi-directional Mutual Learning
- From Pixel to Precision: Enhancing Handwritten Mathematical Expression Recognition with Image-Level Reward cites Syntax-Aware Network for Handwritten Mathematical Expression Recognition
- From Pixel to Precision: Enhancing Handwritten Mathematical Expression Recognition with Image-Level Reward cites TDv2: A Novel Tree-Structured Decoder for Offline Mathematical Expression Recognition
- Uni-MuMER: Unified Multi-Task Fine-Tuning of Vision-Language Model for Handwritten Mathematical Expression Recognition cites A Tree-Structured Decoder for Image-to-Markup Generation
- Uni-MuMER: Unified Multi-Task Fine-Tuning of Vision-Language Model for Handwritten Mathematical Expression Recognition cites Handwritten Mathematical Expression Recognition via Attention Aggregation Based Bi-directional Mutual Learning
- Uni-MuMER: Unified Multi-Task Fine-Tuning of Vision-Language Model for Handwritten Mathematical Expression Recognition cites Syntax-Aware Network for Handwritten Mathematical Expression Recognition
- Uni-MuMER: Unified Multi-Task Fine-Tuning of Vision-Language Model for Handwritten Mathematical Expression Recognition cites TDv2: A Novel Tree-Structured Decoder for Offline Mathematical Expression Recognition
- TDv2: A Novel Tree-Structured Decoder for Offline Mathematical Expression Recognition cites A Tree-Structured Decoder for Image-to-Markup Generation
- Complex Mathematical Expression Recognition: Benchmark, Large-Scale Dataset and Strong Baseline cites Syntax-Aware Network for Handwritten Mathematical Expression Recognition
- Complex Mathematical Expression Recognition: Benchmark, Large-Scale Dataset and Strong Baseline cites TDv2: A Novel Tree-Structured Decoder for Offline Mathematical Expression Recognition
Cited by top-tier papers3
- Uni-MuMER: Unified Multi-Task Fine-Tuning of Vision-Language Model for Handwritten Mathematical Expression RecognitionYu Li, Jin Jiang, Jianhua Zhu, Shuai Peng et al.NeurIPS 2025 · 7 citations
- From Pixel to Precision: Enhancing Handwritten Mathematical Expression Recognition with Image-Level RewardZe Liu, Kai Zhang, Xianquan Wang, Shuochen Liu et al.CVPR 2026 · 2 citations
- Complex Mathematical Expression Recognition: Benchmark, Large-Scale Dataset and Strong BaselineWeikang Bai, Yongkun Du, Yuchen Su, Yazhen Xie et al.AAAI 2026 · 2 citations
Builds on4
- Syntax-Aware Network for Handwritten Mathematical Expression RecognitionYe Yuan, Xiao Liu, Wondimu Dikubab, Hui Liu et al.CVPR 2022 · 74 citations
- Handwritten Mathematical Expression Recognition via Attention Aggregation Based Bi-directional Mutual LearningXiaohang Bian, Bo Qin, Xiaozhe Xin, Jianwu Li et al.AAAI 2022 · 70 citations
- A Tree-Structured Decoder for Image-to-Markup GenerationJianshu Zhang, Jun Du, Yongxin Yang, Yi-Zhe Song et al.ICML 2020 · 68 citations
- TDv2: A Novel Tree-Structured Decoder for Offline Mathematical Expression RecognitionChangjie Wu, Jun Du, Yunqing Li, Jianshu Zhang et al.AAAI 2022 · 23 citations
Related papers
- Language Model is Suitable for Correction of Handwritten Mathematical Expressions RecognitionZui Chen, Jiaqi Han, Chaofan Yang, Yi ZhouEMNLP 2023 · 9 citations
- Graph-to-Graph: Towards Accurate and Interpretable Online Handwritten Mathematical Expression RecognitionJin-Wen Wu, Fei Yin, Yan-Ming Zhang, Xu-Yao Zhang et al.AAAI 2021 · 39 citations
- Read Ten Lines at One Glance: Line-Aware Semi-Autoregressive Transformer for Multi-Line Handwritten Mathematical Expression RecognitionWentao Yang, Zhe Li, Dezhi Peng, Lianwen Jin et al.ACM MM 2023 · 6 citations
- SSAN: A Symbol Spatial-Aware Network for Handwritten Mathematical Expression RecognitionHaoran Zhang, Xiangdong Su, Xingxiang Zhou, Guanglai GaoAAAI 2025 · 4 citations
- Art4Math: Handwritten Mathematical Expression Recognition via Multimodal Sketch GroundingYang Zhou, Jin Wang, Yuxiao Zhang, Kaixiang Huang et al.ACM MM 2025
