Handwritten Mathematical Expression Recognition via Attention Aggregation Based Bi-directional Mutual Learning
Xiaohang Bian, Bo Qin, Xiaozhe Xin, Jianwu Li, Xuefeng Su, Yanfeng Wang
Abstract
Handwritten mathematical expression recognition aims to automatically generate LaTeX sequences from given images. Currently, attention-based encoder-decoder models are widely used in this task. They typically generate target sequences in a left-to-right (L2R) manner, leaving the right-to-left (R2L) contexts unexploited. In this paper, we propose an Attention aggregation based Bi-directional Mutual learning Network (ABM) which consists of one shared encoder and two parallel inverse decoders (L2R and R2L). The two decoders are enhanced via mutual distillation, which involves one-to-one knowledge transfer at each training step, making full use of the complementary information from two inverse directions. Moreover, in order to deal with mathematical symbols in diverse scales, an Attention Aggregation Module (AAM) is proposed to effectively integrate multi-scale coverage attentions. Notably, in the inference phase, given that the model already learns knowledge from two inverse directions, we only use the L2R branch for inference, keeping the original parameter size and inference speed. Extensive experiments demonstrate that our proposed approach achieves the recognition accuracy of 56.85 % on CROHME 2014, 52.92 % on CROHME 2016, and 53.96 % on CROHME 2019 without data augmentation and model ensembling, substantially outperforming the state-of-the-art methods. The source code is available in https://github.com/XH-B/ABM.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 0630407e-c14f-45d8-9397-2adf68661e03Cited by top-tier papers10
- TAMER: Tree-Aware Transformer for Handwritten Mathematical Expression RecognitionJianhua Zhu, Wenqi Zhao, Yu Li, Xingjian Hu et al.AAAI 2025 · 14 citations
- Language Model is Suitable for Correction of Handwritten Mathematical Expressions RecognitionZui Chen, Jiaqi Han, Chaofan Yang, Yi ZhouEMNLP 2023 · 9 citations
- 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
- SSAN: A Symbol Spatial-Aware Network for Handwritten Mathematical Expression RecognitionHaoran Zhang, Xiangdong Su, Xingxiang Zhou, Guanglai GaoAAAI 2025 · 4 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
Builds on2
Related papers
- TDv2: A Novel Tree-Structured Decoder for Offline Mathematical Expression RecognitionChangjie Wu, Jun Du, Yunqing Li, Jianshu Zhang et al.AAAI 2022 · 23 citations
- Syntax-Aware Network for Handwritten Mathematical Expression RecognitionYe Yuan, Xiao Liu, Wondimu Dikubab, Hui Liu et al.CVPR 2022 · 74 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
- Generating Handwritten Mathematical Expressions From Symbol Graphs: An End-to-End PipelineYu Chen, Fei Gao, Yanguang Zhang, Maoying Qiao et al.CVPR 2024
