Offline handwritten mathematical expression recognition with graph encoder and transformer decoder

被引:6
作者
Tang, Jia-Man [1 ,2 ]
Guo, Hong-Yu [2 ,3 ]
Wu, Jin-Wen [2 ,3 ]
Yin, Fei [2 ,3 ]
Huang, Lin-Lin [1 ]
机构
[1] Beijing Jiaotong Univ, Sch Elect & Informat Engn, Beijing 100044, Peoples R China
[2] Chinese Acad Sci, State Key Lab Multimodal Artificial Intelligence S, Inst Automat, Beijing 100190, Peoples R China
[3] Univ Chinese Acad Sci, Sch Artificial Intelligence, Beijing 100049, Peoples R China
关键词
Handwritten mathematical expression recognition; Symbol detection; Graph Neural Network; Transformer;
D O I
10.1016/j.patcog.2023.110155
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Handwritten mathematical expression recognition (H MER) has attracted extensive attention. Despite the significant progress achieved in recent years attributed to the development of deep learning approaches, HMER remains a challenge due to the complex spatial structure and variable writing styles. Encoder-decoder models with attention mechanism, which treats HMER as an image-to-sequence (i.e. LaTeX) generation task, have boosted the accuracy, but suffer from low interpretability in that the symbols are not segmented explicitly. Symbol segmentation is desired for facilitating post-processing and human interaction in real applications. In this paper, we formulate the mathematical expression as a graph and propose a Graph-Encoder-Transformer-Decoder (GETD) approach for HMER . For constructing the graph from input image, candidate symbols are first detected using an object detector and represented as the nodes of a graph, called symbol graph, and the edges of the graph encodes the between-symbol relationship. The spatial information is aggregated in a graph neural network (GNN), and a Transformer-based decoder is used to identify the symbol classes and structure from the graph. Experiments on public datasets demonstrate that our GETD model achieves competitive expression recognition performance while offering good interpretability compared with previous methods.
引用
收藏
页数:11
相关论文
共 50 条
  • [1] Offline Handwritten Mathematical Expression Recognition via Graph Reasoning Network
    Tang, Jia-Man
    Wu, Jin-Wen
    Yin, Fei
    Huang, Lin-Lin
    PATTERN RECOGNITION, ACPR 2021, PT I, 2022, 13188 : 17 - 31
  • [2] A Transformer-based Syntax Tree Decoder for Handwritten Mathematical Expression Recognition
    Zhou B.
    Cao J.
    Wang Y.
    Beijing Daxue Xuebao (Ziran Kexue Ban)/Acta Scientiarum Naturalium Universitatis Pekinensis, 2023, 59 (06): : 909 - 914
  • [3] An Encoder-Decoder Approach to Handwritten Mathematical Expression Recognition with Multi-head Attention and Stacked Decoder
    Ding, Haisong
    Chen, Kai
    Huo, Qiang
    DOCUMENT ANALYSIS AND RECOGNITION - ICDAR 2021, PT II, 2021, 12822 : 602 - 616
  • [4] Handwritten Mathematical Expression Recognition with Bidirectionally Trained Transformer
    Zhao, Wenqi
    Gao, Liangcai
    Yan, Zuoyu
    Peng, Shuai
    Du, Lin
    Zhang, Ziyin
    DOCUMENT ANALYSIS AND RECOGNITION - ICDAR 2021, PT II, 2021, 12822 : 570 - 584
  • [5] Combining CNN and Transformer as Encoder to Improve End-to-End Handwritten Mathematical Expression Recognition Accuracy
    Zhang, Zhang
    Zhang, Yibo
    FRONTIERS IN HANDWRITING RECOGNITION, ICFHR 2022, 2022, 13639 : 185 - 197
  • [6] SATD: syntax-aware handwritten mathematical expression recognition based on tree-structured transformer decoder
    Fu, Pengbin
    Xiao, Ganyun
    Yang, Huirong
    VISUAL COMPUTER, 2025, 41 (02) : 883 - 900
  • [7] MRD: A Memory Relation Decoder for Online Handwritten Mathematical Expression Recognition
    Wang, Jiaming
    Wang, Qing
    Du, Jun
    Zhang, Jianshu
    Wang, Bin
    Ren, Bo
    DOCUMENT ANALYSIS AND RECOGNITION, ICDAR 2021, PT III, 2021, 12823 : 39 - 54
  • [8] CoMER: Modeling Coverage for Transformer-Based Handwritten Mathematical Expression Recognition
    Zhao, Wenqi
    Gao, Liangcai
    COMPUTER VISION - ECCV 2022, PT XXVIII, 2022, 13688 : 392 - 408
  • [9] SRD: A Tree Structure Based Decoder for Online Handwritten Mathematical Expression Recognition
    Zhang, Jianshu
    Du, Jun
    Yang, Yongxin
    Song, Yi-Zhe
    Dai, Lirong
    IEEE TRANSACTIONS ON MULTIMEDIA, 2021, 23 : 2471 - 2480
  • [10] Mutual Learning Offline Handwritten Mathematical Expression Recognition Based on Multi-Scale Feature Fusion
    Fu P.
    Xu Y.
    Yang H.
    Huanan Ligong Daxue Xuebao/Journal of South China University of Technology (Natural Science), 2024, 52 (02): : 23 - 31