Graph-to-Graph: Towards Accurate and Interpretable Online Handwritten Mathematical Expression Recognition
Jin-Wen Wu, Fei Yin, Yan-Ming Zhang, Xu-Yao Zhang, Cheng-Lin Liu
Abstract
Recent handwritten mathematical expression recognition (HMER) approaches treat the problem as an imageto-markup generation task where the handwritten formula is translated into a sequence (e.g. L A T E X). The encoder-decoder framework is widely used to solve this image-to-sequence problem. However, (i) for structured mathematical formula, the hierarchical structure neither in the formula nor in the markup has been explored adequately. In addition, (ii) existing image-tomarkup methods could not explicitly segment mathematical symbols in the formula corresponding to each target markup token. In this paper, we address the above issues by formulating the HMER as a graph-tograph (G2G) learning problem. Graph is more flexible and general for structure representation and learning compared with image or sequence. At the core of our method lies the embedding of input formula and output markup into graphs on primitives, with Graph Neural Networks (GNN) to explore the structural information, and a novel sub-graph attention mechanism to match primitives in the input and output graphs. We conduct extensive experiments on CROHME datasets to demonstrate the benefits of the proposed G2G model. Our method yields significant improvements over previous SOTA image-to-markup systems. Moreover, it explicitly resolves the symbol segmentation problem while still being trained end-to-end, making the whole system much more accurate and interpretable.
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 2f3bb11a-3561-46d9-afe8-49009dab202dCited by top-tier papers6
- Syntax-Aware Network for Handwritten Mathematical Expression RecognitionYe Yuan, Xiao Liu, Wondimu Dikubab, Hui Liu et al.CVPR 2022 · 74 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
- VEHME: A Vision-Language Model For Evaluating Handwritten Mathematics ExpressionsThu Phuong Nguyen, Duc M. Nguyen, Hyotaek Jeon, Hyunwook Lee et al.EMNLP 2025 · 1 citation
- Equivariant Denoisers Cannot Copy Graphs: Align Your Graph Diffusion ModelsNajwa Laabid, Severi Rissanen, Markus Heinonen, Arno Solin et al.ICLR 2025
- Generating Handwritten Mathematical Expressions From Symbol Graphs: An End-to-End PipelineYu Chen, Fei Gao, Yanguang Zhang, Maoying Qiao et al.CVPR 2024
Builds on1
Related papers
- 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
- SSAN: A Symbol Spatial-Aware Network for Handwritten Mathematical Expression RecognitionHaoran Zhang, Xiangdong Su, Xingxiang Zhou, Guanglai GaoAAAI 2025 · 4 citations
- Structure-aware Mathematical Expression Recognition with Sequence-Level ModelingMinli Li, Peilin Zhao, Yifan Zhang, Shuaicheng Niu et al.ACM MM 2021 · 4 citations
- A Tree-Based Structure-Aware Transformer Decoder for Image-To-Markup GenerationShuhan Zhong, Sizhe Song, Guanyao Li, S.-H. Gary ChanACM MM 2022 · 17 citations
